/* ===== CSS Variables ===== */
:root {
    /* Light Mode (Default) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    --eco-green: #2ECC71;
    --eco-green-dark: #27AE60;
    --eco-green-glow: rgba(46, 204, 113, 0.2);
    --gold: #F59E0B;
    --blue: #3498DB;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --border-color: #E2E8F0;
    --gradient-green: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(46, 204, 113, 0.08) 0%, transparent 70%);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(46, 204, 113, 0.15);
    --navbar-bg: rgba(255, 255, 255, 0.9);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --container-width: 1200px;
    --navbar-height: 80px;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #0D1117;
    --bg-secondary: #161B22;
    --bg-card: #1C2128;
    --bg-card-hover: #22272E;
    --eco-green: #2ECC71;
    --eco-green-dark: #27AE60;
    --eco-green-glow: rgba(46, 204, 113, 0.3);
    --gold: #FFD700;
    --blue: #3498DB;
    --text-primary: #FFFFFF;
    --text-secondary: #8B949E;
    --text-muted: #6E7681;
    --border-color: #30363D;
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(46, 204, 113, 0.15) 0%, transparent 70%);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(46, 204, 113, 0.2);
    --navbar-bg: rgba(13, 17, 23, 0.9);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-store {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    gap: 10px;
}

.btn-store svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.btn-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-store-small {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.2;
}

.btn-store-big {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.btn-store:hover {
    background: var(--bg-card-hover);
    border-color: var(--eco-green);
    transform: translateY(-2px);
}

.btn-store.btn-large {
    padding: 14px 24px;
}

.btn-store.btn-large svg {
    width: 28px;
    height: 28px;
}

.btn-store.btn-large .btn-store-big {
    font-size: 18px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--eco-green);
}

.logo img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-toggle:hover {
    border-color: var(--eco-green);
}

.lang-option {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.lang-option.active {
    color: var(--eco-green);
    font-weight: 600;
}

.lang-divider {
    color: var(--text-muted);
    font-size: 12px;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 18px;
}

.theme-toggle:hover {
    border-color: var(--eco-green);
    transform: scale(1.05);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    display: none;
}

.theme-toggle .icon-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: block;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-medium);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--navbar-height) + 60px);
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-text {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--eco-green);
}

.badge-icon {
    font-size: 16px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

[data-theme="dark"] .hero h1 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 300px;
    padding: 12px;
    background: linear-gradient(145deg, #E2E8F0 0%, #CBD5E1 100%);
    border-radius: 40px;
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

[data-theme="dark"] .phone-mockup {
    background: linear-gradient(145deg, #2a2f36 0%, #1a1f26 100%);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 12px;
    z-index: 10;
}

.phone-mockup img {
    width: 100%;
    border-radius: 28px;
}

.phone-mockup.small {
    width: 240px;
    padding: 10px;
    border-radius: 32px;
}

.phone-mockup.small::before {
    width: 60px;
    height: 18px;
    border-radius: 10px;
}

.phone-mockup.small img {
    border-radius: 22px;
}

/* ===== Stats Section ===== */
.stats {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all var(--transition-medium);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--eco-green);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--eco-green);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number[data-i18n="comingSoon"] {
    font-size: 28px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-card.reverse {
    direction: rtl;
}

.feature-card.reverse > * {
    direction: ltr;
}

.feature-image {
    display: flex;
    justify-content: center;
}

.feature-content {
    max-width: 480px;
}

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

.feature-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-content p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    transition: all var(--transition-medium);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--eco-green);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--eco-green), transparent);
    margin-top: 80px;
}

/* ===== CTA Section ===== */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(46, 204, 113, 0.15) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    text-align: center;
}

.cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

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

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--eco-green);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background: var(--eco-green);
    border-color: var(--eco-green);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 44px;
    }

    .hero-content {
        gap: 40px;
    }

    .phone-mockup {
        width: 260px;
    }

    .feature-card {
        gap: 40px;
    }

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

    .cta h2 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
    }

    .nav-buttons {
        display: none;
    }

    .navbar-right .lang-toggle {
        display: none;
    }

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

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding-top: calc(var(--navbar-height) + 40px);
    }

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

    .hero-text {
        max-width: 100%;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

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

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 220px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .feature-card,
    .feature-card.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
        text-align: center;
    }

    .feature-content {
        max-width: 100%;
    }

    .feature-content h3 {
        font-size: 26px;
    }

    .features-grid {
        gap: 60px;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--eco-green), transparent);
        margin: 0;
    }

    .cta h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-store.btn-large {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 28px;
    }
}
