/* ==========================================================================
   DEBTCOP - Core Stylesheet
   Premium, Trust-Building Corporate Design
   ========================================================================== */

/* --- CSS Variables --- */
:root {
    /* Colors */
    --primary-bg: #091221;
    --secondary-bg: #0F1D36;
    --accent-color: #D4AF37;
    /* --accent-color: #eb1b23; */
    /* Trustworthy Gold */
    --accent-glow: rgba(212, 175, 55, 0.4);
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --white: #ffffff;

    /* Layout */
    --max-width: 1200px;
    --container-padding: 2rem;
    --nav-height: 80px;

    /* Glassmorphism */
    --glass-bg: rgba(15, 29, 54, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);

    /* Animation Timing */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Resets & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* --- Utilities --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-accent {
    color: var(--accent-color);
}

.text-gradient {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-center {
    text-align: center;
}

.text-lg {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.text-sm {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.d-block {
    display: block;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    font-family: 'Outfit', sans-serif;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background-color: #E6C245;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--glass-border);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--accent-color);
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    margin-top: 1rem;
}

.btn-text:hover {
    gap: 0.5rem;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* Section Globals */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition-fast);
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: transparent;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(9, 18, 33, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(9, 18, 33, 0.5) 0%, rgba(9, 18, 33, 1) 100%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(212, 175, 55, 0.15);
    top: -100px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(43, 88, 161, 0.2);
    bottom: 0;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #CBD5E1;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.trust-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.trust-stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: var(--text-muted);
    flex-grow: 1;
}

/* --- Process Section --- */
.process {
    background-color: var(--secondary-bg);
}

.process-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    margin-top: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.benefits-list i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.2);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Pricing Section --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    position: relative;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-bg);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-price {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 2rem;
}

.plan-price .currency {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--accent-color);
}

.plan-price .period {
    color: var(--text-muted);
}

.plan-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.plan-features li.disabled {
    color: #64748b;
    opacity: 0.6;
}

/* --- Testimonials --- */
.testimonials {
    background-color: var(--secondary-bg);
    overflow: hidden;
}

.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 2rem;
    display: flex;
    align-items: center;
}

.testimonial-slider {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    min-height: 300px;
    height: auto;
    /* fixed height changed to min-height to prevent text cut-off on mobile */
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 0 2rem;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stars {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.client-info h5 {
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.slider-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1.5rem;
}

.slider-btn:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-container {
    position: relative;
}

.about-image {
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(15, 29, 54, 0.8));
}

.glass-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.overlay-text {
    position: relative;
    z-index: 2;
    padding: 2rem;
    font-size: 1.5rem;
    line-height: 1.4;
}

.trust-signature h4 {
    margin-bottom: 0;
    font-family: 'Outfit';
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

/* --- Footer --- */
.footer {
    background-color: #060c17;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: var(--text-muted);
}

.footer ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* --- Scroll Reveal Classes --- */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .process-wrapper,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--primary-bg);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-smooth);
        padding: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-inline: auto;
    }

    .trust-bar {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        display: flex;
    }

    .footer-contact p {
        justify-content: center;
    }
}

/* --- Modal Styles --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(9, 18, 33, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    padding: 2.5rem;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    animation: slideUp 0.4s ease;
}

.close-modal {
    color: var(--text-muted);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color);
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}