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

/* Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.lang-switcher a {
    text-decoration: none;
    color: #666;
    margin: 0 5px;
}

.lang-switcher a.active {
    color: #4CAF50;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.tagline {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Pain Points Section */
.pain-points {
    padding: 80px 0;
    background: #f8f9fa;
}

.pain-points h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.point-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.point-card:hover {
    transform: translateY(-5px);
}

.point-card .icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.point-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.point-card p {
    color: #666;
    line-height: 1.8;
}

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

.how-it-works h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 70px;
}

.how-step {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.how-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
}

.step-demo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.step-content h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #333;
}

.step-content p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.8;
}

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

.features h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
}

.feature h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #333;
}

.feature p {
    color: #666;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Email Form */
.email-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.email-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 1em;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.email-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.email-input::placeholder {
    color: #999;
}

.email-form .cta-button {
    flex-shrink: 0;
    margin: 0;
}

.form-note {
    font-size: 0.9em;
    margin-top: 15px;
    opacity: 0.8;
}

@media (max-width: 600px) {
    .form-group {
        flex-direction: column;
    }
    
    .email-form .cta-button {
        width: 100%;
    }
}

/* Footer */
footer {
    padding: 40px 0;
    background: #333;
    color: white;
    text-align: center;
}

/* App UI Mockups */
.app-mockup {
    width: 320px;
    margin: 30px auto 0;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.app-screen {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 600px;
}

.app-header {
    padding: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-content {
    padding: 16px;
    height: calc(100% - 60px);
    overflow-y: auto;
}

/* Dashboard Mockup */
.mock-card {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.mock-button {
    background: #3b82f6;
    color: white;
    padding: 12px 24px;
    border-radius: 9999px;
    text-align: center;
    font-weight: 500;
    display: block;
    width: 100%;
}

.mock-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mock-chart {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 100px;
    margin-top: 16px;
}

.mock-bar {
    width: 12%;
    background: #dbeafe;
    border-radius: 4px 4px 0 0;
}

/* Upload Mockup */
.camera-icon {
    width: 60px;
    height: 60px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Practice Mockup */
.mock-progress {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin: 16px 0;
    position: relative;
}

.mock-progress-fill {
    position: absolute;
    height: 100%;
    background: #3b82f6;
    border-radius: 2px;
    width: 33%;
}

.mock-question {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
}

.mock-choices {
    margin-top: 16px;
}

.mock-choice {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}

.mock-choice.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.mock-result {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    padding: 12px;
    border-radius: 8px;
    margin: 16px 0;
}

/* Bottom Navigation Mock */
.mock-bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 12px;
    border-top: 1px solid #eee;
    background: white;
}

.mock-nav-item {
    text-align: center;
    padding: 8px;
}

.mock-nav-icon {
    width: 24px;
    height: 24px;
    background: #9ca3af;
    border-radius: 4px;
    margin: 0 auto 4px;
}

.mock-nav-item.active .mock-nav-icon {
    background: #3b82f6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }
    
    .tagline {
        font-size: 1.1em;
    }
    
    .pain-points h2,
    .how-it-works h2,
    .features h2,
    .cta-section h2 {
        font-size: 2em;
    }
    
    .points-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* How It Works - Mobile Layout */
    .how-step {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .how-step:nth-child(even) {
        flex-direction: column !important;
    }
    
    .step-content {
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 20px;
    }
    
    .step-content h3 {
        font-size: 1.5em;
    }
    
    .step-content p {
        font-size: 1em;
    }
    
    .lang-switcher {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 0.9em;
    }
    
    .app-mockup {
        width: 280px;
        margin: 20px auto 0;
    }
}