:root {
    --bg: #070d1c;
    --bg-soft: #111b33;
    --card: #111a2f;
    --primary: #3f8cff;
    --primary-2: #7d5dff;
    --accent: #32e8c9;
    --text: #f6f9ff;
    --muted: #b3bed6;
    --line: rgba(255, 255, 255, 0.1);
    --shadow: 0 20px 50px rgba(3, 9, 25, 0.45);
    --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 80% 5%, rgba(63, 140, 255, 0.22), transparent 34%),
        radial-gradient(circle at 15% 20%, rgba(125, 93, 255, 0.2), transparent 32%),
        linear-gradient(180deg, #070d1c 0%, #0a1325 40%, #081021 100%);
    line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

/* ── Topbar ─────────────────────────────────────────── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(7, 13, 28, 0.82);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.topbar-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 76px;
}

.brand img {
    width: 160px;
    height: auto;
}

.menu {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 600;
    color: #c8d5f0;
    font-size: .93rem;
}

.menu a {
    position: relative;
    transition: color .22s ease;
    padding-bottom: 2px;
    white-space: nowrap;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    border-radius: 2px;
}

.menu a:hover { color: #fff; }
.menu a:hover::after { transform: scaleX(1); }

.menu a.active {
    color: #ffffff;
}

.menu a.active::after { transform: scaleX(1); }

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Botões ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    font-family: inherit;
    font-size: .88rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 8px 22px rgba(63, 140, 255, 0.34);
}

.btn-primary:hover {
    box-shadow: 0 12px 30px rgba(63, 140, 255, 0.48);
}

.btn-ghost {
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-accent {
    color: #081422;
    background: linear-gradient(135deg, var(--accent), #1dd8b3);
    box-shadow: 0 8px 22px rgba(50, 232, 201, 0.3);
    font-weight: 800;
}

.btn-accent:hover {
    box-shadow: 0 12px 32px rgba(50, 232, 201, 0.45);
}

/* ── Mobile hamburger ───────────────────────────────── */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    color: var(--text);
    width: 42px;
    height: 42px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    flex-shrink: 0;
    transition: background .2s ease, border-color .2s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .3);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .26s ease, opacity .26s ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────── */
.hero {
    padding: 80px 0 56px;
}

.hero-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(50, 232, 201, .35);
    background: rgba(50, 232, 201, .07);
    font-size: .78rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .06em;
    margin-bottom: 18px;
}

.hero-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(.85); }
}

.hero h1 {
    margin: 0 0 18px;
    font-family: "Sora", sans-serif;
    font-size: clamp(30px, 4.8vw, 54px);
    line-height: 1.07;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    margin: 0 0 30px;
    color: var(--muted);
    max-width: 580px;
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-card {
    background: linear-gradient(160deg, rgba(18, 29, 53, .94), rgba(10, 18, 34, .96));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(63, 140, 255, .12), transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.hero-card img {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

/* ── Section base ───────────────────────────────────── */
.section { padding: 68px 0; }

.section-head {
    margin-bottom: 30px;
    max-width: 700px;
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: .16em;
    font-weight: 800;
    margin-bottom: 8px;
}

.section h2 {
    margin: 0 0 10px;
    font-family: "Sora", sans-serif;
    font-size: clamp(26px, 3.8vw, 40px);
    letter-spacing: -.01em;
}

.section p { margin: 0; color: var(--muted); }

/* ── Carrossel de seções ────────────────────────────── */
.sections-carousel .carousel-section {
    display: none;
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    margin: 8px auto 0;
    width: min(1140px, calc(100% - 40px));
    padding: 24px 0 16px;
    background: linear-gradient(180deg, rgba(15, 27, 49, 0.88), rgba(8, 17, 34, 0.94));
    box-shadow: 0 18px 44px rgba(2, 10, 28, 0.34);
}

.sections-carousel .carousel-section.is-active {
    display: block;
    opacity: 1;
    animation: carouselIn 520ms cubic-bezier(.19, .82, .26, 1) both;
}

@keyframes carouselIn {
    from {
        opacity: 0;
        transform: translateX(44px) scale(0.988);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

.sections-carousel #assinatura.carousel-section {
    background:
        radial-gradient(circle at 18% 8%, rgba(50, 232, 201, 0.14), transparent 38%),
        radial-gradient(circle at 88% 88%, rgba(63, 140, 255, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(10, 26, 48, 0.92), rgba(7, 16, 32, 0.96));
}

.sections-carousel #inicio.carousel-section {
    background:
        radial-gradient(circle at 84% 10%, rgba(63, 140, 255, 0.20), transparent 34%),
        linear-gradient(180deg, rgba(13, 27, 52, 0.9), rgba(8, 17, 34, 0.95));
}

.sections-carousel #produtos.carousel-section {
    background:
        radial-gradient(circle at 12% 8%, rgba(50, 232, 201, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(12, 30, 48, 0.9), rgba(8, 19, 31, 0.95));
}

.sections-carousel #sistemas.carousel-section {
    background:
        radial-gradient(circle at 88% 12%, rgba(125, 93, 255, 0.18), transparent 36%),
        linear-gradient(180deg, rgba(20, 26, 54, 0.9), rgba(10, 14, 34, 0.95));
}

.sections-carousel #destaque.carousel-section {
    background:
        radial-gradient(circle at 14% 12%, rgba(63, 140, 255, 0.14), transparent 36%),
        radial-gradient(circle at 92% 88%, rgba(50, 232, 201, 0.14), transparent 36%),
        linear-gradient(180deg, rgba(14, 30, 48, 0.9), rgba(8, 18, 32, 0.95));
}

.sections-carousel #sobre.carousel-section {
    background:
        radial-gradient(circle at 82% 14%, rgba(63, 140, 255, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(16, 26, 44, 0.9), rgba(9, 17, 30, 0.95));
}

.sections-carousel #contato.carousel-section {
    background:
        radial-gradient(circle at 16% 10%, rgba(125, 93, 255, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(20, 22, 46, 0.9), rgba(10, 11, 28, 0.95));
}

/* ── Carousel Nav ───────────────────────────────────── */
.carousel-nav {
    position: sticky;
    top: 84px;
    z-index: 26;
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
    padding: 7px 8px;
    background: rgba(7, 13, 28, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .13);
    box-shadow: 0 4px 22px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.carousel-btn {
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: #f0f4ff;
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(63, 140, 255, .24);
    border-color: rgba(63, 140, 255, .5);
    transform: scale(1.08);
}

.carousel-progress {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
    padding: 0 4px;
}

.carousel-label {
    font-size: .74rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .55);
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color .3s ease;
    line-height: 1;
}

.carousel-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    border: 0;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: all .32s cubic-bezier(.4, 0, .2, 1);
}

.carousel-dot.active {
    width: 22px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 8px rgba(63, 140, 255, .5);
}

.carousel-dot:hover:not(.active) {
    background: rgba(255, 255, 255, .45);
    transform: scale(1.2);
}

/* ── Transition effects ─────────────────────────────── */
.section-transition-focus {
    animation: sectionFocusPulse 1200ms cubic-bezier(.2, .85, .2, 1);
}

@keyframes sectionFocusPulse {
    0% { transform: translateY(20px) scale(0.978); opacity: .4; filter: saturate(.82); }
    50% { transform: none; opacity: 1; filter: saturate(1.16) brightness(1.05); }
    100% { transform: none; opacity: 1; filter: none; }
}

.nav-transitioning::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 45;
    background:
        radial-gradient(circle at 50% 50%, rgba(50, 232, 201, 0.07), transparent 34%),
        radial-gradient(circle at 50% 50%, rgba(63, 140, 255, 0.12), transparent 52%);
    animation: navOverlayFlash 680ms ease;
}

@keyframes navOverlayFlash {
    0% { opacity: 0; }
    25% { opacity: 1; }
    100% { opacity: 0; }
}

/* ── Cards de produtos ──────────────────────────────── */
.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(20, 32, 57, .88), rgba(10, 18, 33, .96));
    padding: 22px;
    box-shadow: var(--shadow);
    transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(50, 232, 201, .4), transparent);
    opacity: 0;
    transition: opacity .26s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(50, 232, 201, .4);
    box-shadow: 0 28px 56px rgba(3, 9, 25, .5);
}

.card:hover::after { opacity: 1; }

.card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.card-top img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.card h3 { margin: 0; font-size: 1.08rem; }

.card ul {
    margin: 0;
    padding-left: 20px;
    color: #d4dcf4;
    line-height: 1.52;
}

.card li { margin-bottom: 6px; }

/* ── Seção Assinatura / Planos ──────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pricing-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(165deg, rgba(17, 28, 52, .94), rgba(10, 17, 32, .97));
    padding: 28px 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(63, 140, 255, .38), transparent);
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(63, 140, 255, .42);
    box-shadow: 0 32px 64px rgba(3, 9, 25, .5), 0 0 0 1px rgba(63, 140, 255, .1);
}

.pricing-card.pricing-featured {
    border-color: rgba(63, 140, 255, .38);
    background: linear-gradient(165deg, rgba(22, 38, 70, .96), rgba(12, 22, 44, .98));
    box-shadow: 0 24px 54px rgba(3, 9, 25, .5), 0 0 0 1px rgba(63, 140, 255, .18);
}

.pricing-card.pricing-featured::before {
    background: linear-gradient(90deg, transparent, rgba(63, 140, 255, .72), transparent);
}

.pricing-card.pricing-featured:hover {
    transform: translateY(-10px);
    border-color: rgba(63, 140, 255, .62);
    box-shadow: 0 36px 70px rgba(3, 9, 25, .55), 0 0 30px rgba(63, 140, 255, .1);
}

.pricing-popular {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    color: #fff;
    align-self: flex-start;
}

.pricing-name {
    font-family: "Sora", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.1;
}

.pricing-desc {
    color: var(--muted);
    font-size: .9rem;
    margin: 4px 0 0;
    line-height: 1.4;
}

.pricing-divider {
    border: 0;
    height: 1px;
    background: var(--line);
}

.pricing-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #d4dcf4;
    font-size: .93rem;
    line-height: 1.42;
}

.pricing-features li::before {
    content: "✓";
    flex-shrink: 0;
    color: var(--accent);
    font-weight: 800;
    font-size: .86rem;
    margin-top: 1px;
}

.pricing-note {
    text-align: center;
    color: var(--muted);
    font-size: .86rem;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

/* ── About ──────────────────────────────────────────── */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.spotlight {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 86% 10%, rgba(63, 140, 255, 0.2), transparent 42%),
        linear-gradient(165deg, rgba(17, 27, 51, 0.95), rgba(10, 18, 34, 0.98));
    box-shadow: var(--shadow);
    padding: 26px;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 20px;
    align-items: start;
}

.spotlight h3 {
    margin: 0 0 10px;
    font-family: "Sora", sans-serif;
    font-size: clamp(22px, 3vw, 30px);
}

.spotlight p { margin: 0 0 14px; color: #d7e1f5; }

.spotlight-list {
    margin: 0;
    padding-left: 18px;
    color: #dfe8fb;
    line-height: 1.5;
}

.spotlight-list li { margin-bottom: 6px; }

.qa-marquee {
    margin: 16px 0 0;
    border: 1px solid rgba(50, 232, 201, .22);
    border-radius: 14px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 115% 90% at 8% 0%, rgba(63, 140, 255, .18), transparent 52%),
        radial-gradient(ellipse 90% 70% at 98% 100%, rgba(125, 93, 255, .14), transparent 48%),
        linear-gradient(168deg, rgba(14, 26, 48, .96), rgba(6, 12, 26, .99));
    box-shadow: 0 14px 36px rgba(3, 9, 25, .4), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.qa-track {
    padding: 16px 18px 16px 20px;
    border-left: 4px solid var(--accent);
    background: rgba(0, 0, 0, .12);
}

.qa-item { display: none; color: #dce5f9; font-size: .92rem; line-height: 1.5; }
.qa-item.active { display: block; }
.qa-item .q { color: #dce5f9; font-weight: 700; display: block; margin-bottom: 4px; }
.qa-item .a { color: #9fe8db; }

.kpi-boxes { display: grid; gap: 10px; }

.kpi {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, .03);
}

.kpi strong {
    display: block;
    color: #9fe8db;
    margin-bottom: 3px;
    font-size: .83rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ── Story carousel ─────────────────────────────────── */
.story-carousel {
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(4, 10, 22, .45);
}

.story-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.story-toolbar small { color: #c9d5ef; font-weight: 700; letter-spacing: .03em; }

.story-btn {
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #f3f7ff;
    padding: 7px 12px;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
    text-decoration: none;
    display: inline-flex;
}

.story-btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .12); }

.story-media {
    display: block;
    background: #0b1528;
    padding: clamp(12px, 2vw, 20px);
    aspect-ratio: 1915 / 962;
    max-height: min(82vh, 900px);
    min-height: 0;
    border-right: 1px solid rgba(255, 255, 255, .1);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    contain: layout paint;
}

.story-media img {
    position: absolute;
    inset: 0;
    margin: auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    background-color: #0b1528;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.story-content { padding: 18px 20px; min-height: 0; font-size: 70%; line-height: 1.5; }

.story-view {
    display: grid;
    grid-template-columns: 1.42fr 0.58fr;
    align-items: stretch;
    min-height: 0;
}

.story-content h4 {
    margin: 0 0 10px;
    font-family: "Sora", sans-serif;
    font-size: clamp(15px, 2.1vw, 21px);
}

.story-content p { margin: 0 0 14px; color: #d7e1f5; font-size: 1em; }

.story-points { margin: 0; padding-left: 18px; color: #dfe8fb; line-height: 1.55; }
.story-points li { margin-bottom: 6px; }

.story-qa {
    margin: 12px 0 0;
    display: grid;
    gap: 10px;
    font-size: 1em;
}

.story-qa:not(:empty) {
    padding: 14px 16px 16px;
    border-radius: 12px;
    border: 1px solid rgba(63, 140, 255, .2);
    background:
        radial-gradient(ellipse 100% 140% at 0% 40%, rgba(50, 232, 201, .09), transparent 55%),
        radial-gradient(ellipse 80% 80% at 100% 0%, rgba(63, 140, 255, .1), transparent 45%),
        linear-gradient(180deg, rgba(12, 24, 46, .88), rgba(6, 14, 30, .94));
    box-shadow: 0 10px 28px rgba(3, 9, 25, .32), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.story-qa .q { color: #e2ebfb; font-weight: 700; font-size: .98em; }
.story-qa .a { color: #9fe8db; font-size: .98em; }

.story-thumbs-wrap {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 12px;
    background: rgba(255, 255, 255, .02);
}

.story-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

.story-thumb {
    width: 100px;
    min-width: 100px;
    height: 100px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.story-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.story-thumb:hover,
.story-thumb:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(159, 232, 219, .7);
    box-shadow: 0 0 0 2px rgba(159, 232, 219, .2);
    outline: none;
}

.story-thumb.active {
    border-color: #9fe8db;
    box-shadow: 0 0 0 2px rgba(159, 232, 219, .18);
}

/* ── Panel / Pillars ────────────────────────────────── */
.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(20, 32, 57, .88), rgba(10, 18, 33, .96));
    padding: 26px;
    box-shadow: var(--shadow);
}

.pillars { display: grid; gap: 12px; }

.pillar {
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .03);
    transition: border-color .22s ease;
}

.pillar:hover { border-color: rgba(63, 140, 255, .3); }
.pillar strong { display: block; margin-bottom: 4px; color: #e8f0ff; }

/* ── Contact ────────────────────────────────────────── */
.contact-box {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    background: linear-gradient(120deg, rgba(125, 93, 255, .12), rgba(63, 140, 255, .07));
}

.contact-box h3 { margin: 0 0 8px; font-size: clamp(20px, 2.8vw, 28px); }

.contact-list { margin: 10px 0 0; color: #dce4f8; }
.contact-list p { margin: 0 0 4px; color: inherit; }

.whatsapp-link { display: inline-flex; align-items: center; gap: 8px; }
.whatsapp-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }

.contact-form {
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(10, 20, 39, .6);
    border-radius: 18px;
    padding: 18px;
}

.contact-form h4 { margin: 0 0 10px; font-size: 1.06rem; }

.form-row { display: grid; gap: 6px; margin-bottom: 10px; }

.form-row label { font-size: .88rem; color: #cdd8f5; font-weight: 700; }

.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    color: #f6f9ff;
    padding: 10px 12px;
    outline: none;
    font: inherit;
    font-size: .93rem;
    transition: border-color .2s ease, background .2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: rgba(63, 140, 255, .5);
    background: rgba(63, 140, 255, .05);
}

.form-row textarea { min-height: 88px; resize: vertical; }

.contact-status {
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: .9rem;
}

.contact-status.ok {
    background: rgba(52, 227, 171, .12);
    border: 1px solid rgba(52, 227, 171, .4);
    color: #b7ffeb;
}

.contact-status.err {
    background: rgba(255, 108, 129, .12);
    border: 1px solid rgba(255, 108, 129, .4);
    color: #ffd0d8;
}

.contact-status.is-dismissing {
    transition: opacity .45s ease, margin .45s ease, padding .45s ease;
    opacity: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 0;
    overflow: hidden;
}

.hint { font-size: .84rem; color: #b7c5e8; margin-bottom: 12px; }

.contact-form-reset { margin-top: 14px; margin-bottom: 0; }
.contact-form-reset a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.contact-form-reset a:hover { color: #5ff0d4; }

.captcha-wrap {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(8, 17, 34, .62);
    margin-bottom: 10px;
}

.captcha-code {
    display: inline-block;
    user-select: none;
    letter-spacing: .32em;
    font-family: "Sora", monospace;
    font-weight: 800;
    font-size: 1.06rem;
    color: #e7f0ff;
    text-shadow: 0 0 2px rgba(255, 255, 255, .3);
    padding: 7px 12px;
    border-radius: 9px;
    border: 1px dashed rgba(255, 255, 255, .35);
    background:
        radial-gradient(circle at 15% 30%, rgba(63, 140, 255, .24), transparent 45%),
        radial-gradient(circle at 80% 75%, rgba(125, 93, 255, .26), transparent 45%),
        rgba(255, 255, 255, .04);
    transform: skewX(-7deg);
}

.captcha-refresh {
    margin-left: 10px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
    color: var(--accent);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: underline;
}

.captcha-refresh:disabled { opacity: .55; cursor: wait; }

/* ── Systems portal ─────────────────────────────────── */
.systems-portal {
    max-width: 820px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 30px);
    background: linear-gradient(155deg, rgba(18, 32, 58, .92), rgba(10, 18, 34, .96));
    box-shadow: var(--shadow);
}

.systems-portal p { margin: 0 0 16px; color: var(--muted); }

.systems-url {
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(50, 232, 201, .45);
}

.systems-url:hover { color: #5ff0d4; border-bottom-color: rgba(95, 240, 212, .7); }

.systems-bridge { margin: 18px 0 20px; padding-left: 20px; color: #dce6f8; line-height: 1.55; }
.systems-bridge li { margin-bottom: 10px; }
.systems-bridge strong { color: #f0f4ff; }

.systems-portal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ── Reveal animation ───────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 980px) {
    .menu-toggle { display: flex; }

    .menu {
        position: fixed;
        inset: 76px 0 0;
        background: rgba(5, 10, 22, .97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 8px 20px 24px;
        z-index: 29;
        border-top: 1px solid var(--line);
        display: none;
        overflow-y: auto;
    }

    .menu.is-open { display: flex; }

    .menu a {
        padding: 15px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        font-size: 1.05rem;
        text-align: left;
    }

    .menu a::after { display: none; }

    .hero-grid,
    .about,
    .spotlight-grid { grid-template-columns: 1fr; }

    .story-media {
        max-height: min(56vh, 500px);
        border-right: 0;
    }

    .story-view { grid-template-columns: 1fr; }

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

    .topbar-wrap { min-height: 68px; }

    .carousel-nav { top: 76px; }

    .topbar-actions .btn:first-child { display: none; }
}

@media (max-width: 760px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .contact-box { grid-template-columns: 1fr; }
    .carousel-label { display: none; }
}

@media (max-width: 480px) {
    .topbar-actions { gap: 8px; }
    .topbar-actions .btn { font-size: .8rem; padding: 9px 14px; }
}
