:root {
    --bg: #ffffff;
    --bg-soft: #f6f7fb;
    --surface: #ffffff;
    --surface-alt: #eef2ff;
    --primary: #13228d;
    --primary-strong: #0b166a;
    --primary-soft: #2137c8;
    --text: #16203d;
    --muted: #60708f;
    --line: #d7def0;
    --success: #2fd66f;
    --shadow: 0 20px 50px rgba(18, 34, 120, 0.12);
    --radius: 22px;
    --radius-sm: 14px;
    --container: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.sr-only,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 1000;
    background: #fff;
    color: var(--primary);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(19, 34, 141, 0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 1rem;
}

.brand img {
    width: 150px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
}

.menu a:hover,
.menu a:focus-visible,
.menu-contact-button:hover,
.menu-contact-button:focus-visible {
    color: var(--primary);
}

.menu-contact-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(107, 198, 255, 0.3), transparent 24%),
        radial-gradient(circle at 84% 14%, rgba(255, 125, 100, 0.18), transparent 20%),
        radial-gradient(circle at 68% 72%, rgba(139, 92, 246, 0.22), transparent 24%),
        linear-gradient(135deg, #0e1a70 0%, #1630aa 48%, #10258f 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 17, 80, 0.04), rgba(7, 17, 80, 0.28)),
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.06) 1px, transparent 1px),
        radial-gradient(circle at 72% 26%, rgba(255,255,255,0.1), transparent 16%),
        radial-gradient(circle at 24% 78%, rgba(98, 198, 255, 0.08), transparent 18%);
    background-size: auto, 160px 160px, 160px 160px, auto, auto;
    pointer-events: none;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero::before {
    width: 520px;
    height: 520px;
    left: -140px;
    top: 18px;
    border-radius: 45% 55% 52% 48% / 42% 38% 62% 58%;
    background: radial-gradient(circle at 40% 40%, rgba(99, 215, 255, 0.18), rgba(99, 215, 255, 0.06) 42%, transparent 70%);
    filter: blur(20px);
    animation: heroBlobShift 10s ease-in-out infinite;
}

.hero::after {
    width: 340px;
    height: 340px;
    right: -70px;
    bottom: 34px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 125, 100, 0.14), rgba(255, 125, 100, 0.04) 46%, transparent 72%);
    filter: blur(16px);
    animation: heroOrbDrift 8s ease-in-out infinite;
}

.hero-grid,
.support-grid,
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-grid {
    position: relative;
    z-index: 1;
    padding: 2rem 0 1rem;
}

.eyebrow,
.section-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
}

.hero h1,
.section-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero .lead,
.section-subtitle {
    margin: 1rem 0 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #74c0ff 0%, #8b5cf6 45%, #ff7d64 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.section-title.small {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.section-subtitle.dark,
.section-kicker.dark,
.faq .section-subtitle {
    color: var(--muted);
}

.hero-actions {
    margin-top: 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-light {
    position: relative;
    background: #fff;
    color: var(--primary);
    isolation: isolate;
    overflow: hidden;
}

.hero-actions .button-light::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: conic-gradient(from 0deg, #62c6ff, #8b5cf6, #ff7d64, #62c6ff);
    animation: buttonBorderSpin 3.6s linear infinite;
    z-index: -2;
}

.hero-actions .button-light::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 12px;
    background: #ffffff;
    z-index: -1;
}

.button-primary {
    background: var(--primary);
    color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--primary-strong);
}

.button-outline-light {
    border: 3px solid rgba(255, 255, 255, 0.95);
    color: #fff;
    background: transparent;
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}

.device-frame {
    background: linear-gradient(180deg, #2137be, #101f86);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 1rem;
    box-shadow: 0 26px 60px rgba(9, 17, 78, 0.45);
}

.device-frame img {
    border-radius: 18px;
    width: 100%;
}

.hero-media .device-frame {
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    animation: heroFloat 6s ease-in-out infinite;
    will-change: transform;
}

.hero-media .device-frame img {
    border-radius: 0;
    filter: drop-shadow(0 26px 38px rgba(7, 14, 64, 0.38));
}

.device-frame-dark {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
}

.story .device-frame-dark {
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.story .device-frame-dark img {
    border-radius: 0;
    filter: drop-shadow(0 24px 34px rgba(7, 14, 64, 0.34));
}

.quick-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.quick-card,
.price-card,
.faq-box,
.support-photo,
.course-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.quick-card {
    padding: 1.35rem 1.1rem;
    color: var(--text);
    text-align: center;
}

.quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    margin: 0 auto 0.9rem;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
}

.quick-icon svg {
    width: 22px;
    height: 22px;
}

.quick-card h2 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
}

.quick-card p,
.course-card p,
.feature-copy p,
.support-copy p,
.faq-box p,
.price-card li {
    margin: 0;
    font-size: 0.94rem;
    color: var(--muted);
}

.section-light {
    padding: 4.5rem 0;
    background: #fff;
}

.section-dark {
    position: relative;
    padding: 6rem 0;
    background: #101f86;
    color: #fff;
}

.wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 78px;
    background: #fff;
}

.wave-top {
    top: 0;
    border-bottom-left-radius: 55% 100%;
    border-bottom-right-radius: 55% 100%;
}

.wave-bottom {
    bottom: 0;
    border-top-left-radius: 55% 100%;
    border-top-right-radius: 55% 100%;
}

.partners {
    text-align: center;
}

.partner-logos {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.partner-logo {
    display: grid;
    place-items: center;
    min-height: 82px;
    background: #13228d;
    color: #fff;
    border-radius: 16px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.partners-slider {
    position: relative;
    margin-top: 1.75rem;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    animation: partnersMarquee 28s linear infinite;
}

.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo-item {
    flex: 0 0 250px;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: #13228d;
    border-radius: 16px;
}

.partner-logo-item img {
    max-width: 180px;
    max-height: 48px;
    object-fit: contain;
}

.partner-logo-item span {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.stack {
    display: grid;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.feature-media {
    position: relative;
}

.story .feature-media::before,
.story .feature-media::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.story .feature-media::before {
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 38% 62% 58% 42% / 42% 40% 60% 58%;
    background: radial-gradient(circle at 30% 30%, rgba(78, 198, 255, 0.38), rgba(78, 198, 255, 0.08) 45%, transparent 72%);
    filter: blur(10px);
    animation: storyShapeFloat 8s ease-in-out infinite;
}

.story .feature-media::after {
    width: 180px;
    height: 180px;
    right: 6%;
    top: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 125, 100, 0.34), rgba(255, 125, 100, 0.08) 50%, transparent 72%);
    filter: blur(8px);
    animation: storyOrbFloat 6.5s ease-in-out infinite;
}

.story .feature-media .device-frame-dark {
    position: relative;
    z-index: 1;
}

.feature-row-reverse .feature-copy {
    order: 1;
}

.feature-row-reverse .feature-media {
    order: 2;
}

.feature-copy h2,
.support-copy h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.story-highlight {
    display: inline-flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.story-highlight-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(117, 199, 255, 0.35);
    color: #bfe8ff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.story-highlight-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.story-highlight-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.86rem;
    font-weight: 700;
}

.story-highlight-metrics span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #62c6ff, #8b5cf6);
    box-shadow: 0 0 12px rgba(98, 198, 255, 0.65);
}

.section-dark .feature-copy p,
.catalog .section-subtitle,
.course-card p {
    color: rgba(255, 255, 255, 0.78);
}

.support-grid {
    gap: 2rem;
}

.support-photo {
    overflow: hidden;
}

.support-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stats div {
    min-width: 90px;
}

.stats strong {
    display: block;
    color: var(--primary);
    font-size: 1.6rem;
    line-height: 1;
}

.stats span {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
}

.catalog {
    padding-top: 5rem;
}

.catalog .section-title,
.catalog .section-kicker {
    text-align: center;
}

.catalog .section-subtitle {
    text-align: center;
    margin-inline: auto;
    max-width: 760px;
}

.catalog-grid,
.pricing-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.course-card {
    padding: 0.8rem;
    background: rgba(16, 31, 134, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.course-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
}

.course-card h3 {
    margin: 0.95rem 0 0.55rem;
    font-size: 1.6rem;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.pricing {
    text-align: center;
}

.pricing .section-subtitle {
    margin: 1rem auto 0;
    max-width: 680px;
    text-align: center;
}

.partner-highlight {
    padding-top: 1rem;
    padding-bottom: 2.5rem;
}

.partner-highlight-card {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    border-top: 5px solid #ff7d64;
    border-radius: 22px;
    background: linear-gradient(90deg, #1a237e 0%, #5f3aa4 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 28px 60px rgba(41, 53, 137, 0.18);
}

.partner-highlight-kicker {
    margin: 0 0 0.7rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    font-weight: 700;
}

.partner-highlight-label {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.partner-highlight-card h2 {
    margin: 0.4rem 0 0.35rem;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.partner-highlight-subtitle {
    margin: 0 0 1.6rem;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.partner-highlight-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem 1.25rem;
    margin: 0 auto 2rem;
    max-width: 920px;
}

.partner-highlight-features span {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.97rem;
    font-weight: 700;
}

.partner-highlight-features span::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
}

.price-card {
    position: relative;
    padding: 1.5rem;
    text-align: left;
    border: 1px solid rgba(19, 34, 141, 0.12);
    background:
        radial-gradient(circle at top right, rgba(106, 183, 255, 0.14), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,248,255,0.96));
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.price-card.featured {
    border-color: rgba(19, 34, 141, 0.2);
    background:
        radial-gradient(circle at top right, rgba(255, 125, 100, 0.18), transparent 22%),
        linear-gradient(180deg, #18298f 0%, #2742b8 100%);
    color: #fff;
    box-shadow: 0 28px 60px rgba(24, 41, 143, 0.26);
    transform: translateY(-10px);
}

.price-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.16), transparent 28%);
    pointer-events: none;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 52px rgba(19, 34, 141, 0.16);
    border-color: rgba(19, 34, 141, 0.2);
}

.price-card.featured:hover {
    transform: translateY(-14px);
    box-shadow: 0 32px 70px rgba(24, 41, 143, 0.32);
}

.price-card-top {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.price-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(19, 34, 141, 0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.price-chip-featured {
    background: rgba(255,255,255,0.16);
    color: #fff;
}

.plan-label {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.plan-price {
    position: relative;
    z-index: 1;
    margin: 0.4rem 0 1rem;
    color: #40495d;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.price-card.featured .plan-label,
.price-card.featured .plan-price,
.price-card.featured .plan-note,
.price-card.featured li {
    color: #fff;
}

.plan-note {
    position: relative;
    z-index: 1;
    margin: 0 0 1.15rem;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

.price-card ul {
    position: relative;
    z-index: 1;
    margin: 0 0 1.5rem;
    padding-left: 0;
    display: grid;
    gap: 0.75rem;
    list-style: none;
}

.price-card li {
    position: relative;
    padding-left: 1.35rem;
}

.price-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #5478db;
    font-size: 1.05rem;
    line-height: 1.2;
}

.price-card.featured li::before {
    color: #8fd7ff;
}

.price-card .button {
    position: relative;
    z-index: 1;
}

.price-card.featured .button-primary {
    background: #fff;
    color: #18298f;
}

.price-card.featured .button-primary:hover,
.price-card.featured .button-primary:focus-visible {
    background: #f4f7ff;
}

.faq {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.faq-shell {
    max-width: 820px;
    text-align: center;
}

.faq-bar {
    width: min(100%, 760px);
    height: 10px;
    margin: 0 auto 2.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #3940a2, #8d4bdb);
}

.faq-box {
    margin-top: 2rem;
    padding: 1rem 1rem 1.25rem;
    border: 1px solid rgba(19, 34, 141, 0.15);
    text-align: left;
}

.faq-box details {
    border-bottom: 1px solid rgba(19, 34, 141, 0.08);
}

.faq-box details:last-of-type {
    border-bottom: 0;
}

.faq-box summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 0.4rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
}

.faq-box summary::-webkit-details-marker {
    display: none;
}

.faq-box summary::after {
    content: "+";
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.35rem;
    color: var(--primary);
}

.faq-box details[open] summary::after {
    content: "−";
}

.faq-box p {
    padding: 0 0.4rem 1rem;
}

.faq-cta {
    padding-top: 1rem;
    text-align: center;
}

.site-footer {
    background: #101f86;
    color: rgba(255, 255, 255, 0.8);
    padding: 2.2rem 0 3rem;
}

.lead-modal[hidden] {
    display: none;
}

.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.lead-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 13, 44, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.lead-modal-dialog {
    position: relative;
    width: min(100%, 680px);
    z-index: 1;
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-modal.is-visible .lead-modal-backdrop {
    opacity: 1;
}

.lead-modal.is-visible .lead-modal-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.lead-modal-panel {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 14%, rgba(91, 165, 255, 0.22), transparent 18%),
        linear-gradient(135deg, #0f1f86 0%, #1630aa 58%, #2346c4 100%);
    color: #fff;
    box-shadow: 0 34px 80px rgba(5, 10, 39, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.lead-modal-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 18%, rgba(255,255,255,0.14), transparent 22%),
        linear-gradient(180deg, rgba(255,255,255,0.05), transparent 30%);
}

.lead-modal-orb {
    position: absolute;
    width: 120px;
    height: 120px;
    right: 44px;
    top: 42px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(92, 213, 255, 0.95), rgba(83, 105, 255, 0.72) 70%);
    filter: blur(2px);
    opacity: 0.9;
    z-index: 1;
    animation: modalOrbFloat 6s ease-in-out infinite;
}

.lead-modal-orb-secondary {
    width: 220px;
    height: 220px;
    right: -90px;
    bottom: -90px;
    top: auto;
    left: auto;
    background: radial-gradient(circle, rgba(255,255,255,0.16), rgba(255,255,255,0.04) 62%, transparent 72%);
    filter: blur(6px);
    opacity: 0.8;
    animation-duration: 9s;
}

.lead-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.lead-modal-kicker {
    position: relative;
    z-index: 2;
    margin: 0 0 0.6rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.lead-modal h2 {
    position: relative;
    z-index: 2;
    margin: 0 0 1rem;
    max-width: 500px;
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.lead-modal-text {
    position: relative;
    z-index: 2;
    margin: 0 0 1.5rem;
    max-width: 500px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
    line-height: 1.6;
}

.lead-form {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 0.85rem;
    max-width: 460px;
}

.lead-form input,
.lead-form select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(18, 32, 118, 0.08);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    color: #23314f;
    font: inherit;
    box-shadow: 0 10px 24px rgba(7, 15, 64, 0.08);
}

.lead-form input::placeholder {
    color: #9aa4bb;
}

.lead-form select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #394b80 50%),
        linear-gradient(135deg, #394b80 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.lead-form-feedback {
    min-height: 1.2rem;
    margin: 0.15rem 0 0;
    color: #fff;
    font-size: 0.9rem;
}

.lead-form-feedback.is-error {
    color: #ffd5d5;
}

.lead-form-feedback.is-success {
    color: #d8ffe3;
}

.lead-form-actions {
    display: flex;
    justify-content: flex-start;
}

.lead-form .button {
    min-width: 190px;
    box-shadow: 0 14px 30px rgba(8, 17, 78, 0.16);
    border-radius: 14px;
}

.lead-modal-open {
    overflow: hidden;
}

.footer-inner {
    display: grid;
    justify-items: center;
    gap: 0.6rem;
}

.footer-inner img {
    width: 172px;
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--success);
    color: #fff;
    box-shadow: 0 18px 40px rgba(47, 214, 111, 0.35);
    animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.noscript-warning {
    position: fixed;
    inset: auto 1rem 1rem 1rem;
    z-index: 100;
    background: #fff7d6;
    color: #5d4500;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid #eedb8c;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes heroBlobShift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
    50% {
        transform: translate3d(26px, 18px, 0) rotate(7deg) scale(1.05);
    }
}

@keyframes heroOrbDrift {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.75;
    }
    50% {
        transform: translate3d(-18px, -12px, 0);
        opacity: 1;
    }
}

@keyframes partnersMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 0.5rem));
    }
}

@keyframes storyShapeFloat {
    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-48%, -54%) rotate(7deg) scale(1.06);
    }
}

@keyframes storyOrbFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.75;
    }
    50% {
        transform: translate3d(-10px, 12px, 0);
        opacity: 1;
    }
}

@keyframes buttonBorderSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes whatsappPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 18px 40px rgba(47, 214, 111, 0.35), 0 0 0 0 rgba(47, 214, 111, 0.34);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 20px 44px rgba(47, 214, 111, 0.42), 0 0 0 12px rgba(47, 214, 111, 0);
    }
}

@keyframes modalOrbFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-10px, 12px, 0) scale(1.05);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .support-grid,
    .feature-row,
    .feature-row-reverse .feature-copy,
    .feature-row-reverse .feature-media {
        grid-template-columns: 1fr;
        order: initial;
    }

    .quick-grid,
    .catalog-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .menu-toggle {
        display: inline-flex;
    }

    .menu {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        background: #fff;
        border: 1px solid rgba(19, 34, 141, 0.08);
        border-radius: 18px;
        box-shadow: var(--shadow);
        padding: 0.75rem;
    }

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

    .hero,
    .section-light,
    .section-dark {
        padding-inline: 0;
    }

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

    .price-card.featured {
        transform: none;
    }

    .price-card.featured:hover {
        transform: translateY(-8px);
    }

    .partner-logo-item {
        flex-basis: 210px;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero h1,
    .section-title,
    .feature-copy h2,
    .support-copy h2,
    .partner-highlight-card h2 {
        font-size: clamp(1.9rem, 10vw, 2.6rem);
    }

    .hero-copy,
    .section-title,
    .section-kicker,
    .section-subtitle {
        text-align: left;
    }

    .catalog .section-title,
    .catalog .section-kicker,
    .catalog .section-subtitle,
    .pricing,
    .faq-shell {
        text-align: center;
    }

    .wave {
        height: 42px;
    }

    .partner-highlight-card {
        padding: 2rem 1.2rem;
    }

    .partner-highlight-features {
        justify-content: flex-start;
        text-align: left;
    }

    .story-highlight-metrics {
        flex-direction: column;
        align-items: flex-start;
    }

    .lead-modal-panel {
        padding: 1.4rem;
    }

    .lead-modal h2 {
        max-width: 320px;
    }

    .lead-form {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

    .hero-media .device-frame {
        animation: none;
    }

    .partners-track {
        animation: none;
        width: auto;
        flex-wrap: wrap;
        justify-content: center;
    }

    .story .feature-media::before,
    .story .feature-media::after,
    .hero-media .device-frame,
    .hero-actions .button-light::before,
    .whatsapp-float,
    .hero::before,
    .hero::after,
    .lead-modal-orb,
    .lead-modal-orb-secondary {
        animation: none;
    }

    .button,
    .menu-toggle span {
        transition: none;
    }
}
