/* ============================================
   GRVT - Cyberpunk Fitness Revolution
   ============================================ */

/* CSS Variables */
:root {
    /* Neon Colors */
    --neon-cyan: #00f0ff;
    --neon-pink: #ff006e;
    --neon-purple: #a855f7;
    --neon-green: #00ff41;
    --neon-orange: #ff6b00;

    /* Dark Theme */
    --bg-void: #000000;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(20, 20, 30, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.02);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    /* Gradients */
    --gradient-neon: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%);
    --gradient-cyber: linear-gradient(135deg, #00f0ff 0%, #a855f7 100%);

    /* Spacing */
    --space-unit: 8px;

    /* Animation */
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background: var(--neon-cyan);
    color: var(--bg-void);
}

/* Particle Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: opacity 0.3s;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: calc(var(--space-unit) * 3) 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(var(--space-unit) * 4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    gap: 2px;
    text-decoration: none;
}

.logo-letter {
    font-family: 'Orbitron', monospace;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow:
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan);
    animation: glowPulse 2s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

.logo-letter:nth-child(1) {
    --i: 0;
}

.logo-letter:nth-child(2) {
    --i: 1;
}

.logo-letter:nth-child(3) {
    --i: 2;
}

.logo-letter:nth-child(4) {
    --i: 3;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: calc(var(--space-unit) * 6);
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--neon-cyan);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.nav-link:hover::before {
    opacity: 1;
    animation: glitch 0.3s;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.nav-link.cta {
    position: relative;
    padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3);
    background: transparent;
    border: 1px solid var(--neon-cyan);
    border-radius: 50px;
    overflow: hidden;
}

.cta-text {
    position: relative;
    z-index: 2;
    color: var(--neon-cyan);
    transition: color 0.3s;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: var(--gradient-cyber);
    border-radius: 50px;
    transition: transform 0.4s var(--ease-elastic);
}

.nav-link.cta:hover .cta-glow {
    transform: translate(-50%, -50%) scale(1);
}

.nav-link.cta:hover .cta-text {
    color: var(--bg-void);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--space-unit) * 20) calc(var(--space-unit) * 4) calc(var(--space-unit) * 10);
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    top: 10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: var(--neon-cyan);
    animation-delay: 0s;
}

.orb-2 {
    top: 50%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--neon-purple);
    animation-delay: 5s;
}

.orb-3 {
    bottom: 10%;
    left: 40%;
    width: 350px;
    height: 350px;
    background: var(--neon-pink);
    animation-delay: 10s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--space-unit) * 1.5);
    padding: calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50px;
    margin-bottom: calc(var(--space-unit) * 4);
    backdrop-filter: blur(10px);
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.tag-text {
    color: var(--neon-cyan);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: calc(var(--space-unit) * 4);
}

.title-line {
    display: block;
    overflow: hidden;
}

.word {
    display: inline-block;
    color: white;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3);
    animation: titleReveal 1s var(--ease-elastic) forwards;
    animation-delay: calc(var(--aos, 1) * 0.3s);
    opacity: 0;
    transform: translateY(100%);
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: calc(var(--space-unit) * 6);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: calc(var(--space-unit) * 3);
    margin-bottom: calc(var(--space-unit) * 8);
}

/* Neon Button */
.btn-neon {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: calc(var(--space-unit) * 2);
    padding: calc(var(--space-unit) * 2.5) calc(var(--space-unit) * 5);
    background: var(--gradient-cyber);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-void);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-neon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-cyber);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 30px rgba(0, 240, 255, 0.5),
        0 10px 40px rgba(0, 0, 0, 0.3);
}

.btn-neon:hover::before {
    opacity: 1;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    to {
        left: 200%;
    }
}

.btn-icon {
    position: relative;
    z-index: 2;
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--space-unit) * 2);
    padding: calc(var(--space-unit) * 2.5) calc(var(--space-unit) * 4);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.btn-circle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-cyan);
    border-radius: 50%;
    color: var(--bg-void);
}

.btn-circle svg {
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: calc(var(--space-unit) * 4);
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.star {
    color: var(--neon-orange);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: calc(var(--space-unit) * 0.5);
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.5), transparent);
}

/* Hero Visual - 3D Phone */
.hero-visual {
    position: fixed;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.phone-container {
    position: relative;
    width: 350px;
    height: 700px;
}

.phone-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
}

.phone-side {
    position: absolute;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    transform-style: preserve-3d;
}

.phone-left {
    left: -8px;
    width: 8px;
    height: 100%;
    border-radius: 40px 0 0 40px;
    transform: rotateY(90deg);
    transform-origin: right;
}

.phone-right {
    right: -8px;
    width: 8px;
    height: 100%;
    border-radius: 0 40px 40px 0;
    transform: rotateY(-90deg);
    transform-origin: left;
}

.phone-front {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 240, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0a1a 0%, #0f0f20 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    padding: 60px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.screen-time {
    font-weight: 600;
}

.screen-icons {
    display: flex;
    gap: 4px;
}

.screen-greeting {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
}

.avatar-ring {
    position: relative;
    width: 50px;
    height: 50px;
    background: conic-gradient(var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-cyan));
    border-radius: 50%;
    padding: 2px;
    animation: rotate 3s linear infinite;
}

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

.avatar {
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--neon-cyan);
}

.greeting-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.greeting-name {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
}

.screen-card {
    position: relative;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.active-workout {
    background: rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 240, 255, 0.2), transparent);
    border-radius: 16px;
    pointer-events: none;
}

.card-icon {
    font-size: 2rem;
}

.card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.card-value {
    font-size: 1rem;
    font-weight: 700;
}

.card-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gradient-cyber);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--bg-void);
}

.action-arrow {
    font-size: 1.25rem;
}

.screen-stats {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.stat-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.stat-ring svg {
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.ring-progress {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339;
    stroke-dashoffset: calc(339 - (339 * var(--progress) / 100));
    transition: stroke-dashoffset 1s ease;
}

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

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.625rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.bar-item {
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    align-items: center;
    gap: 8px;
}

.bar-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

.bar-fill {
    height: 100%;
    width: var(--w);
    background: var(--gradient-cyber);
    border-radius: 3px;
    animation: barGrow 1s ease;
}

@keyframes barGrow {
    from {
        width: 0;
    }
}

.bar-value {
    font-size: 0.875rem;
    font-weight: 700;
    text-align: right;
    color: var(--neon-cyan);
}

.phone-reflection {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.1), transparent);
    filter: blur(20px);
    transform: scaleY(-1);
    opacity: 0.3;
}

.phone-shadow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5), transparent);
    filter: blur(30px);
}

/* Floating Cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(20px);
    animation: float 4s ease-in-out infinite;
}

.float-1 {
    top: 10%;
    left: -120px;
    animation-delay: 0s;
}

.float-2 {
    top: 50%;
    right: -140px;
    animation-delay: 1s;
}

.float-3 {
    bottom: 15%;
    left: -100px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.float-icon {
    font-size: 1.5rem;
}

.float-info {
    display: flex;
    flex-direction: column;
}

.float-value {
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.float-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: calc(var(--space-unit) * 4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--space-unit) * 2);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--neon-cyan), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    position: relative;
    padding: calc(var(--space-unit) * 20) 0;
}

.section-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.circuit-lines {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(var(--space-unit) * 4);
}

.section-intro {
    margin-bottom: calc(var(--space-unit) * 10);
}

.section-number {
    font-family: 'Orbitron', monospace;
    font-size: 0.875rem;
    color: var(--neon-cyan);
    letter-spacing: 4px;
    margin-bottom: calc(var(--space-unit) * 2);
    display: block;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: calc(var(--space-unit) * 3);
}

.title-accent {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
}

.section-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-unit) * 4);
}

/* Feature Mega Card */
.feature-mega {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--space-unit) * 6);
    padding: calc(var(--space-unit) * 6);
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.feature-mega::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.1), transparent);
    pointer-events: none;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* AI Brain Visualization */
.ai-brain {
    position: relative;
    width: 300px;
    height: 300px;
}

.brain-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-cyber);
    border-radius: 50%;
    box-shadow:
        0 0 40px var(--neon-cyan),
        0 0 80px var(--neon-purple);
    animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.brain-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid;
    border-radius: 50%;
    animation: ringRotate 10s linear infinite;
}

.ring-1 {
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    border-color: rgba(0, 240, 255, 0.3);
    animation-duration: 8s;
}

.ring-2 {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    border-color: rgba(168, 85, 247, 0.2);
    animation-duration: 12s;
}

.ring-3 {
    width: 280px;
    height: 280px;
    margin: -140px 0 0 -140px;
    border-color: rgba(255, 0, 110, 0.1);
    animation-duration: 16s;
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }
}

.brain-nodes {
    position: absolute;
    inset: 0;
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--neon-cyan);
    animation: nodePulse 2s ease-in-out infinite;
}

.n1 {
    top: 20%;
    left: 50%;
    animation-delay: 0s;
}

.n2 {
    top: 35%;
    right: 15%;
    animation-delay: 0.3s;
}

.n3 {
    top: 65%;
    right: 20%;
    animation-delay: 0.6s;
}

.n4 {
    bottom: 25%;
    left: 50%;
    animation-delay: 0.9s;
}

.n5 {
    top: 65%;
    left: 15%;
    animation-delay: 1.2s;
}

.n6 {
    top: 35%;
    left: 20%;
    animation-delay: 1.5s;
}

@keyframes nodePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-tag {
    display: inline-block;
    padding: calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: calc(var(--space-unit) * 3);
    align-self: flex-start;
}

.feature-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: calc(var(--space-unit) * 3);
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: calc(var(--space-unit) * 4);
}

.feature-specs {
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-unit) * 2);
}

.spec {
    display: flex;
    align-items: center;
    gap: calc(var(--space-unit) * 2);
}

.spec-icon {
    font-size: 1.5rem;
}

.spec-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--space-unit) * 3);
}

.feature-card {
    position: relative;
    padding: calc(var(--space-unit) * 4);
    background: var(--bg-glass);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.2);
}

.card-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 24px;
    pointer-events: none;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 240, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.card-content {
    position: relative;
    z-index: 2;
}

.card-icon-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: calc(var(--space-unit) * 3);
}

.card-icon {
    font-size: 2.5rem;
}

.icon-pulse {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    animation: iconRipple 2s ease-out infinite;
}

@keyframes iconRipple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: calc(var(--space-unit) * 2);
    color: var(--neon-cyan);
}

.card-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   TECH SECTION
   ============================================ */
.tech-section {
    padding: calc(var(--space-unit) * 20) 0;
    background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.02), transparent);
}

.tech-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--space-unit) * 8);
    align-items: center;
}

.tech-visual {
    display: flex;
    justify-content: center;
}

/* Tech Sphere */
.tech-sphere {
    position: relative;
    width: 400px;
    height: 400px;
}

.sphere-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-cyber);
    border-radius: 50%;
    box-shadow:
        0 0 60px var(--neon-cyan),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.sphere-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    animation: orbitSpin 20s linear infinite;
}

.orbit-1 {
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
}

.orbit-2 {
    width: 280px;
    height: 280px;
    margin: -140px 0 0 -140px;
    animation-duration: 30s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 380px;
    height: 380px;
    margin: -190px 0 0 -190px;
    animation-duration: 40s;
}

@keyframes orbitSpin {
    to {
        transform: rotate(360deg);
    }
}

.orbit-item {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neon-cyan);
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.tech-stack {
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-unit) * 3);
}

.stack-item {
    display: flex;
    align-items: center;
    gap: calc(var(--space-unit) * 3);
    padding: calc(var(--space-unit) * 3);
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s;
}

.stack-item:hover {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
    transform: translateX(8px);
}

.stack-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 12px;
}

.stack-icon svg {
    width: 30px;
    height: 30px;
}

.stack-info {
    display: flex;
    flex-direction: column;
}

.stack-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stack-detail {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */
.download-section {
    position: relative;
    padding: calc(var(--space-unit) * 20) 0;
    overflow: hidden;
}

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

.download-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
}

.download-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.2), transparent);
    filter: blur(100px);
}

.download-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.download-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: calc(var(--space-unit) * 4);
}

.download-desc {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: calc(var(--space-unit) * 6);
}

.download-btn {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.btn-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: calc(var(--space-unit) * 2);
    padding: calc(var(--space-unit) * 3) calc(var(--space-unit) * 6);
    background: var(--bg-void);
    border: 2px solid var(--neon-cyan);
    border-radius: 20px;
    transition: all 0.3s;
}

.download-btn:hover .btn-inner {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-4px);
}

.apple-icon {
    width: 40px;
    height: 40px;
    fill: var(--neon-cyan);
}

.btn-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
}

.btn-glow {
    position: absolute;
    inset: -20px;
    background: var(--gradient-cyber);
    border-radius: 24px;
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.3s;
}

.download-btn:hover .btn-glow {
    opacity: 0.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: calc(var(--space-unit) * 10) 0 calc(var(--space-unit) * 4);
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(var(--space-unit) * 6);
}

.footer-logo {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-muted);
    margin-top: calc(var(--space-unit) * 1);
}

.footer-links {
    display: flex;
    gap: calc(var(--space-unit) * 4);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: calc(var(--space-unit) * 4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: calc(var(--space-unit) * 3);
}

.footer-social a {
    font-size: 1.25rem;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-social a:hover {
    opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: calc(var(--space-unit) * 8);
    }

    .phone-container {
        width: 300px;
        height: 600px;
    }

    .float-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: calc(var(--space-unit) * 15);
    }

    .hero-title {
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-metrics {
        justify-content: center;
        flex-wrap: wrap;
    }

    .phone-container {
        width: 260px;
        height: 520px;
        margin: 0 auto;
    }

    .feature-mega,
    .tech-showcase {
        grid-template-columns: 1fr;
    }

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