:root {
    --bg-primary: #000000;
    --bg-secondary: #050507;
    --bg-tertiary: #0a0b0f;
    --bg-card: rgba(10, 15, 25, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #8a9bb0;
    --text-muted: #4a5568;
    --accent: #ffffff; /* Stark White */
    --accent-glow: #00f0ff; /* Holographic Cyan */
    --accent-blue: #2d6bff; /* Deep Space Blue */
    --accent-alert: #ffb800; /* Aerospace Amber */
    --border-color: rgba(0, 240, 255, 0.15);
    --font-display: 'Space Grotesk', 'Vazirmatn', sans-serif;
    --font-mono: 'Space Mono', 'Vazirmatn', monospace;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-display);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden  !important;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* Warp Speed Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(45, 107, 255, 0.05) 0%, #000 80%);
}

/* Custom Scrollbar (Hidden but functional) */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--accent-glow); border-radius: 0; }

/* === HUD OVERLAYS === */
.hud-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 999; display: none; /* Hidden on mobile by default */
}
.hud-corner {
    position: absolute; width: 20px; height: 20px;
    border: 1px solid var(--accent-glow); opacity: 0.5;
}
.hud-corner.tl { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.hud-corner.tr { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.hud-corner.bl { bottom: 20px; left: 20px; border-right: none; border-top: none; }
.hud-corner.br { bottom: 20px; right: 20px; border-left: none; border-top: none; }

.hud-text {
    position: absolute; font-family: var(--font-mono); font-size: 0.7rem;
    color: var(--accent-glow); opacity: 0.4; letter-spacing: 1px;
}
.hud-text.tl { top: 25px; left: 50px; }
.hud-text.tr { top: 25px; right: 50px; text-align: right; }
.hud-text.bl { bottom: 25px; left: 50px; }
.hud-text.br { bottom: 25px; right: 50px; text-align: right; }

.scan-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
    opacity: 0.1; animation: scan 8s linear infinite;
}
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }

/* Trajectory Scroll Indicator */
.trajectory-indicator {
    position: fixed; top: 50%; right: 15px; transform: translateY(-50%);
    width: 2px; height: 200px; background: rgba(255, 255, 255, 0.1); z-index: 998; display: none;
}
.trajectory-progress {
    position: absolute; top: 0; left: 0; width: 100%; background: var(--accent-glow);
    box-shadow: 0 0 10px var(--accent-glow); height: 0%;
}
.trajectory-indicator::before, .trajectory-indicator::after {
    content: ''; position: absolute; left: -3px; width: 8px; height: 1px; background: var(--text-muted);
}
.trajectory-indicator::before { top: 0; }
.trajectory-indicator::after { bottom: 0; }

/* === NAVIGATION === */
.landing-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 5%; display: flex; justify-content: space-between; align-items: center;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
.landing-logo {
    font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700;
    color: var(--text-primary); text-decoration: none; letter-spacing: 2px;
    text-transform: uppercase; display: flex; align-items: center; gap: 10px;
}
.landing-logo span { color: var(--accent-glow); font-weight: 400; }

.desktop-links { display: flex; gap: 36px; align-items: center; }
.desktop-links a {
    font-family: var(--font-mono); color: var(--text-secondary); text-decoration: none;
    font-size: 0.75rem; font-weight: 400; transition: 0.3s; position: relative; padding: 8px 0;
    text-transform: uppercase; letter-spacing: 1px;
}
.desktop-links a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 1px;
    background: var(--accent-glow); transition: all 0.3s ease; transform: translateX(-50%);
    box-shadow: 0 0 5px var(--accent-glow);
}
.desktop-links a:hover { color: var(--text-primary); }
.desktop-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-connected {
    font-family: var(--font-mono); color: var(--accent-glow); font-size: 0.7rem; font-weight: 400;
    display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 1px;
}
.nav-connected::before {
    content: ''; width: 6px; height: 6px; background: var(--accent-glow);
    border-radius: 50%; box-shadow: 0 0 8px var(--accent-glow); animation: pulse 2s infinite;
}
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

.btn-primary {
    font-family: var(--font-mono); background: var(--accent); color: #000; font-weight: 700;
    padding: 10px 20px; border: 1px solid var(--accent); cursor: pointer; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 1px; text-decoration: none; transition: 0.2s;
    position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
    transition: 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { background: transparent; color: var(--accent); box-shadow: 0 0 15px rgba(255,255,255,0.2); }

.btn-outline {
    font-family: var(--font-mono); background: transparent; color: var(--text-secondary); font-weight: 400;
    padding: 8px 16px; border: 1px solid var(--border-color); cursor: pointer; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 1px; text-decoration: none; transition: 0.2s;
}
.btn-outline:hover { border-color: var(--accent-glow); color: var(--accent-glow); }

/* Burger Menu */
.burger-menu { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 22px; cursor: pointer; z-index: 1002; }
.burger-line { width: 100%; height: 2px; background: var(--text-primary); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: left center; }
.burger-menu.active .line-1 { transform: rotate(45deg) translate(2px, 2px); background: var(--accent-glow); }
.burger-menu.active .line-2 { opacity: 0; transform: scaleX(0); }
.burger-menu.active .line-3 { transform: rotate(-45deg) translate(2px, -2px); background: var(--accent-glow); }

.mobile-overlay {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: rgba(0, 0, 0, 0.98); backdrop-filter: blur(20px);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 40px; transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1001;
}
.mobile-overlay.active { right: 0; }
.mobile-links { display: flex; flex-direction: column; gap: 30px; text-align: center; }
.mobile-links a {
    font-family: var(--font-mono); color: var(--text-primary); text-decoration: none; font-size: 1.2rem;
    font-weight: 400; transition: 0.3s; text-transform: uppercase; letter-spacing: 2px;
}
.mobile-links a:hover { color: var(--accent-glow); text-shadow: 0 0 10px var(--accent-glow); }
.mobile-actions { display: flex; flex-direction: column; gap: 20px; width: 80%; max-width: 300px; align-items: center; }

/* === HERO SECTION === */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: space-between;
    max-width: 1400px; margin: 0 auto; padding: 120px 5% 60px; gap: 40px;
}
.hero-left { flex: 1; z-index: 2; }
.hero-left h1 {
    font-size: 4.5rem; font-weight: 700; line-height: 1; margin-bottom: 24px; color: var(--text-primary);
    letter-spacing: -2px; position: relative;
}
.hero-left p {
    font-family: var(--font-mono); font-size: 0.9rem; color: var(--text-secondary);
    margin-bottom: 40px; line-height: 1.8; max-width: 500px;
}

/* Holographic App Mockup */
.hero-right { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; perspective: 1000px; }
.holo-wrapper {
    position: relative; width: 100%; max-width: 300px;
    transform: rotateY(-15deg) rotateX(5deg); transition: transform 0.5s ease;
    animation: floatHolo 6s ease-in-out infinite;
}
@keyframes floatHolo { 0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); } 50% { transform: rotateY(-15deg) rotateX(5deg) translateY(-15px); } }
.holo-wrapper:hover { animation-play-state: paused; transform: rotateY(0deg) rotateX(0deg) scale(1.05); }

.holo-grid {
    position: absolute; top: -20px; left: -20px; right: -20px; bottom: -20px;
    background-image: linear-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 240, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px; z-index: -1; opacity: 0.3;
    transform: rotateY(15deg) rotateX(-5deg); /* Counter-rotate grid */
}
.holo-image {
    width: 100%; border: 1px solid var(--accent-glow);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2), inset 0 0 20px rgba(0, 240, 255, 0.1);
}
.holo-scanline {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(transparent 50%, rgba(0, 240, 255, 0.05) 50%);
    background-size: 100% 4px; pointer-events: none;
}
.holo-data {
    position: absolute; bottom: -40px; right: -40px; font-family: var(--font-mono);
    font-size: 0.7rem; color: var(--accent-glow); text-align: right; opacity: 0.7;
}

/* === SECTIONS === */
.section { padding: 120px 5%; max-width: 1200px; margin: 0 auto; }
.section-title {
    font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; color: var(--text-primary);
    text-transform: uppercase; letter-spacing: 2px;
}
.section-subtitle {
    font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent-glow); margin-bottom: 60px;
    text-transform: uppercase; letter-spacing: 3px; font-weight: 400;
}

/* About Section */
.about-section { display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.about-visual {
    flex: 1; background: var(--bg-card); border: 1px solid var(--border-color);
    padding: 32px; backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative; clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%); /* Cut corner */
}
.about-card-header {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 20px; border-bottom: 1px solid var(--border-color); margin-bottom: 24px;
}
.about-card-title {
    font-family: var(--font-mono); font-size: 0.8rem; font-weight: 400; color: var(--text-primary);
    display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 1px;
}
.about-card-title span { color: var(--accent-glow); }
.about-status {
    font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent-alert);
    padding: 4px 12px; border: 1px solid var(--accent-alert); text-transform: uppercase; letter-spacing: 1px;
}

.about-ui-row { display: flex; gap: 16px; margin-bottom: 20px; }
.about-ui-input {
    flex: 1; background: rgba(0, 240, 255, 0.02); border: 1px solid var(--border-color); padding: 16px;
}
.about-ui-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.about-ui-value { font-family: var(--font-mono); font-size: 0.9rem; color: var(--text-primary); font-weight: 400; }

.about-ui-block { background: rgba(0, 240, 255, 0.02); border: 1px solid var(--border-color); padding: 20px; margin-bottom: 24px; text-align: center; }
.about-ui-block h4 { font-family: var(--font-mono); color: var(--text-primary); font-size: 0.85rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; font-weight: 400; }
.about-ui-block p { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-secondary); line-height: 1.5; }

.about-card-btn {
    font-family: var(--font-mono); width: 100%; background: var(--accent); color: #000; font-weight: 700;
    padding: 16px; border: 1px solid var(--accent); text-align: center; text-decoration: none; transition: 0.2s;
    display: block; box-sizing: border-box; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem;
}
.about-card-btn:hover { background: transparent; color: var(--accent); box-shadow: inset 0 0 20px rgba(255,255,255,0.1); }

.about-text { flex: 1; }
.about-text h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 24px; color: var(--text-primary); text-align: left; text-transform: uppercase; letter-spacing: 2px; }
.about-text h2 span { color: var(--accent-glow); font-weight: 400; }
.about-text p { font-family: var(--font-mono); color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 24px; }

.about-highlight {
    margin-top: 32px; padding: 20px 24px; background: rgba(0, 240, 255, 0.05);
    border-left: 2px solid var(--accent-glow);
    font-family: var(--font-mono); font-size: 0.85rem; font-weight: 400; color: var(--text-primary); letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 12px;
}
.about-highlight svg { color: var(--accent-glow); flex-shrink: 0; }

/* How It Works */
.how-section { text-align: center; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 40px; position: relative; }
.step-item { display: flex; flex-direction: column; align-items: center; position: relative; }
.step-circle {
    width: 60px; height: 60px; border-radius: 50%; background: var(--bg-primary);
    border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 1rem; font-weight: 400; color: var(--accent-glow); margin-bottom: 20px; z-index: 2;
    transition: 0.3s; box-shadow: 0 0 0 4px rgba(0,0,0,0.5), 0 0 0 5px var(--border-color);
}
.step-item:hover .step-circle { border-color: var(--accent-glow); box-shadow: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 0 4px rgba(0,0,0,0.5), 0 0 0 5px var(--accent-glow); }
.step-item:not(:nth-child(3n))::after {
    content: ''; position: absolute; top: 30px; left: 50%; width: 100%; height: 1px;
    background: var(--border-color); z-index: 1;
}
.step-item:nth-child(3n)::after { display: none; } 
.step-title { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.step-text { font-family: var(--font-mono); color: var(--text-secondary); font-size: 0.8rem; max-width: 250px; text-align: center; line-height: 1.6; }

/* Advantages */
.adv-section { text-align: center; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
    background: var(--bg-card); border: 1px solid var(--border-color); padding: 40px 30px;
    transition: 0.3s; backdrop-filter: blur(10px); text-align: center; position: relative; overflow: hidden;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); /* Octagon cut */
}
.adv-card:hover { border-color: var(--accent-glow); transform: translateY(-5px); box-shadow: 0 0 30px rgba(0, 240, 255, 0.1); }
.adv-img { width: 100px; height: 100px; margin: 0 auto 24px; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); padding: 10px; }
.adv-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(120%) invert(1); opacity: 0.8; transition: 0.3s; }
.adv-card:hover .adv-img img { filter: grayscale(0%) invert(0); opacity: 1; }
.adv-card-title { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 400; color: var(--accent-glow); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.adv-card-text { font-family: var(--font-mono); color: var(--text-secondary); font-size: 0.8rem; line-height: 1.6; margin-bottom: 24px; }

/* Create Project */
.create-project-section { padding: 60px 5%; max-width: 1200px; margin: 0 auto; text-align: center; }
.create-banner {
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    padding: 80px 40px; backdrop-filter: blur(10px); position: relative; overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 100%, 5% 100%, 0 85%); /* Angled bottom */
}
.create-banner::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}
.create-banner h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); text-transform: uppercase; letter-spacing: 2px; }
.create-banner p { font-family: var(--font-mono); font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Tokenomics (Radar) */
.tokenomics-section { display: flex; align-items: center; gap: 80px; }
.tokenomics-left { flex: 1; }
.tokenomics-left h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 24px; color: var(--text-primary); text-transform: uppercase; letter-spacing: 2px; }
.tokenomics-left h2 span { color: var(--accent-glow); font-weight: 400; }
.tokenomics-left p { font-family: var(--font-mono); color: var(--text-secondary); font-size: 0.85rem; line-height: 1.8; margin-bottom: 20px; }

.tokenomics-right { flex: 1; display: flex; justify-content: center; align-items: center; }
.radar-container {
    position: relative; width: 100%; max-width: 350px; aspect-ratio: 1; border-radius: 50%;
    border: 1px solid var(--border-color); background: rgba(0, 240, 255, 0.02);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.05);
}
.radar-ring { position: absolute; border: 1px solid var(--border-color); border-radius: 50%; width: 30%; height: 30%; }
.radar-ring.r2 { width: 60%; height: 60%; }
.radar-ring.r3 { width: 90%; height: 90%; }
.radar-line { position: absolute; background: var(--border-color); }
.radar-line.lh { width: 100%; height: 1px; top: 50%; }
.radar-line.lv { width: 1px; height: 100%; left: 50%; }
.radar-sweep {
    position: absolute; top: 0; left: 50%; width: 50%; height: 50%; transform-origin: bottom left;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.4), transparent);
    animation: radarSweep 4s linear infinite;
}
@keyframes radarSweep { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.radar-center {
    width: 40%; height: 40%; border-radius: 50%; background: var(--bg-secondary); border: 1px solid var(--accent-glow);
    display: flex; align-items: center; justify-content: center; z-index: 2;
    font-family: var(--font-mono); font-size: 1.2rem; font-weight: 400; color: var(--text-primary); letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}
.radar-dot {
    position: absolute; width: 8px; height: 8px; background: var(--accent-glow); border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}
.radar-label {
    position: absolute; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-secondary);
    padding: 2px 6px; border: 1px solid var(--border-color); background: rgba(0,0,0,0.8);
}

/* Team (Crew Manifest) */
.team-section { text-align: center; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.team-card {
    background: var(--bg-card); border: 1px solid var(--border-color); padding: 0;
    transition: 0.3s; backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center;
    position: relative; overflow: hidden; clip-path: polygon(0 15px, 15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}
.team-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent-glow), transparent);
}
.team-header {
    width: 100%; padding: 10px 20px; display: flex; justify-content: space-between;
    border-bottom: 1px solid var(--border-color); background: rgba(0, 240, 255, 0.05);
}
.team-header span { font-family: var(--font-mono); font-size: 0.65rem; color: var(--accent-glow); text-transform: uppercase; letter-spacing: 1px; }

.team-avatar { width: 200px; height: 150px; margin: 30px 0 20px; border: 1px solid var(--border-color); overflow: hidden; position: relative; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(120%); transition: 0.3s; }
.team-card:hover .team-avatar img { filter: grayscale(0%); }
.team-avatar::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--accent-glow); animation: scan 3s infinite; }

.team-name { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.team-role { font-family: var(--font-mono); color: var(--accent-glow); font-size: 0.75rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.team-socials { display: flex; gap: 12px; margin-bottom: 30px; }
.team-socials a { color: var(--text-secondary); transition: 0.2s; border: 1px solid var(--border-color); padding: 8px; display: flex; align-items: center; }
.team-socials a:hover { color: var(--accent-glow); border-color: var(--accent-glow); }

/* Tech Pattern Squares */
.tech-pattern { display: flex; justify-content: center; align-items: flex-end; gap: 15px; margin-top: 80px; }
.tech-cube { width: 30px; height: 30px; background: rgba(0, 240, 255, 0.03); border: 1px solid var(--border-color); }
.tech-cube:nth-child(2) { height: 45px; opacity: 0.8; }
.tech-cube:nth-child(3) { height: 60px; opacity: 1; border-color: var(--accent-glow); box-shadow: 0 0 10px rgba(0, 240, 255, 0.2); }
.tech-cube:nth-child(4) { height: 45px; opacity: 0.8; }
.tech-cube:nth-child(5) { height: 30px; opacity: 0.6; }

/* Footer */
.landing-footer { border-top: 1px solid var(--border-color); padding: 60px 5% 40px; background: var(--bg-secondary); }
.footer-top { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto 40px; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-mono); color: var(--text-secondary); text-decoration: none; font-size: 0.75rem; transition: 0.2s; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a:hover { color: var(--accent-glow); }
.footer-bottom { max-width: 1200px; margin: 0 auto; text-align: center; color: var(--text-muted); font-family: var(--font-mono); font-size: 0.75rem; border-top: 1px solid var(--border-color); padding-top: 24px; text-transform: uppercase; letter-spacing: 1px; }

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Custom Spaceship Reticle */
.custom-reticle {
    position: fixed; top: 0; left: 0; width: 30px; height: 30px;
    pointer-events: none; z-index: 9999; margin-left: -15px; margin-top: -15px;
    border: 1px solid var(--accent-glow); border-radius: 50%;
    transition: width 0.2s, height 0.2s, background 0.2s;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}
.custom-reticle::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); width: 4px; height: 4px;
    background: var(--accent-glow); border-radius: 50%;
}
.custom-reticle::after {
    content: ''; position: absolute; top: -5px; left: 50%;
    transform: translateX(-50%); width: 2px; height: 10px;
    background: var(--accent-glow);
}
/* Expand reticle on hover over clickable elements */
a:hover ~ .custom-reticle, button:hover ~ .custom-reticle {
    width: 50px; height: 50px; margin-left: -25px; margin-top: -25px;
    background: rgba(0, 240, 255, 0.1);
}

/* Mobile Overlay Close Button */
.close-overlay-btn {
    position: absolute; top: 20px; right: 20px; 
    background: transparent; border: 1px solid var(--border-color); 
    color: var(--text-primary); padding: 8px; cursor: pointer; 
    display: flex; align-items: center; justify-content: center; 
    transition: 0.2s;
}
.close-overlay-btn:hover {
    border-color: var(--accent-glow); color: var(--accent-glow);
}

/* Fix overlay z-index to sit above everything */
.mobile-overlay { z-index: 1005; }
.burger-menu { z-index: 1006; }

/* === RTL (PERSIAN) SPECIFIC ADJUSTMENTS === */
html[dir="rtl"] .hero { flex-direction: row-reverse; }
html[dir="rtl"] .about-section { flex-direction: row-reverse; }
html[dir="rtl"] .tokenomics-section { flex-direction: row-reverse; }
html[dir="rtl"] .about-text h2, 
html[dir="rtl"] .tokenomics-left h2 { text-align: right; }
html[dir="rtl"] .about-text p, 
html[dir="rtl"] .tokenomics-left p { text-align: right; }
html[dir="rtl"] .about-highlight {
    border-left: none; border-right: 2px solid var(--accent-glow); flex-direction: row-reverse;
}
html[dir="rtl"] .holo-data { right: auto; left: -40px; text-align: left; }
html[dir="rtl"] .trajectory-indicator { right: auto; left: 15px; }

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .desktop-links { display: none; }
    .nav-connected { display: none; }
    /* HIDE HEADER BUTTONS ON MOBILE - MOVED TO OVERLAY */
    .nav-right .btn-outline, .nav-right .btn-primary { display: none; }
    .burger-menu { display: flex; }
    
    .about-section, .tokenomics-section { flex-direction: column; gap: 40px; padding: 80px 5%; }
    .about-text h2, .tokenomics-left h2 { text-align: center; }
    .about-text p, .tokenomics-left p { text-align: center; }
    
    /* RTL Mobile overrides */
    html[dir="rtl"] .hero, 
    html[dir="rtl"] .about-section, 
    html[dir="rtl"] .tokenomics-section { flex-direction: column; }
    html[dir="rtl"] .about-text h2, 
    html[dir="rtl"] .tokenomics-left h2, 
    html[dir="rtl"] .about-text p, 
    html[dir="rtl"] .tokenomics-left p { text-align: center; }
    
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .step-item:nth-child(3n)::after { display: block; }
    .step-item:nth-child(2n)::after { display: none; }
    .adv-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 60px auto 0; }
}
@media (min-width: 1024px) {
    .hud-overlay { display: block; }
    .trajectory-indicator { display: block; }
}
@media (max-width: 768px) {
  .tokenomics-right{width:100%}
    .hero { flex-direction: column; text-align: center; padding: 100px 5% 40px; }
    .hero-left h1 { font-size: 3rem; }
    .hero-left p { margin-left: auto; margin-right: auto; font-size: 0.85rem; }
    .hero-right { width: 100%; max-width: 280px; margin-top: 40px; }
    .holo-wrapper { transform: none; animation: floatHoloMobile 6s ease-in-out infinite; }
    @keyframes floatHoloMobile { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
    .holo-grid { display: none; }
    .holo-data { display: none; }
    
    .steps-grid { grid-template-columns: 1fr; gap: 40px; }
    .step-item::after { display: none !important; }
    
    .section { padding: 80px 5%; }
    .section-title { font-size: 1.8rem; }
    .create-banner { padding: 50px 20px; }
    .create-banner h2 { font-size: 1.8rem; }
    .radar-container { max-width: 280px; }
    .radar-label { font-size: 0.6rem; padding: 1px 4px; }
    .team-card { padding-bottom: 20px; }
}