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

:root {
    --primary-color: #4A90E2;
    --secondary-color: #7B68EE;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --text-light: #ffffff;
    --text-muted: #b8b8b8;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

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

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

/* Navigation */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
}

.logo {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.cta-button {
    background: var(--gradient-primary);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/pattern.png') repeat;
    opacity: 0.05;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    color: var(--text-light);
    z-index: 1;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: flex-start;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.apple-icon {
    width: 20px;
    height: 20px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

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

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Screenshots Gallery */
.screenshots-gallery {
    padding: 80px 0;
    background: white;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.screenshot-item {
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    padding: 25px;
    text-align: center;
}

.screenshot-caption h4 {
    font-size: 1.3rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.screenshot-caption p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Gameplay Section */
.gameplay {
    padding: 80px 0;
    background: var(--gradient-dark);
    color: white;
}

.gameplay .section-title {
    color: white;
}

.gameplay-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.video-placeholder {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.video-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}

.gameplay-modes h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.mode-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mode-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.mode-item:hover {
    background: rgba(255,255,255,0.15);
}

.mode-icon {
    font-size: 2rem;
}

.mode-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.mode-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Content Section */
.content {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.tense-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.tense-card.unlocked {
    opacity: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tense-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.tense-level {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.2);
    padding: 5px 10px;
    border-radius: 15px;
}

.tense-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tense-card p {
    font-size: 0.9rem;
    font-style: italic;
}

/* Premium Section */
.premium {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.premium-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.premium-info h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

.premium-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.premium-features {
    list-style: none;
    margin-bottom: 30px;
}

.premium-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.check {
    color: var(--success-color);
    font-size: 1.5rem;
}

.premium-price {
    display: inline-block;
    background: var(--gradient-primary);
    padding: 20px 40px;
    border-radius: 10px;
    color: white;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.price-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

.premium-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: var(--gradient-dark);
    color: white;
    text-align: center;
}

.download .section-title {
    color: white;
}

.download-content {
    margin: 40px 0;
}

.app-store-placeholder {
    display: inline-block;
}

.placeholder-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    min-width: 200px;
}

.placeholder-box:hover {
    transform: scale(1.05);
}

.placeholder-box span {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.placeholder-box p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.placeholder-box small {
    font-size: 0.9rem;
    opacity: 0.8;
}

.download-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.feature-check span {
    color: var(--success-color);
    font-size: 1.5rem;
}

.qr-code {
    margin-top: 40px;
}

.qr-placeholder {
    display: inline-block;
}

.placeholder-qr {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    border: 2px dashed #ddd;
}

.placeholder-qr span {
    font-size: 2rem;
    margin-bottom: 8px;
}

.placeholder-qr p {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.placeholder-qr small {
    font-size: 0.75rem;
    opacity: 0.7;
}

.qr-code p {
    margin-top: 10px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    color: white;
    padding: 40px 0;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

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

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

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

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Privacy Policy Styles */
.privacy-policy {
    padding: 100px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.policy-title {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 30px;
    text-align: center;
}

.policy-meta {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.policy-meta p {
    color: #666;
    margin-bottom: 10px;
}

.policy-intro {
    background: var(--gradient-primary);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.policy-intro p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.policy-intro p:last-child {
    margin-bottom: 0;
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
}

.policy-section p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.policy-section li {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.policy-section a:hover {
    text-decoration: underline;
}

.back-to-home {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat {
        text-align: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        margin-top: 40px;
    }
    
    .gameplay-showcase {
        grid-template-columns: 1fr;
    }
    
    .premium-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tenses-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}