:root {
    --bg-color: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(148, 163, 184, 0.1);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    width: 100%;
}

/* Background Glows Container */
.glow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-2 {
    position: absolute;
    top: 400px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
}

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

/* Navigation */
nav {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 20px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-speed);
}

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

.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-select {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition-speed);
}

.lang-select:hover, .lang-select:focus {
    border-color: rgba(139, 92, 246, 0.3);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c084fc;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.google-play-btn {
    display: inline-block;
    height: 56px;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 8px;
}

.google-play-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.google-play-img {
    height: 56px;
    display: block;
    border-radius: 8px;
}

/* Hero Graphic (Interactive eBook Mockup) */
.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mockup {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 24px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
    position: relative;
    transform: perspective(800px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s;
}

.mockup:hover {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
}

.mockup-title {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.text-block {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
}

.text-block.original {
    border-left: 3px solid var(--accent-blue);
}

.text-block.translated {
    border-left: 3px solid var(--accent-purple);
    background: rgba(139, 92, 246, 0.03);
}

.text-lang {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 6px;
}

.original .text-lang { color: var(--accent-blue); }
.translated .text-lang { color: #a78bfa; }

.text-content {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
}

/* Features Grid */
.features {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.3);
    border-top: 1px solid rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    transition: all var(--transition-speed);
    backdrop-filter: blur(8px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.05);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    margin-bottom: 24px;
}

.card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* Detail Section */
.detail-section {
    padding: 100px 0;
    display: flex;
    align-items: center;
    gap: 80px;
}

.detail-section.reverse {
    flex-direction: row-reverse;
}

.detail-content {
    flex: 1;
}

.detail-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.detail-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
}

.detail-bullets {
    list-style: none;
}

.detail-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #cbd5e1;
}

.detail-bullets svg {
    color: #34d399;
    flex-shrink: 0;
}

.detail-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 0 30px;
    background-color: #0b0f19;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 12px;
}

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

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-speed);
}

.footer-col ul li a:hover {
    color: var(--text-primary);
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 16px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 40px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-graphic {
        width: 100%;
    }

    .detail-section, .detail-section.reverse {
        flex-direction: column;
        padding: 60px 0;
        gap: 40px;
        text-align: center;
    }
    
    .detail-bullets li {
        justify-content: center;
    }

    .footer-links {
        width: 100%;
        justify-content: space-between;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide links on tablet and mobile */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}
