/* ═══════════════════════════════════════
   Lorem Express — Website Styles
   Material Design inspired, matching
   the extension's #4CAF50 green theme
   ═══════════════════════════════════════ */

:root {
    --green-primary: #4CAF50;
    --green-dark: #2E7D32;
    --green-light: #81C784;
    --green-bg: #E8F5E9;
    --yellow-bmc: #FFDD00;
    --dark: #1a1a2e;
    --dark-card: #222240;
    --text-primary: #222;
    --text-secondary: #666;
    --text-light: #999;
    --bg: #fafafa;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* ── Language Toggle ── */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 4px;
    box-shadow: var(--shadow);
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    color: var(--text-secondary);
    transition: var(--transition);
    font-family: inherit;
}

.lang-btn.active {
    background: var(--green-primary);
    color: white;
}

.lang-btn:hover:not(.active) {
    background: var(--green-bg);
    color: var(--green-dark);
}

/* ── Hero ── */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
    color: white;
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(76, 175, 80, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-subtitle kbd {
    background: rgba(76, 175, 80, 0.25);
    border: 1px solid rgba(76, 175, 80, 0.4);
    border-radius: 4px;
    padding: 2px 8px;
    font-family: 'Roboto Mono', monospace;
    font-size: 15px;
    color: var(--green-light);
}

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

.hero-video-wrapper {
    flex: 0 0 420px;
}

.hero-video {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--green-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.35);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-bmc {
    background: var(--yellow-bmc);
    color: #000;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(255, 221, 0, 0.35);
}

.btn-bmc:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 221, 0, 0.4);
}

/* ── Features ── */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features h2,
.demo-section h2,
.how-it-works h2,
.support-section h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

/* ── Demo Section (Screenshots) ── */
.demo-section {
    padding: 80px 0;
    background: var(--green-bg);
}

.demo-screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.demo-screenshot {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    background: white;
}

.demo-screenshot:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.demo-screenshot img {
    width: 100%;
    display: block;
}

/* ── How It Works ── */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.steps {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 280px;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green-primary);
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.step h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ── Support ── */
.support-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.support-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: center;
}

.support-text {
    max-width: 420px;
}

.support-text h2 {
    text-align: left;
    margin-bottom: 16px;
}

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

.support-qr {
    text-align: center;
}

.qr-img {
    width: 160px;
    height: 160px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.qr-img:hover {
    transform: scale(1.05);
}

.support-qr small {
    display: block;
    margin-top: 8px;
    color: var(--text-light);
    font-size: 12px;
}

/* ── Footer ── */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 32px 0;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: white;
}

.footer-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ── Privacy Page ── */
.privacy-page {
    padding: 80px 0 60px;
    min-height: calc(100vh - 100px);
}

.privacy-page .container {
    max-width: 720px;
}

.back-link {
    display: inline-block;
    color: var(--green-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--green-dark);
}

.privacy-page h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.privacy-date {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 40px;
}

.privacy-page h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--green-dark);
    margin-top: 32px;
    margin-bottom: 12px;
}

.privacy-page p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.privacy-page ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.privacy-page li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.7;
}

.privacy-page a {
    color: var(--green-primary);
    text-decoration: none;
}

.privacy-page a:hover {
    text-decoration: underline;
}

.privacy-page code {
    background: var(--green-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--green-dark);
}

/* ═══════════════════════
   Responsive
   ═══════════════════════ */

@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-video-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 480px;
        order: 2;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .support-inner {
        flex-direction: column;
        text-align: center;
    }

    .support-text h2 {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 80px 0 60px;
    }

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

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

    .hero-icon {
        width: 44px;
        height: 44px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features h2,
    .demo-section h2,
    .how-it-works h2,
    .support-section h2 {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .privacy-page h1 {
        font-size: 28px;
    }
}