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

:root {
    --navy: #0f2d5e;
    --navy-mid: #1a3f7a;
    --ocean-bright: #0891b2;
    --ocean-mid: #06b6d4;
    --gold: #f59e0b;
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-bg: #f1f5f9;
    --text-body: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 5%;
    background: rgba(15,45,94,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-logo {
    font-family: 'DM Serif Display',serif;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
}

    .nav-logo span {
        color: var(--ocean-mid);
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

    .nav-links a {
        color: rgba(255,255,255,0.75);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: color 0.2s;
    }

        .nav-links a:hover {
            color: #fff;
        }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-family: 'DM Sans',sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--ocean-mid);
    color: var(--navy);
}

    .btn-primary:hover {
        background: var(--gold);
        transform: translateY(-1px);
    }

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
}

    .btn-outline-light:hover {
        border-color: var(--ocean-mid);
        color: var(--ocean-mid);
    }

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border);
}

    .btn-outline-dark:hover {
        border-color: var(--ocean-bright);
        color: var(--ocean-bright);
    }

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 8px;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 7rem 5% 0;
}

#bgCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ship-wrap {
    position: absolute;
    bottom: 24%;
    left: 0;
    right: 0;
    pointer-events: none;
    animation: gentleBob 7s ease-in-out infinite;
}

@keyframes gentleBob {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

/* Alert card */
.alert-card {
    position: absolute;
    top: 22%;
    right: 6%;
    background: rgba(4,10,28,0.92);
    border: 1px solid rgba(6,182,212,0.5);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    animation: alertFloat 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
    z-index: 5;
}

.alert-dot {
    width: 8px;
    height: 8px;
    background: var(--ocean-mid);
    border-radius: 50%;
    flex-shrink: 0;
    animation: dotPulse 2s infinite;
}

.alert-card-text {
    font-size: 0.76rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

    .alert-card-text span {
        color: var(--ocean-mid);
        display: block;
        font-size: 0.66rem;
        font-weight: 400;
        margin-top: 1px;
    }

@keyframes alertFloat {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

@keyframes dotPulse {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

/* Hero text */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 520px;
    padding-bottom: 30%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(6,182,212,0.12);
    border: 1px solid rgba(6,182,212,0.4);
    color: var(--ocean-mid);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

    .hero-badge::before {
        content: '';
        width: 6px;
        height: 6px;
        background: var(--ocean-mid);
        border-radius: 50%;
        animation: livePulse 2s infinite;
    }

@keyframes livePulse {
    0%,100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.4;
        transform: scale(1.5)
    }
}

h1 {
    font-family: 'DM Serif Display',serif;
    font-size: clamp(2.8rem,5vw,4.2rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

    h1 em {
        font-style: italic;
        color: var(--ocean-mid);
    }

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    margin-bottom: 2.5rem;
    max-width: 480px;
    font-weight: 300;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.42);
    font-size: 0.82rem;
}

    .hero-trust svg {
        color: var(--gold);
    }

/* ── REST OF PAGE ── */
.stats {
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 2rem;
    background: var(--navy);
    border-bottom: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'DM Serif Display',serif;
    font-size: 2.5rem;
    color: var(--ocean-mid);
    display: block;
}

.stat-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

section {
    padding: 6rem 5%;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ocean-bright);
    margin-bottom: 1rem;
}

h2 {
    font-family: 'DM Serif Display',serif;
    font-size: clamp(2rem,4vw,3rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--navy);
}

    h2 em {
        font-style: italic;
        color: var(--ocean-bright);
    }

.section-sub {
    color: var(--text-body);
    font-size: 1.1rem;
    max-width: 540px;
    font-weight: 300;
    line-height: 1.7;
}

.problem {
    background: var(--light-bg);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.pain-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pain-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s,border-color 0.2s;
}

    .pain-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        border-color: #cbd5e1;
    }

.pain-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pain-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    color: var(--navy);
}

.pain-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.problem-quote {
    background: var(--navy);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    padding: 2.5rem;
}

    .problem-quote blockquote {
        font-family: 'DM Serif Display',serif;
        font-size: 1.4rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        color: #fff;
        font-style: italic;
    }

.quote-author {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

    .steps::before {
        content: '';
        position: absolute;
        top: 2.5rem;
        left: calc(16.66% + 1rem);
        right: calc(16.66% + 1rem);
        height: 2px;
        background: linear-gradient(90deg,var(--ocean-bright),var(--gold),var(--ocean-bright));
        opacity: 0.25;
    }

.step {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-number {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--off-white);
    border: 2px solid var(--ocean-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'DM Serif Display',serif;
    font-size: 1.5rem;
    color: var(--ocean-bright);
    position: relative;
    z-index: 1;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.features-bg {
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s,transform 0.3s,box-shadow 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

    .feature-card:hover {
        border-color: var(--ocean-bright);
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(8,145,178,0.1);
    }

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: start;
}

.pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    transition: transform 0.3s,box-shadow 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

    .pricing-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    }

    .pricing-card.featured {
        background: var(--navy);
        border-color: var(--navy);
        position: relative;
    }

        .pricing-card.featured .plan-name {
            color: rgba(255,255,255,0.5);
        }

        .pricing-card.featured .plan-price {
            color: #fff;
        }

        .pricing-card.featured .plan-period {
            color: rgba(255,255,255,0.45);
        }

        .pricing-card.featured .plan-desc {
            color: rgba(255,255,255,0.65);
            border-color: rgba(255,255,255,0.1);
        }

        .pricing-card.featured .plan-features li {
            color: rgba(255,255,255,0.75);
        }

            .pricing-card.featured .plan-features li::before {
                color: var(--gold);
            }

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

.plan-name {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.plan-price {
    font-family: 'DM Serif Display',serif;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.25rem;
    color: var(--navy);
}

    .plan-price sup {
        font-size: 1.5rem;
        vertical-align: top;
        margin-top: 0.5rem;
    }

.plan-period {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.plan-desc {
    color: var(--text-body);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

    .plan-features li {
        display: flex;
        gap: 0.75rem;
        align-items: center;
        font-size: 0.875rem;
        color: var(--text-body);
    }

        .plan-features li::before {
            content: '✓';
            color: var(--ocean-bright);
            font-weight: 700;
            flex-shrink: 0;
        }

.btn-plan {
    width: 100%;
    justify-content: center;
    padding: 0.9rem;
}

.trial-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 1.5rem;
}

.signup-section {
    background: linear-gradient(135deg,#071a38 0%,#0f2d5e 100%);
    text-align: center;
}

    .signup-section .section-label {
        color: var(--ocean-mid);
    }

    .signup-section h2 {
        color: #fff;
    }

    .signup-section .section-sub {
        color: rgba(255,255,255,0.6);
        margin: 0 auto;
    }

.signup-box {
    max-width: 520px;
    margin: 0 auto;
}

.signup-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

    .signup-form input {
        flex: 1;
        min-width: 200px;
        padding: 0.9rem 1.25rem;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 8px;
        color: #fff;
        font-family: 'DM Sans',sans-serif;
        font-size: 0.95rem;
        outline: none;
        transition: border-color 0.2s;
    }

        .signup-form input::placeholder {
            color: rgba(255,255,255,0.4);
        }

        .signup-form input:focus {
            border-color: var(--ocean-mid);
        }

.signup-note {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    margin-top: 1rem;
}

.faq-list {
    max-width: 700px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.faq-q {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--navy);
}

.faq-a {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--off-white);
}

.footer-logo {
    font-family: 'DM Serif Display',serif;
    font-size: 1.25rem;
    color: var(--navy);
    text-decoration: none;
}

    .footer-logo span {
        color: var(--ocean-bright);
    }

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

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

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
}



@media (max-width:768px) {
    .alert-card {
        display: none;
    }

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

        .steps::before {
            display: none;
        }

    .nav-links {
        display: none;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}

/* Compact iPhone layout - ship friendly */
@media (max-width: 768px) {
    /* Reduce hero section height */
    .hero {
        min-height: 85vh;
        padding: 5rem 5% 0;
    }

    /* Reduce padding below hero text */
    .hero-content {
        padding-bottom: 5%;
    }

    /* Move ship up slightly */
    .ship-wrap {
        bottom: 15%;
    }

        /* Smaller ship opacity so text remains readable */
        .ship-wrap svg {
            opacity: 0.7;
            max-width: 90%;
            height: auto;
        }

    /* Make text more compact */
    h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 0.5rem;
    }

    .hero-sub {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.6rem;
        margin-bottom: 0.75rem;
    }

    /* Compact buttons */
    .hero-cta {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .btn {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }

    .hero-trust {
        font-size: 0.65rem;
    }

    /* Compact alert card if visible on mobile */
    .alert-card {
        padding: 0.4rem 0.8rem;
        top: 15%;
        right: 4%;
    }

    .alert-card-text {
        font-size: 0.65rem;
    }

        .alert-card-text span {
            font-size: 0.55rem;
        }
}