/**
 * Trend AI Base Styles
 * Core CSS for layout, typography, and common components
 */

/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary-color: #06B6D4;
    --accent-color: #F59E0B;
    --success-color: #10B981;
    --error-color: #EF4444;
    --warning-color: #F59E0B;

    /* Neutrals */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --border-color: #E5E7EB;

    /* Dark mode colors */
    --dark-bg: #0F172A;
    --dark-bg-secondary: #1E293B;
    --dark-text: #E2E8F0;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Lexend', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-accent);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.7;
}

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

a:hover {
    color: var(--primary-dark);
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

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

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    max-width: 1280px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.trend-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* White background for footer icon contrast */
.site-footer .trend-logo {
    background: white;
    border-radius: var(--radius-md);
    padding: 4px;
}

.nav-brand h2 {
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-nav {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Sign-in button styling */
.nav-link.sign-in-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white !important;
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    margin-left: 16px;
}

.nav-link.sign-in-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.nav-link.sign-in-btn i {
    font-size: 14px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-lg);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.dropdown-toggle:hover {
    color: var(--primary-color);
}

.dropdown-toggle i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    min-width: 320px;
    max-height: 75vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1001;
    margin-top: 8px;
    padding-bottom: 12px;
}

/* Ensure dropdown doesn't go off screen */
@media (max-width: 480px) {
    .dropdown-menu {
        right: -50px;
        min-width: 280px;
        max-height: 60vh;
    }
}

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

.dropdown-header {
    padding: 12px 16px 8px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.challenge-text {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateX(4px);
    color: var(--primary-color);
}

.dropdown-item.current {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
}

.dropdown-item.current:hover {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    transform: translateX(0);
}

.week-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dropdown-item.current .week-badge {
    background: rgba(255, 255, 255, 0.2);
}

.week-badge.current {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.product-name {
    font-weight: 600;
    font-size: 0.95em;
    line-height: 1.2;
}

.product-desc {
    font-size: 0.8em;
    opacity: 0.7;
    line-height: 1.2;
}

.dropdown-item.current .product-desc {
    opacity: 0.9;
    color: white;
}

.dropdown-item.current .product-name {
    color: white;
}


/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--spacing-3xl)) var(--spacing-lg) var(--spacing-3xl);
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    margin-bottom: var(--spacing-lg);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.cta-button {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.cta-button.secondary:hover {
    background: var(--bg-secondary);
}

.cta-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title .subtitle {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.6em;
}

/* Features Section */
.features-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works-section {
    padding: var(--spacing-3xl) 0;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    display: none;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.step-connector {
    flex: 0 0 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    position: relative;
    margin: 0 20px;
    align-self: center;
}

.step-connector::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Benefits Section */
.benefits-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.benefit {
    text-align: center;
}

.benefit i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.benefit h4 {
    margin-bottom: var(--spacing-sm);
}

.benefit p {
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-3xl) 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background var(--transition-fast);
    margin: 0;
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform var(--transition-base);
}

/* Waitlist Section */
.waitlist-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.waitlist-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: stretch;
}

.waitlist-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.waitlist-intro {
    text-align: left;
}

.waitlist-intro .signup-badge {
    margin-bottom: var(--spacing-md);
}

.waitlist-intro .waitlist-title {
    margin-bottom: var(--spacing-md);
    font-size: 2rem;
}

.waitlist-intro .waitlist-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.waitlist-intro .waitlist-highlights {
    margin-top: var(--spacing-lg);
}

.waitlist-intro .waitlist-highlights .highlight-item {
    margin-bottom: var(--spacing-md);
}

.signup-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--accent-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.waitlist-title {
    margin-bottom: var(--spacing-md);
}

.waitlist-description {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-secondary);
}

.premium-waitlist-form {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.form-header h3 {
    margin-bottom: var(--spacing-xs);
}

.form-header p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.premium-cta-button {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.premium-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.waitlist-perks {
    display: flex;
    justify-content: space-around;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.perk-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.perk-item i {
    color: var(--success-color);
}

/* Success and Error Messages */
.premium-success-message,
.premium-error-message {
    text-align: center;
    padding: var(--spacing-xl);
}

.success-icon,
.error-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.success-icon {
    color: var(--success-color);
}

.error-icon {
    color: var(--error-color);
}

.success-details,
.detail-item {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
}

/* Footer Styles */
.footer {
    background: var(--dark-bg);
    color: var(--dark-text);
    padding: 4rem 0 2rem;
}

.footer .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: white;
    padding: 4px;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.footer-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links li {
    margin-bottom: 0.5rem;
}

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

.footer .footer-links a:hover {
    color: white;
}

.footer .footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer .footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Legacy footer support */
.site-footer {
    background: var(--dark-bg);
    color: var(--dark-text);
    padding: var(--spacing-3xl) 0;
}

.site-footer .footer-content {
    text-align: center;
}

.site-footer .footer-brand {
    margin-bottom: var(--spacing-xl);
}

.site-footer .footer-brand h3 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

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

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.site-footer .footer-links a {
    color: var(--text-muted);
}

.site-footer .footer-links a:hover {
    color: white;
}

.site-footer .footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-nav .nav-link:not(.dropdown-toggle):not(.sign-in-btn) {
        display: none;
    }

    /* Keep sign-in button visible on mobile */
    .nav-link.sign-in-btn {
        margin-left: 12px;
        padding: 6px 12px;
        font-size: 14px;
    }

    /* Mobile menu sign-in button */
    .mobile-nav-links .nav-link.sign-in-btn {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: white;
        margin: 16px 0 0 0;
        padding: 12px 16px;
        border-radius: var(--radius-lg);
        text-align: center;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .mobile-nav-menu.active {
        display: block;
    }

    /* Mobile dropdown styles */
    .nav-dropdown {
        position: relative;
        display: inline-block;
        width: auto;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        background: white;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        min-width: 320px;
        max-height: 75vh;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1002;
        margin-top: 8px;
        padding-bottom: 12px;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-connector {
        display: none;
    }

    .waitlist-hero {
        grid-template-columns: 1fr;
    }

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

    .waitlist-intro {
        text-align: center;
        margin-bottom: var(--spacing-xl);
    }

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

    .waitlist-perks {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    /* Footer responsive */
    .footer .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-description {
        max-width: none;
    }

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

@media (max-width: 640px) {
    :root {
        --spacing-3xl: 2rem;
    }

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

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