@font-face {
    font-family: 'OSDMono';
    src: url('../assets/fonts/OSD_MONO.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-color: #050a14;
    --navy: #0f172a;
    --neon-pink: #f72585;
    --neon-blue: #4cc9f0;
    --neon-cyan: #00ffff;
    --neon-green: #00ff88;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(76, 201, 240, 0.2);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-main: 'OSDMono', monospace, sans-serif;
}

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

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

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

/* Typography */
h1, h2, h3, h4 {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.glow-text {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                 0 0 20px rgba(255, 255, 255, 0.3);
}

.neon-pink { color: var(--neon-pink); text-shadow: 0 0 10px var(--neon-pink); }
.neon-blue { color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue); }
.neon-cyan { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }
.neon-green { color: var(--neon-green); text-shadow: 0 0 10px var(--neon-green); }

/* Layout & Utils */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.relative { position: relative; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; flex-direction: column; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }

/* Parallax Backgrounds */
.grid-floor {
    position: fixed;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 100vh;
    background-image: 
        linear-gradient(transparent 95%, var(--neon-pink) 100%),
        linear-gradient(90deg, transparent 95%, var(--neon-pink) 100%);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(100px) translateZ(-200px);
    opacity: 0.15;
    z-index: -1;
    animation: gridMove 20s linear infinite;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 50px; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}
.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-main);
    letter-spacing: 4px;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
}
.nav-links a:hover {
    color: var(--neon-cyan);
}

/* Sections */
.fullscreen-section {
    height: 100vh;
    position: relative;
    padding-top: 80px;
}

.content-section {
    padding: 8rem 0;
    position: relative;
}

/* Hero Section */
.main-title {
    font-size: 8rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: transparent;
    -webkit-text-stroke: 2px var(--neon-cyan);
}
.tagline {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Glitch Effect */
.glitch {
    position: relative;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}
.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-pink);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--neon-cyan);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(24px, 9999px, 83px, 0); }
    20% { clip: rect(69px, 9999px, 15px, 0); }
    40% { clip: rect(100px, 9999px, 88px, 0); }
    60% { clip: rect(44px, 9999px, 11th, 0); }
    80% { clip: rect(12px, 9999px, 102px, 0); }
    100% { clip: rect(93px, 9999px, 51px, 0); }
}

/* Badges */
.app-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 10;
    position: relative;
}
.badge {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}
.badge:hover {
    transform: translateY(-3px);
}
.ios-badge:hover { box-shadow: 0 0 20px rgba(76, 201, 240, 0.4); border-color: var(--neon-blue); }
.android-badge:hover { box-shadow: 0 0 20px rgba(0, 255, 136, 0.4); border-color: var(--neon-green); }

.box-glow-blue { box-shadow: 0 0 20px rgba(76, 201, 240, 0.4); border-color: var(--neon-blue); }
.box-glow-green { box-shadow: 0 0 20px rgba(0, 255, 136, 0.4); border-color: var(--neon-green); }

.badge .icon {
    font-size: 1.5rem;
    margin-right: 0.8rem;
}

/* Orbit Visual Hero */
.orbit-visual {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 4rem auto 0;
}
.glow-circle {
    background: var(--neon-pink);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--neon-pink), 0 0 40px var(--neon-pink), 0 0 80px var(--neon-pink);
}
.glow-circle-small {
    background: white;
    border-radius: 50%;
}
.glow-circle-small.blue { box-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue); background: var(--neon-blue); }
.glow-circle-small.pink { box-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink); background: var(--neon-pink); }

.sun {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffcc00;
    box-shadow: 0 0 30px #ffcc00, inset 0 0 20px white;
}
.orbit-path {
    width: 150px;
    height: 150px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateOrbit 6s linear infinite;
}
.orbit-path .planet {
    width: 15px;
    height: 15px;
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}
.orbit-path-large {
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateOrbit 12s linear infinite reverse;
}
.orbit-path-large .planet {
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes rotateOrbit {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}
.chevron {
    width: 20px;
    height: 20px;
    border-right: 3px solid var(--text-main);
    border-bottom: 3px solid var(--text-main);
    transform: rotate(45deg);
    animation: chevron-anim 2s infinite;
    margin: -10px auto;
}
.chevron:nth-child(2) { animation-delay: 0.2s; }
.chevron:nth-child(3) { animation-delay: 0.4s; }

@keyframes chevron-anim {
    0% { opacity: 0; transform: rotate(45deg) translate(-10px, -10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(10px, 10px); }
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
}

/* Feature Grid */
.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}
.feature-card p {
    color: var(--text-muted);
}

/* Demo Visual Area */
.demo-visual-container {
    margin-top: 4rem;
    height: 200px;
    position: relative;
    perspective: 800px;
}
.demo-visual {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(76, 201, 240, 0.1) 0%, transparent 70%);
    border: 1px solid rgba(76, 201, 240, 0.3);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.box-glow {
    box-shadow: 0 0 30px rgba(76, 201, 240, 0.1);
}
.demo-checkpoint {
    width: 40px;
    height: 40px;
    border: 2px solid var(--neon-green);
    border-radius: 5px;
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 15px var(--neon-green);
}
.pulse-checkpoint {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: translateY(-50%) rotate(45deg) scale(1); box-shadow: 0 0 10px var(--neon-green); }
    50% { transform: translateY(-50%) rotate(45deg) scale(1.2); box-shadow: 0 0 30px var(--neon-green); }
    100% { transform: translateY(-50%) rotate(45deg) scale(1); box-shadow: 0 0 10px var(--neon-green); }
}
.demo-player-ball {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 10%;
    box-shadow: 0 0 15px white, 0 0 30px var(--neon-cyan);
    transform: translateY(-50%);
    animation: shootBall 4s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}
.fade-trail::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--neon-cyan));
    transform: translateY(-50%);
}
@keyframes shootBall {
    0% { left: 10%; opacity: 0; }
    10% { opacity: 1; }
    60% { left: 85%; opacity: 1; }
    80% { left: 85%; opacity: 0; }
    100% { left: 85%; opacity: 0; }
}
.demo-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 5px;
    font-size: 0.8rem;
    color: var(--neon-cyan);
}

/* Editor Section Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.split-layout > div {
    flex: 1;
}
.large-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}
.neon-list {
    list-style: none;
    margin-bottom: 2rem;
}
.neon-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    color: var(--text-muted);
}
.neon-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--neon-pink);
    font-weight: bold;
}
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-outline-pink {
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
    background: transparent;
}
.btn-outline-pink:hover {
    background: rgba(247, 37, 133, 0.1);
    box-shadow: 0 0 20px rgba(247, 37, 133, 0.4);
    text-shadow: 0 0 5px var(--neon-pink);
}

/* Editor Mockup UI */
.editor-mockup {
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px var(--glass-border);
}
.editor-header {
    background: #1e293b;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.editor-header .title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}
.editor-workspace {
    height: 300px;
    display: flex;
    position: relative;
    background-color: var(--bg-color);
}
.grid-bg {
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}
.tool-panel {
    width: 60px;
    background: #1e293b;
    border-right: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    gap: 20px;
}
.tool-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
}
.tool-icon:hover {
    background: rgba(255,255,255,0.1);
}
.workspace-area {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.draggable-planet {
    position: absolute;
    width: 40px;
    height: 40px;
    cursor: move;
}
.dashed-line {
    position: absolute;
    top: 22%;
    left: 35%;
    width: 40%;
    height: 40%;
    border-top: 2px dashed rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: rotate(15deg);
}

/* Manifesto */
.dark-bg {
    background: linear-gradient(to bottom, var(--bg-color), #000);
}
.manifesto-card {
    border-color: rgba(0, 255, 136, 0.3);
}
.highlight-text {
    font-size: 2.5rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 2rem;
}
.divider {
    width: 50px;
    height: 4px;
    background: var(--neon-green);
    margin: 0 auto 2rem;
    box-shadow: 0 0 10px var(--neon-green);
}
.body-text {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Final CTA */
.final-cta {
    padding-bottom: 15rem;
}
.huge-text {
    font-size: 5rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    background: #000;
}
.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.small-logo {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: white;
}

/* Animations & Interactivity */
.fade-in { opacity: 0; transition: opacity 1s ease; }
.fade-in.appear { opacity: 1; }

.fade-in-up { opacity: 0; transform: translateY(40px); transition: all 1s ease; }
.fade-in-up.appear { opacity: 1; transform: translateY(0); }

.slide-left { opacity: 0; transform: translateX(-50px); transition: all 1s ease; }
.slide-left.appear { opacity: 1; transform: translateX(0); }

.slide-up { opacity: 0; transform: translateY(50px); transition: all 1s ease; }
.slide-up.appear { opacity: 1; transform: translateY(0); }

.slide-right { opacity: 0; transform: translateX(50px); transition: all 1s ease; }
.slide-right.appear { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* 3D Tilt effect utilities */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Responsive */
@media (max-width: 900px) {
    .main-title { font-size: 5rem; }
    .split-layout { flex-direction: column; }
    .huge-text { font-size: 3.5rem; }
}

@media (max-width: 600px) {
    .main-title { font-size: 3.5rem; }
    .tagline { font-size: 1.1rem; }
    .nav-links { display: none; }
    .app-badges { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
}
