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

:root {
    --primary-color: #6652D9;
    --primary-hover: #5543C0;
    --accent-color: #C5A033;
    --gradient-end: #AD4DB8;
    --background-light: #FAF8F5;
    --text-dark: #1A1A1E;
    --text-dim: #737068;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(102, 82, 217, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(102, 82, 217, 0.08);
}

.text-accent {
    color: var(--accent-color);
    -webkit-text-fill-color: initial;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Animation */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--background-light);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    animation: move 22s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    background: rgba(102, 82, 217, 0.25);
}

.blob-2 {
    top: 20%;
    right: -20%;
    width: 65vw;
    height: 65vw;
    background: rgba(173, 77, 184, 0.2);
    animation-delay: -5s;
}

.blob-3 {
    bottom: -20%;
    left: 20%;
    width: 50vw;
    height: 50vw;
    background: rgba(197, 160, 51, 0.15);
    animation-delay: -10s;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }
    to {
        transform: translate(40px, 40px) scale(1.08);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism */
.glass-nav,
.glass-card,
.glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    border-radius: 20px;
    padding: 15px 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-end) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a:not(.cta-button) {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

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

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-end) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 82, 217, 0.25);
    font-family: 'Inter', sans-serif;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 82, 217, 0.35);
}

.cta-button.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-end) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-form input {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 1rem;
    flex-grow: 1;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    font-family: 'Inter', sans-serif;
}

.waitlist-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 82, 217, 0.12);
}

.waitlist-form input.error {
    border-color: #D94452;
    box-shadow: 0 0 0 3px rgba(217, 68, 82, 0.1);
}

.error-message {
    color: #b92d3a;
    background-color: #fde8ea;
    border: 1px solid #f5c6cb;
    padding: 10px 15px;
    border-radius: 12px;
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.waitlist-form input::placeholder {
    color: #aaa;
}

#success-message {
    margin-top: 20px;
    color: #33C47F;
    font-weight: 600;
}

.hidden {
    display: none;
}

/* How It Works Section */
.how-it-works {
    padding: 60px 0 20px;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.how-it-works .section-subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 36px 24px;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-end) 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(102, 82, 217, 0.2);
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.features h2 .gradient-text {
    display: inline;
}

.features .section-subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    box-shadow: 0 4px 24px rgba(102, 82, 217, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(102, 82, 217, 0.12);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(102, 82, 217, 0.08) 0%, rgba(173, 77, 184, 0.08) 100%);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Bottom row: 2 cards centered */
.feature-grid .feature-card:nth-child(4),
.feature-grid .feature-card:nth-child(5) {
    /* These will auto-place in the 3-col grid, so we center them */
}

/* Privacy Callout */
.privacy-callout {
    padding: 0 0 80px;
}

.callout-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 40px;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 82, 217, 0.04) 0%, rgba(173, 77, 184, 0.04) 100%);
    border: 1px solid rgba(102, 82, 217, 0.1);
}

.callout-card .callout-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.callout-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.callout-card p {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Footer */
.glass-footer {
    margin-top: 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(102, 82, 217, 0.08);
    background: white;
    border-radius: 0;
    box-shadow: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand .logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: -0.8px;
    }

    .hero .subtitle {
        font-size: 1.05rem;
    }

    .waitlist-form {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }

    .nav-links a:not(.cta-button) {
        display: none;
    }

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

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .features h2 {
        font-size: 1.8rem;
    }

    .how-it-works h2 {
        font-size: 1.8rem;
    }

    .callout-card {
        padding: 32px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}
