/* ---- base.html shared ---- */

html { overflow-x: hidden; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #0f172a; line-height: 1.6; background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

.ssr-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(148,163,184,0.18); padding: 0.75rem 1.5rem; }
.ssr-header-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; }
.ssr-nav { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
.ssr-nav-link { padding: 0.4rem 0.7rem; border-radius: 8px; font-size: 0.85rem; font-weight: 500; color: #475569; text-decoration: none; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.ssr-nav-link:hover { background: #f1f5f9; color: #0f172a; text-decoration: none; }
.ssr-nav-link.active { color: #1d4ed8; font-weight: 600; }
.ssr-logo { font-weight: 800; font-size: 1.15rem; color: #0f172a; text-decoration: none; }
.ssr-header-right { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.ssr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 2.5rem; padding: 0.55rem 1rem; border-radius: 999px; font-size: 0.88rem; font-weight: 700; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.ssr-btn:hover { transform: translateY(-1px); text-decoration: none; }
.ssr-btn-primary { color: #fff; background: linear-gradient(135deg, #1d4ed8, #2563eb); box-shadow: 0 8px 20px rgba(29,78,216,0.2); }
.ssr-btn-primary:hover { box-shadow: 0 12px 28px rgba(29,78,216,0.3); }

        /* Lang Picker */
        .lang-picker { position: relative; }
        .lang-trigger { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.65rem; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; cursor: pointer; font-size: 0.8rem; font-weight: 600; color: #334155; font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s; }
        .lang-trigger:hover { border-color: #93c5fd; box-shadow: 0 0 0 2px rgba(59,130,246,0.1); }
        .lang-trigger .arrow { font-size: 0.6rem; transition: transform 0.2s; }
        .lang-picker.open .lang-trigger .arrow { transform: rotate(180deg); }
        .lang-trigger-flag { font-size: 1rem; line-height: 1; }

        .lang-dropdown { display: none; position: absolute; top: calc(100% + 6px); right: 0; width: 210px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 16px 40px rgba(15,23,42,0.14); z-index: 300; overflow: hidden; }
        .lang-picker.open .lang-dropdown { display: block; }
        .lang-dropdown-search { padding: 0.5rem; border-bottom: 1px solid #f1f5f9; }
        .lang-dropdown-search input { width: 100%; padding: 0.4rem 0.6rem; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.82rem; font-family: inherit; outline: none; background: #f8fafc; transition: border-color 0.15s; }
        .lang-dropdown-search input:focus { border-color: #93c5fd; background: #fff; }
        .lang-dropdown-search input::placeholder { color: #94a3b8; }

        .lang-list { max-height: 280px; overflow-y: auto; padding: 0.25rem 0; }
        .lang-list::-webkit-scrollbar { width: 3px; }
        .lang-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

        .lang-item { display: flex; align-items: center; gap: 0.45rem; width: 100%; padding: 0.38rem 0.65rem; border: none; background: transparent; cursor: pointer; font-size: 0.85rem; font-family: inherit; color: #334155; transition: background 0.1s; text-align: left; }
        .lang-item:hover { background: #f1f5f9; }
        .lang-item.active { background: #eff6ff; color: #1d4ed8; font-weight: 600; }
        .lang-item-flag { font-size: 0.95rem; line-height: 1; flex-shrink: 0; width: 1.3rem; text-align: center; }
        .lang-no-results { padding: 0.75rem; text-align: center; color: #94a3b8; font-size: 0.82rem; }

        .lang-backdrop { display: none; position: fixed; inset: 0; z-index: 299; }
        .lang-picker.open .lang-backdrop { display: block; }

        /* Footer */
        .ssr-footer { padding: 0.5rem 1rem; border-top: 1px solid rgba(148,163,184,0.18); }
        .ssr-footer-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0.15rem 0.75rem; }
        .ssr-footer-copy { color: #94a3b8; font-size: 0.78rem; white-space: nowrap; }
        .ssr-footer-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0.15rem 0.5rem; }
        .ssr-footer-nav a { color: #94a3b8; font-size: 0.78rem; text-decoration: none; font-weight: 500; white-space: nowrap; transition: color 0.15s; }
        .ssr-footer-nav a:hover { color: #1d4ed8; }
        @media (min-width: 640px) {
            .ssr-footer-inner { flex-wrap: nowrap; justify-content: space-between; }
            .ssr-footer-copy { font-size: 0.82rem; }
            .ssr-footer-nav { gap: 0; flex-wrap: nowrap; }
            .ssr-footer-nav a { font-size: 0.85rem; padding: 0.1rem 0.6rem; }
            .ssr-footer-nav a + a { border-left: 1px solid rgba(203,213,225,0.6); }
        }

@media (max-width: 768px) {
    .ssr-header { padding: 0.5rem 0.6rem; }
    .ssr-header-inner { gap: 0.5rem; }
    .ssr-logo { font-size: 1rem; }
    .ssr-header-right { gap: 0.3rem; }
    .ssr-btn { font-size: 0.75rem; padding: 0.4rem 0.65rem; min-height: 2rem; }
    .lang-trigger { padding: 0.3rem 0.5rem; font-size: 0.75rem; }
    .mob-nav-btn { width: 32px; height: 32px; }
    .mob-nav-btn span { width: 16px; height: 2px; }
    .ssr-nav { display: none; }
}

        /* Mobile nav hamburger */
        .mob-nav-btn { display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #e2e8f0; border-radius: 8px; background: transparent; cursor: pointer; padding: 0; }
        .mob-nav-btn span { display: block; width: 18px; height: 2px; background: #334155; border-radius: 1px; }
        @media (max-width: 768px) { .mob-nav-btn { display: flex; } }

        /* Mobile nav overlay */
        .mob-nav { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(15,23,42,0.5); }
        .mob-nav.open { display: block; }
        .mob-nav-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(300px, 88vw); background: #fff; display: flex; flex-direction: column; padding: 1.25rem; box-shadow: -8px 0 32px rgba(15,23,42,0.18); overflow-y: auto; }
        .mob-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #f1f5f9; }
.mob-nav-brand { font-weight: 800; font-size: 1.15rem; color: #0f172a; }
        .mob-nav-close { border: none; background: none; cursor: pointer; padding: 6px; color: #64748b; font-size: 1.1rem; line-height: 1; border-radius: 6px; }
        .mob-nav-close:hover { background: #f1f5f9; color: #0f172a; }
        .mob-nav-links { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
        .mob-nav-link { display: block; padding: 0.75rem 1rem; border-radius: 10px; font-size: 1rem; font-weight: 500; color: #334155; text-decoration: none; transition: background 0.15s; }
        .mob-nav-link:hover { background: #f1f5f9; color: #0f172a; text-decoration: none; }
        .mob-nav-link.active { background: #eff6ff; color: #1d4ed8; font-weight: 600; }
        .mob-nav-cta { display: block; margin-top: 1rem; text-align: center; border-radius: 10px; }

        @media (max-width: 600px) {
            .lang-dropdown {
                position: fixed;
                top: 58px;
                left: 12px;
                right: 12px;
                width: auto;
                max-width: none;
                border-radius: 12px;
                max-height: 65vh;
            }
            .lang-list { max-height: calc(65vh - 56px); }
        }
        {% block extra_styles %}{% endblock %}

/* ---- index.html page ---- */

.about-page {
    margin: -1.5rem calc(50% - 50vw) 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 28%),
                linear-gradient(180deg, #f8fbff 0%, #ffffff 22%, #f7fafc 100%);
    color: #0f172a;
}
.hero-section { position: relative; overflow: hidden; padding: 5.5rem 1.5rem 4.5rem; background: radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.22), transparent 24%), radial-gradient(circle at 85% 20%, rgba(167, 139, 250, 0.28), transparent 26%), linear-gradient(135deg, #061a40 0%, #0f3a78 52%, #155eef 100%); }
.hero-orb { position: absolute; border-radius: 999px; filter: blur(16px); opacity: 0.55; }
.hero-orb-left { top: 3rem; left: -6rem; width: 16rem; height: 16rem; background: rgba(34, 211, 238, 0.18); }
.hero-orb-right { right: -5rem; bottom: 2rem; width: 18rem; height: 18rem; background: rgba(192, 132, 252, 0.18); }
.hero-grid { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 2rem; align-items: center; }
.hero-copy { max-width: 640px; }
.hero-badge { display: inline-flex; align-items: center; padding: 0.45rem 0.9rem; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.92); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.hero-title { margin: 0; color: #fff; font-size: clamp(2.4rem, 4vw, 4.6rem); font-weight: 800; line-height: 0.96; letter-spacing: -0.05em; }
.hero-subtitle { margin: 1.25rem 0 0; color: rgba(255,255,255,0.95); font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 600; line-height: 1.35; max-width: 48rem; }
.hero-description { margin: 1rem 0 0; color: rgba(226,232,240,0.92); font-size: 1rem; line-height: 1.75; max-width: 42rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2rem; }
.btn-primary, .btn-secondary, .btn-contact { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3rem; padding: 0.85rem 1.35rem; border-radius: 999px; font-size: 0.95rem; font-weight: 700; text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease; }
.btn-primary { border: 0; cursor: pointer; color: #0f2f6b; background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%); box-shadow: 0 18px 40px rgba(8,47,115,0.22); }
.btn-primary:hover, .btn-secondary:hover, .btn-contact:hover { transform: translateY(-1px); text-decoration: none; }
.btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }
.proof-chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.6rem 0.85rem; border-radius: 999px; background: rgba(255,255,255,0.09); color: rgba(255,255,255,0.9); font-size: 0.84rem; border: 1px solid rgba(255,255,255,0.12); }
.hero-panel { display: flex; justify-content: flex-end; }
.hero-panel-card { width: 100%; max-width: 460px; padding: 1.4rem; border-radius: 28px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 30px 60px rgba(3,15,38,0.28); backdrop-filter: blur(14px); }
.panel-kicker { color: rgba(255,255,255,0.76); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.panel-metric-grid { display: grid; gap: 0.85rem; }
.metric-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; align-items: flex-start; padding: 1rem; border-radius: 20px; background: rgba(3,7,18,0.16); }
.metric-icon, .audience-icon, .spotlight-icon, .feature-list-icon { width: 3rem; height: 3rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.metric-card strong { display: block; color: #fff; font-size: 0.98rem; margin-bottom: 0.35rem; }
.metric-card p { margin: 0; color: rgba(226,232,240,0.88); font-size: 0.88rem; line-height: 1.6; }

.section, .final-cta-section { padding: 4.75rem 1.5rem; }
.section-surface { background: rgba(241,245,249,0.66); }
.section-plain { background: transparent; }
.section-container { max-width: 1180px; margin: 0 auto; }
.section-header { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-eyebrow { margin-bottom: 0.9rem; color: #2563eb; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.section-eyebrow-light { color: rgba(219,234,254,0.82); }
.section-title { margin: 0; color: #0f172a; font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.section-title-left, .section-description-left { text-align: left; }
.section-description { margin: 1rem auto 0; color: #475569; font-size: 1rem; line-height: 1.75; max-width: 45rem; }

.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.audience-card, .spotlight-card, .feature-list-card, .pricing-card, .trust-card { border: 1px solid rgba(148,163,184,0.18); box-shadow: 0 18px 40px rgba(15,23,42,0.06); }
.audience-card { padding: 1.6rem; border-radius: 24px; background: rgba(255,255,255,0.88); }
.audience-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.audience-index { color: #94a3b8; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; }
.audience-card h3, .spotlight-card h3 { margin: 0; color: #0f172a; font-size: 1.2rem; font-weight: 700; }
.audience-card p, .spotlight-card p, .feature-list-card p, .pricing-card p, .developer-note { margin: 0.75rem 0 0; color: #475569; font-size: 0.95rem; line-height: 1.7; }

.spotlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.spotlight-card { padding: 1.6rem; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,245,249,0.88)); }
.spotlight-icon { margin-bottom: 1.2rem; }

.feature-list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.feature-list-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: flex-start; padding: 1.2rem 1.25rem; border-radius: 20px; background: rgba(255,255,255,0.92); }
.feature-list-card strong { display: block; color: #0f172a; font-size: 0.98rem; }

.section-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.pricing-column, .trust-column { min-width: 0; }
.pricing-cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
.pricing-card { padding: 1.45rem; border-radius: 22px; background: rgba(255,255,255,0.92); }
.pricing-card-free { border-color: rgba(34,197,94,0.25); }
.pricing-card-premium { border-color: rgba(59,130,246,0.25); }
.pricing-label, .developer-label { display: inline-flex; align-items: center; padding: 0.38rem 0.72rem; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.2rem; color: #1d4ed8; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: none; }
.trust-card { margin-top: 1.5rem; padding: 1.5rem; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,250,252,0.96)); }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.trust-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.95rem 1rem; border-radius: 18px; background: rgba(241,245,249,0.88); color: #1e293b; font-size: 0.9rem; font-weight: 600; line-height: 1.45; }
.trust-item-icon { width: 2.6rem; height: 2.6rem; border-radius: 0.9rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, #1d4ed8, #7c3aed); }
.developer-block { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(148,163,184,0.2); }
.developer-copy { max-width: 34rem; }
.developer-block h3 { margin: 0; color: #0f172a; font-size: 1.2rem; font-weight: 700; }
.developer-role { margin: 0.75rem 0 0; color: #334155; font-size: 0.95rem; font-weight: 700; }
.btn-contact { color: #fff; background: linear-gradient(135deg, #1d4ed8, #2563eb); white-space: nowrap; }
.final-cta-section { padding-top: 1.25rem; }
.final-cta-card { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; border-radius: 28px; background: radial-gradient(circle at top right, rgba(125,211,252,0.18), transparent 32%), linear-gradient(135deg, #082f49 0%, #0f3a78 52%, #1d4ed8 100%); box-shadow: 0 32px 60px rgba(8,47,73,0.26); }
.final-cta-title { margin: 0; color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -0.035em; }
.final-cta-description { margin: 0.95rem 0 0; max-width: 40rem; color: rgba(219,234,254,0.92); font-size: 1rem; line-height: 1.75; }
.final-cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.85rem; }
.btn-primary-light { color: #0f2f6b; background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%); }
.btn-secondary-light { color: #fff; border: 1px solid rgba(255,255,255,0.24); background: rgba(255,255,255,0.08); }
.bottom-bar { padding: 1.5rem; }
.bottom-bar-inner { display: flex; justify-content: center; }
.footer-message { display: inline-flex; align-items: center; gap: 0.55rem; color: #64748b; font-size: 0.92rem; text-align: center; }

@media (max-width: 1024px) {
    .about-page { margin-top: -0.5rem; }
    .hero-grid, .section-split, .spotlight-grid, .audience-grid, .feature-list-grid { grid-template-columns: 1fr; }
    .hero-panel { justify-content: flex-start; }
    .hero-panel-card { max-width: none; }
    .final-cta-card, .developer-block { align-items: flex-start; flex-direction: column; }
    .final-cta-actions { justify-content: flex-start; }
}
@media (max-width: 768px) {
    .about-page { margin: -0.5rem calc(50% - 50vw) 0; }
    .hero-section, .section, .final-cta-section, .bottom-bar { padding-left: 1rem; padding-right: 1rem; }
    .hero-section { padding-top: 4.4rem; padding-bottom: 3.5rem; }
    .hero-title { font-size: 2.35rem; }
    .hero-actions, .hero-proof, .final-cta-actions { flex-direction: column; }
    .btn-primary, .btn-secondary, .btn-contact { width: 100%; }
    .trust-list { grid-template-columns: 1fr; }
    .section, .final-cta-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .final-cta-card { padding: 1.5rem; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-badge, .section-eyebrow, .section-eyebrow-light { font-size: 0.74rem; }
    .metric-card, .audience-card, .spotlight-card, .feature-list-card, .pricing-card, .trust-card { border-radius: 20px; }
}

/* ---- pricing.html page ---- */

.pricing-page { margin: -1.5rem calc(50% - 50vw) 0; background: radial-gradient(circle at top left, rgba(59,130,246,0.08), transparent 28%), linear-gradient(180deg, #f8fbff 0%, #ffffff 22%, #f7fafc 100%); color: #0f172a; }
.pricing-shell { max-width: 1180px; margin: 0 auto; }

.pricing-hero { position: relative; overflow: hidden; padding: 5.5rem 1.5rem 4.5rem; background: radial-gradient(circle at 15% 20%, rgba(56,189,248,0.22), transparent 24%), radial-gradient(circle at 85% 20%, rgba(167,139,250,0.28), transparent 26%), linear-gradient(135deg, #061a40 0%, #0f3a78 52%, #155eef 100%); }
.hero-orb { position: absolute; border-radius: 999px; filter: blur(16px); opacity: 0.55; }
.hero-orb-left { top: 3rem; left: -6rem; width: 16rem; height: 16rem; background: rgba(34,211,238,0.18); }
.hero-orb-right { right: -5rem; bottom: 2rem; width: 18rem; height: 18rem; background: rgba(192,132,252,0.18); }
.pricing-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 2rem; align-items: center; }
.pricing-hero-copy { max-width: 640px; }

.section-eyebrow { margin-bottom: 0.9rem; color: #2563eb; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.section-eyebrow-light { color: rgba(219,234,254,0.82); }
.hero-title { margin: 0; color: #fff; font-size: clamp(2.4rem, 4vw, 4.2rem); font-weight: 800; line-height: 0.96; letter-spacing: -0.05em; }
.hero-subtitle { margin: 1.25rem 0 0; color: rgba(255,255,255,0.95); font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 600; line-height: 1.35; }
.hero-description { margin: 1rem 0 0; color: rgba(226,232,240,0.92); font-size: 1rem; line-height: 1.75; max-width: 42rem; }
.hero-actions, .final-cta-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2rem; }

.btn-primary, .btn-secondary, .plan-action { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3rem; padding: 0.85rem 1.35rem; border-radius: 999px; font-size: 0.95rem; font-weight: 700; text-decoration: none; transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s, color 0.18s; }
.btn-primary { border: 0; cursor: pointer; color: #0f2f6b; background: linear-gradient(135deg,#fff 0%,#dbeafe 100%); box-shadow: 0 18px 40px rgba(8,47,115,0.22); }
.btn-primary:hover, .btn-secondary:hover, .plan-action:hover { transform: translateY(-1px); text-decoration: none; }
.btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); }
.btn-primary-light { color: #0f2f6b; background: linear-gradient(135deg,#fff 0%,#dbeafe 100%); }
.btn-secondary-light { color: #fff; border: 1px solid rgba(255,255,255,0.24); background: rgba(255,255,255,0.08); }

.pricing-hero-panel { display: flex; justify-content: flex-end; }
.hero-panel-card { width: 100%; max-width: 470px; padding: 1.4rem; border-radius: 28px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 30px 60px rgba(3,15,38,0.28); backdrop-filter: blur(14px); }
.panel-kicker { color: rgba(255,255,255,0.76); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.hero-plan-highlight { padding: 1rem 1.05rem; border-radius: 20px; background: rgba(3,7,18,0.16); }
.highlight-price { display: flex; align-items: baseline; gap: 0.45rem; }
.highlight-amount { color: #fff; font-size: 2.2rem; font-weight: 800; line-height: 1; }
.highlight-period { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 600; }
.hero-plan-highlight p { margin: 0.5rem 0 0; color: rgba(226,232,240,0.88); font-size: 0.9rem; line-height: 1.6; }
.hero-proof-list { margin-top: 0.75rem; display: grid; gap: 0.5rem; }
.proof-row { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.85); font-size: 0.86rem; }

.section { padding: 4.75rem 1.5rem; }
.section-surface { background: rgba(241,245,249,0.66); }
.section-plain { background: transparent; }
.section-header { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-title { margin: 0; color: #0f172a; font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.section-title-left { text-align: left; }
.section-description { margin: 1rem auto 0; color: #475569; font-size: 1rem; line-height: 1.75; max-width: 45rem; }
.section-description-left { text-align: left; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.plan-card { border: 1px solid rgba(148,163,184,0.18); box-shadow: 0 18px 40px rgba(15,23,42,0.06); padding: 1.75rem; border-radius: 28px; background: rgba(255,255,255,0.94); position: relative; display: flex; flex-direction: column; }
.plan-card-premium { border-color: rgba(59,130,246,0.32); transform: scale(1.02); box-shadow: 0 24px 48px rgba(15,23,42,0.09); }
.plan-card-badge { position: absolute; top: -0.7rem; left: 50%; transform: translateX(-50%); padding: 0.3rem 1rem; border-radius: 999px; background: linear-gradient(135deg, #1d4ed8, #7c3aed); color: #fff; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.plan-header { margin-bottom: 1.25rem; }
.plan-pill { display: inline-block; padding: 0.25rem 0.65rem; border-radius: 999px; font-size: 0.72rem; font-weight: 800; margin-bottom: 0.75rem; }
.plan-pill-free { background: #f0fdf4; color: #16a34a; }
.plan-pill-premium { background: #eff6ff; color: #1d4ed8; }
.plan-pill-lifetime { background: #f5f3ff; color: #7c3aed; }
.plan-header h3 { margin: 0; font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.plan-header p { margin: 0.6rem 0 0; color: #475569; font-size: 0.9rem; }

.billing-toggle { display: flex; background: rgba(241,245,249,0.88); border-radius: 12px; padding: 0.25rem; margin-bottom: 1.25rem; }
.toggle-choice { flex: 1; padding: 0.55rem 0.75rem; border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: #64748b; font-size: 0.85rem; font-weight: 600; font-family: inherit; position: relative; }
.toggle-choice.active { background: #fff; color: #0f172a; box-shadow: 0 2px 8px rgba(15,23,42,0.08); }
.save-badge { position: absolute; top: -0.4rem; right: 0.1rem; padding: 0.15rem 0.4rem; border-radius: 999px; background: #dcfce7; color: #16a34a; font-size: 0.65rem; font-weight: 700; }

.plan-price-block { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.3rem; }
.plan-price { font-size: 2.4rem; font-weight: 800; color: #0f172a; }
.plan-period { color: #64748b; font-size: 0.88rem; font-weight: 600; }
.price-footnote { color: #64748b; font-size: 0.82rem; margin-bottom: 1.25rem; }
.price-footnote-accent { color: #7c3aed; font-weight: 600; }

.plan-features { list-style: none; margin: 0 0 1.5rem; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.6rem 0; color: #334155; font-size: 0.92rem; border-bottom: 1px solid rgba(148,163,184,0.12); }
.plan-features li:last-child { border-bottom: 0; }

.plan-action { width: 100%; border: 0; font-family: inherit; }
.plan-action-free { color: #16a34a; background: #f0fdf4; }
.plan-action-premium { color: #fff; background: linear-gradient(135deg, #1d4ed8, #2563eb); opacity: 0.6; cursor: not-allowed; }
.plan-action-lifetime { color: #fff; background: linear-gradient(135deg, #7c3aed, #a855f7); opacity: 0.6; cursor: not-allowed; }

.pricing-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.detail-column { min-width: 0; }

.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-top: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.95rem 1rem; border-radius: 18px; background: rgba(241,245,249,0.92); color: #1e293b; font-size: 0.9rem; font-weight: 600; }
.trust-icon { width: 2.6rem; height: 2.6rem; border-radius: 0.9rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, #1d4ed8, #7c3aed); }

.faq-list { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.faq-card { padding: 1.15rem; border-radius: 18px; background: rgba(255,255,255,0.92); border: 1px solid rgba(148,163,184,0.14); }
.faq-card strong { display: block; color: #0f172a; font-size: 0.98rem; margin-bottom: 0.5rem; }
.faq-card p { color: #475569; font-size: 0.9rem; line-height: 1.65; margin: 0; }

.final-cta-section { padding: 1.25rem 1.5rem 4.75rem; }
.final-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; border-radius: 28px; background: radial-gradient(circle at top right, rgba(125,211,252,0.18), transparent 32%), linear-gradient(135deg, #082f49 0%, #0f3a78 52%, #1d4ed8 100%); box-shadow: 0 32px 60px rgba(8,47,73,0.26); }
.final-cta-title { margin: 0; color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -0.035em; }
.final-cta-description { margin: 0.95rem 0 0; max-width: 40rem; color: rgba(219,234,254,0.92); font-size: 1rem; line-height: 1.75; }

@media (max-width: 1024px) {
    .pricing-hero-grid, .pricing-detail-grid, .pricing-grid { grid-template-columns: 1fr; }
    .plan-card-premium { transform: none; }
    .final-cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
    .pricing-page { margin: -0.5rem calc(50% - 50vw) 0; }
    .pricing-hero, .section { padding-left: 1rem; padding-right: 1rem; }
    .pricing-hero { padding-top: 4.4rem; padding-bottom: 3.5rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-actions, .final-cta-actions { flex-direction: column; }
    .btn-primary, .btn-secondary, .plan-action { width: 100%; }
    .trust-list { grid-template-columns: 1fr; }
    .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .final-cta-card { padding: 1.5rem; }
}

/* ---- scenarios.html page ---- */

.scenarios-page { max-width: 1180px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.scenarios-hero { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.scenarios-hero .section-eyebrow { margin-bottom: 1rem; color: #2563eb; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.scenarios-hero h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; color: #0f172a; line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 1rem; }
.scenarios-hero p { font-size: 1.05rem; color: #475569; line-height: 1.7; margin: 0; }

.scenarios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.scenario-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; box-shadow: 0 2px 12px rgba(15,23,42,0.05); transition: box-shadow 0.2s, border-color 0.2s; }
.scenario-card:hover { box-shadow: 0 8px 30px rgba(15,23,42,0.1); border-color: #bfdbfe; }
.scenario-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.scenario-icon-wrap { width: 3rem; height: 3rem; border-radius: 14px; background: #eff6ff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.scenario-time { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.35rem 0.75rem; background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; border-radius: 999px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.scenario-card h2 { font-size: 1.15rem; font-weight: 700; color: #0f172a; margin: 0; line-height: 1.35; }
.scenario-steps { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.scenario-steps li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.92rem; color: #334155; line-height: 1.55; }
.scenario-step-num { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: #fff; font-size: 0.72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.15rem; }
.scenario-result { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; font-weight: 700; color: #1d4ed8; padding: 0.85rem 1rem; background: #eff6ff; border-radius: 12px; }
.scenario-result-icon { font-size: 1.1rem; }

.scenarios-cta { margin-top: 3.5rem; text-align: center; padding: 2.5rem; background: linear-gradient(135deg, #eff6ff, #f0f9ff); border-radius: 24px; border: 1px solid #bfdbfe; }
.scenarios-cta h2 { font-size: 1.4rem; font-weight: 800; color: #0f172a; margin: 0 0 0.75rem; }
.scenarios-cta p { color: #475569; margin: 0 0 1.5rem; font-size: 0.95rem; }
.scenarios-cta-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
    .scenarios-page { padding: 2.5rem 1rem 4rem; }
    .scenarios-grid { grid-template-columns: 1fr; }
    .scenarios-cta { padding: 1.75rem 1.25rem; }
}

/* ---- languages.html page ---- */

.languages-page { max-width: 1180px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.languages-hero { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.languages-hero .section-eyebrow { margin-bottom: 1rem; color: #2563eb; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.languages-hero h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; color: #0f172a; line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 1rem; }
.languages-hero p { font-size: 1.05rem; color: #475569; line-height: 1.7; margin: 0; }

.languages-count { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; padding: 0.4rem 0.9rem; background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; border-radius: 999px; font-size: 0.82rem; font-weight: 700; }

.languages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 0.65rem; }
.lang-chip { display: flex; align-items: center; gap: 0.5rem; padding: 0.65rem 0.9rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 0.88rem; color: #334155; text-decoration: none; font-weight: 500; transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s; }
.lang-chip:hover { border-color: #93c5fd; background: #eff6ff; color: #1d4ed8; text-decoration: none; box-shadow: 0 2px 8px rgba(29,78,216,0.08); }
.lang-chip.lang-chip-active { border-color: #2563eb; background: #eff6ff; color: #1d4ed8; font-weight: 700; box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
.lang-chip-flag { font-size: 1.2rem; line-height: 1; flex-shrink: 0; }
.lang-chip-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.languages-note { margin-top: 2.5rem; padding: 1.25rem 1.5rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; font-size: 0.88rem; color: #475569; line-height: 1.6; text-align: center; }
.languages-note strong { color: #0f172a; }

@media (max-width: 768px) {
    .languages-page { padding: 2.5rem 1rem 4rem; }
    .languages-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.5rem; }
}

/* ---- legal/terms.html page ---- */

.policy-page { min-height: 80vh; padding: 2rem 1rem; background: #f8fafc; }
.policy-container { max-width: 860px; margin: 0 auto; }
.policy-header { text-align: center; margin-bottom: 2rem; }
.policy-icon { font-size: 3rem; color: #1d4ed8; margin-bottom: 1rem; }
.policy-header h1 { font-size: 2rem; font-weight: 700; color: #0f172a; margin: 0 0 0.5rem; }
.policy-date { color: #64748b; font-size: 0.9rem; margin: 0; }
.policy-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2rem; margin-bottom: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.policy-intro { font-size: 1.05rem; line-height: 1.7; color: #0f172a; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e2e8f0; }
.policy-section { margin-bottom: 1.5rem; }
.policy-section h2 { font-size: 1.1rem; font-weight: 600; color: #0f172a; margin: 0 0 0.5rem; }
.policy-section p { line-height: 1.7; color: #475569; margin: 0; }
@media (max-width: 768px) { .policy-header h1 { font-size: 1.5rem; } .policy-card { padding: 1.25rem; } }

/* ---- legal/privacy.html page ---- */

.policy-page { min-height: 80vh; padding: 2rem 1rem; background: #f8fafc; }
.policy-container { max-width: 860px; margin: 0 auto; }
.policy-header { text-align: center; margin-bottom: 2rem; }
.policy-icon { font-size: 3rem; color: #1d4ed8; margin-bottom: 1rem; }
.policy-header h1 { font-size: 2rem; font-weight: 700; color: #0f172a; margin: 0 0 0.5rem; }
.policy-date { color: #64748b; font-size: 0.9rem; margin: 0; }
.policy-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2rem; margin-bottom: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.policy-intro { font-size: 1.05rem; line-height: 1.7; color: #0f172a; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e2e8f0; }
.policy-section { margin-bottom: 1.5rem; }
.policy-section h2 { font-size: 1.1rem; font-weight: 600; color: #0f172a; margin: 0 0 0.5rem; }
.policy-section p { line-height: 1.7; color: #475569; margin: 0; }
@media (max-width: 768px) { .policy-header h1 { font-size: 1.5rem; } .policy-card { padding: 1.25rem; } }

/* ---- legal/refund.html page ---- */

.policy-page { min-height: 80vh; padding: 2rem 1rem; background: #f8fafc; }
.policy-container { max-width: 860px; margin: 0 auto; }
.policy-header { text-align: center; margin-bottom: 2rem; }
.policy-icon { font-size: 3rem; color: #1d4ed8; margin-bottom: 1rem; }
.policy-header h1 { font-size: 2rem; font-weight: 700; color: #0f172a; margin: 0 0 0.5rem; }
.policy-date { color: #64748b; font-size: 0.9rem; margin: 0; }
.policy-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2rem; margin-bottom: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.policy-intro { font-size: 1.05rem; line-height: 1.7; color: #0f172a; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e2e8f0; }
.policy-section { margin-bottom: 1.5rem; }
.policy-section h2 { font-size: 1.1rem; font-weight: 600; color: #0f172a; margin: 0 0 0.5rem; }
.policy-section p { line-height: 1.7; color: #475569; margin: 0; }
@media (max-width: 768px) { .policy-header h1 { font-size: 1.5rem; } .policy-card { padding: 1.25rem; } }
