/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #0f172a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header */
header {
    background: transparent;
    color: white;
    padding: 1rem 0;
}

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

.logo-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.logo-btn:hover {
    transform: scale(1.02);
    opacity: 0.8;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.logo-text h1 {
    font-family: 'Audiowide', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.2rem;
    color: white;
    letter-spacing: 1px;
}

.logo-text span {
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
}

/* Google Play Badge */
.google-play-badge {
    display: flex;
    align-items: center;
}

.play-badge-img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-badge-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Hide footer badge on desktop */
.footer-badge {
    display: none;
}

/* Hero Section */
.hero {
    background: transparent;
    color: white;
    padding: 4rem 0;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.arrow-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    opacity: 0;
    animation: pulse 2s infinite;
}

.arrow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.7);
    animation: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(102, 126, 234, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
    }
}

/* Screenshots Carousel */
.carousel-container {
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    width: 100%;
    overflow: hidden;
}

.carousel-container.show {
    opacity: 1;
    transform: translateY(0);
}

.carousel-wrapper {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 20px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.carousel-slide {
    position: absolute;
    width: 280px;
    height: 500px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    will-change: transform, opacity;
}

/* Carousel slide positioning - handled dynamically by JavaScript */
.carousel-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Remove side screenshots as they're now part of the sliding effect */
.side-screenshot {
    display: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: center;
    }
    
    /* Hide header badge on mobile */
    .header-content .google-play-badge {
        display: none;
    }
    
    /* Show footer badge on mobile */
    .footer-badge {
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-badge .play-badge-img {
        height: 40px;
    }
    
    .carousel-container {
        margin-top: 2rem;
        padding: 0 10px;
    }
    
    .carousel-wrapper {
        padding: 0 10px;
    }
    
    .carousel-track {
        width: 100%;
        height: 400px;
    }
    
    .carousel-slide {
        width: 220px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .footer-badge .play-badge-img {
        height: 35px;
    }
    
    .carousel-container {
        margin-top: 1.5rem;
        padding: 0 5px;
    }
    
    .carousel-wrapper {
        padding: 0 5px;
    }
    
    .carousel-track {
        width: 100%;
        height: 350px;
    }
    
    .carousel-slide {
        width: 180px;
        height: 350px;
    }
    
    .carousel-dots {
        margin-top: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }
    
    .dot.active {
        width: 12px;
        height: 12px;
    }
}

.start-lesson-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    margin-top: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.start-lesson-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.5s;
}

.start-lesson-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.start-lesson-btn:hover::before {
    left: 100%;
}

.start-lesson-btn:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.1s ease;
}

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

.lesson-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Main content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Demo Section */
.demo {
    padding: 4rem 0 2rem;
    background: transparent;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demo h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.demo > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

/* Lesson Demo */
.lesson-demo {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 0;
}

.lesson-step {
    display: none;
    animation: fadeInSlide 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.lesson-step.active {
    display: block;
}

@keyframes fadeInSlide {
    0% { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95); 
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInHeader 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.step-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-number:hover {
    background: rgba(147, 197, 253, 0.3);
    border-color: rgba(147, 197, 253, 0.5);
    transform: scale(1.1);
}

.step-header h4 {
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease;
}

@keyframes fadeInHeader {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Vocabulary Cards Container */
.vocabulary-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Vocabulary Card */
.vocabulary-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInCard 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vocabulary-card:nth-child(1) { animation-delay: 0.1s; }
.vocabulary-card:nth-child(2) { animation-delay: 0.2s; }
.vocabulary-card:nth-child(3) { animation-delay: 0.3s; }
.vocabulary-card:nth-child(4) { animation-delay: 0.4s; }
.vocabulary-card:nth-child(5) { animation-delay: 0.5s; }

.vocabulary-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-color: rgba(147, 197, 253, 0.4);
}

@keyframes slideInCard {
    0% {
        opacity: 0;
        transform: translateX(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.word-pair {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.word-pair:last-child {
    border-bottom: none;
}

.spanish {
    font-size: 1.2rem;
    font-weight: 600;
    color: #93c5fd;
}

.english {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Grammar Tip */
.grammar-tip {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.step-header h4 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.lightbulb-icon {
    flex-shrink: 0;
}

.grammar-tip h5 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0;
}

.grammar-tip p {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Conversation Demo */
.conversation-demo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.chat-container {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 0.5rem;
}

.chat-container::-webkit-scrollbar {
    width: 6px;
}

.chat-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.chat-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.chat-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}



.message {
    display: flex;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.ai-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    overflow: hidden;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.ai-message .avatar {
    background: rgba(147, 197, 253, 0.8);
    margin-right: 0.8rem;
}

.user-message .avatar {
    background: rgba(72, 187, 120, 0.8);
    margin-left: 0.8rem;
}

.message-content {
    max-width: 70%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.user-message .message-content {
    background: rgba(72, 187, 120, 0.2);
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.message-content p {
    margin-bottom: 0.5rem;
    color: white;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content em {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.input-area {
    display: flex;
    margin-top: 1rem;
    gap: 0.5rem;
}

.input-area input {
    flex: 1;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    color: white;
    backdrop-filter: blur(5px);
}

.input-area input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-area input:focus {
    outline: none;
    border-color: rgba(147, 197, 253, 0.8);
}

.input-area button {
    padding: 0.8rem 1.5rem;
    background: rgba(147, 197, 253, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}

.input-area button:hover:not(:disabled) {
    background: rgba(147, 197, 253, 1);
}

.input-area button:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

/* Progress Summary */
.progress-summary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(147, 197, 253, 0.8), rgba(118, 75, 162, 0.8));
    width: 0%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.concepts-learned h5 {
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.concepts-learned ul {
    list-style: none;
    padding: 0;
}

.concept-item {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.concept-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(72, 187, 120, 0.9);
    font-weight: bold;
}

.concept-item:nth-child(1) { animation-delay: 0.2s; }
.concept-item:nth-child(2) { animation-delay: 0.4s; }
.concept-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Progress Stats */
.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(147, 197, 253, 1);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.navigation button {
    padding: 0.8rem 2rem;
    border: 2px solid rgba(147, 197, 253, 0.8);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(147, 197, 253, 1);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navigation button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.navigation button:hover:not(:disabled) {
    background: rgba(147, 197, 253, 0.8);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(147, 197, 253, 0.3);
}

.navigation button:hover:not(:disabled)::before {
    left: 100%;
}

.navigation button:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
    transition: all 0.1s ease;
}

.navigation button:disabled {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
}

.nav-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(147, 197, 253, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.nav-btn:hover {
    background: rgba(147, 197, 253, 1);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(147, 197, 253, 0.3);
}

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

.nav-btn:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.1s ease;
}

.nav-btn:disabled {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
}



/* Footer */
footer {
    background: transparent;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .demo {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .demo h3 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .lesson-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .lesson-demo {
        margin: 1rem auto 0;
        padding: 0 1rem;
    }
    
    .lesson-step {
        padding: 1rem 0;
        background: transparent;
        border-radius: 0;
        margin-bottom: 1rem;
    }
    
    .step-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .step-header h4 {
        font-size: 1.2rem;
        margin-top: 0.5rem;
    }
    
    .vocabulary-cards {
        gap: 0.5rem;
    }
    
    .vocabulary-card {
        padding: 0.75rem;
    }
    
    .word-pair {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .spanish {
        font-size: 1rem;
    }
    
    .english {
        font-size: 0.9rem;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .input-area {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .input-area input {
        margin-right: 0;
    }
    
    .navigation {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .navigation button {
        width: 100%;
        padding: 0.75rem;
    }
}

/* Countdown Page Styles */
.countdown-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background: transparent;
}





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

.countdown-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(255, 255, 255, 0.4),
        0 0 80px rgba(255, 255, 255, 0.2);
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

.countdown-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.time-unit {
    padding: 1rem;
    min-width: 100px;
    text-align: center;
}

.time-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.time-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.email-signup {
    padding: 2.5rem 0;
    text-align: center;
}

.email-signup h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.email-signup p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.signup-form {
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.input-group input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: transparent;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.3);
}

.input-group input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.signup-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.privacy-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.success-message {
    color: #4ade80;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Mobile Responsiveness for Countdown */
@media (max-width: 768px) {
    .countdown-title {
        font-size: 2.5rem;
    }
    
    .countdown-timer {
        gap: 1rem;
    }
    
    .time-unit {
        min-width: 80px;
        padding: 1rem 0.5rem;
    }
    
    .time-number {
        font-size: 2rem;
    }
    
    .email-signup {
        padding: 2rem 1.5rem;
    }
    
    .input-group {
        flex-direction: column;
        align-items: center;
    }
    
    .input-group input[type="email"] {
        min-width: 100%;
        margin-bottom: 1rem;
    }
    
    .signup-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .countdown-hero {
        padding: 4rem 0;
    }
    
    .countdown-timer {
        gap: 0.5rem;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 0.8rem 0.3rem;
    }
    
    .time-number {
        font-size: 1.5rem;
    }
    
    .time-label {
        font-size: 0.8rem;
    }
    
    /* Lesson page mobile styles */
    .demo h3 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .lesson-subtitle {
        font-size: 0.9rem;
        padding: 0 1.5rem;
    }
    
    .start-lesson-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .step-header h4 {
        font-size: 1.1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .vocabulary-card {
        padding: 0.5rem;
    }
    
    .spanish {
        font-size: 0.9rem;
    }
    
    .english {
        font-size: 0.8rem;
    }
    
    .grammar-tip p {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .chat-container {
        max-height: 250px;
    }
    
    .message-content p {
        font-size: 0.9rem;
    }
}

/* Glow Animations and Effects */
@keyframes glow-pulse {
    0% {
        text-shadow: 
            0 0 20px rgba(102, 126, 234, 0.8),
            0 0 40px rgba(102, 126, 234, 0.6),
            0 0 60px rgba(102, 126, 234, 0.4),
            0 0 80px rgba(102, 126, 234, 0.2);
    }
    100% {
        text-shadow: 
            0 0 30px rgba(102, 126, 234, 1),
            0 0 50px rgba(102, 126, 234, 0.8),
            0 0 70px rgba(102, 126, 234, 0.6),
            0 0 90px rgba(102, 126, 234, 0.4);
    }
}

@keyframes number-glow {
    0% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(102, 126, 234, 0.6),
            0 0 30px rgba(102, 126, 234, 0.4);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 1),
            0 0 25px rgba(102, 126, 234, 0.8),
            0 0 35px rgba(102, 126, 234, 0.6);
    }
}

@keyframes button-glow {
    0% {
        box-shadow: 
            0 6px 20px rgba(102, 126, 234, 0.6),
            0 0 20px rgba(102, 126, 234, 0.4);
    }
    100% {
        box-shadow: 
            0 8px 25px rgba(102, 126, 234, 0.8),
            0 0 30px rgba(102, 126, 234, 0.6);
    }
}

.glow-text {
    /* Removed glow effects - keeping class for potential future use */
}

.glow-button {
    animation: button-glow 2s ease-in-out infinite alternate;
}

.glow-effect {
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.8));
}