/* Import Noto Sans */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;700&display=swap');

/* Import PT Serif */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:wght@400;700&display=swap');

/* Import Prompt Black */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@900&display=swap');

/* Import Playfair Display */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@900&display=swap');

/* Import Merriweather */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@900&display=swap');

/* Import Libre Baskerville */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@700&display=swap');

/* Import Poiret One */
@import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap');

/* Import Josefin Sans */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&display=swap');

/* Import Raleway */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@900&display=swap');

/* Keep original light theme as default */
:root {
    /* No need to define light theme variables since we'll use the original direct values */
    --neon-yellow: #FFFF00;
    --electric-pink: #FF69B4;
    --electric-blue: #00FFFF;
}

/* Only define dark theme variables */
:root[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --card-bg: rgba(45, 45, 45, 0.5);  /* Restore original transparency */
    --card-hover: rgba(61, 61, 61, 0.8);  /* Restore original hover transparency */
    --subtitle-color: #999;
    --card-text-color: #ccc;
}

/* Base styles - use original values for light theme and variables for dark */
body {
    margin: 0;
    font-family: 'Noto Sans', sans-serif;
    background-color: #FAFAF7;  /* Original light mode color */
    color: #333;
    line-height: 1.5;
    transition: background-color 0.3s, color 0.3s;
}

/* Dark mode overrides */
[data-theme="dark"] body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section - Full viewport height */
.hero-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
}

/* Bouncy scroll indicator with fade in/out cycle */
.hero-section::after {
    content: 'more info\A↓';
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #8B5CF6;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    animation: fade-bounce-cycle 6s ease-in-out infinite;
    white-space: pre;
    line-height: 1.2;
    opacity: 0;
}

[data-theme="dark"] .hero-section::after {
    color: #A855F7;
}

@keyframes fade-bounce-cycle {
    /* Fade in over first 2 seconds (0-33%) */
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }
    16.67% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.5;
    }
    33.33% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.7;
    }
    
    /* Bounce during middle 2 seconds (33-66%) */
    41.67% {
        transform: translateX(-50%) translateY(-8px);
        opacity: 0.9;
    }
    50% {
        transform: translateX(-50%) translateY(-12px);
        opacity: 1;
    }
    58.33% {
        transform: translateX(-50%) translateY(-8px);
        opacity: 0.9;
    }
    66.67% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.7;
    }
    
    /* Fade out over last 2 seconds (66-100%) */
    83.33% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.3;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }
}

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
}

.title-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

h1 {
    font-family: 'Prompt', sans-serif;
    font-weight: 900;
    font-size: 6rem;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(
        45deg,
        var(--neon-yellow) 0%,
        var(--electric-pink) 35%,
        var(--electric-blue) 65%,
        var(--neon-yellow) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s linear infinite;
}

/* Beta label styles */
.beta-label {
    font-size: 0.9rem;
    font-weight: 600;
    background: #FFE600;  /* Fallback */
    background: -webkit-linear-gradient(135deg, #FFE600, #FFD000);
    background: -moz-linear-gradient(135deg, #FFE600, #FFD000);
    background: linear-gradient(135deg, #FFE600, #FFD000);
    color: #1a1a1a;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    position: absolute;
    top: 0.5rem;
    right: -3rem;  /* Closer to title (was -2.5rem) */
    text-transform: lowercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 230, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* Dark mode adjustments for beta label */
[data-theme="dark"] .beta-label {
    color: #1a1a1a;  /* Keep dark text in dark mode for contrast */
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
        background-size: 400% 100%;
    }

    .beta-label {
        font-size: 0.65rem;
        padding: 0.12rem 0.35rem;
        right: -1.5rem;  /* Closer (was -1.75rem) */
        top: 0.4rem;
    }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 3rem;
    }

    .beta-label {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
        right: -0.5rem;  /* Even closer (was -1.5rem) */
        top: 0.35rem;
    }
}

/* Add CSS variables for the colors at root level if they don't exist */
:root {
    /* No need to define light theme variables since we'll use the original direct values */
    --neon-yellow: #FFFF00;
    --electric-pink: #FF69B4;
    --electric-blue: #00FFFF;
}

/* Update the keyframes timing to match landing.css */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ensure the animation works well on mobile too */
@media screen and (max-width: 768px) {
    h1 {
        font-weight: 900;
        font-size: 4.25rem; /* Increased from 2.75rem */
        background-size: 400% 100%;
    }
}

.subtitle {
    font-size: 1.5rem;  /* Increased from 1.25rem */
    color: #666;
}

/* Navigation Grid */
.nav-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 800px;  /* Changed from 750px */
}

.second-row {
    margin-top: 2rem;
}

/* Mobile breakpoint */
@media screen and (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .nav-grid {
        justify-content: center;
        gap: 1rem;
        max-width: 100%;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    .nav-card {
        padding: 1.5rem;  /* Slightly less padding on mobile */
    }

    header {
        margin-bottom: 2rem;  /* Less margin on mobile */
    }
}

/* Keep original light theme styles for nav-card */
.nav-card {
    background: rgba(255, 255, 255, 0.5);
    color: inherit;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
    max-width: 260px;
    width: 100%;
}

/* Dark mode overrides for nav-card */
[data-theme="dark"] .nav-card {
    background: var(--card-bg);  /* Use background not background-color to preserve transparency */
    color: var(--text-color);
}

.nav-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .nav-card:hover {
    background: var(--card-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .nav-card p {
    color: var(--card-text-color);
}

[data-theme="dark"] .subtitle {
    color: var(--subtitle-color);
}

/* Soften icon scale on hover */
.nav-card:nth-child(1):hover .icon,
.nav-card:nth-child(2):hover .icon,
.nav-card:nth-child(3):hover .icon {
    transform: scale(1.05);  /* Reduced from 1.1 */
}

/* Soften highlight opacity */
.nav-card h2::after {
    opacity: 0.4;  /* Reduced from 0.5 */
}

/* Icon styles with color transitions */
.icon {
    font-size: 2.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform-origin: bottom center;  /* Make scaling happen from bottom */
}

.nav-card:nth-child(1):hover .icon {
    color: #FFFF00; /* Neon Yellow */
    transform: scale(1.1);
}

.nav-card:nth-child(2):hover .icon {
    color: #FF69B4; /* Electric Pink */
    transform: scale(1.1);
}

.nav-card:nth-child(3):hover .icon {
    color: #98FF98; /* Mint Green */
    transform: scale(1.1);
}

/* Card title hover effect */
.nav-card h2 {
    font-size: 1.5rem;
    margin: auto 0 1rem 0;
    color: #1a1a1a;
    transition: all 0.3s ease;
    position: relative;
}

/* Dark mode title color */
[data-theme="dark"] .nav-card h2 {
    color: var(--text-color);  /* Use the same color as other text in dark mode */
}

/* Highlight effect base */
.nav-card h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;  /* Adjust to position the highlight */
    width: 0;     /* Start with 0 width */
    height: 0.5em;/* Height of the highlight */
    z-index: -1;  /* Place behind text */
    transition: width 0.3s ease;
    opacity: 0.5; /* Make it semi-transparent like a highlighter */
}

/* Individual highlight colors */
.nav-card:nth-child(1) h2::after {
    background-color: #FFFF00; /* Neon Yellow */
}

.nav-card:nth-child(2) h2::after {
    background-color: #FF69B4; /* Electric Pink */
}

.nav-card:nth-child(3) h2::after {
    background-color: #98FF98; /* Mint Green */
}

/* Expand highlight on hover */
.nav-card:hover h2::after {
    width: 100%;  /* Expand to full width */
}

/* Remove the previous scale effect */
.nav-card:hover h2 {
    transform: none;  /* Remove the scale effect since we're highlighting now */
}

.nav-card p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Ensure main content stays above sparkles */
.container {
    position: relative;
    z-index: 2;
}

/* Auth buttons for top right corner */
.auth-buttons {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 1rem;
    z-index: 1003;
}

.auth-link {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid;
}

.login-link {
    color: #374151;
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(139, 92, 246, 0.2);
}

.login-link:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.signup-link {
    color: white;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.signup-link:hover {
    background: linear-gradient(135deg, #7C3AED, #0891B2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

[data-theme="dark"] .login-link {
    color: #ffffff;
    background: rgba(45, 45, 45, 0.8);
    border-color: rgba(139, 92, 246, 0.3);
}

[data-theme="dark"] .login-link:hover {
    background: rgba(61, 61, 61, 0.9);
    border-color: rgba(139, 92, 246, 0.5);
}

[data-theme="dark"] .signup-link {
    background: linear-gradient(135deg, #7C3AED, #0891B2);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

[data-theme="dark"] .signup-link:hover {
    background: linear-gradient(135deg, #6D28D9, #0E7490);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* Mobile responsiveness for auth buttons */
@media screen and (max-width: 768px) {
    .auth-buttons {
        right: 15px;
        gap: 0.75rem;
    }
    
    .auth-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Replace existing theme toggle styles with these */
/* Update the theme toggle styles */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1); /* Add subtle border */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

[data-theme="dark"] .theme-toggle {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.2); /* Lighter border for dark mode */
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.2); /* Slightly stronger border on hover */
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

.theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon svg {
    fill: var(--text-color);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Add a subtle shadow to the icon itself for better contrast */
[data-theme="dark"] .theme-icon svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Show/hide icons based on theme */
[data-theme="light"] .dark-icon {
    display: block;
}

[data-theme="light"] .light-icon {
    display: none;
}

[data-theme="dark"] .dark-icon {
    display: none;
}

[data-theme="dark"] .light-icon {
    display: block;
}

/* Language Selection Dropdown */
.language-selection {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.language-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.language-dropdown {
    position: relative;
    flex: 1;
}

/* Go Button */
.go-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    flex-shrink: 0;
}

.go-button svg {
    width: 24px;
    height: 24px;
    stroke: white;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.go-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7C3AED, #0891B2);
}

.go-button:hover svg {
    transform: translateX(2px);
}

.go-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

[data-theme="dark"] .go-button {
    background: linear-gradient(135deg, #7C3AED, #0891B2);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

[data-theme="dark"] .go-button:hover {
    background: linear-gradient(135deg, #6D28D9, #0E7490);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
}

/* Disabled go button styles */
.go-button.disabled,
.go-button:disabled {
    background: #ddd;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    opacity: 0.6;
}

.go-button.disabled:hover,
.go-button:disabled:hover {
    transform: none;
    background: #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.go-button.disabled svg,
.go-button:disabled svg {
    stroke: #999;
    transform: none;
}

[data-theme="dark"] .go-button.disabled,
[data-theme="dark"] .go-button:disabled {
    background: #444;
}

[data-theme="dark"] .go-button.disabled:hover,
[data-theme="dark"] .go-button:disabled:hover {
    background: #444;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .go-button.disabled svg,
[data-theme="dark"] .go-button:disabled svg {
    stroke: #666;
}

.language-select {
    width: 100%;
    padding: 1.5rem 2rem;
    border: 2px solid #E2E8F0;
    border-radius: 25px;
    background: linear-gradient(135deg, #FEFEFE, #F8FAFC);
    color: #374151;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.language-select:hover {
    border-color: #8B5CF6;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

.language-select:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.language-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.language-dropdown.open .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 1.25rem 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.language-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.coming-soon-label {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-left: 2rem;
    font-weight: normal;
}

.language-option:first-child {
    border-radius: 23px 23px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 23px 23px;
}

.language-option:hover:not(.coming-soon) {
    background-color: #F3F4F6;
}

.language-option[aria-selected="true"] {
    background-color: #F3F4F6;
}

.language-option.coming-soon {
    opacity: 0.8;
    cursor: not-allowed;
    background: linear-gradient(135deg, #F3F4F6, #F8FAFC);
}

.language-option strong {
    font-weight: 600;
}

.selected-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.selected-option.placeholder {
    color: #000;
    font-family: 'Noto Sans', sans-serif;
}

[data-theme="dark"] .selected-option.placeholder {
    color: #fff;
}

[data-theme="dark"] .language-select {
    background: var(--card-bg);
    color: var(--text-color);
    border-color: var(--card-bg);
}

[data-theme="dark"] .language-options {
    background: var(--card-bg);
    border-color: var(--card-bg);
}

[data-theme="dark"] .language-option:hover:not(.coming-soon) {
    background: var(--card-hover);
}

[data-theme="dark"] .language-option[aria-selected="true"] {
    background: var(--card-hover);
}

[data-theme="dark"] .language-option.coming-soon {
    background: linear-gradient(135deg, var(--card-bg), var(--card-hover));
}

[data-theme="dark"] .coming-soon-label {
    color: #64748B;
}

@media screen and (max-width: 768px) {
    .language-selection {
        padding: 0 1rem;
    }
    
    .language-select,
    .language-option {
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .coming-soon-label {
        font-size: 0.8rem;
        margin-left: 1.75rem;
    }

    .go-button {
        width: 48px;
        height: 48px;
    }

    .go-button svg {
        width: 20px;
        height: 20px;
    }
}

/* Mascot Animation */
.mascot-container {
    position: fixed;
    width: 200px;
    height: 200px;
    z-index: 1000;
}

.mascot-container.peeking {
    cursor: pointer;
}

.mascot {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Adjust mascot size for mobile */
@media screen and (max-width: 768px) {
    .mascot-container {
        width: 150px;
        height: 150px;
    }
}

/* Rest of the existing styles remain the same... */

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 3rem 0 1.5rem;
}

.section-heading {
    text-align: left;
    margin: 2rem 0 1rem;
    color: var(--subtitle-color);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 2rem 0 0.5rem 0;
    border-bottom: 2px solid var(--accent-color);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
} 

/* Add chevron styling */
.dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dropdown-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #374151;
    border-bottom: 2px solid #374151;
    transform: translate(-50%, -60%) rotate(45deg);
    transition: border-color 0.3s ease;
}

/* Dark mode chevron color */
[data-theme="dark"] .dropdown-arrow::before {
    border-color: var(--text-color);
}

/* Rotate chevron when dropdown is open */
.language-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Hover state for chevron */
.language-select:hover .dropdown-arrow::before {
    border-color: #8B5CF6;
}

[data-theme="dark"] .language-select:hover .dropdown-arrow::before {
    border-color: #8B5CF6;
} 

/* Marketing Content Styles */
.marketing-content {
    width: 100%;
}

/* Description Section - Full viewport height */
.description-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Description */
.main-description {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    margin-bottom: 2.5rem;
}

.main-description p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #555;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

[data-theme="dark"] .main-description p {
    color: #b3b3b3;
}

/* Inline CTA Section */
.cta-section-inline {
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Legacy CTA section styles removed - now using inline CTA */

.create-account-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    text-decoration: none;
    font-family: 'Noto Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

.create-account-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.create-account-btn:hover::before {
    left: 100%;
}

.create-account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7C3AED, #0891B2);
}

.create-account-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.create-account-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.create-account-btn:hover svg {
    transform: translateX(3px);
}

[data-theme="dark"] .create-account-btn {
    background: linear-gradient(135deg, #7C3AED, #0891B2);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

[data-theme="dark"] .create-account-btn:hover {
    background: linear-gradient(135deg, #6D28D9, #0E7490);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
}

/* Languages Section */
.languages-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.languages-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.languages-flags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: -0.5rem;
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.flag-circle:not(:first-child) {
    margin-left: -10px;
}

.flag-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    border: 3px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.flag-circle:hover {
    transform: translateY(-8px) scale(1.1);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.2);
}

.flag-circle.playing {
    transform: translateY(-8px) scale(1.1);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.4);
    animation: pulse-glow 1.5s ease-in-out infinite;
    position: relative;
}

.flag-circle.playing::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid rgba(139, 92, 246, 0.6);
    border-radius: 50%;
    animation: rotate-border 2s linear infinite;
}

.flag-circle.playing::after {
    content: '♪';
    position: absolute;
    top: -10px;
    right: -5px;
    color: rgba(139, 92, 246, 0.8);
    font-size: 1.2rem;
    animation: music-bounce 0.6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 12px 24px rgba(139, 92, 246, 0.4);
    }
    50% {
        box-shadow: 0 12px 24px rgba(139, 92, 246, 0.6);
    }
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
        border-color: rgba(139, 92, 246, 0.6) transparent rgba(139, 92, 246, 0.6) transparent;
    }
    25% {
        border-color: transparent rgba(139, 92, 246, 0.6) transparent rgba(139, 92, 246, 0.6);
    }
    50% {
        transform: rotate(180deg);
        border-color: rgba(139, 92, 246, 0.6) transparent rgba(139, 92, 246, 0.6) transparent;
    }
    75% {
        border-color: transparent rgba(139, 92, 246, 0.6) transparent rgba(139, 92, 246, 0.6);
    }
    100% {
        transform: rotate(360deg);
        border-color: rgba(139, 92, 246, 0.6) transparent rgba(139, 92, 246, 0.6) transparent;
    }
}

@keyframes music-bounce {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-3px) scale(1.1);
        opacity: 1;
    }
}

[data-theme="dark"] .flag-circle {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.8), rgba(45, 45, 45, 0.6));
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .flag-circle:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.3);
}

.languages-description {
    max-width: 600px;
    margin: 0 auto;
}

.languages-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    font-weight: 400;
}

[data-theme="dark"] .languages-description p {
    color: #b3b3b3;
}

/* Add staggered animation for flag circles */
.flag-circle:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.flag-circle:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.flag-circle:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.flag-circle:nth-child(4) {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.flag-circle:nth-child(5) {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

/* Mobile responsiveness for languages section */
@media screen and (max-width: 768px) {
    .languages-flags {
        gap: -0.5rem; /* Keep the overlap like desktop */
    }
    
    .flag-circle:not(:first-child) {
        margin-left: -8px; /* Slightly less overlap for smaller circles */
    }
    
    .flag-circle {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .languages-description p {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
    
    .languages-section {
        padding: 2rem 1rem;
    }
}

/* Developer Section */
.developer-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.developer-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

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

.developer-emoji {
    font-size: 3rem;
    display: inline-block;
    transform-origin: 70% 70%;
}

.developer-emoji.wave-once {
    animation: wave 0.8s ease-in-out;
}

@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-8deg);
    }
}

.developer-description {
    max-width: 600px;
    margin: 0 auto;
}

.developer-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.developer-description p:last-child {
    margin-bottom: 0;
}

[data-theme="dark"] .developer-description p {
    color: #b3b3b3;
}

.developer-description a {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.developer-description a:hover {
    color: #7C3AED;
    text-decoration: underline;
}

[data-theme="dark"] .developer-description a {
    color: #A855F7;
}

[data-theme="dark"] .developer-description a:hover {
    color: #8B5CF6;
}

/* Mobile responsiveness for developer section */
@media screen and (max-width: 768px) {
    .developer-description p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .developer-emoji {
        font-size: 2.5rem;
    }
    
    .developer-section {
        padding: 2rem 1rem;
    }
}

/* Dynamic Practice Topics Animation */
.typewriter-container {
    margin: 2rem 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 25px;
    padding: 1.5rem;
    border: 2px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.typewriter-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #8B5CF6, #06B6D4, #8B5CF6, #06B6D4);
    background-size: 300% 300%;
    border-radius: 27px;
    z-index: -1;
    animation: gradient-border 3s ease infinite;
}

@keyframes gradient-border {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

[data-theme="dark"] .typewriter-container {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
    border-color: rgba(139, 92, 246, 0.3);
}

.typewriter-line {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 2em;
    text-align: center;
    width: 100%;
}

[data-theme="dark"] .typewriter-line {
    color: #ffffff;
}



.typewriter-text {
    display: inline-block;
    position: relative;
}

.typewriter-text.fade-in {
    animation: pop-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.typewriter-text.fade-out {
    animation: pop-out 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

@keyframes pop-in {
    0% {
        transform: scale(0.3) translateY(20px);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) translateY(-5px);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes pop-out {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    100% {
        transform: scale(0.8) translateY(-10px);
        opacity: 0;
    }
}

.typewriter-cursor {
    display: inline-block;
    background: linear-gradient(45deg, #8B5CF6, #06B6D4);
    width: 3px;
    height: 1.4em;
    animation: pulse-cursor 0.8s ease-in-out infinite alternate;
    margin-left: 4px;
    border-radius: 2px;
}

@keyframes pulse-cursor {
    0% {
        opacity: 1;
        transform: scaleY(1);
    }
    100% {
        opacity: 0.3;
        transform: scaleY(0.8);
    }
}

/* Add sparkle effect behind text */
.typewriter-container::after {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.2rem;
    animation: sparkle-float 2s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes sparkle-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-8px) rotate(180deg);
        opacity: 1;
    }
}

/* Mobile responsiveness for typewriter */
@media screen and (max-width: 768px) {
    .typewriter-line {
        font-size: 1.2rem;
    }
    
    .typewriter-container {
        margin: 1.5rem 0;
        min-height: 50px;
    }
}

/* Each feature section gets full viewport height */
.feature-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Feature Sections Container */
.feature-sections {
    width: 100%;
}

/* Simplified feature content - no cards */
.feature-content {
    max-width: 600px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out calc(0.4s + var(--stagger-delay, 0s)) both;
}

.feature-content[data-feature="practice"] {
    --stagger-delay: 0s;
}

.feature-content[data-feature="listening"] {
    --stagger-delay: 0.1s;
}

.feature-content[data-feature="adaptive"] {
    --stagger-delay: 0.2s;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    transition: color 0.3s ease;
}

[data-theme="dark"] .feature-title {
    color: #f5f5f5;
}

.feature-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

[data-theme="dark"] .feature-description {
    color: #b3b3b3;
}

/* Practice Modes Section - Simplified */
.practice-modes {
    margin-top: 1.5rem;
}

.practice-modes-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

[data-theme="dark"] .practice-modes-title {
    color: #d1d5db;
}

.practice-modes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.practice-modes-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #4b5563;
    transition: color 0.3s ease;
}

[data-theme="dark"] .practice-modes-list li {
    color: #9ca3af;
}

.practice-modes-list li::before {
    content: '•';
    color: #8B5CF6;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Keyframes for animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom section scrolling - Simplified approach using scroll-snap */
html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    overflow-y: hidden; /* Hide body scrolling, let scroll-container handle it */
}

.scroll-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Disable smooth scroll effects on mobile */
@media screen and (max-width: 768px) {
    body {
        overflow-y: auto; /* Re-enable normal body scrolling */
    }
    
    .scroll-container {
        position: relative; /* Change from fixed to relative */
        height: auto; /* Allow natural height */
        scroll-snap-type: none; /* Disable scroll snap */
        scroll-behavior: auto; /* Disable smooth scrolling */
    }
}

/* Section base styles for natural flow */
.section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Remove the old absolute positioning and opacity styles */
/* .section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    will-change: transform, opacity;
    opacity: 0;
    visibility: hidden;
}

.sections-initialized .section {
    opacity: 1;
    visibility: visible;
}

.section[data-section="0"] {
    opacity: 1;
    visibility: visible;
} */

/* Ensure sections work well on all screen sizes */
@media screen and (max-height: 600px) {
    .hero-section,
    .description-section,
    .feature-section {
        min-height: 100vh;
        height: 100vh;
        padding: 2rem 1rem;
    }
    
    /* Reduce text size on very short screens */
    .main-description p {
        font-size: 1.1rem;
    }
    
    .main-description {
        margin-bottom: 1.5rem;
    }
    
    .feature-content {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 3.5rem;
    }
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .hero-section,
    .description-section,
    .feature-section {
        padding: 2rem 1rem;
        min-height: 100vh;
        height: 100vh;
    }

    .main-description p {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
    
    .main-description {
        margin-bottom: 2rem;
    }

    .feature-content {
        max-width: 100%;
        padding: 0 1rem;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .feature-header {
        gap: 0.75rem;
    }

    .feature-emoji {
        font-size: 1.5rem;
    }

    .create-account-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .practice-modes-title {
        font-size: 1.1rem;
    }
    
    /* Adjust header for mobile viewport */
    h1 {
        font-size: 4rem;
    }
    
    /* Hide scroll indicator on mobile */
    .hero-section::after {
        display: none;
    }
} 