/* --- CSS VARIABLES & RESET --- */
:root {
    --bg-color: #050505;
    --card-bg: #0A0A0A;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border-color: #111;
    --brand-orange: #FF6600;
    --brand-glow: rgba(255, 102, 0, 0.4);
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: "Courier New", Courier, monospace;
}

[data-theme="light"] {
    --bg-color: #ffffff;
    --card-bg: #f5f5f5;
    --text-main: #000000;
    --text-muted: #666666;
    --border-color: #e0e0e0;
}

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

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

main {
    position: relative;
    z-index: 5;
}

footer {
    position: relative;
    z-index: 5;
    background-color: var(--bg-color);
}

/* --- UTILITIES --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --- HEADER --- */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
    background-color: var(--bg-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span { color: var(--brand-orange); }

.nav-links {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    align-items: center;
}

/* --- THEME TOGGLE --- */
.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    width: 60px;
    height: 30px;
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--brand-orange);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.2);
}

.theme-toggle-slider {
    width: 22px;
    height: 22px;
    background: var(--brand-orange);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .theme-toggle-slider {
    transform: translateX(30px);
}

/* --- HERO SECTION --- */
.hero {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--brand-orange);
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 3;
}

/* --- 3D GLOBE --- */
.globe-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

#globe-canvas {
    border-radius: 50%;
    opacity: 0.6;
}

.status-badge {
    display: inline-block;
    background: rgba(255, 102, 0, 0.1);
    color: var(--brand-orange);
    border: 1px solid rgba(255, 102, 0, 0.3);
    padding: 5px 12px;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

h1 span {
    color: var(--text-main);
}

[data-theme="dark"] h1 span {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(90deg, #fff, #888);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0 30px;
    flex-wrap: wrap;
}

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

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-orange);
    margin-bottom: 5px;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- MISSION SECTION --- */
.mission {
    padding: 80px 0;
    background: var(--card-bg);
    position: relative;
    z-index: 5;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.mission-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 40px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mission-item {
    padding: 30px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: 0.3s;
}

.mission-item:hover {
    border-color: var(--brand-orange);
    transform: translateY(-3px);
}

.mission-item-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-orange), #ff8533);
    border-radius: 12px;
    font-size: 1.5rem;
    color: #000;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.mission-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.mission-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- WISHLIST / WAITLIST FORM --- */
.wishlist-form {
    max-width: 500px;
    margin: 0 auto 40px;
    display: flex;
    gap: 10px;
    background: var(--card-bg);
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: 0.3s;
}

.wishlist-form:focus-within {
    border-color: var(--brand-orange);
    box-shadow: 0 0 15px var(--brand-glow);
}

.wishlist-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px;
    color: var(--text-main);
    font-size: 1rem;
}

.wishlist-btn {
    background-color: var(--brand-orange);
    color: #000;
    border: none;
    padding: 0 25px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.wishlist-btn:hover {
    background-color: #ff8533;
}

/* --- FEATURES GRID --- */
.features {
    padding: 80px 0;
    background: var(--bg-color);
    position: relative;
    z-index: 5;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--brand-orange);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--brand-orange);
    font-family: var(--font-mono);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

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

/* Card Glow on Hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 102, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: 8px;
}

.card:hover::before {
    opacity: 1;
    animation: cardShine 1s ease forwards;
}

@keyframes cardShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* --- FOOTER --- */
footer {
    position: relative;
    z-index: 5;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
    padding: 60px 0 30px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-section h4 {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--brand-orange);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-orange), #ffa726);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--brand-orange);
    color: white;
    border-color: var(--brand-orange);
    transform: translateY(-2px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* --- MOBILE TWEAKS --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links a { display: none; }
    .hero { padding: 60px 0; }
    .wishlist-form { flex-direction: column; background: transparent; border: none; }
    .wishlist-input { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 10px; width: 100%; }
    .wishlist-btn { padding: 15px; width: 100%; border-radius: 4px; }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-description {
        max-width: 100%;
    }
}

/* --- NETWORK CANVAS --- */
#cyber-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
