/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Color Palette — dark header / red accent / white body */
    --red: #e63946;
    --red-dark: #c91f2e;
    --red-light: #ff6b6b;
    --dark: #1a1a2e;
    --dark-alt: #16213e;
    --white: #ffffff;
    --bg: #f7f8fa;
    --bg-alt: #eef0f5;
    --surface: #ffffff;
    --border: #e2e5ec;
    --text: #1a1a2e;
    --text-secondary: #5a6072;
    --text-muted: #9098ad;
    --green: #22c55e;

    /* Typography */
    --ff: 'Plus Jakarta Sans', system-ui, sans-serif;

    /* Spacing */
    --s1: 0.25rem;
    --s2: 0.5rem;
    --s3: 0.75rem;
    --s4: 1rem;
    --s5: 1.25rem;
    --s6: 1.5rem;
    --s8: 2rem;
    --s10: 2.5rem;
    --s12: 3rem;
    --s16: 4rem;
    --s20: 5rem;

    /* Radius */
    --r-sm: 0.5rem;
    --r-md: 0.75rem;
    --r-lg: 1rem;
    --r-xl: 1.25rem;
    --r-full: 9999px;
}

/* ── Reset ── */
/* COMMENTED OUT TO PREVENT CONFLICTS WITH GLOBAL SITE STYLES
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
*/

/* ── Container ── */
/* Use pricing-specific container to avoid conflicts */
.pricing-section .container,
.features-section .container,
.faq-section .container,
.cta-section .container,
.hero .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--s8);
}

/* ═══════════════════════════════════════
   HERO  – dark background, red accents
   ═══════════════════════════════════════ */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
    color: var(--white);
    text-align: center;
    padding: 7rem 0 5rem;
    min-height: 65vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2) var(--s6);
    background: rgba(230, 57, 70, .15);
    border: 1px solid rgba(230, 57, 70, .3);
    border-radius: var(--r-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red-light);
    margin-bottom: var(--s8);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: var(--s8);
    letter-spacing: -0.02em;
}

.hero-title .accent {
    color: var(--red);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, .7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.highlight {
    color: var(--red-light);
    font-weight: 700;
}

/* ═══════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: var(--s12);
}

.section-label {
    display: inline-block;
    padding: var(--s2) var(--s4);
    background: var(--red);
    color: var(--white);
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: var(--s4);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--s3);
}

.section-title .accent {
    color: var(--red);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════ */
.pricing-section {
    padding: var(--s16) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s8);
}

/* ── Card ── */
.pricing-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--s10);
    position: relative;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.pricing-card:hover {
    border-color: var(--red);
    box-shadow: 0 16px 40px rgba(230, 57, 70, .12), 0 4px 12px rgba(0, 0, 0, .06);
    transform: translateY(-6px);
}

.pricing-card.featured {
    border-color: var(--red);
    box-shadow: 0 8px 28px rgba(230, 57, 70, .1);
}

/* featured card top-line removed */

.card-badge {
    position: absolute;
    top: var(--s6);
    right: var(--s6);
    padding: var(--s2) var(--s4);
    background: var(--red);
    color: var(--white);
    border-radius: var(--r-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.plan-icon {
    width: 52px;
    height: 52px;
    background: rgba(230, 57, 70, .1);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--s6);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--s2);
}

.plan-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--s8);
}

/* Price */
.price-block {
    padding: var(--s6) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--s8);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: var(--s2);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--red);
}

.price-amount {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--red);
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--s1);
}

/* Features list — 2 columns */
.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s3) var(--s6);
    margin-bottom: var(--s8);
}

.features-list li {
    display: flex;
    align-items: center;
    gap: var(--s3);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check::after {
    content: '✓';
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: var(--s4) var(--s8);
    font-family: var(--ff);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all .2s;
}

.btn-red {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 14px rgba(230, 57, 70, .3);
}

.btn-red:hover {
    background: var(--red-dark);
    box-shadow: 0 6px 20px rgba(230, 57, 70, .4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
}

/* ═══════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════ */
.features-section {
    padding: var(--s16) 0;
    background: var(--bg-alt);
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s8);
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.feature-card:hover {
    border-color: var(--red);
    box-shadow: 0 8px 24px rgba(230, 57, 70, .1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(230, 57, 70, .08);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: var(--s4);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--s2);
}

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

/* ═══════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════ */
.faq-section {
    padding: var(--s16) 0;
}

.faq-list {
    max-width: 880px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    margin-bottom: var(--s4);
    overflow: hidden;
    transition: border-color .2s;
}

.faq-item:hover {
    border-color: var(--red);
}

.faq-item.open {
    border-color: var(--red);
}

.faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--s5) var(--s6);
    background: none;
    border: none;
    font-family: var(--ff);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.faq-btn:hover {
    color: var(--red);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background: var(--bg-alt);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 0;
    color: var(--red);
    font-weight: 400;
    transition: transform .25s, background .25s, color .25s;
}

.faq-item.open .faq-toggle {
    background: var(--red);
    color: #fff;
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-body-inner {
    padding: 0 var(--s6) var(--s6);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.open .faq-body {
    max-height: 300px;
}

/* ═══════════════════════════════════════
   CTA SECTION — dark bg, red accents
   ═══════════════════════════════════════ */
.cta-section {
    padding: var(--s16) 0;
    background: linear-gradient(135deg, var(--dark), var(--dark-alt));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: var(--s4);
}

.cta-desc {
    font-size: 1.05rem;
    opacity: .8;
    max-width: 560px;
    margin: 0 auto var(--s8);
}

.cta-buttons {
    display: flex;
    gap: var(--s4);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    width: auto;
    min-width: 200px;
}

.btn-white {
    background: #fff;
    color: var(--red);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.btn-white:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .4);
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
}

/* ── Footer ── */
/* COMMENTED OUT TO USE GLOBAL SITE FOOTER STYLES FROM footer.php
.footer {
    padding: var(--s8) 0;
    background: var(--dark);
    color: var(--text-muted);
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
*/

/* ═══════════════════════════════════════
   SCROLL REVEAL  (uses .revealed, NOT .active)
   ═══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}

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

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .pricing-section .container,
    .features-section .container,
    .faq-section .container,
    .cta-section .container,
    .hero .container {
        padding: 0 var(--s4);
    }

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

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

    .features-list {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero {
        padding: var(--s12) 0 var(--s10);
    }
}

@media (max-width: 640px) {
    .card-badge {
        position: static;
        display: inline-block;
        margin-bottom: var(--s4);
    }

    .pricing-card {
        padding: var(--s6);
    }
}