/* ==========================================================================
   AIpost — Public marketing site
   Self-contained stylesheet. Shares brand tokens with /assets/css/admin.css.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
    /* Brand */
    --teal:      #2DB3A3;
    --teal-600:  #279C8E;
    --teal-700:  #217F74;
    --teal-800:  #175C55;
    --teal-900:  #0F3D38;
    --teal-200:  #A7E3DB;
    --teal-100:  #D4F0EC;
    --teal-50:   #E8F7F5;
    --teal-25:   #F4FBFA;

    /* Secondary — warm amber/gold, used only in hover accents */
    --amber-700: #B45309;
    --amber-600: #D97706;
    --amber-500: #F59E0B;
    --amber-300: #FCD34D;
    --amber-200: #FDE68A;
    --amber-100: #FEF3C7;
    --amber-50:  #FFFBEB;

    /* Neutrals */
    --ink:       #0A0C0F;
    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50:  #F8FAFC;
    --white:     #ffffff;

    /* Semantic */
    --success: #16A34A;
    --warn:    #D97706;
    --danger:  #DC2626;

    /* Surfaces */
    --canvas:    #F2F4F7;

    /* Shadows */
    --shadow-sm:  0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .06);
    --shadow-md:  0 2px 4px rgba(15, 23, 42, .05), 0 8px 20px rgba(15, 23, 42, .06);
    --shadow-lg:  0 8px 24px rgba(15, 23, 42, .08), 0 20px 48px rgba(15, 23, 42, .10);
    --shadow-teal: 0 12px 28px rgba(45, 179, 163, .25);

    /* Radii */
    --r-sm: .5rem;
    --r-md: .75rem;
    --r-lg: 1rem;
    --r-xl: 1.25rem;
    --r-2xl: 1.5rem;

    /* Typography */
    --font: 'Inter', system-ui, sans-serif;

    /* Layout */
    --container: 1200px;
    --hd-h: 72px;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; background: var(--white); }
html, body { max-width: 100vw; overflow-x: hidden; }

body.mkt {
    font-family: var(--font);
    color: var(--slate-700);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

h1, h2, h3, h4, h5 {
    font-family: var(--font);
    color: var(--slate-900);
    line-height: 1.2;
    letter-spacing: -.02em;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

p { line-height: 1.7; }

a { color: var(--teal-700); text-decoration: none; transition: color .15s; }
a:hover { color: var(--teal-800); }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ==========================================================================
   CONTAINER + SECTIONS
   ========================================================================== */

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-canvas { background: var(--canvas); }
.section-dark   { background: var(--slate-900); color: var(--slate-200); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow { color: var(--teal-700); }
.section-head p { color: var(--slate-600); font-size: 1.1rem; margin-top: .75rem; }

.section-foot { margin-top: 2.5rem; display: flex; justify-content: center; }

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 1rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.4rem;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    transition: all .18s ease;
    white-space: nowrap;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn i { font-size: 1.1em; line-height: 1; }

.btn-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(45, 179, 163, .28);
}
.btn-primary:hover {
    background: var(--amber-500);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(245, 158, 11, .34);
}

.btn-ghost {
    color: var(--slate-700);
    border-color: var(--slate-200);
    background: var(--white);
}
.btn-ghost:hover {
    color: var(--teal-800);
    border-color: var(--teal-200);
    background: var(--teal-25);
}

.btn-dark {
    background: var(--slate-900);
    color: var(--white);
}
.btn-dark:hover { background: var(--slate-800); color: var(--white); transform: translateY(-1px); }

.btn-outline-teal {
    color: var(--teal-700);
    border-color: var(--teal-200);
    background: var(--white);
}
.btn-outline-teal:hover {
    color: var(--teal-900);
    border-color: var(--teal-300);
    background: var(--teal-25);
    transform: translateY(-1px);
}

.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; border-radius: var(--r-lg); }

/* ==========================================================================
   HEADER
   ========================================================================== */

.mkt-hd {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--slate-200);
    isolation: isolate;
}
.mkt-hd::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    z-index: -1;
    pointer-events: none;
}

.mkt-hd-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: var(--hd-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.mkt-hd-logo {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 70;
}
.mkt-hd-logo img { height: 28px; width: auto; }

.mkt-hd-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}

.mkt-hd-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}
.mkt-hd-links a {
    color: var(--slate-700);
    font-weight: 500;
    font-size: .95rem;
    padding: .5rem 0;
    position: relative;
}
.mkt-hd-links a:hover { color: var(--teal-800); }
.mkt-hd-links a.is-active { color: var(--slate-900); }
.mkt-hd-links a.is-active::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
}

.mkt-hd-cta { display: flex; gap: .75rem; align-items: center; }

.mkt-hd-burger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: transparent;
    border: 1px solid transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 70;
    transition: background .2s ease, border-color .2s ease;
}
.mkt-hd-burger:hover { background: var(--slate-50); border-color: var(--slate-200); }
.mkt-hd-burger:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.mkt-hd-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-900);
    border-radius: 2px;
    transform-origin: center;
    transition: transform .3s cubic-bezier(.65, .05, .36, 1), opacity .2s ease;
}
.mkt-hd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mkt-hd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.mkt-hd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
    .mkt-hd-burger { display: flex; }

    .mkt-hd-nav {
        position: fixed;
        inset: 0;
        padding: calc(var(--hd-h) + 1.5rem) 1.5rem 2rem;
        background: rgba(255, 255, 255, .82);
        backdrop-filter: saturate(180%) blur(24px);
        -webkit-backdrop-filter: saturate(180%) blur(24px);
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
        justify-content: flex-start;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .25s ease, transform .25s ease;
        overflow-y: auto;
        z-index: 50;
    }
    .mkt-hd-nav.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mkt-hd-links {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    .mkt-hd-links li {
        opacity: 0;
        transform: translateY(8px);
        transition: opacity .35s ease, transform .35s ease;
    }
    .mkt-hd-nav.is-open .mkt-hd-links li { opacity: 1; transform: translateY(0); }
    .mkt-hd-nav.is-open .mkt-hd-links li:nth-child(1) { transition-delay: .08s; }
    .mkt-hd-nav.is-open .mkt-hd-links li:nth-child(2) { transition-delay: .14s; }
    .mkt-hd-nav.is-open .mkt-hd-links li:nth-child(3) { transition-delay: .20s; }
    .mkt-hd-nav.is-open .mkt-hd-links li:nth-child(4) { transition-delay: .26s; }
    .mkt-hd-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.05rem .25rem;
        font-size: 1.35rem;
        font-weight: 600;
        color: var(--slate-900);
        border-bottom: 1px solid rgba(15, 23, 42, .08);
        transition: color .2s ease, padding-left .2s ease;
    }
    .mkt-hd-links a::after {
        content: '';
        width: 18px; height: 18px;
        background-color: currentColor;
        -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>") center/contain no-repeat;
        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>") center/contain no-repeat;
        color: var(--slate-400);
        transform: translateX(0);
        transition: transform .2s ease, color .2s ease;
    }
    .mkt-hd-links a:hover { color: var(--teal-700); padding-left: .5rem; }
    .mkt-hd-links a:hover::after { transform: translateX(4px); color: var(--teal); }
    .mkt-hd-links a.is-active { color: var(--teal-700); }
    .mkt-hd-links a.is-active::after {
        position: static;
        left: auto; right: auto; bottom: auto;
        width: 18px; height: 18px;
        background: currentColor;
        border-radius: 0;
        color: var(--teal);
    }

    .mkt-hd-cta {
        flex-direction: column;
        align-items: stretch;
        gap: .75rem;
        margin-top: auto;
        padding-top: 1.5rem;
    }
    .mkt-hd-cta .btn {
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    body.mn-open { overflow: hidden; }
    body.mn-open .mkt-hd {
        background: transparent;
        border-bottom-color: transparent;
    }
    body.mn-open .mkt-hd::before { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, var(--teal-50) 0%, transparent 60%),
        linear-gradient(180deg, var(--white) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--slate-100) 1px, transparent 1px),
        linear-gradient(90deg, var(--slate-100) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, black 0%, transparent 70%);
    opacity: .5;
    pointer-events: none;
}

.hero-inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }

.hero h1 { color: var(--slate-900); margin-bottom: 1.25rem; }
.hero h1 .accent {
    background: linear-gradient(120deg, var(--teal) 0%, var(--teal-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--slate-600);
    max-width: 640px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--slate-500);
    font-size: .9rem;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-meta i { color: var(--teal); }

/* Trial banner pill */
.trial-banner {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .5rem 1rem .5rem .55rem;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    color: var(--teal-800);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
}
.trial-banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: var(--teal);
    color: var(--white);
    border-radius: 999px;
    font-size: .95rem;
}
.trial-banner strong { color: var(--teal-900); font-weight: 800; }

/* ──────────────────────────────────────────────────────────────────────
   HERO MARQUEE — endless band of social-post mockups, anchored to the
   bottom edge of the channels section so the bottom half of every tile
   is cropped right where the gray features section begins. Items are
   randomised per request in app/Views/frontend/_partials/hero_marquee.php;
   the duplicate render in the track is what lets the -50% translate loop
   seamlessly.
   ────────────────────────────────────────────────────────────────────── */
.section-tight--marquee {
    position: relative;
    overflow: hidden;
    padding-bottom: 200px;     /* reserve room for the visible top half of tiles */
}
.section-tight--marquee > .channels { position: relative; z-index: 1; }

.hero-marquee {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -160px;            /* push down so tiles get cropped ~halfway */
    height: 320px;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: .38;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.hero-marquee-track {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    width: max-content;
    height: 100%;
    padding: 0 11px;
    animation: hero-marquee-scroll 90s linear infinite;
    will-change: transform;
}

@keyframes hero-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-marquee-track { animation: none; }
}

/* ── Tile base ─────────────────────────────────────────────────────── */
.hero-tile {
    flex: 0 0 auto;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    align-self: flex-start;            /* keep tops aligned — tiles share top edge */
    box-shadow:
        0 16px 28px rgba(15, 23, 42, .14),
        0 4px 10px rgba(15, 23, 42, .08);
}
/* Sample images keep their original aspect ratio — no cropping, so tiles get
   variable heights (align-self: flex-start above keeps them top-aligned). The
   --wide/--square classnames are kept as semantic hints but no longer force a
   crop. */
.hero-tile-image { background: var(--slate-100); overflow: hidden; }
.hero-tile-image img { display: block; width: 100%; height: auto; }

/* Avatar — shared shell, brand-tinted variants */
.hero-tile-avatar {
    width: 28px; height: 28px;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
    letter-spacing: -.01em;
}
.hero-tile-avatar--sm { width: 22px; height: 22px; font-size: 10px; }

/* Avatar palettes — assigned at random per tile in hero_marquee.php so the
   band of mockups reads as a mix of brands rather than a single product. */
.hero-tile-avatar--c1 { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-700) 100%); }
.hero-tile-avatar--c2 { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }
.hero-tile-avatar--c3 { background: linear-gradient(135deg, #fb7185 0%, #be123c 100%); }
.hero-tile-avatar--c4 { background: linear-gradient(135deg, #a78bfa 0%, #6d28d9 100%); }
.hero-tile-avatar--c5 { background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%); }
.hero-tile-avatar--c6 { background: linear-gradient(135deg, #34d399 0%, #047857 100%); }
.hero-tile-avatar--c7 { background: linear-gradient(135deg, #1e293b 0%, #475569 100%); }
.hero-tile-avatar--c8 { background: conic-gradient(from 200deg, #f58529, #dd2a7b, #8134af, #515bd4, #f58529); }

/* ── Variant: Facebook feed post ───────────────────────────────────── */
.hero-tile--fb { width: 250px; padding: 10px 12px 8px; }
.hero-tile-fb-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.hero-tile-fb-meta { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; flex: 1; }
.hero-tile-fb-meta strong {
    font-size: 11.5px; color: var(--slate-900); font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-tile-fb-meta small {
    font-size: 9.5px; color: var(--slate-500);
    display: inline-flex; align-items: center; gap: 3px;
}
.hero-tile-fb-body {
    font-size: 10.5px; line-height: 1.4; color: var(--slate-800);
    margin: 0 0 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-tile--fb .hero-tile-image--wide { margin: 0 -12px 6px; }
.hero-tile-fb-actions {
    display: flex; justify-content: space-between;
    padding-top: 6px; margin-top: 4px;
    border-top: 1px solid var(--slate-100);
    color: var(--slate-500);
    font-size: 10px; font-weight: 600;
}
.hero-tile-fb-actions span { display: inline-flex; align-items: center; gap: 4px; }
.hero-tile-fb-actions i { font-size: 13px; }

/* ── Variant: Instagram feed post ──────────────────────────────────── */
.hero-tile--ig { width: 220px; }
.hero-tile-ig-head {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px;
}
.hero-tile-ig-head strong {
    flex: 1; min-width: 0;
    font-size: 11px; color: var(--slate-900); font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-tile-ig-head > i { color: var(--slate-500); font-size: 14px; }
.hero-tile-ig-actions {
    display: flex; gap: 12px;
    padding: 8px 10px 4px;
    color: var(--slate-800);
    font-size: 16px;
}
.hero-tile-ig-likes {
    padding: 0 10px 8px;
    font-size: 10.5px; color: var(--slate-800); font-weight: 600;
}

/* ── Variant: Instagram story ──────────────────────────────────────── */
.hero-tile--story { width: 168px; }
.hero-tile-story-image { position: relative; }
.hero-tile-story-image img { display: block; width: 100%; height: auto; }
.hero-tile-story-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, .55) 0%,
        rgba(0, 0, 0, 0)   28%,
        rgba(0, 0, 0, 0)   62%,
        rgba(0, 0, 0, .55) 100%);
}
.hero-tile-story-bar {
    position: absolute; top: 7px; left: 10px; right: 10px;
    height: 2px; background: rgba(255, 255, 255, .45);
    border-radius: 2px; overflow: hidden; z-index: 2;
}
.hero-tile-story-bar::after {
    content: ''; display: block;
    width: 38%; height: 100%;
    background: #fff;
}
.hero-tile-story-head {
    position: absolute; top: 16px; left: 10px; right: 10px;
    display: flex; align-items: center; gap: 8px; z-index: 2;
}
.hero-tile-story-head strong {
    color: #fff; font-size: 10.5px; font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-tile-story-caption {
    position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 2;
    margin: 0;
    color: #fff; font-size: 10.5px; line-height: 1.35; font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 720px) {
    .section-tight--marquee { padding-bottom: 130px; }
    .hero-marquee { height: 250px; bottom: -125px; opacity: .3; }
    .hero-marquee-track { gap: 14px; }
    .hero-tile--fb    { width: 200px; }
    .hero-tile--ig    { width: 178px; }
    .hero-tile--story { width: 132px; }
}

/* ==========================================================================
   LOGOS / SOCIAL CHANNELS BAR
   ========================================================================== */

.channels {
    text-align: center;
    padding: 2rem 0 1rem;
}
.channels-label {
    color: var(--slate-500);
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .6rem;
    font-weight: 600;
}
.channels-list {
    display: flex;
    justify-content: center;
    gap: clamp(1.25rem, 3vw, 2rem);
    flex-wrap: wrap;
    list-style: none;
}
.channels-list li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease, filter .18s ease;
}
.channels-list li:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 8px 14px rgba(15, 23, 42, .17));
}
.channels-list img {
    width: 42px;
    height: 42px;
    display: block;
    border-radius: 10px;
}
.channels-list li.is-soon {
    position: relative;
}
.channels-list li.is-soon img {
    opacity: .55;
    filter: grayscale(.35);
}
.channels-list li.is-soon:hover {
    transform: none;
}
.channels-list li.is-soon .channel-soon-badge {
    position: absolute;
    top: -7px;
    right: -14px;
    background: var(--slate-800, #1e293b);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 999px;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(15, 23, 42, .18);
}

/* ==========================================================================
   FEATURE GRID
   ========================================================================== */

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
@media (max-width: 900px) {
    .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .feat-grid { grid-template-columns: 1fr; }
}

.feat-card {
    background-color: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-xl);
    padding: 2rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12), 0 6px 14px rgba(15, 23, 42, .06);
    border-color: var(--slate-300);
}

.feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: var(--r-md);
    background-color: var(--teal-50);
    color: var(--teal-700);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform .25s ease;
}
.feat-card:hover .feat-icon {
    background-color: var(--amber-100);
    color: var(--amber-700);
    transform: scale(1.12);
}

.feat-card h3 { margin-bottom: .5rem; }
.feat-card p { color: var(--slate-600); }

/* ==========================================================================
   STEPS — How it works
   ========================================================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 2rem 1.5rem;
    background-color: var(--white);
    border-radius: var(--r-xl);
    border: 1px solid var(--slate-200);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step:hover {
    transform: translateY(-5px);
    border-color: var(--slate-300);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .12), 0 6px 14px rgba(15, 23, 42, .06);
}
.step:hover .step-icon {
    background-color: var(--amber-100);
    color: var(--amber-700);
    transform: scale(1.12);
}
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -22px; left: 1.5rem;
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-900);
    color: var(--white);
    border-radius: 999px;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: var(--shadow-md);
}
.step h3 { margin: .5rem 0 .5rem; }
.step p { color: var(--slate-600); }

.step-icon {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background-color: var(--teal-50);
    color: var(--teal-700);
    font-size: 1.25rem;
    line-height: 1;
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

/* ==========================================================================
   PRICING
   ========================================================================== */

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: .25rem;
    margin: 2rem auto;
    background: var(--slate-100);
    padding: .35rem;
    border-radius: 999px;
    width: fit-content;
}
.pricing-tabs button {
    padding: .55rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--slate-600);
}
.pricing-tabs button.is-active {
    background: var(--white);
    color: var(--slate-900);
    box-shadow: var(--shadow-sm);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.plan-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-xl);
    padding: 2rem;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--slate-300);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .12), 0 6px 14px rgba(15, 23, 42, .06);
}

.plan-card.is-featured {
    border-color: var(--teal);
    border-width: 2px;
    box-shadow: 0 4px 12px rgba(45, 179, 163, .22);
}
.plan-card.is-featured:hover {
    transform: translateY(-6px);
    border-color: var(--teal);
    box-shadow: 0 18px 40px rgba(45, 179, 163, .32), 0 6px 14px rgba(15, 23, 42, .06);
}
.plan-card.is-featured::after {
    content: 'Doporučeno';
    position: absolute;
    top: -12px; right: 1.5rem;
    background: var(--teal);
    color: var(--white);
    padding: .25rem .7rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.plan-name { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); font-weight: 700; margin-bottom: .25rem; }
.plan-card h3 { font-size: 1.4rem; margin-bottom: .75rem; min-height: 1.4em; }
.plan-desc { color: var(--slate-600); font-size: .92rem; margin-bottom: 1.25rem; min-height: 2.5em; }

.plan-price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .25rem; }
.plan-price-amt { font-size: 2.4rem; font-weight: 800; color: var(--slate-900); letter-spacing: -.02em; }
.plan-price-cur { font-size: 1.1rem; color: var(--slate-500); font-weight: 600; }
.plan-price-per { font-size: .9rem; color: var(--slate-500); margin-left: .25rem; }

.plan-effective { font-size: .85rem; color: var(--slate-500); margin-bottom: 1.5rem; }
.plan-effective strong { color: var(--teal-700); }

.plan-discount {
    display: inline-block;
    background: var(--teal-50);
    color: var(--teal-800);
    font-weight: 700;
    font-size: .8rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.plan-discount.plan-discount--placeholder {
    visibility: hidden;
    background: transparent;
    border: 0;
}

.plan-features {
    list-style: none;
    margin: 1rem 0 1.5rem;
    flex: 1;
}
.plan-features li {
    display: flex;
    gap: .55rem;
    padding: .4rem 0;
    color: var(--slate-700);
    font-size: .92rem;
}
.plan-features i { color: var(--teal); flex-shrink: 0; margin-top: .2rem; }

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

/* "+N kreditů zdarma" amber pill shown under the CTA on each plan card */
.plan-trial-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: .65rem;
    padding: .35rem .75rem;
    background: var(--amber-50);
    border: 1px solid var(--amber-200);
    color: var(--amber-700);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}
.plan-trial-info i { color: var(--amber-600); font-size: 1rem; }

/* Credit packages — denser variant */
.pkg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.pkg-card {
    background-color: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pkg-card:hover {
    transform: translateY(-6px);
    border-color: var(--slate-300);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12), 0 6px 14px rgba(15, 23, 42, .06);
}
.pkg-card h4 { font-size: 1.1rem; margin-bottom: .25rem; }
.pkg-credits { font-size: 2rem; font-weight: 800; color: var(--teal-700); letter-spacing: -.02em; }
.pkg-bonus { color: var(--success); font-weight: 600; font-size: .85rem; margin-top: -.25rem; margin-bottom: .5rem; }
.pkg-price { font-size: 1.1rem; font-weight: 700; color: var(--slate-900); margin-bottom: .25rem; }
.pkg-per { font-size: .8rem; color: var(--slate-500); }

/* ==========================================================================
   FAQ
   ========================================================================== */

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

.faq-item {
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    background: var(--white);
    margin-bottom: .75rem;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: var(--teal-200); box-shadow: var(--shadow-sm); }

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
    color: var(--slate-900);
    font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\002B'; /* + */
    font-size: 1.4rem;
    color: var(--teal-700);
    transition: transform .2s;
    line-height: 1;
}
.faq-item[open] summary::after { content: '\2212'; /* − */ }

.faq-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
    align-items: stretch;
}
.contact-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-xl);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-card:hover {
    transform: translateY(-6px);
    border-color: var(--slate-300);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12), 0 6px 14px rgba(15, 23, 42, .06);
}
.contact-card .feat-icon { margin: 0 auto 1rem; }
.contact-card h3 { margin-bottom: .35rem; }
.contact-card p {
    color: var(--slate-600);
    margin-bottom: 1.25rem;
}
.contact-card .contact-card-cta {
    margin-top: auto;
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-900);
    padding-top: 1rem;
    border-top: 1px solid var(--slate-100);
    transition: color .15s ease;
    word-break: break-word;
}
.contact-card .contact-card-cta:hover { color: var(--teal-700); }

/* Contact form + company info side-by-side */
.contact-form-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}
@media (max-width: 820px) {
    .contact-form-wrap { grid-template-columns: 1fr; gap: 1.75rem; }
}

.contact-form-intro h2 { margin: .35rem 0 .75rem; }
.contact-form-intro p { color: var(--slate-600); margin-bottom: 1.5rem; }

.contact-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-info li {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    padding: .9rem 1rem;
}
.contact-info li i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--teal-50);
    color: var(--teal-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-info li div { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.contact-info li strong { color: var(--slate-900); font-size: .95rem; font-weight: 700; }
.contact-info li span { color: var(--slate-500); font-size: .85rem; }

.contact-form {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-xl);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-row { display: flex; flex-direction: column; gap: .35rem; }
.contact-form-row label {
    font-weight: 600;
    color: var(--slate-800);
    font-size: .9rem;
}
.contact-required { color: var(--danger); }
.contact-optional { color: var(--slate-500); font-weight: 400; font-size: .8rem; }

.contact-form-row input,
.contact-form-row textarea {
    width: 100%;
    padding: .7rem .85rem;
    border: 1px solid var(--slate-300);
    border-radius: var(--r-md);
    font: inherit;
    color: var(--slate-900);
    background: var(--white);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form-row input:focus,
.contact-form-row textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-100);
}
.contact-form-row textarea { resize: vertical; min-height: 140px; }
.contact-form-row .is-invalid { border-color: var(--danger); }

.contact-form-error { color: var(--danger); font-size: .82rem; }

.contact-form .btn { align-self: flex-start; }

.contact-form-meta {
    color: var(--slate-500);
    font-size: .82rem;
    margin: 0;
}

.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .85rem 1rem;
    border-radius: var(--r-md);
    font-size: .92rem;
    line-height: 1.5;
}
.contact-alert i { font-size: 1.25rem; flex-shrink: 0; line-height: 1; margin-top: .1rem; }
.contact-alert--success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.contact-alert--success i { color: var(--success); }
.contact-alert--error   { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.contact-alert--error i { color: var(--danger); }

/* ==========================================================================
   LEGAL (placeholder pages)
   ========================================================================== */

.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { margin: 2rem 0 .75rem; font-size: 1.5rem; }
.legal h3 { margin: 1.5rem 0 .5rem; }
.legal p, .legal ul, .legal ol { color: var(--slate-700); }
.legal ul, .legal ol { padding-left: 1.25rem; margin: .5rem 0 1rem; }
.legal ol ul, .legal ol ol { margin: .25rem 0 .5rem; }
.legal li { margin-bottom: .25rem; }
.legal-todo {
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    color: #92400E;
    padding: 1rem 1.25rem;
    border-radius: var(--r-lg);
    margin-bottom: 2rem;
    font-size: .92rem;
}
.legal-todo strong { color: #78350F; }

/* ==========================================================================
   CTA PANEL — split layout with floating glyphs
   ========================================================================== */

.cta-panel {
    position: relative;
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cta-panel-art {
    position: relative;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .25), transparent 55%),
        linear-gradient(135deg, var(--teal) 0%, var(--teal-700) 60%, var(--teal-800) 100%);
    overflow: hidden;
    min-height: 400px;
}

.cta-panel-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 100% 80% at 30% 50%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 100% 80% at 30% 50%, black 0%, transparent 80%);
    pointer-events: none;
}

.cta-panel-glyph {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    color: var(--white);
    font-size: 1.85rem;
    line-height: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.cta-panel-glyph--1 { top: 12%; left: 14%; transform: rotate(-8deg); }
.cta-panel-glyph--2 { top: 22%; right: 18%; transform: rotate(6deg); width: 72px; height: 72px; font-size: 2.1rem; }
.cta-panel-glyph--3 { bottom: 18%; left: 22%; transform: rotate(4deg); width: 56px; height: 56px; font-size: 1.6rem; }
.cta-panel-glyph--4 { bottom: 24%; right: 12%; transform: rotate(-12deg); }

/* FAQ variant — larger, better-distributed glyph composition */
.cta-panel--faq .cta-panel-art { min-height: 320px; }
.cta-panel--faq .cta-panel-glyph {
    width: 84px;
    height: 84px;
    font-size: 2.6rem;
    border-radius: 22px;
}
.cta-panel-glyph--a { top: 14%;  left: 12%;  transform: rotate(-8deg); width: 96px !important; height: 96px !important; font-size: 3rem !important; }
.cta-panel-glyph--b { top: 18%;  right: 14%; transform: rotate(7deg); }
.cta-panel-glyph--c { bottom: 16%; left: 22%; transform: rotate(5deg); width: 76px !important; height: 76px !important; font-size: 2.3rem !important; }
.cta-panel-glyph--d { top: 50%;  left: 50%;  transform: translate(-50%, -50%) rotate(-4deg); width: 72px !important; height: 72px !important; font-size: 2.2rem !important; opacity: .85; }
.cta-panel-glyph--e { bottom: 18%; right: 10%; transform: rotate(-10deg); width: 88px !important; height: 88px !important; font-size: 2.7rem !important; }

/* ──────────────────────────────────────────────────────────────────────
   FB-style post mockup illustration inside the CTA panel art half.
   Positioned to extend past the panel's bottom edge so it's visually
   "pinned" — the parent's overflow:hidden crops it off the ground.
   ────────────────────────────────────────────────────────────────────── */
.cta-mockup {
    position: absolute;
    left: 50%;
    top: 22px;
    transform: translateX(-50%) rotate(var(--mockup-rotate, -2deg));
    width: min(82%, 290px);
    background: var(--white);
    color: var(--slate-700);
    border-radius: 14px;
    padding: 12px 14px 10px;
    font-family: var(--font);
    font-size: 12.5px;
    line-height: 1.45;
    box-shadow:
        0 20px 36px rgba(15, 23, 42, .32),
        0 6px 14px rgba(15, 23, 42, .16);
}

.cta-mockup-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cta-mockup-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-700) 100%);
    color: var(--white);
    font-weight: 800;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: -.01em;
}

.cta-mockup-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}
.cta-mockup-meta strong {
    color: var(--slate-900);
    font-size: 13.5px;
    font-weight: 700;
}
.cta-mockup-meta small {
    color: var(--slate-500);
    font-size: 11.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cta-mockup-meta small i { font-size: 11px; }

.cta-mockup-more {
    color: var(--slate-400);
    font-size: 18px;
    line-height: 1;
}

.cta-mockup-body {
    color: var(--slate-800);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.cta-mockup-tag {
    color: #1877F2;
    font-weight: 500;
}

/* Random sample image — picked server-side, rotates every reload. Image keeps
   its native aspect ratio so the on-image text is never cropped. */
.cta-mockup-image {
    margin: 0 -14px 8px; /* full-bleed within the mockup card */
    overflow: hidden;
    background: var(--slate-100);
    position: relative;
}
.cta-mockup-image img {
    display: block;
    width: 100%;
    height: auto;
}

.cta-mockup-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--slate-100);
    font-size: 12px;
    color: var(--slate-500);
}

.cta-mockup-likes {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--slate-700);
}

.cta-mockup-like-bubble {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 10px;
    border: 1.5px solid var(--white);
}
.cta-mockup-like-bubble + .cta-mockup-like-bubble { margin-left: -6px; }
.cta-mockup-like-bubble--blue { background: #1877F2; }
.cta-mockup-like-bubble--red  { background: #E53E3E; }
.cta-mockup-likes { padding-left: 0; }

.cta-mockup-counts { font-size: 11.5px; }

.cta-mockup-actions {
    display: flex;
    justify-content: space-between;
    padding-top: 6px;
    color: var(--slate-600);
    font-size: 12.5px;
    font-weight: 600;
}
.cta-mockup-actions span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
}
.cta-mockup-actions i { font-size: 16px; }

.cta-panel-body {
    padding: clamp(1.75rem, 3vw, 2.75rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .9rem;
}

.cta-panel-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .75rem;
    background: var(--teal-50);
    color: var(--teal-800);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cta-panel-eyebrow i { font-size: 1rem; }

.cta-panel-body h2 {
    margin: 0;
    color: var(--slate-900);
}

.cta-panel-body p {
    margin: 0;
    color: var(--slate-600);
    font-size: 1.05rem;
    max-width: 56ch;
}
.cta-panel-body p strong { color: var(--teal-800); }

.cta-panel-bullets {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    margin: .25rem 0 .25rem;
}
.cta-panel-bullets li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--slate-700);
    font-size: .95rem;
    font-weight: 500;
}
.cta-panel-bullets i { color: var(--teal); font-size: 1.1rem; }

.cta-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .5rem;
}

@media (max-width: 820px) {
    .cta-panel { grid-template-columns: 1fr; }
    .cta-panel-art { min-height: 380px; }
    .cta-panel-glyph--1 { top: 10%; left: 10%; }
    .cta-panel-glyph--2 { top: 14%; right: 10%; }
    .cta-panel-glyph--3 { bottom: 14%; left: 14%; }
    .cta-panel-glyph--4 { bottom: 20%; right: 14%; }
    .cta-mockup { width: min(78%, 280px); top: 20px; }
}

/* ==========================================================================
   CREDIT COSTS PANEL (pricing page)
   ========================================================================== */

.credit-costs {
    margin-top: 2.5rem;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-xl);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}
.credit-costs-head { text-align: center; margin-bottom: 1.5rem; }
.credit-costs-head h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.credit-costs-head p { color: var(--slate-600); font-size: .95rem; }

.credit-costs-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
@media (max-width: 760px) { .credit-costs-grid { grid-template-columns: 1fr; } }

.credit-cost {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--teal-25);
    border: 1px solid var(--teal-100);
    border-radius: var(--r-lg);
}
.credit-cost.is-soon { background: var(--slate-50); border-color: var(--slate-200); opacity: .85; }

.credit-cost-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--white);
    color: var(--teal-700);
    font-size: 1.45rem;
    line-height: 1;
    border: 1px solid var(--teal-100);
}
.credit-cost.is-soon .credit-cost-icon { color: var(--slate-500); border-color: var(--slate-200); }

.credit-cost-body { flex: 1; min-width: 0; }
.credit-cost-body h4 {
    font-size: 1rem;
    margin-bottom: .15rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.credit-cost-body p { color: var(--slate-600); font-size: .85rem; line-height: 1.45; margin: 0; }

.credit-cost-soon {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--warn);
    background: #FEF3C7;
    border-radius: 999px;
    padding: .15rem .5rem;
}

.credit-cost-price {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.1;
}
.credit-cost-price strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--teal-800);
    letter-spacing: -.02em;
}
.credit-cost.is-soon .credit-cost-price strong { color: var(--slate-700); }
.credit-cost-price span { font-size: .78rem; color: var(--slate-500); }

/* Inline social channel tiles within plan features */
.plan-channels {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-left: .35rem;
    vertical-align: -5px;
}
.plan-channels img {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: block;
}
.plan-channel {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.plan-channel--soon img {
    opacity: .55;
    filter: grayscale(.35);
}
.plan-channel--soon .plan-channel-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--slate-800, #1e293b);
    color: #fff;
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 1px 5px;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
}

/* ==========================================================================
   CTA STRIP (legacy — kept for any remaining usages)
   ========================================================================== */

.cta-strip {
    background: linear-gradient(120deg, var(--teal-800) 0%, var(--teal-900) 100%);
    border-radius: var(--r-2xl);
    padding: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(167, 227, 219, .2) 0%, transparent 50%);
    pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip h2 { color: var(--white); margin-bottom: .75rem; }
.cta-strip p { color: var(--teal-100); font-size: 1.1rem; max-width: 560px; margin: 0 auto 1.75rem; }
.cta-strip .btn-primary { background: var(--white); color: var(--teal-900); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.cta-strip .btn-primary:hover { background: var(--teal-50); color: var(--teal-900); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.mkt-ft { background: var(--slate-900); color: var(--slate-400); padding-top: 4rem; }

.mkt-ft-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    display: grid;
    grid-template-columns: 1.2fr 2.5fr;
    gap: 3rem;
}

.mkt-ft-brand img { filter: none; }
.mkt-ft-tagline { margin-top: 1rem; color: var(--slate-400); font-size: .92rem; max-width: 320px; }

.mkt-ft-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.mkt-ft-col h4 { color: var(--white); font-size: .95rem; margin-bottom: 1rem; }
.mkt-ft-col ul { list-style: none; }
.mkt-ft-col li { margin-bottom: .5rem; }
.mkt-ft-col a { color: var(--slate-400); font-size: .92rem; }
.mkt-ft-col a:hover { color: var(--white); }

.mkt-ft-bottom { border-top: 1px solid var(--slate-800); }
.mkt-ft-bottom-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--slate-500);
    font-size: .85rem;
}
.mkt-ft-meta { color: var(--slate-500); }

@media (max-width: 820px) {
    .mkt-ft-inner { grid-template-columns: 1fr; gap: 2rem; }
    .mkt-ft-cols { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}
