﻿/* ===================================
   Hero Section Styles (Simplified)
   =================================== */

section#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.12), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(99, 102, 241, 0.08), transparent 24%),
        linear-gradient(180deg, color-mix(in srgb, var(--bg) 92%, white), var(--bg));
    isolation: isolate;
    transition: background 0.7s ease;
}

section#hero::before,
section#hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.7s ease, background 0.7s ease, transform 0.7s ease;
}

section#hero::before {
    background:
        radial-gradient(circle at var(--spot-x, 24%) var(--spot-y, 32%), rgba(99, 102, 241, 0.18), transparent 10.5%),
        radial-gradient(circle at var(--spot-x, 24%) var(--spot-y, 32%), rgba(255, 255, 255, 0.26), transparent 5.8%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 35%);
    opacity: 0.85;
}

section#hero::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 10%),
        radial-gradient(circle at 76% 22%, rgba(99, 102, 241, 0.1), transparent 20%);
    opacity: 0.22;
}

.hero {
    position: relative;
    min-height: calc(100vh - 5rem);
    display: grid;
    align-items: center;
    padding-top: 2.6rem;
    padding-bottom: 2.8rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-scene {
    position: absolute;
    inset: 1.6rem 0 1.2rem;
    pointer-events: none;
    z-index: 0;
    filter: saturate(1.02);
}

.hero-ambient,
.hero-grid,
.hero-orb,
.hero-architecture,
.hero-card,
.hero-float {
    position: absolute;
    will-change: transform;
    transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
    transition: transform 0.24s ease-out;
}

.hero-ambient {
    filter: blur(32px);
    border-radius: 999px;
}

.hero-ambient-one {
    top: 4%;
    left: 4%;
    width: 18rem;
    height: 18rem;
    background: rgba(99, 102, 241, 0.18);
}

.hero-ambient-two {
    right: 10%;
    bottom: 18%;
    width: 16rem;
    height: 16rem;
    background: rgba(56, 189, 248, 0.12);
}

.hero-grid {
    inset: 10% 4% 6% auto;
    width: min(42rem, 62vw);
    border-radius: 2rem;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.11) 1px, transparent 1px);
    background-size: 2.8rem 2.8rem;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 92%);
    opacity: 0.78;
}

.hero-orb {
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 34%),
        radial-gradient(circle at center, rgba(99, 102, 241, 0.22), rgba(99, 102, 241, 0) 70%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 20px 50px rgba(99, 102, 241, 0.18);
}

.hero-orb-one {
    top: 8%;
    right: 18%;
    width: 7rem;
    height: 7rem;
}

.hero-orb-two {
    bottom: 18%;
    right: 4%;
    width: 4.2rem;
    height: 4.2rem;
}

.hero-architecture {
    bottom: 4%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.1)),
        rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 24px 60px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.hero-architecture::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border-radius: inherit;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.hero-architecture-left {
    left: 46%;
    width: 10rem;
    height: 18rem;
    border-radius: 1.8rem 1.8rem 0.8rem 0.8rem;
}

.hero-architecture-center {
    left: 61%;
    width: 12rem;
    height: 23rem;
    border-radius: 2.2rem 2.2rem 1rem 1rem;
}

.hero-architecture-right {
    right: 4%;
    width: 8.5rem;
    height: 13rem;
    border-radius: 1.6rem 1.6rem 0.9rem 0.9rem;
}

.hero-card {
    display: grid;
    gap: 0.55rem;
    min-width: 10rem;
    padding: 1rem 1rem 0.95rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.54);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2)),
        rgba(255, 255, 255, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        0 20px 50px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.hero-card-code {
    top: 16%;
    left: 48%;
    width: 13rem;
}

.hero-card-glass {
    right: 12%;
    top: 35%;
    width: 10rem;
}

.hero-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero-card-line {
    display: block;
    height: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.26), rgba(99, 102, 241, 0.08));
}

.hero-card-line-wide {
    width: 100%;
}

.hero-card-line-short {
    width: 65%;
}

.hero-card-dot {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 35%),
        linear-gradient(145deg, rgba(99, 102, 241, 0.3), rgba(56, 189, 248, 0.12));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 16px 40px rgba(99, 102, 241, 0.16);
}

.hero-float {
    border: 1px solid rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 18px 36px rgba(15, 23, 42, 0.08);
}

.hero-float-cube {
    top: 8%;
    left: 58%;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 1.2rem;
    transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotate(18deg);
}

.hero-float-ring {
    left: 44%;
    bottom: 24%;
    width: 5.4rem;
    height: 5.4rem;
    border-radius: 50%;
}

.hero-float-ring::before {
    content: "";
    position: absolute;
    inset: 0.9rem;
    border-radius: inherit;
    border: 1px solid rgba(99, 102, 241, 0.24);
}

.hero-float-panel {
    right: 18%;
    bottom: 10%;
    width: 5rem;
    height: 5rem;
    border-radius: 1.6rem;
    transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotate(-14deg);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: min(50rem, 100%);
    padding-left: clamp(0.35rem, 1.4vw, 1rem);
    padding-right: min(18vw, 5rem);
    display: grid;
    align-content: start;
    align-self: center;
    min-height: clamp(28rem, 64vh, 40rem);
    width: 100%;
    box-sizing: border-box;
}

.hero-content .animate-on-scroll {
    opacity: 0;
    transform: translateY(14px);
    animation: none;
}

.hero-content.is-animated .animate-on-scroll {
    animation: hero-reveal 0.92s cubic-bezier(0.2, 0.9, 0.24, 1) both;
}

.hero-content.is-animated .hero-kicker { animation-delay: 0.1s; }
.hero-content.is-animated .hero-title { animation-delay: 0.18s; }
.hero-content.is-animated .hero-description { animation-delay: 0.32s; }
.hero-content.is-animated .hero-buttons .animate-on-scroll:nth-child(1) { animation-delay: 0.36s; }
.hero-content.is-animated .hero-buttons .animate-on-scroll:nth-child(2) { animation-delay: 0.42s; }

.hero-content.hero-ready .hero-buttons .animate-on-scroll {
    animation: none;
    opacity: 1;
    transform: none;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.hero-kicker::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(99, 102, 241, 0.35);
}

.hero-content h1 {
    max-width: 15ch;
    font-size: clamp(2.7rem, 6vw, 4.7rem);
    line-height: 1.05;
    margin-bottom: 0.8rem;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.hero-title {
    position: relative;
}

.hero-content .highlight {
    color: var(--accent);
}

.hero-subtitle {
    margin-bottom: 0.65rem;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent) 78%, var(--text-secondary));
    display: inline-block;
    width: max-content;
    max-width: 100%;
    position: relative;
}

.hero-type {
    clip-path: inset(0 100% 0 0);
}

.hero-type::after {
    content: "";
    position: absolute;
    top: 0.12em;
    right: -0.24rem;
    width: 1px;
    height: 1.08em;
    background: currentColor;
    opacity: 0;
}

.hero-content.is-animated .hero-type {
    animation:
        hero-reveal 0.92s cubic-bezier(0.2, 0.9, 0.24, 1) 0.26s both,
        hero-type-reveal 1.86s steps(34, end) 0.3s both;
}

.hero-content.is-animated .hero-type::after {
    animation:
        hero-caret-blink 0.72s step-end 0.28s 4,
        hero-caret-hide 0s linear 3.72s 1 forwards;
}

.hero-content.is-animated .hero-type {
    animation:
        hero-reveal 0.92s cubic-bezier(0.2, 0.9, 0.24, 1) 0.26s both,
        hero-type-reveal 1.86s steps(34, end) 0.3s both;
}

.hero-content.is-animated .hero-type::after {
    animation:
        hero-caret-blink 0.72s step-end 0.28s 4,
        hero-caret-hide 0s linear 3.72s 1 forwards;
}

.hero-description {
    max-width: 36rem;
    font-size: clamp(1rem, 1.7vw, 1.08rem);
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.72;
    text-wrap: pretty;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.hero-buttons .btn {
    padding: clamp(0.9rem, 1.5vw, 1.1rem) clamp(1.4rem, 2vw, 1.6rem);
    font-size: clamp(0.92rem, 1.1vw, 1.02rem);
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease;
}

.hero-buttons .btn:hover {
    color: inherit;
    transform: translateY(-2px);
}

.hero-buttons .btn-primary {
    color: #ffffff;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 82%, white), var(--accent));
    border-color: color-mix(in srgb, var(--accent) 68%, white);
    box-shadow:
        0 12px 24px rgba(99, 102, 241, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn-primary::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    transition: background 0.26s ease, opacity 0.26s ease;
    pointer-events: none;
    opacity: 0;
}

.hero-buttons .btn-primary > * {
    position: relative;
    z-index: 1;
}

.hero-buttons .btn-primary:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--surface) 68%, transparent);
    border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 12px 26px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-primary:hover::before {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
    opacity: 1;
}

.hero-buttons .btn-outline {
    color: var(--text);
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    border-color: color-mix(in srgb, var(--border) 80%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-buttons .btn-outline:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.85rem;
    max-width: 40rem;
}

.hero-content .hero-meta.animate-on-scroll {
    animation-delay: 0.48s;
}

.hero-content .hero-proof.animate-on-scroll {
    animation-delay: 0.58s;
}

.hero-content .hero-meta.animate-on-scroll {
    animation-delay: 0.48s;
}

.hero-content .hero-proof.animate-on-scroll {
    animation-delay: 0.58s;
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease,
        box-shadow 0.22s ease,
        color 0.22s ease,
        filter 0.22s ease;
}

.hero-meta-item:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 22%, var(--border));
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: min(46rem, 100%);
    margin-top: 1rem;
}

.hero-proof-item {
    position: relative;
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1rem 0.95rem;
    border-radius: 1.25rem;
    border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease,
        box-shadow 0.22s ease;
}

.hero-proof-item::after,
.hero-proof-item::before {
    content: "";
    position: absolute;
    inset: -42% auto -42% -58%;
    width: 44%;
    transform: translateX(0) skewX(-24deg);
    opacity: 0;
    pointer-events: none;
}

.hero-proof-item::after {
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 240, 208, 0.04) 24%,
        rgba(232, 209, 163, 0.1) 50%,
        rgba(209, 169, 103, 0.05) 76%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(7px);
}

.hero-proof-item::before {
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(241, 228, 196, 0.02) 28%,
        rgba(214, 177, 109, 0.045) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(12px);
}

.hero-proof-item strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hero-proof-item span {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.hero-proof-item:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 18%, var(--border));
    background: color-mix(in srgb, var(--accent) 6%, var(--surface));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 14px 32px rgba(15, 23, 42, 0.08);
}

.hero-proof-item:hover::after {
    opacity: 1;
    animation: hero-shimmer 8.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-proof-item:hover::before {
    opacity: 1;
    animation: hero-shimmer 8.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-content.is-animated .hero-proof-item:nth-child(1)::after,
.hero-content.is-animated .hero-proof-item:nth-child(1)::before {
    animation: hero-shimmer 8.6s cubic-bezier(0.22, 1, 0.36, 1) 0.82s 1 both;
    opacity: 1;
}

.hero-content.is-animated .hero-proof-item:nth-child(2)::after,
.hero-content.is-animated .hero-proof-item:nth-child(2)::before {
    animation: hero-shimmer 8.6s cubic-bezier(0.22, 1, 0.36, 1) 0.96s 1 both;
    opacity: 1;
}

.hero-content.is-animated .hero-proof-item:nth-child(3)::after,
.hero-content.is-animated .hero-proof-item:nth-child(3)::before {
    animation: hero-shimmer 8.6s cubic-bezier(0.22, 1, 0.36, 1) 1.1s 1 both;
    opacity: 1;
}

@keyframes hero-reveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-type-reveal {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes hero-caret-blink {
    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

@keyframes hero-caret-hide {
    to {
        opacity: 0;
    }
}

@keyframes hero-shimmer {
    0% {
        transform: translateX(0) skewX(-26deg);
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    100% {
        transform: translateX(560%) skewX(-26deg);
        opacity: 0;
    }
}

.hero-orb-one,
.hero-card-code,
.hero-float-cube {
    animation: hero-float 8.5s ease-in-out infinite;
}

@keyframes hero-float {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -8px;
    }
}

.hero-orb-two,
.hero-card-glass,
.hero-float-panel {
    animation: hero-float 10.5s ease-in-out infinite reverse;
}

.hero-architecture-right,
.hero-float-ring {
    animation: hero-float 12s ease-in-out infinite;
}

/* Dark theme */
[data-theme="dark"] section#hero {
    background:
        radial-gradient(circle at top left, rgba(129, 140, 248, 0.16), transparent 26%),
        radial-gradient(circle at 86% 20%, rgba(56, 189, 248, 0.1), transparent 20%),
        linear-gradient(180deg, color-mix(in srgb, var(--bg) 94%, var(--bg-secondary)), var(--bg));
}

[data-theme="dark"] section#hero::before {
    background:
        radial-gradient(circle at var(--spot-x, 24%) var(--spot-y, 32%), rgba(129, 140, 248, 0.18), transparent 10.5%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 35%);
    opacity: 0.84;
}

[data-theme="dark"] section#hero::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.008), transparent 8%),
        radial-gradient(circle at 76% 22%, rgba(129, 140, 248, 0.16), transparent 20%);
    opacity: 0.32;
}

[data-theme="dark"] .hero-grid {
    background-image:
        linear-gradient(rgba(129, 140, 248, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 140, 248, 0.16) 1px, transparent 1px);
    opacity: 0.52;
}

[data-theme="dark"] .hero-architecture,
[data-theme="dark"] .hero-card,
[data-theme="dark"] .hero-float {
    border-color: rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(28, 25, 23, 0.26);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 50px rgba(0, 0, 0, 0.2),
        0 0 24px rgba(129, 140, 248, 0.08);
}

[data-theme="dark"] .hero-card-label {
    color: var(--text-muted);
}

[data-theme="dark"] .hero-kicker {
    background: rgba(28, 25, 23, 0.42);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 22px rgba(129, 140, 248, 0.08);
}

[data-theme="dark"] .hero-meta-item,
[data-theme="dark"] .hero-proof-item {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(28, 25, 23, 0.28);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hero-meta-item:hover {
    color: #ffffff;
    background: rgba(129, 140, 248, 0.12);
    border-color: rgba(129, 140, 248, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 22px rgba(129, 140, 248, 0.08);
}

[data-theme="dark"] .hero-proof-item:hover {
    border-color: rgba(129, 140, 248, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        rgba(28, 25, 23, 0.32);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(129, 140, 248, 0.12),
        0 0 26px rgba(129, 140, 248, 0.08);
}

[data-theme="dark"] .hero-proof-item::after {
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(227, 197, 132, 0.02) 24%,
        rgba(212, 176, 110, 0.05) 40%,
        rgba(239, 216, 168, 0.09) 50%,
        rgba(196, 154, 89, 0.06) 60%,
        rgba(196, 154, 89, 0.014) 76%,
        rgba(255, 255, 255, 0) 100%
    );
}

[data-theme="dark"] .hero-proof-item::before {
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(219, 186, 122, 0.02) 26%,
        rgba(205, 168, 102, 0.038) 42%,
        rgba(233, 207, 156, 0.06) 50%,
        rgba(194, 151, 83, 0.032) 60%,
        rgba(255, 255, 255, 0) 100%
    );
}

[data-theme="dark"] .hero-buttons .btn-outline {
    color: var(--text);
    background: rgba(28, 25, 23, 0.38);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hero-buttons .btn-outline:hover {
    color: #ffffff;
    background: rgba(129, 140, 248, 0.12);
    border-color: rgba(129, 140, 248, 0.28);
    box-shadow: 0 0 24px rgba(129, 140, 248, 0.1);
}

[data-theme="dark"] .hero-buttons .btn-primary:hover {
    color: #ffffff;
    background: rgba(28, 25, 23, 0.42);
    border-color: rgba(129, 140, 248, 0.28);
    box-shadow:
        0 0 24px rgba(129, 140, 248, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hero-buttons .btn-primary:hover::before {
    background:
        linear-gradient(135deg, rgba(129, 140, 248, 0.16), rgba(255, 255, 255, 0.04));
}

/* Responsive */
@media (max-width: 768px) {
    section#hero {
        min-height: auto;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        padding-right: 0 !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: grid;
        align-content: start;
    }

    .hero-content h1 {
        max-width: 100%;
        font-size: clamp(2.6rem, 11vw, 4rem);
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }

    .hero-type {
        clip-path: none;
        white-space: normal;
    }

    .hero-type::after {
        display: none;
    }

    .hero-proof {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.85rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 0.95rem 1.25rem;
        font-size: 0.95rem;
    }

    .hero-meta {
        gap: 0.55rem;
        max-width: 100%;
    }

    .hero-meta-item {
        font-size: 0.82rem;
    }
}

@media (max-width: 640px) {
    section#hero {
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        padding-right: 0 !important;
        min-height: auto;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 11vw, 3rem);
        max-width: 100%;
        margin-bottom: 1.2rem;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

    .hero-kicker {
        font-size: 0.8rem;
        padding: 0.55rem 1.1rem;
        margin-bottom: 1.1rem;
        letter-spacing: 0.05em;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
        font-weight: 500;
    }

    .hero-description {
        font-size: 1.05rem;
        line-height: 1.65;
        margin-bottom: 2.2rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.1rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: clamp(1rem, 2vw, 1.1rem) clamp(1.5rem, 3vw, 1.6rem);
        font-size: clamp(0.95rem, 2.5vw, 1.08rem);
        font-weight: 500;
    }

    .hero-meta {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 2.5rem 0;
        padding: 1.5rem;
        background: rgba(99, 102, 241, 0.08);
        border-radius: 1.2rem;
        max-width: 100%;
    }

    .hero-meta-item {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-proof {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        max-width: 100%;
        margin-top: 1rem;
    }

    .hero-proof-item {
        padding: 1.2rem;
        border-radius: 1.1rem;
    }

    .hero-proof-item strong {
        font-size: 1rem;
        display: block;
        margin-bottom: 0.4rem;
        font-weight: 600;
    }

    .hero-proof-item span {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    section#hero {
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 2.6rem);
        margin-bottom: 1rem;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

    .hero-kicker {
        font-size: 0.75rem;
        padding: 0.5rem 0.95rem;
        margin-bottom: 0.95rem;
        letter-spacing: 0.05em;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.85rem;
        font-weight: 500;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.8rem;
        line-height: 1.6;
        max-width: 100%;
    }

    .hero-buttons {
        gap: 0.95rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: clamp(0.95rem, 1.5vw, 1rem) clamp(1.3rem, 2vw, 1.4rem);
        font-size: clamp(0.9rem, 2.2vw, 0.98rem);
        font-weight: 500;
    }

    .hero-meta {
        margin: 2rem 0;
        gap: 0.65rem;
        padding: 1.3rem;
        background: rgba(99, 102, 241, 0.07);
        border-radius: 1rem;
        max-width: 100%;
    }

    .hero-meta-item {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .hero-proof {
        gap: 1rem;
        margin-top: 0.8rem;
        max-width: 100%;
    }

    .hero-proof-item {
        padding: 1rem;
        border-radius: 1rem;
    }

    .hero-proof-item strong {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 0.35rem;
    }

    .hero-proof-item span {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content .animate-on-scroll {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}
