/* ===== Landing Page ===== */
html { height: 100%; }
.landing-body {
    background: #fff; color: #1a202c;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-main { flex: 1; min-height: calc(100vh - 133px); }

/* Navbar */
.landing-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95);
               backdrop-filter: blur(8px); border-bottom: 1px solid #e2e8f0; }
.landing-nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px;
                     height: 60px; display: flex; align-items: center; justify-content: space-between; }
.landing-brand { font-size: 20px; font-weight: 800; color: #4f8ef7; text-decoration: none; }
.landing-brand:hover { text-decoration: none; }
.landing-nav-links { display: flex; gap: 8px; }

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

/* Hero */
.hero { background: linear-gradient(160deg, #f0f5ff 0%, #e8f0fe 60%, #f5f7fb 100%);
        padding: 80px 0 60px; text-align: center; }
.hero-badge { display: inline-block; background: #e8f0fe; color: #4f8ef7;
              font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px;
              margin-bottom: 20px; letter-spacing: 0.5px; }
.hero-title { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.15;
              margin-bottom: 20px; color: #1a202c; }
.hero-sub { font-size: clamp(15px, 2vw, 18px); color: #718096; max-width: 560px;
            margin: 0 auto 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.btn-lg { padding: 13px 28px; font-size: 16px; border-radius: 10px; }
.btn-outline { background: transparent; border: 2px solid #4f8ef7; color: #4f8ef7;
               display: inline-flex; align-items: center; justify-content: center;
               padding: 11px 26px; font-size: 16px; border-radius: 10px; font-weight: 500;
               cursor: pointer; transition: all 0.15s; text-decoration: none; }
.btn-outline:hover { background: #4f8ef7; color: #fff; text-decoration: none; }

/* Demo score row */
.hero-score-demo { display: inline-block; background: #fff; border-radius: 14px;
                   padding: 20px 28px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.hero-demo-label { display: block; font-size: 12px; color: #718096; margin-bottom: 12px; }
.hero-score-row { display: flex; gap: 6px; justify-content: center; margin-bottom: 8px; }
.demo-score { display: flex; align-items: center; justify-content: center;
              width: 36px; height: 36px; border-radius: 50%; font-weight: 700;
              font-size: 13px; border: 2px solid transparent; }
.demo-detractor { background: #fff3f3; color: #f44336; border-color: #ffcdd2; }
.demo-passive   { background: #fff8e1; color: #ff9800; border-color: #ffe082; }
.demo-promoter  { background: #f1f8e9; color: #558b2f; border-color: #aed581; }
.hero-demo-labels { display: flex; justify-content: space-between; font-size: 11px; color: #718096; }

/* Stats strip */
.stats-strip { background: #4f8ef7; padding: 32px 0; }
.stats-inner { display: flex; align-items: center; justify-content: center;
               gap: 0; flex-wrap: wrap; }
.stat-item   { text-align: center; padding: 8px 32px; }
.stat-value  { font-size: 22px; font-weight: 800; color: #fff; }
.stat-label  { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }

/* Features */
.features { padding: 80px 0; background: #fff; }
.section-title { font-size: clamp(22px, 3vw, 32px); font-weight: 700; text-align: center;
                 margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px 24px;
                transition: box-shadow 0.2s; }
.feature-card:hover { box-shadow: 0 4px 20px rgba(79,142,247,0.12); border-color: #c3d9ff; }
.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: #718096; line-height: 1.6; }

/* How it works */
.how-it-works { padding: 80px 0; background: #f8faff; }
.steps { display: flex; align-items: flex-start; justify-content: center;
         gap: 0; flex-wrap: wrap; }
.step  { display: flex; flex-direction: column; align-items: center; text-align: center;
         max-width: 180px; }
.step-number { width: 48px; height: 48px; border-radius: 50%; background: #4f8ef7;
               color: #fff; font-size: 20px; font-weight: 800;
               display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step-content h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step-content p  { font-size: 13px; color: #718096; line-height: 1.5; }
.step-arrow { font-size: 24px; color: #c3d9ff; margin: 0 12px; padding-top: 12px; align-self: flex-start; }

/* CTA */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, #4f8ef7 0%, #2563eb 100%); }
.cta-inner   { text-align: center; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-inner p  { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.cta-inner .btn-primary { background: #fff; color: #4f8ef7; font-weight: 700; }
.cta-inner .btn-primary:hover { opacity: 0.92; }

/* Footer */
.landing-footer { background: #1a202c; padding: 24px 0; }
.landing-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.landing-footer .logo-text { color: #a0aec0; font-size: 16px; }
.landing-footer .logo-deg  { color: #ff9800; }
.footer-copy { font-size: 13px; color: #718096; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero { padding: 48px 0 40px; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .steps { flex-direction: column; align-items: center; gap: 8px; }
    .step-arrow { transform: rotate(90deg); padding: 0; margin: 4px 0; }
    .stat-divider { display: none; }
    .stat-item { padding: 8px 16px; }
    .stats-inner { gap: 0; }
    .landing-footer-inner { justify-content: center; text-align: center; }

    /* Compact navbar */
    .landing-nav-inner { padding: 0 12px; }
    .landing-brand { font-size: 16px; white-space: nowrap; }
    .landing-nav-links { gap: 6px; }
    .landing-nav-links .btn { padding: 6px 10px; font-size: 13px; }

    /* Fit demo row */
    .hero-score-demo { padding: 14px 12px; width: 100%; box-sizing: border-box; }
    .hero-score-row { gap: 3px; }
    .demo-score { width: 26px; height: 26px; font-size: 11px; border-width: 1.5px; }
    .hero-demo-labels { font-size: 10px; }
}

/* ===== Lang switcher ===== */
.lang-switcher { display: flex; gap: 2px; margin-right: 4px; }
.lang-btn { font-size: 12px; font-weight: 600; color: #718096; padding: 4px 8px;
            border-radius: 6px; text-decoration: none; transition: all 0.15s; }
.lang-btn:hover { background: #f0f5ff; color: #4f8ef7; text-decoration: none; }
.lang-active { background: #e8f0fe; color: #4f8ef7; }

/* ===== Trial Popup ===== */
.trial-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.45); backdrop-filter: blur(3px);
    display: flex; align-items: center; justify-content: center; padding: 16px;
    opacity: 0; transition: opacity 0.3s;
}
.trial-overlay.trial-visible { opacity: 1; }
.trial-card {
    position: relative; background: #fff; border-radius: 18px;
    padding: 36px 32px 28px; max-width: 380px; width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    transform: translateY(20px); transition: transform 0.3s;
    text-align: center;
}
.trial-overlay.trial-visible .trial-card { transform: translateY(0); }
.trial-close {
    position: absolute; top: 14px; right: 16px;
    background: none; border: none; font-size: 22px; color: #a0aec0;
    cursor: pointer; line-height: 1; padding: 4px;
}
.trial-close:hover { color: #4a5568; }
.trial-icon    { font-size: 36px; margin-bottom: 12px; }
.trial-title   { font-size: 20px; font-weight: 800; color: #1a202c; margin-bottom: 14px; }
.trial-perks   { list-style: none; padding: 0; margin: 0 0 18px; text-align: left;
                 display: inline-block; }
.trial-perks li { font-size: 15px; color: #2d3748; margin-bottom: 6px; }
.trial-price   { margin-bottom: 20px; }
.trial-price-old { font-size: 15px; color: #a0aec0; text-decoration: line-through; margin-right: 8px; }
.trial-price-new { font-size: 26px; font-weight: 800; color: #1a202c; }
.trial-price-period { font-size: 14px; font-weight: 400; color: #718096; }
.trial-btn     { margin-bottom: 10px; font-size: 16px; padding: 13px 28px; }
.trial-dismiss { background: none; border: none; font-size: 13px; color: #a0aec0;
                 cursor: pointer; padding: 4px 8px; }
.trial-dismiss:hover { color: #718096; }

@media (max-width: 480px) {
    .landing-nav-inner { padding: 0 16px; }
    .landing-container { padding: 0 16px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-lg { width: 100%; max-width: 300px; }
    .features-grid { grid-template-columns: 1fr; }
}
