/* Base Variables based on the new screenshots */
:root {
    --primary-blue: #1e477b;
    --primary-blue-hover: #132b4f;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --text-light: #94a3b8;
    --bg-body: #ffffff;
    --bg-gray: #f8fafc;
    --bg-blue-light: #e8f0f8;
    --bg-dark: #0d1e38;
    --bg-card-dark: #132b4f;
    --border-radius-xl: 24px;
    --border-radius-lg: 16px;
    --border-radius-pill: 9999px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Global Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    color: var(--text-dark);
    background-color: var(--bg-body);
    line-height: 1.5;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* --- Components --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-pill);
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 1px solid transparent;
}

.btn-outline:hover {
    color: #1e477b;
    text-decoration: underline;
}

.link-blue {
    color: var(--primary-blue);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.link-blue i {
    transition: transform 0.2s ease;
}

.link-blue:hover i {
    transform: translateX(4px);
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* --- Header / Nav --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.lang-selector:hover {
    background-color: var(--bg-gray);
}

/* Language dropdown */
.lang-selector {
    position: relative;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 140px;
    padding: 8px 0;
    z-index: 1100;
}

.lang-dropdown.open {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-dark);
    transition: background 0.15s;
}

.lang-dropdown a:hover {
    background: var(--bg-gray);
    color: var(--primary-blue);
}

/* Active nav link */
.nav-links a.nav-active {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Mobile language bar — hidden on desktop, shown inside expanded mobile nav */
.mobile-lang-bar {
    display: none;
}

/* Mobile hamburger button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--text-dark);
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: var(--bg-gray);
}

/* Keyframes for mobile nav slide down — must be outside @media */
@keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Hero Section --- */
.hero {
    padding: 160px 0 80px;
    background: radial-gradient(circle at 80% 50%, var(--bg-blue-light) 0%, #ffffff 60%);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

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

.hero-text-area {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge i {
    color: #f59e0b;
}

.hero-title {
    font-size: 46px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.hero-list {
    margin-bottom: 40px;
}

.hero-list li {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
}

.hero-list li i {
    color: var(--primary-blue);
    margin-top: 4px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hero Graphic (CSS art simulating the phone UI from Screenshot 1) */
.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
}

.hero-cat-img {
    width: 420px;
    height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(19,43,79,0.3));
    animation: catFloat 5s ease-in-out infinite;
}

@keyframes catFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-16px); }
}

.hero-platforms {
    margin-top: 36px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-platforms-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.hero-platforms-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.hero-platforms-icons span,
.hero-platforms-icons a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: border-color 0.2s, color 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.hero-platforms-icons span:hover,
.hero-platforms-icons a:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.hero-platforms-icons span i,
.hero-platforms-icons a i {
    font-size: 14px;
}

/* --- Bento Grid Features (Screenshot 2 & 3 style) --- */
.features-bento {
    padding: 100px 0;
    background-color: var(--bg-gray);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(280px, auto);
}

.bento-card {
    background: #ffffff;
    border-radius: var(--border-radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.bento-card:hover {
    box-shadow: var(--shadow-lg);
}

.card-icon {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 20px;
}

.bento-card h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.bento-card p {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: auto;
    max-width: 90%;
}

/* Specific Card Alignments */
.card-large-vertical {
    grid-column: span 4;
    grid-row: span 2;
    background: #ffffff;
}

.card-horizontal {
    grid-column: span 8;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card-horizontal > div {
    flex: 1;
}

.card-standard {
    grid-column: span 4;
}

/* CSS Graphics inside Bento */
.speed-graphic {
    height: 120px;
    margin-top: 30px;
    background: linear-gradient(90deg, #e8f0f8 0%, #c5d8ee 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-blue);
}

.rules-graphic {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.rules-graphic div {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.mock-window {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.mock-header {
    height: 24px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
}

.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* --- Trust / Stats Section (Dark theme - Screenshot 4) --- */
.trust-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
    color: #ffffff;
}

.trust-section .section-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
}

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

.stat-card {
    background-color: var(--bg-card-dark);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 300px;
}

.stat-number {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 10px;
    z-index: 2;
}

.stat-desc {
    color: #94a3b8;
    font-size: 14px;
    z-index: 2;
    max-width: 80%;
}

/* CSS Visuals for Dark Stats */
.chart-glow {
    position: absolute;
    top: 40%;
    width: 150%;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(30,71,123,0.3) 0%, transparent 70%);
    z-index: 1;
}

.bar-chart {
    position: absolute;
    bottom: 120px;
    display: flex;
    gap: 8px;
    align-items: flex-end;
    height: 60px;
    z-index: 1;
}

.bar {
    width: 12px;
    background: linear-gradient(to top, var(--primary-blue), #4a7fbf);
    border-radius: 4px;
    opacity: 0.8;
}

.arc-chart {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 20px solid rgba(255,255,255,0.05);
    border-top-color: var(--primary-blue);
    transform: rotate(-45deg);
    z-index: 1;
}

/* --- Platforms Section (Screenshot 5) --- */
.platforms-section {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
}

.platforms-section p {
    color: var(--text-gray);
    margin-bottom: 60px;
    font-size: 16px;
}

.platform-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

.platform-item i {
    font-size: 32px;
    color: #334155;
    transition: transform 0.2s, color 0.2s;
}

.platform-item:hover i {
    transform: translateY(-5px);
    color: var(--primary-blue);
}

/* --- FAQ Section (Screenshot 6) --- */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-gray);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.faq-header h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
}

.faq-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.faq-tab {
    padding-bottom: 15px;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
}

.faq-tab.active {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question i {
    color: var(--text-light);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

.faq-answer code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: #0f172a;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 16px 30px 24px;
}

/* --- Footer (Screenshot 7) --- */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px 0 40px;
}

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

.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    font-size: 24px;
}

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

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    color: #9ca3af;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #ffffff;
}

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

.app-btn {
    border: 1px solid #4b5563;
    border-radius: 8px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.app-btn i {
    font-size: 24px;
}

.app-btn:hover {
    background-color: #374151;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 13px;
}

.footer-bottom-icons {
    display: flex;
    gap: 16px;
    font-size: 20px;
}

/* --- How It Works Section --- */
.howto-section {
    padding: 120px 0;
    background: #ffffff;
}

.howto-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.howto-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
    max-width: 600px;
}

.howto-subtitle {
    color: var(--text-gray);
    font-size: 17px;
    margin-bottom: 80px;
    max-width: 560px;
    line-height: 1.7;
}

.howto-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.howto-step {
    flex: 1;
    position: relative;
    padding: 0 48px;
}

.howto-step:first-child {
    padding-left: 0;
}

.step-num {
    font-size: 88px;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    position: absolute;
    top: -16px;
    left: 48px;
    z-index: 0;
    letter-spacing: -4px;
    user-select: none;
}

.howto-step:first-child .step-num {
    left: 0;
}

.step-content {
    position: relative;
    z-index: 1;
    padding-top: 16px;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(30, 71, 123, 0.3);
}

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

.howto-step p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

.howto-arrow {
    color: #cbd5e1;
    font-size: 22px;
    flex-shrink: 0;
    padding-top: 52px;
}

/* --- Protocol Marquee Section --- */
.protocols-section {
    padding: 64px 0;
    background: var(--bg-gray);
    overflow: hidden;
}

.protocols-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 36px;
    letter-spacing: 0.3px;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-gray), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-gray), transparent);
}

.marquee-track {
    display: flex;
    gap: 16px;
    animation: marquee-scroll 35s linear infinite;
    width: max-content;
    padding: 8px 0;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.proto-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.proto-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Config Code Section --- */
.config-section {
    padding: 120px 0;
    background: #ffffff;
}

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

.config-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.config-text h2 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.config-text p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 32px;
}

.config-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.config-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
}

.config-points li i {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
}

.config-code-wrap {
    position: relative;
}

.config-code-wrap::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at 60% 40%, rgba(30, 71, 123, 0.08) 0%, transparent 70%);
    border-radius: 40px;
    z-index: 0;
}

.code-window {
    background: #0d1117;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.06);
    position: relative;
    z-index: 1;
}

.code-titlebar {
    background: #161b22;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #21262d;
}

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

.code-dot.red    { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green  { background: #28c840; }

.code-filename {
    margin-left: auto;
    font-size: 12px;
    color: #8b949e;
    font-family: 'Courier New', monospace;
}

.code-block {
    padding: 28px 32px;
    margin: 0;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13.5px;
    line-height: 1.9;
    color: #e6edf3;
}

.cy-key   { color: #79c0ff; }
.cy-str   { color: #a5d6ff; }
.cy-num   { color: #f2cc60; }
.cy-bool  { color: #ff7b72; }
.cy-punc  { color: #8b949e; }

/* --- Comparison Table Section --- */
.compare-section {
    padding: 120px 0;
    background: var(--bg-gray);
}

.compare-header {
    text-align: center;
    margin-bottom: 60px;
}

.compare-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.compare-header h2 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.compare-header p {
    color: var(--text-gray);
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto;
}

.compare-table-wrap {
    overflow-x: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.compare-table thead {
    background: #f8fafc;
}

.compare-table th {
    padding: 22px 28px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    color: var(--text-dark);
}

.compare-table th:first-child {
    text-align: left;
}

.compare-table td {
    padding: 18px 28px;
    font-size: 15px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-gray);
}

.compare-table td:first-child {
    text-align: left;
    color: var(--text-dark);
    font-weight: 500;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr:hover td {
    background: #fafbff;
}

.highlight-col {
    background: #e8f0f8 !important;
    color: var(--primary-blue) !important;
}

.compare-table th.highlight-col {
    border-bottom-color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.check { color: #10b981; font-size: 18px; }
.cross { color: #ef4444; font-size: 18px; }
.minus { color: #94a3b8; font-size: 18px; }

/* --- Reviews Section: mosaic staggered layout --- */
.reviews-section {
    padding: 120px 0;
    background: #ffffff;
}

.reviews-header {
    margin-bottom: 56px;
}

.reviews-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.reviews-header h2 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1px;
}

.reviews-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    align-items: start;
}

.review-block {
    background: var(--bg-gray);
    border-radius: var(--border-radius-xl);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: transform 0.25s ease;
}

.review-block:hover {
    transform: translateY(-4px);
}

.review-block.review-accent {
    background: var(--bg-dark);
    color: white;
}

.review-block.review-accent p {
    color: #94a3b8;
}

.review-block.review-accent .review-name {
    color: #6b7280;
}

.review-lg { grid-column: span 5; }
.review-sm { grid-column: span 3; }
.review-md { grid-column: span 4; }

.review-quote {
    font-size: 64px;
    line-height: 0.6;
    font-weight: 700;
    color: var(--primary-blue);
    opacity: 0.25;
    user-select: none;
}

.review-block.review-accent .review-quote {
    color: #4a7fbf;
}

.review-block p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-dark);
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.review-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
}

.review-stars {
    color: #f59e0b;
    font-size: 11px;
    margin-top: 4px;
    letter-spacing: 1px;
}

/* --- CTA Banner Section --- */
.cta-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

.cta-inner {
    background: var(--bg-dark);
    border-radius: 32px;
    padding: 96px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(30, 71, 123, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner h2 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    position: relative;
}

.cta-inner > p {
    color: #94a3b8;
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 44px;
    position: relative;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.btn-cta-primary {
    background: white;
    color: var(--text-dark);
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 9999px;
    font-size: 16px;
    transition: all 0.2s;
    display: inline-block;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.btn-cta-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 9999px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-note {
    color: #4b5563;
    font-size: 13px;
    position: relative;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text-area {
        max-width: 100%;
        margin: 0 auto;
    }
    .hero-list li {
        justify-content: center;
    }
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-graphic {
        margin-top: 24px;
        min-height: unset;
    }
    .bento-grid {
        display: flex;
        flex-direction: column;
    }
    .card-horizontal {
        flex-direction: column;
    }
    .card-horizontal > div:last-child {
        display: none;
    }
    .bento-card h3 {
        font-size: 22px;
    }
    .bento-card {
        padding: 28px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    /* How It Works */
    .howto-steps {
        flex-direction: column;
        gap: 48px;
    }
    .howto-arrow {
        transform: rotate(90deg);
        padding-top: 0;
        align-self: flex-start;
        margin-left: 20px;
    }
    .howto-step {
        padding: 0;
        width: 100%;
    }
    .step-num {
        left: 0;
    }
    /* Config */
    .config-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    /* Reviews */
    .reviews-mosaic {
        grid-template-columns: 1fr 1fr;
    }
    .review-lg { grid-column: span 2; }
    .review-sm { grid-column: span 1; }
    .review-md { grid-column: span 2; }
    /* CTA */
    .cta-inner {
        padding: 64px 32px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 900px) {
    .nav-container {
        height: 64px;
        justify-content: flex-start;
    }

    .nav-actions {
        order: 9;
        margin-left: auto;
        gap: 8px;
    }

    .nav-actions .lang-selector {
        display: none;
    }

    .nav-actions .btn-primary {
        font-size: 13px;
        padding: 8px 18px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 10;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid #e2e8f0;
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
        z-index: 999;
    }

    .nav-links a {
        padding: 14px 24px;
        border-radius: 0;
        font-size: 16px;
    }

    html.nav-open .nav-links {
        display: flex;
        animation: menuSlideDown 0.2s ease;
    }

    .mobile-lang-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 24px 4px;
        border-top: 1px solid #e2e8f0;
        margin-top: 4px;
    }

    .mobile-lang-item {
        font-size: 13px;
        font-weight: 500;
        color: var(--text-gray);
        padding: 6px 12px;
        border-radius: 20px;
        border: 1px solid #e2e8f0;
        transition: all 0.15s;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .mobile-lang-item:hover {
        color: var(--primary-blue);
        border-color: var(--primary-blue);
        background: var(--bg-blue-light);
    }

    .mobile-lang-active {
        color: var(--primary-blue);
        border-color: var(--primary-blue);
        background: var(--bg-blue-light);
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    .lang-selector {
        display: none;
    }
    .hero {
        padding: 100px 0 48px;
        min-height: unset;
    }
    .hero-graphic {
        display: none;
    }
    .hero-title {
        font-size: 30px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    .hero-buttons .btn-primary {
        width: 100%;
        max-width: 320px;
        font-size: 16px !important;
        padding: 14px 24px !important;
        white-space: nowrap;
    }
    .hero-buttons span {
        font-size: 13px !important;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    /* How It Works */
    .howto-title {
        font-size: 34px;
    }
    .howto-subtitle {
        font-size: 15px;
    }
    /* Config */
    .config-text h2 {
        font-size: 32px;
    }
    .code-block {
        font-size: 12px;
        padding: 20px;
    }
    /* Compare */
    .compare-header h2 {
        font-size: 28px;
    }
    .compare-section {
        padding: 64px 0;
    }
    .compare-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 16px;
    }
    .compare-table {
        min-width: 540px;
        width: max-content;
    }
    .compare-table th,
    .compare-table td {
        padding: 14px 16px;
        font-size: 14px;
        white-space: nowrap;
    }
    .compare-table td:first-child,
    .compare-table th:first-child {
        white-space: normal;
        min-width: 140px;
        max-width: 160px;
    }
    /* Reviews */
    .reviews-mosaic {
        grid-template-columns: 1fr;
    }
    .review-lg,
    .review-sm,
    .review-md { grid-column: span 1; }
    .reviews-header h2 {
        font-size: 32px;
    }
    /* CTA */
    .cta-inner h2 {
        font-size: 36px;
    }
    .btn-cta-primary,
    .btn-cta-outline {
        padding: 14px 28px;
        font-size: 15px;
    }
}
