@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600&family=Syne:wght@700;800&display=swap');

:root {
    --bg-dark: #050508;
    --bg-grid: rgba(255, 255, 255, 0.02);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    
    --accent-pink: #f43f5e;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    
    --glow-violet: rgba(139, 92, 246, 0.15);
    --glow-cyan: rgba(6, 182, 212, 0.15);
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Background Grid & Ambient Glows */
.bg-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, var(--bg-grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--bg-grid) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
}

/* Ambient light spheres */
.ambient-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-violet) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    filter: blur(80px);
    animation: floatGlow 12s ease-in-out infinite alternate;
}

.ambient-glow-2 {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    filter: blur(80px);
    animation: floatGlow 15s ease-in-out infinite alternate-reverse;
}

/* Cursor tracking glow (populated by JS) */
.cursor-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 75%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    mix-blend-mode: screen;
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Animations */
@keyframes floatGlow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(40px) scale(1.1); }
}

@keyframes pulseBorder {
    0% { border-color: rgba(255, 255, 255, 0.08); }
    50% { border-color: rgba(139, 92, 246, 0.4); }
    100% { border-color: rgba(255, 255, 255, 0.08); }
}

/* Header & Brand Navigation */
header {
    width: 100%;
    padding: 2.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.6);
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5);
}

/* Layout container */
main {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #c084fc;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 550px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Waitlist Form */
.waitlist-container {
    width: 100%;
    max-width: 480px;
    position: relative;
}

.waitlist-form {
    display: flex;
    position: relative;
    padding: 6px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
}

.waitlist-form:focus-within {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.waitlist-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    width: 100%;
}

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

.waitlist-btn {
    background: var(--text-primary);
    color: var(--bg-dark);
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0 1.8rem;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.waitlist-btn:hover {
    background: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
    transform: scale(1.02);
}

.waitlist-btn:active {
    transform: scale(0.98);
}

/* Custom Success/Validation State for Waitlist Form */
.form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent-cyan);
    min-height: 20px;
    opacity: 0;
    transition: var(--transition-smooth);
    transform: translateY(-5px);
}

.form-feedback.visible {
    opacity: 1;
    transform: translateY(0);
}

.form-feedback.error {
    color: var(--accent-pink);
}

/* Pricing Page Details */
.pricing-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding-top: 2rem;
}

.pricing-title-wrap {
    text-align: center;
}

.pricing-title-wrap h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.pricing-title-wrap p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Pricing Card Container */
.pricing-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 440px;
    text-align: center;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
    animation: pulseBorder 8s ease-in-out infinite;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 40px 70px -10px rgba(139, 92, 246, 0.15), 0 0 1px 1px rgba(139, 92, 246, 0.2);
}

/* Decorative glass gradient inside card */
.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.03), 
        transparent
    );
    transform: rotate(35deg);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.pricing-card:hover::after {
    left: 100%;
    transition: 1s ease-in-out;
}

.card-header {
    margin-bottom: 2rem;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.price-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.currency {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price {
    font-size: 5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.05em;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-sub {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.features-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.features-list li svg {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 1.1rem;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, #6366f1 100%);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px -5px rgba(139, 92, 246, 0.4);
    transition: var(--transition-smooth);
}

.pricing-cta:hover {
    box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.6), 0 0 20px rgba(139, 92, 246, 0.3);
    transform: scale(1.02);
}

.pricing-cta:active {
    transform: scale(0.98);
}

.card-footer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer Section */
footer {
    width: 100%;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 1.5rem;
    }
    
    main {
        padding: 0 1.5rem 3rem;
        gap: 3rem;
    }
    
    .waitlist-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 8px;
        gap: 8px;
    }
    
    .waitlist-btn {
        width: 100%;
        padding: 1rem;
    }
    
    .pricing-card {
        padding: 2.5rem 1.5rem;
    }
    
    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
}
