/* =========================================
   RECOVO — styles.css
   ========================================= */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties */
:root {
    --navy-900: #0B1221;
    --navy-800: #0F1A2E;
    --navy-700: #152238;
    --navy-600: #1C2D47;
    --navy-500: #263B5C;
    --green-500: #10B981;
    --green-400: #34D399;
    --green-600: #059669;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --red-500: #EF4444;
}

/* =========================================
   BASE
   ========================================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--navy-900);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   NAV
   ========================================= */
nav {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--green-500);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy-900);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--navy-700);
}

/* =========================================
   HERO
   ========================================= */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--green-600);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--green-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--navy-900);
}

.hero h1 .green {
    color: var(--green-500);
}

.hero-sub {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: var(--gray-500);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-500);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: var(--green-600);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--navy-900);
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

/* =========================================
   HERO TRUST STRIP
   ========================================= */
.hero-trust {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--green-500);
    flex-shrink: 0;
}

/* =========================================
   PROBLEM SECTION
   ========================================= */
.problem {
    padding: 80px 0;
    background: var(--navy-900);
    color: var(--white);
    margin: 0 -9999px;
    padding-left: 9999px;
    padding-right: 9999px;
}

.problem-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green-400);
    margin-bottom: 16px;
}

.problem h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 48px;
    max-width: 700px;
}

.problem-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 32px;
}

.problem-stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--green-400);
    line-height: 1;
    margin-bottom: 12px;
}

.problem-stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.problem-bottom {
    margin-top: 48px;
    padding: 28px 32px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.problem-bottom-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.problem-bottom p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.problem-bottom strong {
    color: var(--white);
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.how {
    padding: 100px 0;
}

.how .section-label {
    color: var(--green-600);
}

.how h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.how-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 56px;
    max-width: 560px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.step {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 36px 28px;
    position: relative;
}

.step-num {
    width: 44px;
    height: 44px;
    background: var(--green-500);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.step p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.65;
}

.step-connector {
    display: none;
}

@media (min-width: 769px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 56px;
        right: -20px;
        color: var(--gray-300);
        font-size: 1.2rem;
        z-index: 2;
    }
}

/* =========================================
   COMPARISON TABLE
   ========================================= */
.compare {
    padding: 100px 0;
    background: var(--gray-50);
    margin: 0 -9999px;
    padding-left: 9999px;
    padding-right: 9999px;
}

.compare-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.compare .section-label {
    color: var(--green-600);
}

.compare h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.compare-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 48px;
    max-width: 600px;
}

.compare-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    min-width: 700px;
}

.compare-table thead th {
    padding: 20px 24px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    border-bottom: 2px solid var(--gray-100);
    background: var(--white);
}

.compare-table thead th:first-child {
    width: 22%;
}

.compare-table thead th.highlight-col {
    background: var(--green-500);
    color: var(--white);
    position: relative;
}

.compare-table tbody td {
    padding: 18px 24px;
    font-size: 0.92rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
    vertical-align: top;
    line-height: 1.5;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody td:first-child {
    font-weight: 600;
    color: var(--navy-900);
}

.compare-table tbody td.highlight-col {
    background: rgba(16, 185, 129, 0.04);
    color: var(--navy-900);
    font-weight: 500;
}

.table-check {
    color: var(--green-500);
    font-weight: 700;
}

.table-x {
    color: var(--red-500);
}

/* =========================================
   PRICING
   ========================================= */
.pricing {
    padding: 100px 0;
}

.pricing .section-label {
    color: var(--green-600);
}

.pricing h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 56px;
    max-width: 560px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 840px;
}

.pricing-card {
    border: 2px solid var(--gray-100);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--green-500);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(16, 185, 129, 0.08) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--green-500);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy-900);
}

.pricing-card-desc {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--navy-900);
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-amount-sub {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--green-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .btn-primary {
    width: 100%;
    justify-content: center;
}

.pricing-card .btn-secondary {
    width: 100%;
    justify-content: center;
}

/* =========================================
   TRUST / COMPLIANCE
   ========================================= */
.trust {
    padding: 80px 0;
    background: var(--navy-900);
    color: var(--white);
    margin: 0 -9999px;
    padding-left: 9999px;
    padding-right: 9999px;
}

.trust-inner {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.trust .section-label {
    color: var(--green-400);
}

.trust h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 48px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.trust-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 32px 20px;
}

.trust-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.trust-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--green-400);
}

.trust-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.55;
}

/* =========================================
   CTA / DEMO FORM
   ========================================= */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.65;
}

.cta-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 20px;
    flex-wrap: wrap;
}

.cta-form input[type="email"] {
    flex: 1;
    min-width: 240px;
    padding: 14px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--navy-900);
    outline: none;
    transition: border-color 0.2s;
}

.cta-form input[type="email"]:focus {
    border-color: var(--green-500);
}

.cta-form input[type="email"]::placeholder {
    color: var(--gray-400);
}

.cta-form .btn-primary {
    white-space: nowrap;
}

.cta-note {
    font-size: 0.82rem;
    color: var(--gray-400);
}

.form-success {
    display: none;
    padding: 16px 24px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    color: var(--green-600);
    font-weight: 600;
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-error {
    display: none;
    padding: 16px 24px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    color: var(--red-500);
    font-weight: 600;
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    border-top: 1px solid var(--gray-100);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy-900);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--navy-900);
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--gray-400);
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0 40px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero-trust {
        gap: 20px;
    }

    .problem-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .problem-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }

    .footer-links {
        width: 100%;
        justify-content: center;
    }

    .nav-cta {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-form input[type="email"] {
        min-width: 100%;
    }

    .cta-form .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
