/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
    --accent: #E91E8C;
    --accent-rgb: 233, 30, 140;
    --accent-glow: rgba(233, 30, 140, 0.15);
    --accent-subtle: rgba(233, 30, 140, 0.08);
    
    --bg: #0D0D0D;
    --bg-elevated: #141414;
    --bg-card: #1A1A1A;
    
    --text: #E5E5E5;
    --text-muted: #888;
    --text-dim: #555;
    
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.2);
}

/* ========================================
   Base Styles
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent);
    color: #000;
}

strong {
    font-weight: 600;
    color: #fff;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
}

.nav-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-divider {
    color: var(--text-dim);
}

/* Theme Dropdown */
.theme-dropdown {
    position: relative;
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.theme-toggle:hover {
    color: var(--text);
}

.theme-swatch-current {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.theme-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.5rem;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
    z-index: 200;
}

.theme-dropdown:hover .theme-menu,
.theme-dropdown.open .theme-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: none;
    border: none;
    border-radius: 3px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
}

.theme-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.theme-option.active {
    color: var(--text);
}

.theme-option .theme-swatch {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.theme-option[data-color="#E91E8C"] .theme-swatch { background: #E91E8C; }
.theme-option[data-color="#BD93F9"] .theme-swatch { background: #BD93F9; }
.theme-option[data-color="#6EA3FE"] .theme-swatch { background: #6EA3FE; }
.theme-option[data-color="#EBBCBA"] .theme-swatch { background: #EBBCBA; }
.theme-option[data-color="#CBA6F7"] .theme-swatch { background: #CBA6F7; }
.theme-option[data-color="#8FBCBB"] .theme-swatch { background: #8FBCBB; }

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: #fff;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    max-width: 600px;
}

.hero-description:last-of-type {
    margin-bottom: 3rem;
}

/* Hero Signup */
.hero-signup {
    max-width: 400px;
    margin-top: 2rem;
}

.signup-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.label-text {
    color: var(--accent);
}

.label-step {
    color: var(--text-dim);
}

.signup-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.signup-form input:focus {
    outline: none;
    border-color: var(--text-dim);
}

.signup-form input::placeholder {
    color: var(--text-dim);
}

.signup-hint {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin: 0.75rem 0;
}

.signup-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: opacity 0.2s;
}

.signup-btn:hover {
    opacity: 0.9;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonial {
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
    margin: 0;
}

.testimonial blockquote p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--accent);
    line-height: 1.8;
}

.testimonial cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-style: normal;
    color: var(--text-dim);
}

/* ========================================
   Section Divider
   ======================================== */
.section-divider {
    max-width: 900px;
    margin: 0 auto;
    border: none;
    border-top: 1px dashed var(--border);
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature {
    margin-bottom: 2.5rem;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* ========================================
   Philosophy Section
   ======================================== */
.philosophy {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.philosophy h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.philosophy-lead {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.philosophy-points {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .philosophy-points {
        grid-template-columns: repeat(3, 1fr);
    }
}

.philosophy-point {
    padding: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.philosophy-point h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.philosophy-point p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Waitlist Section
   ======================================== */
.waitlist {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.waitlist h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.waitlist > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 480px) {
    .waitlist-form {
        flex-direction: row;
    }
}

.waitlist-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--text-dim);
}

.waitlist-form input::placeholder {
    color: var(--text-dim);
}

.waitlist-form button {
    padding: 0.875rem 1.5rem;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.waitlist-form button:hover {
    opacity: 0.9;
}

.waitlist-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 2rem;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links span {
    color: var(--text-dim);
    opacity: 0.5;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 640px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .testimonial,
    .features,
    .philosophy,
    .waitlist {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ========================================
   Scrollbar
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
    }
}
