:root {
    --accent: #00A6FF; /* Electric Blue */
    --accent-2: #0EA5E9;
    --accent-subtle: rgba(0, 166, 255, 0.08);
    --bg-dark: #0a0a0a;
    --panel: #111111;
    --text-light: #ffffff;
    --text-secondary: #e0e0e0;
    --muted: #999999;
    --border-subtle: rgba(255,255,255,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(ellipse at top, rgba(0, 166, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(0, 166, 255, 0.02) 0%, transparent 50%);
    color: var(--text-light);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Custom selection color */
::selection {
    background: rgba(0, 166, 255, 0.3);
    color: var(--text-light);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* Honeypot field - invisible to humans */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 24px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    transition: background 300ms ease, padding 200ms ease;
}

/* When the page scrolls, give nav a solid background for readability */
nav.scrolled {
    background: rgba(3,3,3,0.95);
    padding: 16px 50px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--accent);
    letter-spacing: -0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

.logo span { 
    color: var(--accent); 
    display: inline-block;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

    .nav-btn {
        display: inline-block;
        background: transparent;
        color: var(--accent);
        text-decoration: none;
        padding: 10px 24px;
        border-radius: 50px;
        border: 1px solid rgba(0,166,255,0.3);
        font-weight: 500;
        font-size: 0.9rem;
        letter-spacing: 0.02em;
        transition: all 200ms ease;
        position: relative;
        overflow: hidden;
    }

    .nav-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0,166,255,0.1), transparent);
        transition: left 0.5s ease;
    }

    .nav-btn:hover::before {
        left: 100%;
    }

    .nav-btn:hover, .nav-btn:focus {
        background: var(--accent);
        color: #030303;
        border-color: var(--accent);
        box-shadow: 0 0 20px rgba(0,166,255,0.3);
    }

    /* Animated gradient shift for buttons */
    .nav-btn {
        background-size: 200% 200%;
        background-position: 0% 50%;
        transition: background-position 420ms cubic-bezier(.2,.9,.2,1), transform 220ms ease, box-shadow 220ms ease;
    }
    .nav-btn:hover, .nav-btn:focus {
        background-position: 100% 50%;
    }
    .nav-btn:active { transform: translateY(-1px) scale(0.995); }
    .nav-btn:focus-visible { outline: 3px solid rgba(0,166,255,0.14); outline-offset: 4px; }

/* ─────────────────────────────────────────────────────
   Hero Animations – Classic Staggered Entrances
───────────────────────────────────────────────────── */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeScaleIn {
    from { opacity: 0; transform: scale(0.92) translateY(30px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes subtleGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(0,166,255,0.12); }
    50%      { box-shadow: 0 0 70px rgba(0,166,255,0.22); }
}
@keyframes drawIn {
    from { stroke-dashoffset: 1000; }
    to   { stroke-dashoffset: 0; }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 900px;
    padding: 22px 40px;
    animation: fadeSlideUp 0.9s cubic-bezier(.22,.61,.36,1) both;
}

.main-headline {
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 24px;
    color: var(--text-light);
    text-transform: uppercase;
    animation: fadeScaleIn 1s cubic-bezier(.22,.61,.36,1) 0.15s both;
}

.main-headline .accent {
    color: var(--accent);
    display: inline-block;
    position: relative;
}

.sub-headline {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-weight: 400;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeSlideUp 1s cubic-bezier(.22,.61,.36,1) 0.35s both;
}

.cta-wrapper {
    animation: fadeSlideUp 1s cubic-bezier(.22,.61,.36,1) 0.55s both;
}

/* Hero decoration - wireframe circles */
.hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 40%;
    pointer-events: none;
    z-index: 1;
}

.wireframe-circles {
    width: 100%;
    height: 100%;
}

.wireframe-circles ellipse,
.wireframe-circles line {
    stroke-dasharray: 1000;
    animation: drawIn 2.5s ease-out forwards;
}

/* Waitlist form inputs */
input[type="email"] {
    padding: 16px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0,166,255,0.2);
    background: rgba(255,255,255,0.03);
    color: var(--text-light);
    outline: none;
    font-family: 'Inter', sans-serif;
}

input[type="email"]:focus {
    border-color: var(--accent);
}

button[type="submit"] {
    padding: 16px 28px;
    background: var(--accent);
    border: none;
    color: #030303;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

button[type="submit"]:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 12px 30px rgba(0,166,255,0.25); 
    background: var(--accent-2);
}
button[type="submit"]:active { transform: translateY(-1px) scale(0.995); }
button[type="submit"]:focus-visible { outline: 3px solid rgba(0,166,255,0.14); outline-offset: 4px; }

/* animated gradient sheen */
button[type="submit"]{ position: relative; overflow: hidden; }
button[type="submit"]::after{
    content: '';
    position: absolute; inset:0; left:-60%;
    background: linear-gradient(120deg, rgba(255,255,255,0.03), rgba(255,255,255,0.12), rgba(255,255,255,0.03));
    transform: skewX(-20deg);
    transition: all 0.9s ease;
}
button[type="submit"]:hover::after{ left:160%; }

.hidden { display: none; }

/* Glassmorphism Form - Clean minimal style */
.glass-form {
    display: flex;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.12);
    max-width: 460px;
    margin: 0 auto;
    animation: fadeSlideUp 1s cubic-bezier(.22,.61,.36,1) 0.55s both;
    transition: border-color 0.3s ease;
}

.glass-form:focus-within {
    border-color: var(--accent);
}

.glass-form input {
    background: transparent;
    border: none;
    padding: 16px 24px;
    color: white;
    flex-grow: 1;
    outline: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.glass-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.glass-form button {
    background: var(--accent);
    color: #030303;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.glass-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,166,255,0.15);
    background: var(--accent-2);
}
.glass-form button:active { transform: translateY(0) scale(0.98); }
.glass-form button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Success Message Styling */
#success-msg,
#success-msg-hero {
    margin-top: 20px;
    color: #4ade80;
    font-weight: 500;
}

/* ─────────────────────────────────────────────────────
   Section Title - Consistent across all sections
───────────────────────────────────────────────────── */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

.section-title h2 .accent {
    color: var(--accent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto;
}

.feature-text {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 450px;
}

/* Global accent class */
.accent { color: var(--accent); }

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .main-headline { font-size: clamp(3.5rem, 15vw, 8rem); }
    .sub-headline { font-size: 1rem; }
    .glass-form { 
        flex-direction: column; 
        gap: 10px; 
        padding: 15px; 
        border-radius: 16px;
    }
    .glass-form button {
        width: 100%;
        border-radius: 10px;
    }
    .hero-content { padding: 22px 20px; }
    .section-title { margin-bottom: 40px; }
    .section-title h2 { font-size: 2rem; }
}

/* ─────────────────────────────────────────────────────
   Pillars Section
───────────────────────────────────────────────────── */
.pillars {
    padding: 120px 20px;
    background: var(--bg-dark);
}

.pillars .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pillar-item {
    background: transparent;
    padding: 40px 28px;
    border-radius: 0;
    border: none;
    border-left: 2px solid rgba(0,166,255,0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    background: transparent;
    border: none;
    color: var(--text-light);
    opacity: 0.9;
    transition: color 0.3s ease, transform 0.3s ease;
}

.pillar-item:hover .pillar-icon {
    color: var(--accent);
    transform: scale(1.1);
}

.pillar-item h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.pillar-item:hover h3 {
    color: var(--accent);
}

.pillar-item p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 0;
}

.pillar-item:hover {
    border-left-color: var(--accent);
    background: rgba(255,255,255,0.02);
    transform: translateX(8px);
    box-shadow: -5px 0 30px rgba(0,166,255,0.08);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .pillar-grid { grid-template-columns: 1fr; }
    .pillars .container { padding: 0 20px; }
    .pillar-item { padding: 30px 20px; }
}

/* ─────────────────────────────────────────────────────
   Toast / Snackbar
───────────────────────────────────────────────────── */
.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-dark);
    color: var(--accent);
    padding: 14px 24px;
    border-radius: 50px;
    border: 1px solid rgba(0,166,255,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
    z-index: 9999;
    font-weight: 500;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.toast.success { border-color: var(--accent); color: var(--accent); }
.toast.error { border-color: #e14b4b; color: #e14b4b; }
.toast.info { border-color: var(--accent); color: var(--accent); }

/* Global container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─────────────────────────────────────────────────────
   Footer
───────────────────────────────────────────────────── */
footer { 
    padding: 80px 20px 40px; 
    text-align: center; 
    background: var(--bg-dark);
    border-top: 1px solid rgba(0,166,255,0.08);
}

.footer-brand {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.footer-tagline {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.footer-copy {
    color: var(--muted);
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-credit {
    color: var(--muted);
    font-size: 0.85rem;
    opacity: 0.5;
    margin-top: 8px;
}

/* ─────────────────────────────────────────────────────
   Community Feed Teaser
───────────────────────────────────────────────────── */
.community-teaser { 
    padding: 120px 20px;
    background: var(--bg-dark);
}

.community-teaser .container {
    max-width: 1100px;
    margin: 0 auto;
}

.feed-flex { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 60px; 
}

.feed-content {
    flex: 1;
}

.feed-post { 
    background: rgba(0,166,255,0.02); 
    border-radius: 16px; 
    width: 380px; 
    padding: 20px; 
    border: 1px solid rgba(0,166,255,0.1);
    flex-shrink: 0;
}

.post-header { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 15px; 
}

.post-header img { 
    border-radius: 50%; 
    width: 44px;
    height: 44px;
    border: 2px solid rgba(0,166,255,0.2);
}

.post-header strong { color: var(--text-light); }
.post-header span { color: var(--muted); font-size: 0.85rem; }

.post-img { 
    width: 100%; 
    border-radius: 12px; 
    margin: 15px 0;
}

.post-actions {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.post-comments { 
    font-size: 0.9rem; 
    border-top: 1px solid rgba(0,166,255,0.08); 
    padding-top: 12px; 
    margin-top: 10px; 
    color: var(--muted); 
}

.post-comments p { margin: 6px 0; }
.post-comments strong { color: var(--text-light); }

/* ─────────────────────────────────────────────────────
   Precision Section
───────────────────────────────────────────────────── */
.precision {
    padding: 120px 20px;
    background: var(--bg-dark);
}

.precision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 20px;
}

.text-box {
    padding-right: 20px;
}

.image-box img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0,166,255,0.1);
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-top: 30px;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 14px;
}

.feature-list li svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────
   Stats Section
───────────────────────────────────────────────────── */
.stats-section {
    padding: 80px 20px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(0,166,255,0.05);
    border-bottom: 1px solid rgba(0,166,255,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #60d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─────────────────────────────────────────────────────
   Coming Soon Section
───────────────────────────────────────────────────── */
.coming-soon-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(0,166,255,0.03) 50%, var(--bg-dark) 100%);
    text-align: center;
}

.countdown-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(0,166,255,0.15);
    border-radius: 16px;
    min-width: 100px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.countdown-number {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #60d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.launch-date {
    color: var(--muted);
    font-size: 1rem;
}

@media (max-width: 600px) {
    .countdown {
        gap: 12px;
    }
    .countdown-item {
        padding: 18px 15px;
        min-width: 70px;
        border-radius: 12px;
    }
    .countdown-number {
        font-size: 2rem;
    }
    .countdown-label {
        font-size: 0.7rem;
    }
}

/* ─────────────────────────────────────────────────────
   Waitlist Section
───────────────────────────────────────────────────── */
.waitlist-section {
    padding: 120px 20px;
    background: var(--bg-dark);
}

.waitlist-card {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-text {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.waitlist-form.glass-form {
    max-width: 100%;
}

/* ─────────────────────────────────────────────────────
   Footer Enhancements
───────────────────────────────────────────────────── */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0,166,255,0.2);
    color: var(--accent);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,166,255,0.25);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ─────────────────────────────────────────────────────
   Responsive
───────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .precision-grid { 
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    .text-box { padding-right: 0; text-align: center; }
    .feature-text { max-width: 100%; margin: 0 auto; }
    .feature-list { 
        display: inline-block; 
        text-align: left; 
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .feed-flex { 
        flex-direction: column; 
        text-align: center; 
    }
    .feed-post { width: 100%; max-width: 380px; }
    .feed-content { text-align: center; }
    .feature-text { max-width: 100%; }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.8rem; }
}