/* ===========================
   REMIO LANDING — STYLE
   =========================== */

:root {
    /* Colors */
    --bg: #0A0A0F;
    --bg-elevated: #12121A;
    --bg-card: #16161F;
    --bg-card-hover: #1C1C28;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    
    --text-primary: #F0F0F5;
    --text-secondary: #8888A0;
    --text-tertiary: #55556A;
    
    --accent-purple: #6C5CE7;
    --accent-blue: #00B4D8;
    --accent-cyan: #00E5FF;
    --accent-green: #00E599;
    --accent-pink: #E040FB;
    
    --gradient-main: linear-gradient(135deg, #6C5CE7, #00B4D8);
    --gradient-text: linear-gradient(135deg, #6C5CE7, #00B4D8, #00E599);
    --gradient-card: linear-gradient(145deg, rgba(108, 92, 231, 0.08), rgba(0, 180, 216, 0.04));
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scroll-down {
    0% { opacity: 1; transform: translateY(0); }
    75% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 0; transform: translateY(8px); }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes bar-fill {
    from { width: 0; }
    to { width: var(--width); }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: slide-up 0.8s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Reveal on scroll */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(108, 92, 231, 0.5);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--surface-hover);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-glass-light {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.btn-glass-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: #0A0A0F;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-white:hover {
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: var(--radius-lg);
}

/* ===========================
   GRADIENT TEXT
   =========================== */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s;
    font-weight: 450;
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a {
    font-size: 16px;
    color: var(--text-secondary);
    padding: 8px 0;
}

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

/* ===========================
   HERO
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    top: -200px;
    right: -100px;
    animation: pulse-glow 8s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    bottom: -200px;
    left: -100px;
    animation: pulse-glow 10s ease-in-out infinite 2s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-green);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow 6s ease-in-out infinite 4s;
    opacity: 0.15;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    font-size: 13px;
    color: var(--accent-purple);
    font-weight: 500;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-suffix {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 60px auto 0;
    perspective: 1200px;
}

.mockup-container {
    position: relative;
    transform: rotateX(3deg);
    transition: transform 0.5s var(--ease-out);
}

.mockup-container:hover {
    transform: rotateX(0deg);
}

.mockup-desktop {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(108, 92, 231, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.mockup-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.mockup-dots span:first-child { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FEBC2E; }
.mockup-dots span:last-child { background: #28C840; }

.mockup-title {
    font-size: 12px;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.mockup-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--accent-green);
    font-family: var(--font-mono);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse-glow 2s ease-in-out infinite;
}

.mockup-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    overflow: hidden;
}

.mockup-content {
    display: flex;
    height: 100%;
    padding: 12px;
    gap: 10px;
}

.mock-sidebar {
    width: 45px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.mock-sidebar-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.mock-sidebar-item.active {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.4), rgba(0, 180, 216, 0.3));
}

.mock-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-toolbar {
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.mock-canvas {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
}

.mock-element {
    border-radius: 6px;
    animation: pulse-glow 4s ease-in-out infinite;
}

.el-1 {
    grid-column: 1 / 3;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(0, 180, 216, 0.1));
    animation-delay: 0s;
}

.el-2 {
    background: rgba(0, 229, 153, 0.15);
    animation-delay: 1s;
}

.el-3 {
    background: rgba(224, 64, 251, 0.12);
    animation-delay: 2s;
}

.el-4 {
    grid-column: 2 / 4;
    background: rgba(0, 180, 216, 0.12);
    animation-delay: 3s;
}

.mockup-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
}

.latency-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 229, 153, 0.2);
    font-size: 11px;
    color: var(--accent-green);
    font-family: var(--font-mono);
}

/* Phone mockup */
.mockup-phone {
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 140px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

.phone-notch {
    width: 50%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px auto 8px;
}

.phone-screen {
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    background: linear-gradient(180deg, #1a1a2e, #0f0f1a);
    overflow: hidden;
    padding: 10px;
}

.phone-header {
    height: 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
}

.phone-card {
    height: 40px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(0, 180, 216, 0.1));
    margin-bottom: 8px;
}

.phone-card.small {
    height: 24px;
    background: rgba(255, 255, 255, 0.04);
}

/* Floating cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    background: rgba(22, 22, 31, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 5s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: -20px;
    animation-delay: 0.5s;
}

.card-2 {
    top: 60%;
    right: -20px;
    animation-delay: 1.5s;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    animation: scroll-down 1.5s ease-in-out infinite;
}

/* ===========================
   SOCIAL PROOF
   =========================== */
.social-proof {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.social-label {
    text-align: center;
    font-size: 13px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-tertiary);
    transition: color 0.3s;
}

.proof-item:hover {
    color: var(--text-secondary);
}

.proof-icon {
    font-size: 24px;
}

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.15);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-purple);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===========================
   FEATURES
   =========================== */
.features {
    padding: var(--section-padding) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(145deg, var(--bg-card), rgba(108, 92, 231, 0.05));
}

.feature-icon-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card p {
    position: relative;
    z-index: 1;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Latency visual */
.feature-visual {
    position: relative;
    z-index: 1;
}

.latency-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.latency-bar {
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.latency-fill {
    height: 100%;
    border-radius: var(--radius-sm);
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    padding-left: 14px;
    min-width: fit-content;
    animation: bar-fill 1.5s var(--ease-out) forwards;
    width: var(--width);
}

.latency-fill span {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    font-family: var(--font-mono);
}

.latency-fill.competitor {
    background: rgba(255, 255, 255, 0.08);
}

.latency-fill.competitor span {
    color: var(--text-tertiary);
}

/* ===========================
   PERFORMANCE
   =========================== */
.performance {
    padding: var(--section-padding) 0;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.perf-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.perf-content .section-badge,
.perf-content .section-title,
.perf-content .section-desc {
    text-align: left;
    margin-left: 0;
}

.perf-metrics {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.metric-value {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.metric-value.highlight {
    color: var(--accent-green);
}

.metric-bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-main);
    width: 0;
    transition: width 1.5s var(--ease-out);
}

.metric-fill.accent {
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
}

[data-reveal].revealed .metric-fill {
    width: var(--width);
}

/* Performance visual */
.perf-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.codec-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.codec-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s var(--ease-out);
}

.codec-card:hover,
.codec-card.active {
    border-color: rgba(108, 92, 231, 0.3);
    background: rgba(108, 92, 231, 0.05);
}

.codec-icon {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-mono);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.codec-card span {
    font-size: 12px;
    color: var(--text-tertiary);
}

.fps-display {
    position: relative;
}

.fps-ring {
    position: relative;
    width: 140px;
    height: 140px;
}

.fps-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.fps-circle {
    animation: rotate-slow 3s linear infinite;
    transform-origin: center;
}

.fps-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fps-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fps-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===========================
   SECURITY
   =========================== */
.security {
    padding: var(--section-padding) 0;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.security-card {
    padding: 32px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
}

.security-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.sec-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.sec-icon svg {
    width: 24px;
    height: 24px;
}

.security-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.security-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.security-banner {
    padding: 32px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(0, 180, 216, 0.05));
    border: 1px solid rgba(108, 92, 231, 0.15);
    text-align: center;
}

.banner-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.tech-badge {
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.2);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--accent-purple);
}

.security-banner p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   USE CASES
   =========================== */
.use-cases {
    padding: var(--section-padding) 0;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.case-card {
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.case-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.case-emoji {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.case-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.case-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================
   PLATFORMS
   =========================== */
.platforms {
    padding: var(--section-padding) 0;
}

.platforms-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.platform-card {
    padding: 40px 24px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(108, 92, 231, 0.15);
}

.platform-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-purple);
}

.platform-icon svg {
    width: 28px;
    height: 28px;
}

.platform-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.platform-card p {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.platform-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(0, 229, 153, 0.08);
    border: 1px solid rgba(0, 229, 153, 0.15);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-green);
    font-family: var(--font-mono);
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 300px;
    padding: 32px;
    text-align: center;
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.6;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 50px;
    width: 60px;
    flex-shrink: 0;
}

.step-connector svg {
    width: 100%;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.orb-cta-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: -200px;
    left: -100px;
    animation: pulse-glow 8s ease-in-out infinite;
}

.orb-cta-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    bottom: -150px;
    right: -100px;
    animation: pulse-glow 10s ease-in-out infinite 3s;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 20px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .nav-logo {
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-tertiary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-tertiary);
    padding: 4px 0;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--text-tertiary);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--text-primary);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card.featured {
        grid-column: 1 / -1;
    }
    
    .perf-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .perf-content .section-badge,
    .perf-content .section-title,
    .perf-content .section-desc {
        text-align: center;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platforms-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 24px 60px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .mockup-phone {
        display: none;
    }
    
    .floating-card {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.featured {
        grid-template-columns: 1fr;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .platforms-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .platforms-showcase {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
