/* ═══════════════════════════════════════════════════════════
   EduAI PREMIUM v20.0 — Next-Gen Design System
   3D · Mesh Gradients · Glassmorphism · Magnetic UI
   ═══════════════════════════════════════════════════════════ */

:root {
    --c-accent: #e84d30;
    --c-accent-light: #ff8a50;
    --c-accent-deep: #c93a22;
    --bg-base: #0a0a0b;
    --glass-bg: rgba(15, 15, 18, 0.55);
    --glass-bg-strong: rgba(20, 20, 24, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(232, 77, 48, 0.35);
    --text-pure: #fafafa;
    --text-dim: rgba(255, 255, 255, 0.55);
    --text-dimmer: rgba(255, 255, 255, 0.35);
    --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.5);
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.65, 0.05, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body.premium-body {
    background: var(--bg-base);
    color: var(--text-pure);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   MESH GRADIENT BACKGROUND
   ═══════════════════════════════════════════ */
.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: var(--bg-base);
    pointer-events: none;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
}

.mesh-blob.b1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #e84a30 0%, transparent 70%);
    top: -10%; left: -10%;
    opacity: 0.25;
    animation: mesh-float-1 22s ease-in-out infinite;
}
.mesh-blob.b2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #e84a30 0%, transparent 70%);
    top: 30%; right: -8%;
    opacity: 0.15;
    animation: mesh-float-2 28s ease-in-out infinite;
}
.mesh-blob.b3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #ff8a50 0%, transparent 70%);
    bottom: -20%; left: 30%;
    opacity: 0.12;
    animation: mesh-float-3 32s ease-in-out infinite;
}
.mesh-blob.b4 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #e84a30 0%, transparent 70%);
    top: 60%; left: 10%;
    opacity: 0.1;
    animation: mesh-float-4 26s ease-in-out infinite;
}

@keyframes mesh-float-1 {
    0%,100% { transform: translate(0,0) scale(1); }
    33%     { transform: translate(120px,80px) scale(1.15); }
    66%     { transform: translate(-60px,150px) scale(0.9); }
}
@keyframes mesh-float-2 {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(-150px,80px) scale(1.2); }
}
@keyframes mesh-float-3 {
    0%,100% { transform: translate(0,0) scale(1); }
    33%     { transform: translate(-100px,-80px) scale(1.1); }
    66%     { transform: translate(80px,-40px) scale(0.95); }
}
@keyframes mesh-float-4 {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(200px,-100px) scale(1.3); }
}

/* Grain overlay */
.mesh-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Vignette */
.mesh-bg::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   PARTICLE CANVAS
   ═══════════════════════════════════════════ */
.particle-canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* ═══════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════ */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-accent-light));
    z-index: 200;
    box-shadow: 0 0 12px rgba(232, 77, 48, 0.6);
    transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav-premium {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    height: 68px;
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    z-index: 100;
    padding: 0 10px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav-logo .logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav-logo .logo-accent {
    color: var(--c-accent);
}

.nav-center {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.03);
    padding: 4px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.04);
}
.nav-link {
    padding: 8px 18px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}
.nav-link:hover { color: #fff; }
.nav-link.active {
    color: #fff;
    background: rgba(232, 77, 48, 0.15);
    box-shadow: inset 0 0 0 1px rgba(232,77,48,0.3);
}

.nav-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

@media (max-width: 880px) {
    .nav-center { display: none; }
    .nav-premium { padding: 0 10px 0 18px; height: 60px; }
    .nav-logo { font-size: 16px; }
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn-magnetic {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    border: none;
    cursor: none;
    overflow: hidden;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.3s;
    will-change: transform;
    white-space: nowrap;
}

.btn-magnetic.btn-primary-gradient {
    background: var(--c-accent);
    color: #fff;
    box-shadow: 0 8px 28px rgba(232, 77, 48, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-magnetic.btn-primary-gradient::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--c-accent-light);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-magnetic.btn-primary-gradient:hover::before { opacity: 1; }
.btn-magnetic.btn-primary-gradient:hover {
    box-shadow: 0 12px 40px rgba(232, 77, 48, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-magnetic.btn-ghost {
    background: rgba(255,255,255,0.04);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}
.btn-magnetic.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.btn-magnetic.btn-glass {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
}
.btn-magnetic.btn-glass:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
}

.btn-magnetic.btn-lg {
    padding: 17px 36px;
    font-size: 14px;
}
.btn-magnetic.btn-xl {
    padding: 20px 44px;
    font-size: 15px;
}

.btn-magnetic span { position: relative; z-index: 2; }
.btn-magnetic svg { position: relative; z-index: 2; transition: transform 0.3s; }
.btn-magnetic:hover svg { transform: translateX(4px); }

.btn-play-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 1px;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero-premium {
    min-height: 100dvh;
    position: relative;
    padding: 96px 24px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content-wrap {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text { position: relative; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(232, 77, 48, 0.08);
    border: 1px solid rgba(232, 77, 48, 0.25);
    border-radius: 100px;
    color: var(--c-accent-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.hero-badge::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232,77,48,0.2), transparent);
    animation: shimmer 3s infinite;
}
@keyframes shimmer { to { left: 100%; } }

.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 12px var(--c-accent);
    animation: pulse-dot 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%,100% { transform: scale(1); opacity: 1; }
    50%     { transform: scale(1.4); opacity: 0.6; }
}

.hero-headline {
    font-size: clamp(54px, 8.5vw, 112px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: #fff;
    margin-bottom: 28px;
}
.hero-headline .headline-line,
.hero-headline .headline-gradient {
    display: block;
}
.hero-headline .headline-gradient {
    color: var(--c-accent);
}

.hero-sub {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 0 40px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   HERO 3D VISUAL
   ═══════════════════════════════════════════ */
.hero-visual-3d {
    position: relative;
    width: 100%;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.three-orb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.three-orb canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Floating chips around orb */
.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(20, 20, 24, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
    animation: chip-float 6s ease-in-out infinite;
    z-index: 5;
    min-width: 140px;
}
@keyframes chip-float {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-14px); }
}

.float-chip.chip-1 { top: 8%; left: 0%; animation-delay: 0s; }
.float-chip.chip-2 { top: 18%; right: 0%; animation-delay: -1.5s; }
.float-chip.chip-3 { bottom: 18%; left: -2%; animation-delay: -3s; }
.float-chip.chip-4 { bottom: 8%; right: 2%; animation-delay: -4.5s; }

.float-chip .chip-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.float-chip .chip-text { display: flex; flex-direction: column; gap: 1px; }
.float-chip .chip-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.2px;
}
.float-chip .chip-sub {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.4px;
}

/* ═══════════════════════════════════════════
   HERO STATS GRID
   ═══════════════════════════════════════════ */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 56px;
    max-width: 580px;
}

.stat-glass {
    padding: 22px;
    background: rgba(15, 15, 18, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    transform-style: preserve-3d;
}
.stat-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.stat-glass:hover {
    transform: translateY(-6px);
    border-color: rgba(232,77,48,0.3);
    background: rgba(20, 20, 24, 0.7);
}
.stat-glass:hover::before { opacity: 1; }

.stat-glass-label {
    font-size: 10px;
    color: var(--text-dimmer);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    font-weight: 600;
}
.stat-glass-value {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
}
.stat-glass-bar {
    height: 3px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    margin-top: 12px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--c-accent), var(--c-accent-light));
    border-radius: 3px;
    width: 0;
    transition: width 2s var(--ease-smooth);
    box-shadow: 0 0 8px rgba(232,77,48,0.5);
}

/* ═══════════════════════════════════════════
   SCROLL HINT (mouse icon)
   ═══════════════════════════════════════════ */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-dimmer);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: hint-bounce 2.5s ease-in-out infinite;
}
@keyframes hint-bounce {
    0%,100% { transform: translate(-50%, 0); }
    50%     { transform: translate(-50%, 8px); }
}
.scroll-hint .mouse {
    width: 22px; height: 36px;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-hint .wheel {
    width: 2px; height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: wheel-down 1.6s ease-in-out infinite;
}
@keyframes wheel-down {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ═══════════════════════════════════════════
   MARQUEE SECTION
   ═══════════════════════════════════════════ */
.marquee-section {
    padding: 32px 0;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(5,5,7,0.4);
    position: relative;
}
.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0; width: 180px; height: 100%;
    z-index: 5;
    pointer-events: none;
}
.marquee-section::before { left: 0; background: linear-gradient(to right, var(--bg-base), transparent); }
.marquee-section::after { right: 0; background: linear-gradient(to left, var(--bg-base), transparent); }

.marquee-track {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: marquee-slide 30s linear infinite;
    width: max-content;
}
@keyframes marquee-slide {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.marquee-item {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dim);
    white-space: nowrap;
    letter-spacing: -0.5px;
    transition: color 0.3s;
}
.marquee-item:hover { color: #fff; }
.marquee-dot {
    color: var(--c-accent);
    font-size: 14px;
    opacity: 0.6;
}

/* ═══════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════ */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(232, 77, 48, 0.08);
    border: 1px solid rgba(232, 77, 48, 0.2);
    border-radius: 100px;
    color: var(--c-accent-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}
.eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 10px var(--c-accent);
}

.section-title-xl {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 22px;
}
.section-title-lg {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 22px;
}
.section-title-md {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 22px;
}
.section-sub {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
}

.text-grad-orange {
    color: var(--c-accent);
}
.text-grad-multi {
    color: var(--c-accent);
}

/* ═══════════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════════ */
.features-premium {
    padding: 120px 24px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 20px;
}
.features-grid .feature-card:nth-child(1) {
    grid-column: span 2;
}
.features-grid .feature-card:nth-child(2) {
    grid-column: span 1;
}
.features-grid .feature-card:nth-child(3),
.features-grid .feature-card:nth-child(4),
.features-grid .feature-card:nth-child(5),
.features-grid .feature-card:nth-child(6) {
    grid-column: span 1;
}

.feature-card {
    padding: 36px;
    min-height: 280px;
    background: rgba(15, 15, 18, 0.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
    display: flex;
    flex-direction: column;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 40%, transparent 60%, rgba(232,77,48,0.15));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.feature-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-deep), 0 0 40px rgba(232,77,48,0.1);
}

.feature-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,77,48,0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    filter: blur(20px);
}
.feature-card:hover .feature-glow { opacity: 1; }

.feature-icon-3d {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--icon-from, #e84d30), var(--icon-to, #ff8a50));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: transform 0.5s var(--ease-spring);
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
}
.feature-card:hover .feature-icon-3d {
    transform: translateY(-4px) rotateY(180deg);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.4px;
    position: relative;
    z-index: 2;
}
.feature-desc {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.65;
    flex: 1;
    position: relative;
    z-index: 2;
}
.feature-link {
    margin-top: 22px;
    color: var(--c-accent-light);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.3s;
    position: relative;
    z-index: 2;
    width: fit-content;
}
.feature-card:hover .feature-link {
    gap: 10px;
    color: #fff;
}

/* ═══════════════════════════════════════════
   3D TILT EFFECT
   ═══════════════════════════════════════════ */
.tilt-3d {
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
}

/* ═══════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════ */
.about-premium {
    padding: 120px 24px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.about-left .section-eyebrow { margin-bottom: 22px; }

.about-desc {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.75;
    margin: 22px 0 32px;
    max-width: 520px;
}
.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}
.about-stat-num {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}
.about-stat-label {
    font-size: 12px;
    color: var(--text-dimmer);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-right {
    position: relative;
    height: 520px;
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 30%, rgba(232,77,48,0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(124,58,237,0.12) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0d, #15151a);
    border: 1px solid rgba(255,255,255,0.06);
}
.about-right::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(232,77,48,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,77,48,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.three-cube {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.three-cube canvas {
    width: 100% !important;
    height: 100% !important;
}

.data-point {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(20, 20, 24, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    animation: chip-float 5s ease-in-out infinite;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.data-point.dp-1 { top: 15%; left: 10%; animation-delay: 0s; }
.data-point.dp-2 { top: 50%; right: 8%; animation-delay: -2s; }
.data-point.dp-3 { bottom: 18%; left: 18%; animation-delay: -3.5s; }

.dp-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 10px var(--c-accent);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   BENTO GRID
   ═══════════════════════════════════════════ */
.bento-premium {
    padding: 80px 24px 120px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.bento-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 600px;
}

.bento-card {
    background: rgba(15, 15, 18, 0.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
    padding: 36px;
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 50%, rgba(232,77,48,0.18));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.bento-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-deep);
}

.bento-big {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px;
}

.bento-bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,77,48,0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: 1;
}
.bento-content { position: relative; z-index: 2; }

.bento-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-accent-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}
.status-pulse {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 10px var(--c-accent);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.bento-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.2px;
    color: #fff;
    margin-bottom: 14px;
}
.bento-desc {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 380px;
}

/* Bento Map */
.bento-map {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 55%;
    z-index: 2;
}
.map-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(232,77,48,0.2) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.map-pin {
    position: absolute;
    width: 10px; height: 10px;
    background: var(--c-accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--c-accent);
}
.map-pin .pin-pulse {
    position: absolute;
    inset: -6px;
    border: 1.5px solid rgba(232,77,48,0.4);
    border-radius: 50%;
    animation: pin-ripple 2s ease-out infinite;
}
@keyframes pin-ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}
.map-pin.pin-1 { bottom: 40%; left: 15%; }
.map-pin.pin-2 { bottom: 60%; left: 30%; }
.map-pin.pin-3 { bottom: 30%; left: 45%; animation-delay: -0.5s; }
.map-pin.pin-4 { bottom: 55%; left: 62%; animation-delay: -1s; }
.map-pin.pin-5 { bottom: 25%; left: 75%; animation-delay: -1.5s; }
.map-pin.pin-6 { bottom: 50%; left: 88%; animation-delay: -0.3s; }
.map-pin.pin-2 .pin-pulse { animation-delay: -0.5s; }
.map-pin.pin-3 .pin-pulse { animation-delay: -1s; }
.map-pin.pin-4 .pin-pulse { animation-delay: -1.5s; }
.map-pin.pin-5 .pin-pulse { animation-delay: -0.3s; }

/* Bento Rating */
.bento-rating {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.rating-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}
.rating-star {
    color: var(--c-accent);
    font-size: 22px;
    filter: drop-shadow(0 0 6px rgba(232,77,48,0.5));
}
.rating-big {
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 8px;
}
.rating-out {
    font-size: 22px;
    color: var(--text-dim);
    font-weight: 500;
    margin-left: 4px;
}
.rating-label {
    font-size: 13px;
    color: var(--text-dim);
}

/* Bento Quote */
.bento-quote {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.quote-mark {
    position: absolute;
    top: 10px; right: 24px;
    font-size: 100px;
    color: rgba(232,77,48,0.15);
    line-height: 1;
    font-family: serif;
    font-weight: 800;
    z-index: 1;
}
.quote-body {
    font-size: 15px;
    font-style: italic;
    line-height: 1.55;
    color: #fff;
    position: relative;
    z-index: 2;
    margin-bottom: 18px;
}
.quote-author {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}
.author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 6px 18px rgba(232,77,48,0.4);
}
.author-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.author-role {
    font-size: 11px;
    color: var(--text-dim);
}

/* ═══════════════════════════════════════════
   PARTNERS SECTION
   ═══════════════════════════════════════════ */
.partners-premium {
    padding: 60px 24px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.partner-marquee {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}
.partner-marquee::before,
.partner-marquee::after {
    content: '';
    position: absolute;
    top: 0; width: 200px; height: 100%;
    z-index: 5;
    pointer-events: none;
}
.partner-marquee::before { left: 0; background: linear-gradient(to right, var(--bg-base), transparent); }
.partner-marquee::after { right: 0; background: linear-gradient(to left, var(--bg-base), transparent); }

.partner-track {
    display: flex;
    gap: 24px;
    animation: marquee-slide 35s linear infinite;
    width: max-content;
}
.partner-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: rgba(15,15,18,0.6);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    transition: all 0.3s;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}
.partner-chip:hover {
    color: #fff;
    border-color: rgba(232,77,48,0.3);
    background: rgba(232,77,48,0.05);
}
.partner-chip .p-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-premium {
    padding: 120px 24px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(232,77,48,0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    filter: blur(60px);
    z-index: -1;
    animation: orb-breathe 5s ease-in-out infinite;
}
@keyframes orb-breathe {
    0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
    50%     { opacity: 1; transform: translate(-50%,-50%) scale(1.15); }
}

.cta-content { position: relative; z-index: 2; }
.cta-headline {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 22px;
}
.cta-sub {
    font-size: 17px;
    color: var(--text-dim);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer-premium {
    padding: 80px 24px 32px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--glass-border);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-tag {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 280px;
}
.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--c-accent-light); }

.footer-mega-text {
    font-size: clamp(70px, 13vw, 200px);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.9;
    color: rgba(232,77,48,0.07);
    user-select: none;
    text-align: center;
    margin: 40px 0 -20px;
    position: relative;
}
.footer-mega-text span {
    color: rgba(232,77,48,0.15);
    margin: 0 0.2em;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    color: var(--text-dimmer);
    font-size: 12px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 12px;
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-smooth), transform 1s var(--ease-smooth);
}
[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-content-wrap { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual-3d { height: 420px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-right { height: 420px; }
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        height: auto;
    }
    .bento-big { grid-row: span 1; min-height: 380px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .hero-premium { padding: 120px 18px 60px; }
    .hero-stats-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .features-grid .feature-card:nth-child(1),
    .features-grid .feature-card:nth-child(2),
    .features-grid .feature-card:nth-child(3),
    .features-grid .feature-card:nth-child(4),
    .features-grid .feature-card:nth-child(5),
    .features-grid .feature-card:nth-child(6) {
        grid-column: span 1;
    }
    .footer-grid { grid-template-columns: 1fr; }
    .about-stats { flex-wrap: wrap; gap: 20px; }
    .float-chip { padding: 10px 14px; min-width: 120px; }
    .float-chip .chip-icon { width: 30px; height: 30px; }
    .float-chip .chip-title { font-size: 12px; }
    .float-chip .chip-sub { font-size: 9px; }
    .section-head { margin-bottom: 50px; }
    .features-premium, .about-premium, .bento-premium, .cta-premium {
        padding: 80px 18px;
    }
}

/* ═══════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   LIGHT MODE
   ═══════════════════════════════════════════ */
@media (prefers-color-scheme: light) {
    :root {
        --bg-base: #f5f5f0;
        --glass-bg: rgba(255, 255, 255, 0.75);
        --glass-bg-strong: rgba(255, 255, 255, 0.85);
        --glass-border: rgba(0, 0, 0, 0.08);
        --glass-border-hover: rgba(232, 77, 48, 0.35);
        --text-pure: #18181b;
        --text-dim: rgba(0, 0, 0, 0.55);
        --text-dimmer: rgba(0, 0, 0, 0.35);
        --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.12);
    }
    body.premium-body {
        background: var(--bg-base);
        color: var(--text-pure);
    }
    .mesh-blob.b1 { opacity: 0.08; }
    .mesh-blob.b2 { opacity: 0.05; }
    .mesh-blob.b3 { opacity: 0.04; }
    .mesh-blob.b4 { opacity: 0.03; }
    .nav-premium {
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(0, 0, 0, 0.08);
        box-shadow: 0 10px 40px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
    }
    .nav-logo { color: #18181b; }
    .nav-center { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.04); }
    .nav-link { color: rgba(0,0,0,0.5); }
    .nav-link:hover { color: #18181b; }
    .nav-link.active { color: #18181b; background: rgba(232, 77, 48, 0.1); box-shadow: inset 0 0 0 1px rgba(232,77,48,0.2); }
    .btn-magnetic.btn-ghost { background: rgba(0,0,0,0.04); color: #18181b; border-color: rgba(0,0,0,0.1); }
    .btn-magnetic.btn-glass { background: rgba(0,0,0,0.04); color: #18181b; border-color: rgba(0,0,0,0.1); }
    .stat-glass { background: rgba(255, 255, 255, 0.7); border-color: rgba(0,0,0,0.06); }
    .stat-glass-label { color: rgba(0,0,0,0.4); }
    .stat-glass-value { color: #18181b; }
    .feature-card { background: rgba(255, 255, 255, 0.7); border-color: rgba(0,0,0,0.08); }
    .feature-title { color: #18181b; }
    .feature-desc { color: rgba(0,0,0,0.5); }
    .section-title-xl, .section-title-lg, .section-title-md, .cta-headline, .bento-title { color: #18181b; }
    .section-sub { color: rgba(0,0,0,0.5); }
    .bento-card { background: rgba(255, 255, 255, 0.7); border-color: rgba(0,0,0,0.08); }
    .quote-body { color: #18181b; }
    .rating-big { color: #18181b; }
    .partner-chip { background: rgba(255,255,255,0.7); border-color: rgba(0,0,0,0.08); color: rgba(0,0,0,0.5); }
    .partner-chip:hover { color: #18181b; border-color: rgba(232,77,48,0.3); background: rgba(232,77,48,0.05); }
    .footer-premium .nav-logo { color: #18181b; }
    .footer-tag { color: rgba(0,0,0,0.5); }
    .footer-col-title { color: #18181b; }
    .footer-col a { color: rgba(0,0,0,0.5); }
    .footer-col a:hover { color: var(--c-accent); }
    .about-desc { color: rgba(0,0,0,0.5); }
    .about-right { background: radial-gradient(circle at 30% 30%, rgba(232,77,48,0.08) 0%, transparent 50%), radial-gradient(circle at 70% 70%, rgba(232,77,48,0.06) 0%, transparent 50%), linear-gradient(135deg, #e8e8e3, #f0f0eb); border-color: rgba(0,0,0,0.06); }
    .float-chip { background: rgba(255,255,255,0.85); border-color: rgba(0,0,0,0.1); }
    .float-chip .chip-title { color: #18181b; }
    .float-chip .chip-sub { color: rgba(0,0,0,0.45); }
    .data-point { background: rgba(255,255,255,0.9); border-color: rgba(0,0,0,0.1); color: #18181b; }
    .cta-sub { color: rgba(0,0,0,0.5); }
    .marquee-section { border-color: rgba(0,0,0,0.08); background: rgba(245,245,240,0.6); }
    .marquee-section::before { background: linear-gradient(to right, var(--bg-base), transparent); }
    .marquee-section::after { background: linear-gradient(to left, var(--bg-base), transparent); }
    .marquee-item { color: rgba(0,0,0,0.4); }
    .marquee-item:hover { color: #18181b; }
    .hero-sub { color: rgba(0,0,0,0.5); }
}

::selection {
    background: rgba(232, 77, 48, 0.3);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.3);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--c-accent), var(--c-accent-deep));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--c-accent-light);
}
