﻿/* ============================================
   Polly - Landing Page (Light Theme)
   ============================================ */

/* Light Theme Overrides */
.landing-page {
    background: #FFFFFF;
    color: #1A1A2E;
}

/* Navbar */
.landing-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.landing-nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1A1A2E;
}

.nav-logo img { width: 36px; height: 36px; border-radius: 50%; }

.nav-logo span {
    background: linear-gradient(135deg, #3AAFFF, #1E88E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 10px; }

.nav-btn-ghost {
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn-ghost:hover {
    background: #F1F5F9;
    color: #1A1A2E;
}

.nav-btn-solid {
    padding: 9px 22px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(135deg, #3AAFFF, #1E88E5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-btn-solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(58, 175, 255, 0.35);
    color: #FFFFFF;
}

/* Hero Section */
.hero-section {
    padding: 120px 24px 80px;
    background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(58, 175, 255, 0.06) 0%, transparent 70%);
    top: -15%; right: -10%;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.04) 0%, transparent 70%);
    bottom: -10%; left: -5%;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #1A1A2E;
}

.hero-text h1 span {
    background: linear-gradient(135deg, #3AAFFF, #1565C0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    color: #64748B;
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-btn-primary {
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #3AAFFF, #1E88E5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(58, 175, 255, 0.35);
    color: #FFFFFF;
}

.hero-btn-outline {
    padding: 13px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.hero-btn-outline:hover {
    border-color: #3AAFFF;
    color: #3AAFFF;
    background: rgba(58, 175, 255, 0.04);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hero-stat-card {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hero-stat-card:hover {
    border-color: rgba(58, 175, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(58, 175, 255, 0.1);
}

.hero-stat-card .h-stat-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.hero-stat-card .h-stat-value {
    font-size: 1.6rem; font-weight: 800; color: #1A1A2E;
}

.hero-stat-card .h-stat-label {
    color: #94A3B8;
    font-size: 0.8rem;
    margin-top: 3px;
}

/* Modules Section */
.modules-section {
    padding: 80px 24px;
    background: #FFFFFF;
    border-top: 1px solid #F1F5F9;
}

.modules-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 32px;
}

.modules-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1A1A2E;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modules-header h2 i { color: #3AAFFF; }

.modules-header .section-tag {
    display: inline-block;
    background: rgba(58, 175, 255, 0.1);
    color: #1E88E5;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.module-card {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.module-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.module-card:hover {
    border-color: rgba(58, 175, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(58, 175, 255, 0.1);
}

.module-card:hover::after { opacity: 1; }

.module-card.mod-vocabulary::after { background: #3AAFFF; }
.module-card.mod-grammar::after { background: #00C853; }
.module-card.mod-reading::after { background: #FFB300; }
.module-card.mod-listening::after { background: #AB47BC; }
.module-card.mod-speaking::after { background: #FF5252; }
.module-card.mod-writing::after { background: #00BCD4; }
.module-card.mod-translation::after { background: #FF9800; }

.module-card .mod-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.module-card .mod-icon.vocabulary { background: rgba(58, 175, 255, 0.1); color: #1E88E5; }
.module-card .mod-icon.grammar { background: rgba(0, 200, 83, 0.1); color: #00C853; }
.module-card .mod-icon.reading { background: rgba(255, 179, 0, 0.1); color: #F59E0B; }
.module-card .mod-icon.listening { background: rgba(171, 71, 188, 0.1); color: #AB47BC; }
.module-card .mod-icon.speaking { background: rgba(255, 82, 82, 0.1); color: #FF5252; }
.module-card .mod-icon.writing { background: rgba(0, 188, 212, 0.1); color: #00BCD4; }
.module-card .mod-icon.translation { background: rgba(255, 152, 0, 0.1); color: #FF9800; }

.module-card h3 {
    font-size: 1rem; font-weight: 700;
    margin-bottom: 8px; color: #1A1A2E;
}

.module-card p {
    color: #94A3B8;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
    border-top: 1px solid #F1F5F9;
}

.cta-card {
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(135deg, #EFF6FF, #F0F7FF);
    border: 1px solid rgba(58, 175, 255, 0.15);
    border-radius: 20px;
    padding: 52px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(58, 175, 255, 0.08) 0%, transparent 70%);
    top: -40%; right: -10%;
}

.cta-card h2 {
    font-size: 1.8rem; font-weight: 800;
    margin-bottom: 10px; color: #1A1A2E;
    position: relative;
}

.cta-card p {
    color: #64748B;
    margin-bottom: 28px;
    font-size: 1rem;
    position: relative;
}

.cta-card .hero-buttons { justify-content: center; position: relative; }

/* Footer */
.landing-footer {
    padding: 28px 24px;
    text-align: center;
    color: #94A3B8;
    font-size: 0.8rem;
    border-top: 1px solid #F1F5F9;
    background: #FAFBFC;
}

.landing-footer a { color: #3AAFFF; font-weight: 500; }
.landing-footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
}

@media (max-width: 600px) {
    .hero-text h1 { font-size: 2.1rem; }
    .hero-stats-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .modules-header { flex-direction: column; gap: 12px; align-items: flex-start; }
    .cta-card { padding: 36px 20px; }
    .cta-card h2 { font-size: 1.4rem; }
    .nav-btn-ghost { display: none; }
}
