:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-light: #eff6ff;
    --line: #e2e8f0;
    --muted: #64748b;
    --text-dark: #0f172a;
    --mint: #10b981;
    --mint-light: #ecfdf5;
}

.landing {
    min-height: 100vh;
    background: radial-gradient(ellipse at top left, #eff6ff 0%, #ffffff 50%, #f8fafc 100%);
    color: var(--text-dark);
}

/* NAVIGATION */
.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 1.25rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.landing-nav .brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), #3b82f6);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--blue);
}

/* HERO SECTION */
.landing-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 3rem auto 5rem;
    padding: 0 2rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    border: 1px solid #bfdbfe;
}

.landing-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: var(--navy);
    margin-bottom: 1.2rem;
}

.landing-hero h1 span.gradient-text {
    background: linear-gradient(135deg, #1d4ed8, #2563eb, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-hero p {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 580px;
}

.landing-preview {
    padding: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: linear-gradient(145deg, #0f172a, #1e293b);
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35);
    color: white;
    position: relative;
    overflow: hidden;
}

.landing-preview::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
}

.preview-label {
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-preview h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0.6rem 0 1.5rem;
}

.preview-row {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.95rem;
}

.preview-row i {
    color: #60a5fa;
    font-size: 1.1rem;
}

.preview-row strong {
    margin-left: auto;
    color: #fff;
    font-size: 1rem;
}

/* SECTION TITLES */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
    padding: 0 1rem;
}

.section-header .eyebrow {
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin-bottom: 0.8rem;
}

.section-header p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* FEATURES GRID */
.features-section {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
    border-color: #93c5fd;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.icon-blue { background: #eff6ff; color: #2563eb; }
.icon-indigo { background: #e0e7ff; color: #4f46e5; }
.icon-emerald { background: #ecfdf5; color: #059669; }
.icon-amber { background: #fffbeb; color: #d97706; }
.icon-rose { background: #fff1f2; color: #e11d48; }
.icon-purple { background: #f3e8ff; color: #7e22ce; }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.feature-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.feature-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    background: #f1f5f9;
    color: #475569;
    border-radius: 6px;
}

/* WORKFLOW SECTION */
.workflow-section {
    background: #f8fafc;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 5rem 2rem;
    margin-bottom: 6rem;
}

.workflow-container {
    max-width: 1100px;
    margin: 0 auto;
}

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

.step-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.8rem 1.4rem;
    position: relative;
}

.step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.step-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

/* PRICING SECTION */
.pricing-section {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.billing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.billing-toggle-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.billing-toggle-label.active {
    color: var(--navy);
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--blue);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.discount-badge {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    margin-left: 0.4rem;
}

/* PRICING CARDS */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.pricing-card.featured {
    border: 2px solid var(--blue);
    box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.18);
    position: relative;
}

.popular-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.plan-tier-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.plan-desc {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
    min-height: 42px;
    margin-bottom: 1.5rem;
}

.plan-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
}

.plan-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.plan-amount {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--navy);
    line-height: 1;
}

.plan-period {
    color: var(--muted);
    font-size: 0.95rem;
}

.annual-savings-note {
    font-size: 0.8rem;
    color: #059669;
    font-weight: 600;
    min-height: 20px;
    margin-bottom: 1.5rem;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.plan-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #334155;
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.plan-features-list li i.check {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.plan-features-list li i.cross {
    color: #cbd5e1;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.plan-features-list li.disabled {
    color: #94a3b8;
    text-decoration: line-through;
}

/* COMPARISON MODAL TABLE */
.comparison-table th,
.comparison-table td {
    padding: 0.9rem 1rem;
    font-size: 0.92rem;
    vertical-align: middle;
}

.comparison-table thead th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--navy);
}

/* FAQ SECTION */
.faq-section {
    max-width: 900px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.accordion-item {
    border: 1px solid var(--line);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--navy);
    background: #ffffff;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--blue-light);
    color: var(--blue);
    box-shadow: none;
}

.accordion-body {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 1.25rem 1.5rem;
}

/* FOOTER */
.landing-footer {
    background: var(--navy);
    color: #94a3b8;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* RESPONSIVENESS */
@media(max-width: 992px) {
    .landing-hero {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-links {
        display: none;
    }
}

@media(max-width: 640px) {
    .landing-nav {
        padding: 0.75rem 1rem;
    }
    .landing-nav .brand {
        font-size: 1.15rem;
        gap: 0.4rem;
    }
    .brand-mark {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
    }
    .landing-nav .btn {
        padding: 0.35rem 0.65rem;
        font-size: 0.82rem;
        min-height: 36px;
    }
    .landing-hero {
        padding: 0 1rem;
        margin: 1.5rem auto 3rem;
        gap: 2rem;
    }
    .landing-hero h1 {
        font-size: clamp(1.6rem, 6.5vw, 2.2rem);
        line-height: 1.25;
    }
    .landing-hero p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .landing-hero .d-flex.gap-3 {
        flex-direction: column;
        width: 100%;
    }
    .landing-hero .d-flex.gap-3 .btn {
        width: 100%;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .landing-hero .border-top {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
    .landing-preview {
        padding: 1.25rem 1rem;
    }
    .landing-section {
        padding: 3rem 1rem;
    }
    .section-title {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .feature-card,
    .step-card {
        padding: 1.35rem 1.15rem;
    }
    .pricing-card {
        padding: 1.5rem 1.2rem;
        width: 100%;
    }
    .pricing-card .btn {
        min-height: 46px;
    }
    .billing-toggle-wrapper {
        gap: 0.6rem;
        font-size: 0.85rem;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .cta-banner {
        padding: 2.5rem 1.25rem;
        margin: 0 1rem;
    }
    .cta-banner h2 {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
    }
    .cta-banner .btn {
        width: 100%;
        min-height: 48px;
    }
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-copy {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media(max-width: 480px) {
    .landing-nav .btn-light {
        display: none; /* Keep primary 'Get started free' button visible on ultra-compact mobile */
    }
    .hero-pill {
        font-size: 0.75rem;
        padding: 0.25rem 0.65rem;
    }
    .plan-price-wrapper {
        font-size: 1.75rem;
    }
    .plan-amount {
        font-size: 2.25rem;
    }
}