:root {
    --primary: #667eea;
    --primary-dark: #5a6fd6;
    --secondary: #764ba2;
    --text-main: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-color: rgba(102, 126, 234, 0.2);
}

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

body {
    font-family: 'Outfit', 'Noto Sans SC', sans-serif;
    color: var(--text-main);
    background: #fdfdfd;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-main);
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.2s;
}

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

.btn-primary-sm {
    background: var(--primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-primary-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, rgba(118, 75, 162, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(102, 126, 234, 0.1), transparent 40%);
}

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

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: white;
    color: var(--text-main);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: background 0.2s;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #f9fafb;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 24px;
    color: var(--text-main);
}

.stat-item span {
    font-size: 14px;
    color: var(--text-light);
}

/* Hero Image & Mockup */
.hero-image {
    position: relative;
}

.mockup-window {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.mockup-header {
    background: #f3f4f6;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #10b981;
}

.mockup-content {
    padding: 32px;
    min-height: 240px;
    position: relative;
    background: #fff;
}

.article-preview h3 {
    margin-bottom: 16px;
}

.article-preview p {
    color: #4b5563;
    line-height: 1.8;
}

.imm-word {
    color: var(--primary);
    border-bottom: 2px dashed rgba(102, 126, 234, 0.3);
    cursor: pointer;
    position: relative;
}

.tooltip-demo {
    position: absolute;
    top: 55%;
    left: 40%;
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 20;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: float 3s ease-in-out infinite;
}

.tooltip-demo .word {
    font-weight: 700;
    color: var(--text-main);
}

.tooltip-demo .pronunciation {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.tooltip-demo .translation {
    font-size: 14px;
    color: var(--primary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    z-index: 20;
    white-space: nowrap;
}

.card-1 {
    top: -20px;
    right: -20px;
    animation: float 4s ease-in-out infinite 0.5s;
}

.card-2 {
    bottom: -20px;
    left: -20px;
    animation: float 4s ease-in-out infinite 1s;
}

/* Features */
.features {
    padding: 80px 0;
    background: white;
}

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

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

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

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

.feature-card {
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.bg-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.bg-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.bg-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.bg-orange {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.bg-pink {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.bg-cyan {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
}

.bg-teal {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

.bg-yellow {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.bg-indigo {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Steps */
.steps-section {
    padding: 80px 0;
    background: #f9fafb;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-num {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.step-item h3 {
    margin-bottom: 12px;
}

.step-item p {
    color: var(--text-light);
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    z-index: 10;
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.price-header {
    text-align: center;
    margin-bottom: 32px;
}

.price {
    font-size: 40px;
    font-weight: 800;
    margin: 16px 0 8px;
    color: var(--text-main);
}

.period {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
}

.yearly-price {
    font-size: 14px;
    color: #10b981;
    font-weight: 600;
}

.price-list {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.price-list li {
    margin-bottom: 16px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.full-width {
    width: 100%;
    text-align: center;
}

.btn-outline {
    display: block;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    color: var(--text-main);
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--text-main);
}

/* Footer */
.footer {
    background: #f9fafb;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-col p {
    color: var(--text-light);
    font-size: 14px;
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 14px;
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    h1 {
        font-size: 36px;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .price-card.popular {
        transform: scale(1);
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Premium Downloads Section (Light & Cohesive)
   Theme: Clean, Apple-style, Subtle
   ========================================= */

.downloads {
    position: relative;
    padding: 100px 0;
    /* Subtle gradient matching the site's overall light theme */
    background: radial-gradient(circle at top center, #f1f5f9 0%, #ffffff 70%);
    overflow: hidden;
    color: var(--text-main);
}

.section-header.premium h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header.premium p {
    color: #64748b;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Premium Grid */
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

/* Light Premium Card */
.premium-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Subtle Border & Shadow */
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
    /* Soft diffuse shadow */
    border-color: rgba(99, 102, 241, 0.1);
    /* Slight tint on hover */
}

/* Highlight Indicator */
.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.0), transparent);
    transition: all 0.4s;
}

.premium-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

/* Icons Container - Light Theme */
.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s;
}

.premium-card:hover .icon-wrapper {
    transform: scale(1.1);
}

/* Semantic Colors */
.icon-chrome {
    background: #eef2ff;
    /* Very light indigo */
    color: #4f46e5;
    /* Indigo 600 */
}

.icon-apple {
    background: #f8fafc;
    /* Slate 50 */
    color: #0f172a;
    /* Slate 900 */
}

.icon-ios {
    background: #f0f9ff;
    /* Sky 50 */
    color: #0ea5e9;
    /* Sky 500 */
}

.icon-wrapper svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}


.premium-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.premium-card p {
    color: #64748b;
    /* Slate 500 */
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
    flex-grow: 1;
    text-align: left;
}

/* Buttons - Light Theme */
.btn-glass {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-glass:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.btn-primary-filled {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    /* Brand Gradient */
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.15);
}

.btn-primary-filled:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 12px -1px rgba(99, 102, 241, 0.25);
}


/* Modal Overhaul - Light Theme */
.modal-content.premium-modal {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    /* Soft deep shadow */
}

.modal-header {
    background: #f8fafc;
    padding: 20px 32px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    color: #0f172a;
}

.premium-modal .close-modal {
    bottom: -25px;
}

.install-steps {
    text-align: left;
    margin-top: 20px;
}

.install-steps ol {
    margin-left: 20px;
    color: var(--text-light);
}

.install-steps li {
    margin-bottom: 10px;
}

.premium-steps li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 15px;
}

.step-number {
    background: rgba(255, 255, 255, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.qr-box {
    background: white;
    padding: 20px;
    border-radius: 16px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 900px) {
    .download-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-image,
.section-header,
.feature-card,
.step-item,
.price-card,
.premium-card {
    animation: fadeInUp 0.6s ease-out both;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.step-item:nth-child(1) {
    animation-delay: 0.1s;
}

.step-item:nth-child(2) {
    animation-delay: 0.2s;
}

.step-item:nth-child(3) {
    animation-delay: 0.3s;
}

.price-card:nth-child(1) {
    animation-delay: 0.1s;
}

.price-card:nth-child(2) {
    animation-delay: 0.2s;
}

.price-card:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-image {
    animation-delay: 0.3s;
}

/* Enhanced Button Hover */
.btn-primary:hover,
.btn-primary-sm:hover,
.btn-primary-filled:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

/* Card Hover Glow */
.feature-card:hover {
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.12);
}

/* Floating Cards Animation */
.floating-card {
    animation: float-subtle 4s ease-in-out infinite;
}

@keyframes float-subtle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.floating-card.card-2 {
    animation-delay: 1s;
}


/* Feature icon SVG styling */
.feature-icon svg {
    width: 28px;
    height: 28px;
}