/* ==========================================================================
   Design System & Variables
   ========================================================================== */
   :root {
    /* Colors */
    --bg-base: #050505;
    --bg-surface: #121212;
    --bg-surface-elevated: #1e1e1e;
    
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    
    --accent-primary: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.15);
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Background Blobs for dynamic feel */
.blob-bg {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, rgba(0,0,0,0) 70%);
    top: -20%;
    left: -10%;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.blob-bg.blob-2 {
    top: 40%;
    left: auto;
    right: -20%;
    background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, rgba(0,0,0,0) 70%);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ==========================================================================
   Components
   ========================================================================== */
/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-base);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Layout Sections
   ========================================================================== */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 5rem;
}

.hero-content .subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mockup Graphic */
.mockup-frame {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.05) inset;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) scale(0.98);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

.mockup-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1);
    box-shadow: 0 40px 80px -12px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255,255,255,0.1) inset, 0 0 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}

.mockup-header {
    background: rgba(30, 30, 30, 0.6);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.mockup-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
.dot.yellow { background: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
.dot.green { background: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }

.mockup-content {
    padding: 2.5rem 2rem;
}

.article-meta {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.mockup-content h3 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #fff;
}

.tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 99px;
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(59, 130, 246, 0.2);
}

.summary-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.summary-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-primary);
}

.summary-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.summary-text strong {
    color: var(--text-primary);
}

.bullet-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-points li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.bullet-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.bullet-points li strong {
    color: var(--text-primary);
}

.action-bar {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

.icon-placeholder {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.0);
}

.icon-placeholder:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.icon-placeholder.active {
    color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.1);
}

/* Features Section */
.features-section {
    padding: 8rem 0;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--bg-surface-elevated);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

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

/* CTA Section */
.cta-section {
    padding: 4rem 0 8rem;
}

.cta-card {
    background: linear-gradient(145deg, var(--bg-surface) 0%, var(--bg-base) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), transparent);
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

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

.waitlist-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition-fast);
}

.waitlist-form input:focus {
    border-color: rgba(96, 165, 250, 0.5);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-surface);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.link-column h4 {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.link-column a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.link-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-content .subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none; /* simple mobile fallback for static page */
    }
    
    .waitlist-form {
        flex-direction: column;
    }
}

/* ==========================================================================
   New Additions: SVG Icons & Manifest Section
   ========================================================================== */

/* Update Icon Colors */
.feature-icon svg {
    color: var(--accent-primary);
}
.icon-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* How it Works Section */
.how-it-works-section {
    padding: 8rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    z-index: 0;
}

@media (max-width: 900px) {
    .steps-grid::before {
        display: none;
    }
}

.step-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    text-align: left;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.step-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.step-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Manifest Section */
.manifest-section {
    padding: 8rem 4rem;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.8) 0%, rgba(5, 5, 5, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    margin: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.manifest-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.manifest-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.manifest-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.manifest-content .lead {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.manifest-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Form message */
.form-message {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    min-height: 1.5em;
    font-weight: 500;
}

.form-message.success {
    color: #10b981;
}

.form-message.error {
    color: #ef4444;
}

@media (max-width: 900px) {
    .manifest-section {
        padding: 4rem 2rem;
    }
}
