/* ===========================
   CSS RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Extracted from mobile app theme */
    --color-background: #000000;
    --color-surface: #121212;
    --color-surface-variant: #1E1E1E;
    --color-card: #252525;
    --color-text: #FFFFFF;
    --color-text-secondary: #B3B3B3;
    --color-text-tertiary: #757575;
    --color-border: #333333;
    --color-divider: #2C2C2C;
    --color-primary: #FFFFFF;
    --color-success: #4CAF50;
    --color-warning: #FFC107;
    --color-error: #CF6679;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);

    /* Isometric Design */
    --isometric-depth: 4px;
    --border-radius: 8px;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-2xl: 80px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-h1: 3.5rem;
    --font-size-h2: 2.5rem;
    --font-size-h3: 1.75rem;
    --font-size-body: 1rem;
    --font-size-small: 0.875rem;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) 0;
    position: relative;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    background: var(--color-background);
    position: relative;
    overflow: hidden;
}

/* Animated starfield background */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--color-text);
    box-shadow:
        100px 100px var(--color-text),
        200px 300px var(--color-text),
        400px 150px var(--color-text),
        600px 400px var(--color-text),
        800px 250px var(--color-text),
        1000px 350px var(--color-text),
        1200px 200px var(--color-text),
        300px 500px var(--color-text),
        700px 100px var(--color-text),
        900px 450px var(--color-text);
    animation: twinkle 3s infinite;
}

.stars::after {
    animation-delay: 1.5s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

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

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    filter: blur(60px);
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

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

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

.logo-image {
    width: 200px;
    height: 200px;
    margin-bottom: var(--spacing-sm);
    filter: invert(1) brightness(1) drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

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

.logo-text {
    font-size: var(--font-size-h1);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #b3b3b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: -2px;
}

.tagline {
    font-size: var(--font-size-h3);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.subtitle {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: var(--font-size-small);
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--color-text-tertiary);
    border-radius: 12px;
    margin: 0 auto var(--spacing-xs);
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--color-text-tertiary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

/* ===========================
   BUTTONS - Isometric 3D Effect
   =========================== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: var(--font-size-body);
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-family);
}

.isometric-3d {
    position: relative;
    transform: translateY(0);
}

.isometric-3d::before {
    content: '';
    position: absolute;
    top: var(--isometric-depth);
    left: var(--isometric-depth);
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    z-index: -1;
    transition: all 0.3s ease;
}

.isometric-3d:hover {
    transform: translateY(-2px);
}

.isometric-3d:hover::before {
    top: calc(var(--isometric-depth) + 2px);
    left: calc(var(--isometric-depth) + 2px);
}

.isometric-3d:active {
    transform: translateY(2px);
}

.isometric-3d:active::before {
    top: 2px;
    left: 2px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text);
}

.btn-secondary {
    background: var(--color-surface-variant);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-card);
}

/* ===========================
   FEATURES SECTION
   =========================== */
.features {
    background: var(--color-background);
}

.section-title {
    font-size: var(--font-size-h2);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

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

/* Glass Card Effect */
.glass-card {
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

/* Isometric Card */
.isometric-card {
    position: relative;
}

.isometric-card::before {
    content: '';
    position: absolute;
    top: var(--isometric-depth);
    left: var(--isometric-depth);
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    z-index: -1;
    transition: all 0.3s ease;
}

.isometric-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.isometric-card:hover::before {
    top: calc(var(--isometric-depth) + 4px);
    left: calc(var(--isometric-depth) + 4px);
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-text);
}

.feature-card h3 {
    font-size: var(--font-size-h3);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===========================
   EARLY ACCESS / CTA SECTION
   =========================== */
.early-access {
    background: var(--color-background);
}

.glass-card-large {
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.isometric-card-large {
    position: relative;
}

.isometric-card-large::before {
    content: '';
    position: absolute;
    top: calc(var(--isometric-depth) * 2);
    left: calc(var(--isometric-depth) * 2);
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    z-index: -1;
}

.cta-content h2 {
    font-size: var(--font-size-h2);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.early-access-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group {
    position: relative;
}

.input-field {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-size: var(--font-size-body);
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-surface-variant);
}

.input-field::placeholder {
    color: var(--color-text-tertiary);
}

.isometric-input {
    position: relative;
}

.isometric-input:focus {
    transform: translateY(-2px);
}

.btn-submit {
    margin-top: var(--spacing-sm);
    width: 100%;
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    font-weight: 600;
}

.success-message {
    background: rgba(76, 175, 80, 0.2);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--color-surface);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid var(--color-border);
    min-height: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    font-size: var(--font-size-h3);
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
}

.footer-brand p {
    color: var(--color-text-secondary);
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: flex-end;
}

.footer-column h4 {
    font-size: var(--font-size-body);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column ul li a {
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--color-text);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-divider);
    color: var(--color-text-tertiary);
    font-size: var(--font-size-small);
}

/* ===========================
   ANIMATIONS
   =========================== */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 2.5rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.5rem;
        --spacing-xl: 40px;
        --spacing-2xl: 60px;
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.25rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}