/**
 * assets/css/main.css
 * Minimal CSS additions — Tailwind CSS v3 handles all utilities.
 * Only contains what Tailwind cannot generate at compile time:
 *   1. Scroll-margin for fixed-header offset
 *   2. Selection colour
 *   3. WordPress nav_menu generated markup styles
 *   4. GSAP initial states (data-animate hooks)
 *   5. Pricing panel hide/show helpers
 *
 * @package subz-landing
 */

/* ── 1. Scroll margin — offsets the fixed header (h-16 = 64px, h-20 = 80px) ── */
:target {
    scroll-margin-top: 88px;
}

/* ── 1b. Hero full-viewport height (minus sticky header) ── */
#hero {
    min-height: calc(100vh - 4rem);   /* h-16 = 64px = 4rem */
}
@media (min-width: 768px) {
    #hero {
        min-height: calc(100vh - 5rem); /* md:h-20 = 80px = 5rem */
    }
}

/* ── 2. Selection colour ── */
::selection {
    background-color: #4F46E5;
    color: #fff;
}

/* ── 3. WordPress wp_nav_menu — styles for dynamically generated markup ──
   These selectors target WordPress-generated <li> and <a> elements that we
   cannot annotate with Tailwind classes at template time.
─────────────────────────────────────────────────────────────────────────── */
#primary-menu > li > a {
    display:         inline-flex;
    align-items:     center;
    padding:         0.375rem 1rem;
    border-radius:   0.5rem;
    font-size:       0.875rem;     /* text-sm */
    font-weight:     500;          /* font-medium */
    color:           #374151;      /* text-gray-700 */
    text-decoration: none;
    transition:      color 150ms ease, background-color 150ms ease;
    white-space:     nowrap;
}

#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-page-ancestor > a {
    color:            #4F46E5;     /* text-indigo-600 */
    background-color: #EEF2FF;    /* bg-indigo-50 */
}

/* Fallback nav (logged-in / admin) uses the same styles */
#primary-menu {
    display:     flex;
    align-items: center;
    gap:         0.25rem;          /* gap-1 */
    list-style:  none;
    padding:     0;
    margin:      0;
}

/* ── 4. GSAP initial hidden states ──
   JS animates these to opacity: 1, transform: none.
───────────────────────────────────────────────────── */
[data-animate="hero"] {
    opacity:   0;
    transform: translateY(28px);
}

[data-animate="card"] {
    opacity:   0;
    transform: translateY(36px) scale(0.97);
}

/* ── 5. Pricing billing panel helpers ──
   The [data-price] elements are toggled via JS `.hidden` class,
   but the initial yearly panel needs to be hidden without JS.
───────────────────────────────────────────────────────────────── */
[data-price="yearly"] {
    display: none; /* overridden by JS show/hide */
}

/* ── 6. FAQ panels ──
   Panels start hidden via Tailwind's `hidden` class (display:none !important).
   JS removes the class to open, adds it to close.
   `:not(.hidden)` ensures the panel is visible once the class is removed.
   NOTE: [hidden] checks the HTML attribute — we use the CSS class instead.
───────────────────────────────────────────────────────────────────────────── */
.faq-panel {
    display: none;
}
.faq-panel:not(.hidden) {
    display: block;
}


/* ─── Smooth anchor scroll offset (accounts for sticky header) ─── */
:target {
    scroll-margin-top: 88px;
}

/* ─── Selection colour ─── */
::selection {
    background-color: var(--color-primary);
    color: #fff;
}

/* ─── Focus visible outline (accessibility) ─── */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* ─── Animations (opt-in with class) ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease both;
}

/* ── GSAP initial states ── */
[data-animate="hero"] {
    opacity: 0;
    transform: translateY(30px);
}

[data-animate="card"] {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
}

/* ── Card hover lift ── */
.dash-card {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.dash-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,.10);
    transform: translateY(-4px) !important;
}

/* ── Floating animation for cards after reveal ── */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.dash-card.is-revealed {
    animation: float 5s ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
}

.dash-card.is-revealed:hover {
    animation-play-state: paused;
}

/* ─── Number / stats strip (add when stats are provided) ─── */
.stats-strip {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
    padding: 48px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin: 48px 0;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* ─── Logo strip (clients / partners) ─── */
.logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity 0.3s;
}

.logo-strip:hover { opacity: 0.75; }

/* ─── Pricing cards ─── */
.pricing-card {
    position: relative;
}

.pricing-card--featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-card__price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
}

.pricing-card__price sup {
    font-size: 1.25rem;
    vertical-align: top;
    margin-top: 8px;
}

.pricing-card__price sub {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════════════════════════ */
.features-section { background: #fff; }

.section__label--pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.label-dot {
    width: 7px;
    height: 7px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Features bento grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Rows 1-2: 3 normal cards, row 3: two wide cards */
.feat-card--wide {
    grid-column: span 1;
}

/* Last 2 cards span 1.5 cols each = full row */
.features-grid > .feat-card:nth-child(6),
.features-grid > .feat-card:nth-child(7) {
    grid-column: span 1;
}

/* Override: last two share the bottom row as half-width each */
@supports (display: grid) {
    .features-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .feat-card {
        grid-column: span 2;
    }
    .feat-card--wide {
        grid-column: span 3;
    }
}

.feat-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}

.feat-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-3px);
}

.feat-card--wide {
    flex-direction: row;
    gap: 28px;
    align-items: flex-start;
}

.feat-card__side {
    flex: 1;
    min-width: 0;
}

.feat-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.feat-card__icon--purple { background: #7C3AED; }
.feat-card__icon--blue   { background: #2563EB; }
.feat-card__icon--green  { background: #059669; }
.feat-card__icon--orange { background: #D97706; }

.feat-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.feat-card__text {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.feat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.feat-tag {
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid var(--color-border);
}

.feat-preview {
    margin-top: 16px;
    flex: 1;
}

.feat-preview--stat {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
}

.feat-preview--bars {
    flex-shrink: 0;
    min-width: 160px;
}

.feat-stat__num {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 4px;
}

.feat-stat__lbl {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Mock page preview */
.fp-mock-page {
    background: var(--color-bg-alt);
    border-radius: 10px;
    padding: 14px;
}

.fp-bar {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.fp-bar--dark  { background: #D1D5DB; width: 60%; }
.fp-bar--mid   { background: #E5E7EB; width: 85%; }
.fp-bar--light { background: #F3F4F6; width: 75%; }

.fp-btn-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.fp-btn {
    height: 22px;
    border-radius: 5px;
    flex: 1;
}

.fp-btn--purple  { background: var(--color-primary); }
.fp-btn--outline { background: transparent; border: 1.5px solid var(--color-border); }

/* ═══════════════════════════════════════════════════════════════
   STEPS SECTION
═══════════════════════════════════════════════════════════════ */
.steps-section { background: var(--color-bg-alt); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 16px;
}

.step-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px;
    position: relative;
}

.step-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-card__num {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.step-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.step-card__text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Steps — hover lift */
.step-card {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/* Steps — icon scale + rotation on card hover */
.step-icon-wrap {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-card:hover .step-icon-wrap {
    transform: scale(1.1) rotate(3deg);
}

/* Steps — dashed connector (desktop only) */
.steps-connector {
    border-top: 2px dashed #a5b4fc;
}

@media (max-width: 768px) {
    .steps-connector {
        display: none !important;
    }
}

/* Steps — tighter letter-spacing for the "3 steps" highlight */
.steps-highlight {
    letter-spacing: -0.03em;
}

/* ═══════════════════════════════════════════════════════════════
   PRICING SECTION
═══════════════════════════════════════════════════════════════ */
.pricing-section { background: #fff; }

/* Toggle */
.pricing-toggle {
    display: inline-flex;
    align-items: center;
    background: var(--color-bg-alt);
    border-radius: 100px;
    padding: 4px;
    gap: 4px;
    margin: 0 auto 56px;
    display: flex;
    width: fit-content;
}

.pricing-toggle__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.pricing-toggle__btn.is-active {
    background: #fff;
    color: var(--color-text);
    box-shadow: 0 1px 4px rgba(0,0,0,.10);
}

.pricing-toggle__save {
    font-size: 0.7rem;
    font-weight: 700;
    background: #D1FAE5;
    color: #059669;
    padding: 2px 8px;
    border-radius: 100px;
}

/* Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

/* Card */
.pricing-card {
    background: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: box-shadow 0.25s;
}

.pricing-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
}

.pricing-card--featured {
    border-color: var(--color-primary);
    box-shadow: 0 8px 32px rgba(124,58,237,.14);
}

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    padding: 4px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-card__name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 6px;
}

.pricing-card__desc {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.price-amount {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.03em;
    line-height: 1;
    transition: opacity 0.2s;
}

.price-period {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Buttons inside pricing */
.btn--plan-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 28px;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

.btn--plan-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn--plan-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 28px;
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
    cursor: pointer;
}

.btn--plan-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-feat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.4;
}

.pricing-feat--no {
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.pricing-feat__icon {
    flex-shrink: 0;
    font-weight: 800;
    font-size: 0.875rem;
    margin-top: 1px;
}

.pricing-feat--yes .pricing-feat__icon { color: var(--color-primary); }
.pricing-feat--no  .pricing-feat__icon { color: var(--color-text-muted); }

/* ═══════════════════════════════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════════════════════════════ */
.faq-section { background: var(--color-bg-alt); }

.faq-title {
    font-size: clamp(2rem, 5vw, 3rem);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-border);
}

.faq-item__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    transition: color 0.2s;
}

.faq-item__btn:hover {
    color: var(--color-primary);
}

.faq-item__btn[aria-expanded="true"] {
    color: var(--color-primary);
}

.faq-item__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.2s, border-color 0.2s;
    color: var(--color-text-muted);
}

.faq-item__btn[aria-expanded="true"] .faq-item__icon {
    transform: rotate(180deg);
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.faq-item__panel {
    padding-bottom: 20px;
}

.faq-item__panel p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Animation */
.faq-item__panel.is-animating {
    overflow: hidden;
    transition: height 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════
   DARK CTA SECTION
═══════════════════════════════════════════════════════════════ */
.cta-dark {
    background: #0F0F0F;
    padding: 80px 24px;
    border-radius: 24px;
    margin: 0 24px 80px;
    text-align: center;
}

.cta-dark__inner {
    max-width: 560px;
    margin: 0 auto;
}

.cta-dark__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(124,58,237,.2);
    margin-bottom: 24px;
    padding: 14px;
}

.cta-dark__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-dark__subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.cta-dark__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn--cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.btn--cta-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn--cta-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: transparent;
    color: rgba(255,255,255,.8);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
}

.btn--cta-outline:hover {
    border-color: rgba(255,255,255,.6);
    color: #fff;
    transform: translateY(-1px);
}

.cta-dark__footnote {
    font-size: 0.8125rem;
    color: rgba(255,255,255,.4);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.cta-dark__footnote a {
    color: rgba(255,255,255,.5);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cta-dark__footnote a:hover { color: rgba(255,255,255,.8); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER REDESIGN
═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: #0F0F0F;
    color: rgba(255,255,255,.55);
    padding: 72px 0 40px;
}

.footer__cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 56px;
}

.footer__brand {}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer__logo:hover { color: #fff; }

.footer__logo-icon {
    width: 30px;
    height: 30px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 800;
    flex-shrink: 0;
}

.footer__logo-word {
    font-weight: 800;
    font-size: 1rem;
}

.footer__brand-text {
    font-size: 0.825rem;
    color: rgba(255,255,255,.45);
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 260px;
}

.footer__socials {
    display: flex;
    gap: 10px;
}

.footer__social {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    transition: border-color 0.2s, color 0.2s;
}

.footer__social:hover {
    border-color: rgba(255,255,255,.35);
    color: #fff;
}

.footer__col-title {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 16px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__nav a {
    font-size: 0.875rem;
    color: rgba(255,255,255,.55);
    transition: color 0.2s;
    text-decoration: none;
}

.footer__nav a:hover { color: #fff; }

.footer__bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
}

.footer__copy {
    font-size: 0.8125rem;
    color: rgba(255,255,255,.3);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer__cols {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer__brand {
        grid-column: span 3;
    }
}

@media (max-width: 900px) {
    .features-grid,
    .features-grid.supports-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .feat-card,
    .feat-card--wide {
        grid-column: span 1 !important;
    }
    .feat-card--wide {
        flex-direction: column;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }
    .feat-card {
        grid-column: span 1 !important;
    }
    .footer__cols {
        grid-template-columns: 1fr 1fr;
    }
    .footer__brand {
        grid-column: span 2;
    }
    .cta-dark {
        margin: 0 12px 48px;
        padding: 56px 20px;
        border-radius: 16px;
    }
    .cta-dark__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn--cta-primary,
    .btn--cta-outline {
        justify-content: center;
    }
}

/* ─── Hero dashboard mobile ─── */
@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .dash-card--revenue {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }
    .dash-card--revenue {
        grid-column: span 1;
    }
}

/* ─── Nav active link ─── */
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a {
    color: var(--color-primary);
    background-color: rgba(79, 70, 229, 0.06);
}

/* ─── Footer ─── */
.footer__heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav a {
    font-size: 0.9375rem;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL-REVEAL — smooth entrance for .reveal-on-scroll elements
═══════════════════════════════════════════════════════════════ */
.reveal-on-scroll {
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.1s ease;
}

/* ═══════════════════════════════════════════════════════════════
   HERO DASHBOARD — Semi-reactive animations
   All triggered when #hero-dashboard receives .is-animated via JS
═══════════════════════════════════════════════════════════════ */

/* ── Bar charts (Leads + Monthly Activity) ── */
#hero-dashboard .dash-bar {
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#hero-dashboard.is-animated .dash-bar {
    transform: scaleY(1);
}

/* ── SVG sparkline stroke draw (pathLength="1") ── */
#hero-dashboard .dash-sparkline {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}
#hero-dashboard.is-animated .dash-sparkline {
    stroke-dashoffset: 0;
}

/* ── Sparkline gradient fill — fade in after line draws ── */
#hero-dashboard .dash-fill {
    opacity: 0;
    transition: opacity 0.9s ease 0.7s;
}
#hero-dashboard.is-animated .dash-fill {
    opacity: 1;
}

/* ── Sparkline endpoint dot — pop in at end of draw ── */
#hero-dashboard .dash-dot {
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s;
}
#hero-dashboard.is-animated .dash-dot {
    transform: scale(1);
}

/* ── Recent Activity rows — slide in from left with stagger ── */
#hero-dashboard .dash-activity-row {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
#hero-dashboard.is-animated .dash-activity-row {
    opacity: 1;
    transform: translateX(0);
}
#hero-dashboard .dash-activity-row:nth-child(1) { transition-delay: 0.3s; }
#hero-dashboard .dash-activity-row:nth-child(2) { transition-delay: 0.45s; }
#hero-dashboard .dash-activity-row:nth-child(3) { transition-delay: 0.6s; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER MOBILE ACCORDION
═══════════════════════════════════════════════════════════════ */
@media (max-width: 639px) {
    .footer-col__toggle {
        display: flex;
    }
    .footer-col__list {
        padding: 0 0 8px;
    }
    .footer-col__list.hidden {
        display: none;
    }
}
