/* ============================================================
   COGNI — Design System CSS
   Nền tảng Single Source of Truth cho Vận hành Doanh nghiệp Đa Kênh
   © 2026 COGNI Technology. All Rights Reserved.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700;800&family=Be+Vietnam+Pro:wght@400;500;700;800&display=swap');

/* === 1. DESIGN TOKENS === */
:root {
    /* Colors */
    --primary: #0055FF;
    --primary-light: #4E9AFF;
    --primary-dark: #003FC7;
    --primary-50: #EBF2FF;
    --secondary: #0D1B2A;
    --secondary-light: #1A365D;
    --accent: #FF6D00;
    --accent-hover: #E65100;
    --surface: #FFFFFF;
    --surface-alt: #F0F7FF;
    --surface-muted: #F8FAFC;
    --surface-glass: rgba(255, 255, 255, 0.72);
    --text-primary: #0D1B2A;
    --text-secondary: #556276;
    --text-muted: #7F8C9B;
    --text-light: #FFFFFF;
    --border: #E4E7EC;
    --border-light: #F0F2F5;
    --success: #22C55E;
    --gradient-hero: linear-gradient(135deg, #0D1B2A 0%, #1A365D 40%, #0D2847 100%);
    --gradient-accent: linear-gradient(135deg, #0055FF, #00B4D8);
    --gradient-text: linear-gradient(135deg, #0055FF 0%, #00B4D8 100%);
    --gradient-glow: radial-gradient(ellipse at 60% 0%, rgba(0, 85, 255, 0.15) 0%, transparent 60%);

    /* Typography */
    --font-heading: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 1180px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-pill: 50px;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(13, 27, 42, 0.04);
    --shadow-sm: 0 2px 8px rgba(13, 27, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(13, 27, 42, 0.08);
    --shadow-lg: 0 16px 48px rgba(13, 27, 42, 0.12);
    --shadow-xl: 0 24px 64px rgba(13, 27, 42, 0.16);
    --shadow-glow: 0 8px 32px rgba(0, 85, 255, 0.15);
    --shadow-accent: 0 4px 16px rgba(255, 109, 0, 0.3);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 200ms var(--ease-out);
    --transition-base: 300ms var(--ease-out);
    --transition-slow: 500ms var(--ease-out);
    --transition-slower: 700ms var(--ease-out);
}

/* === 2. RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 800;
}

/* === 3. ANTI-COPY PROTECTION === */
body.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body.no-select img {
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Allow pointer events for clickable images (links, buttons) */
body.no-select a img,
body.no-select button img {
    pointer-events: auto;
}

/* Print protection */
@media print {
    body {
        display: none !important;
    }

    html::after {
        content: "© COGNI Technology – Nội dung được bảo vệ bản quyền / Content is copyright protected";
        display: block;
        text-align: center;
        padding: 100px 40px;
        font-size: 24px;
        color: var(--text-secondary);
    }
}

/* Invisible watermark overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    background: repeating-linear-gradient(-45deg, transparent, transparent 300px,
            rgba(0, 85, 255, 0.008) 300px, rgba(0, 85, 255, 0.008) 301px);
    transform: translateZ(0);
    will-change: transform;
}

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

section {
    padding: var(--section-padding);
    overflow: hidden;
    position: relative;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85em;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-title {
    text-align: center;
    font-size: 2.6em;
    color: var(--secondary);
    margin-bottom: 16px;
    font-weight: 800;
    line-height: 1.15;
}

.section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.7;
}

/* EN text visibility is controlled by JS BilingualManager */

/* === 5. ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--transition-slower), transform var(--transition-slower);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 85, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(0, 85, 255, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* === 6. NAVBAR === */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    will-change: transform;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 1001;
}

.nav-logo svg {
    height: 36px;
    width: auto;
}

.nav-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.3em;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    margin: 0;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.92em;
    padding: 6px 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
    width: 100%;
}

/* Language Toggle Switch */
.lang-switch {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
}

.lang-switch-track {
    display: flex;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 2px;
    width: 68px;
    height: 30px;
}

.lang-label {
    font-size: 0.72em;
    font-weight: 800;
    letter-spacing: 0.5px;
    width: 32px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
    font-family: var(--font-heading);
}

.lang-label[data-lang="vi"] {
    color: white;
}

.lang-switch-thumb {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 32px;
    height: 26px;
    background: var(--primary);
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 85, 255, 0.4);
    z-index: 1;
}

.lang-switch-thumb.en {
    transform: translateX(32px);
}

.lang-switch.is-en .lang-label[data-lang="vi"] {
    color: rgba(255, 255, 255, 0.4);
}

.lang-switch.is-en .lang-label[data-lang="en"] {
    color: white;
}

.lang-switch:hover {
    opacity: 0.85;
}

.nav-toggle {
    display: none;
    z-index: 1001;
    color: var(--secondary);
    padding: 4px;
}

/* === 7. HERO === */
.hero {
    background: var(--gradient-hero);
    color: var(--text-light);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.88em;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-badge::before {
    content: '🚀';
    font-size: 1em;
}

.hero h1 {
    font-size: 3.2em;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.15em;
    margin-bottom: 32px;
    opacity: 0.85;
    line-height: 1.7;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 32px;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-number {
    font-family: var(--font-heading);
    font-size: 2.4em;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.hero-stats .stat small {
    font-size: 0.85em;
    opacity: 0.7;
    margin-top: 4px;
    display: block;
}

.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup img {
    width: 100%;
    max-width: 580px;
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: float 6s ease-in-out infinite;
    pointer-events: auto;
}

/* === 8. BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95em;
    font-weight: 700;
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 109, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

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

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

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* === 9. CLIENTS MARQUEE === */
#clients {
    padding: 48px 0;
    background: var(--surface);
}

.clients-title {
    text-align: center;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.82em;
    margin-bottom: 32px;
}

.marquee-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 60px;
    align-items: center;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-track img {
    height: 32px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition-base);
}

.marquee-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* === 10. CHALLENGES / PROBLEMS === */
#problems {
    background: var(--surface-alt);
}

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

.problem-card {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.problem-card .icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card .icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.problem-card h4 {
    font-size: 1.05em;
    color: var(--secondary);
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.problem-card p {
    font-size: 0.92em;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* === 11. HOW IT WORKS === */
#how-it-works {
    background: var(--surface);
}

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

.steps-grid::before {
    content: '';
    position: absolute;
    top: 64px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0.2;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 32px 24px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.8em;
    font-weight: 800;
    color: var(--primary-50);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.step-card .step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--primary-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-light);
}

.step-card .step-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.step-card h3 {
    font-size: 1.2em;
    color: var(--secondary);
    margin-bottom: 10px;
}

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

/* === 12. SOLUTION === */
#solution {
    background: var(--surface);
}

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

.solution-card {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 85, 255, 0.06);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.02), transparent);
    pointer-events: none;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(0, 85, 255, 0.15);
}

.solution-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.solution-card-header .icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 85, 255, 0.2);
}

.solution-card-header .icon-wrapper svg {
    width: 24px;
    height: 24px;
    color: white;
}

.solution-card-header h3 {
    font-size: 1.1em;
    color: var(--secondary);
}

.solution-card p {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.65;
    margin: 0;
    position: relative;
}

/* === 13. FEATURES TABS === */
#features {
    background: var(--surface-alt);
}

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    font-size: 0.95em;
    font-weight: 700;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition-base);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.feature-content {
    display: none;
}

.feature-content.active {
    display: block;
    animation: fadeIn 0.5s var(--ease-out);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all var(--transition-base);
    font-size: 0.95em;
    color: var(--text-primary);
}

.feature-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-list li svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--primary);
    margin-top: 2px;
}

/* Slider */
#slider-container {
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s var(--ease-out);
}

.slide {
    flex: 0 0 100%;
    position: relative;
}

.slide img {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: white;
    padding: 48px 24px 24px;
    text-align: center;
}

.slide-caption h4 {
    margin: 0 0 4px;
    font-size: 1.15em;
}

.slide-caption p {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.85;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    box-sizing: border-box;
}

.slider-nav button {
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 10px;
    font-size: 20px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: background var(--transition-fast);
    backdrop-filter: blur(4px);
}

.slider-nav button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-dots {
    text-align: center;
    margin-top: 18px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--border);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* === 14. STATS === */
#stats {
    background: var(--secondary);
    color: var(--text-light);
    padding: 64px 0;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2em, 4vw, 2.8em);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    white-space: nowrap;
}

.stat-item .stat-suffix {
    font-size: 0.65em;
    font-weight: 800;
    -webkit-text-fill-color: var(--primary-light);
}

.stat-item p {
    font-size: 0.95em;
    opacity: 0.7;
    margin-top: 8px;
}

/* === 15. TESTIMONIALS === */
#testimonials {
    background: var(--surface);
}

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

.testimonial-card {
    background: var(--surface-alt);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-card .quote-icon {
    position: absolute;
    top: -12px;
    left: 24px;
    font-size: 4em;
    color: var(--primary);
    opacity: 0.08;
    font-family: Georgia, serif;
}

.testimonial-card .quote-text {
    font-size: 0.98em;
    font-style: italic;
    margin-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-50);
}

.author-info h4 {
    margin: 0;
    font-size: 0.95em;
    color: var(--secondary);
    font-family: var(--font-heading);
}

.author-info p {
    margin: 0;
    font-size: 0.85em;
    color: var(--text-muted);
}

/* === 16. INTEGRATIONS === */
#integrations {
    background: var(--surface-alt);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 24px;
    align-items: center;
}

.integration-item {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: all var(--transition-base);
}

.integration-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}

.integration-item img {
    max-height: 36px;
    width: auto;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: all var(--transition-base);
}

.integration-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* === 17. EXPERTS === */
#experts {
    background: var(--surface-alt);
}

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

.expert-card {
    background: var(--surface);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition-base);
}

.expert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.expert-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-50);
    box-shadow: 0 4px 16px rgba(0, 85, 255, 0.1);
    pointer-events: auto;
}

.expert-card h3 {
    font-size: 1.2em;
    color: var(--secondary);
    margin-bottom: 4px;
}

.expert-card .title {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.92em;
}

/* === 18. PRICING === */
#pricing {
    background: var(--surface);
}

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

.pricing-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.pricing-card.recommended {
    border-color: var(--accent);
    position: relative;
    transform: scale(1.04);
    box-shadow: var(--shadow-accent);
}

.pricing-card.recommended:hover {
    transform: scale(1.04) translateY(-8px);
}

.recommended-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.75em;
    font-weight: 700;
    box-shadow: var(--shadow-accent);
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.25em;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 8px;
    margin-bottom: 6px;
}

.pricing-card .price {
    display: none;
}

.pricing-card .description {
    font-size: 0.85em;
    color: var(--text-muted);
    min-height: 40px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.pricing-features {
    padding: 0;
    margin: 16px 0 24px 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.85em;
    line-height: 1.4;
    color: var(--text-secondary);
}

.pricing-features li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--success);
    margin-top: 2px;
}

.pricing-features li.disabled {
    color: #9ca3af;
}

.pricing-features li.disabled svg {
    color: #d1d5db;
}

.pricing-card .btn {
    width: 100%;
}

/* === 19. FAQ === */
#faq {
    background: var(--surface-alt);
}

.faq-container {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item[open] {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    font-size: 1.05em;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    background: none;
    border: none;
    list-style: none;
    font-family: var(--font-heading);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: 16px;
    color: var(--primary);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.75;
    animation: fadeIn 0.4s var(--ease-out);
}

/* === 20. CTA === */
#cta-section {
    background: var(--gradient-hero);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}

#cta-section .container {
    position: relative;
    z-index: 1;
}

#cta-section h2 {
    font-size: 2.6em;
    font-weight: 800;
    margin-bottom: 16px;
}

#cta-section p {
    font-size: 1.1em;
    max-width: 560px;
    margin: 0 auto 36px;
    opacity: 0.8;
    line-height: 1.7;
}

/* === 21. FOOTER === */
footer {
    background: var(--secondary);
    color: #bdc1c6;
    padding: 56px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.05em;
    color: white;
    margin-bottom: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.footer-col p,
.footer-col a {
    font-size: 0.92em;
    line-height: 1.8;
}

.footer-col a {
    color: #bdc1c6;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-logo img {
    max-width: 180px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-icons a:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.social-icons svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85em;
}

/* === 22. FLOATING WIDGETS === */
.floating-widget-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn svg,
.floating-btn img {
    width: 24px;
    height: 24px;
}

.floating-btn.phone-btn {
    background: var(--accent);
    color: white;
}

.floating-btn.phone-btn:hover {
    background: var(--accent-hover);
    box-shadow: var(--shadow-accent);
}

.floating-btn.zalo-btn {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.floating-btn.zalo-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-btn.back-to-top-btn {
    background: var(--secondary);
    color: white;
    opacity: 0.7;
    display: none;
}

.floating-btn.back-to-top-btn:hover {
    opacity: 1;
}

/* === 23. MODAL === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-xl);
    width: 94%;
    max-width: 640px;
    position: relative;
    transform: translateY(-16px) scale(0.96);
    transition: transform 0.4s var(--ease-out);
    box-shadow: var(--shadow-xl);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.6em;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h3 {
    text-align: center;
    font-size: 1.6em;
    color: var(--secondary);
    margin-bottom: 8px;
}

.modal-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9em;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-secondary);
    font-size: 0.85em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    font-size: 0.9em;
    font-family: var(--font-body);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background: var(--surface-muted);
    color: var(--text-primary);
}

.form-group select {
    cursor: pointer;
    appearance: auto;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.12);
    background: var(--surface);
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82em;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
    white-space: nowrap;
    user-select: none;
}

.chip:hover {
    border-color: var(--primary);
    background: rgba(0, 85, 255, 0.04);
}

.chip:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-50);
    color: var(--primary);
    font-weight: 600;
}

.chip input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--primary);
    margin: 0;
}

#form-message {
    color: var(--success);
    text-align: center;
    margin-top: 12px;
    display: none;
    font-weight: 600;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row-3 {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .checkbox-grid {
        gap: 4px;
    }

    .modal-content {
        padding: 24px 16px;
    }
}

/* Mobile Slider */
.mobile-slider-wrapper {
    position: relative;
    display: none;
}

.mobile-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.mobile-slider-nav button {
    background: rgba(0, 0, 0, 0.25);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    transition: background var(--transition-fast);
    backdrop-filter: blur(4px);
}

.mobile-slider-nav button:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Pricing tabs (mobile) */
.pricing-tabs {
    display: none;
}

/* === 24. RESPONSIVE === */

/* ── Tablet landscape & small laptops (≤ 1024px) ── */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: clamp(2em, 5vw, 3em);
    }

    .hero-grid {
        gap: 40px;
    }

    .section-title,
    #cta-section h2 {
        font-size: clamp(1.8em, 4vw, 2.6em);
    }

    .pricing-card.recommended {
        transform: scale(1.02);
    }

    .pricing-card.recommended:hover {
        transform: scale(1.02) translateY(-6px);
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 0.8fr;
        gap: 32px;
    }
}

/* ── Tablet portrait (≤ 991px) — Hamburger menu ON ── */
@media (max-width: 991px) {
    .nav-toggle {
        display: block;
        font-size: 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 72%;
        max-width: 320px;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        padding: 2rem;
        box-shadow: -8px 0 24px rgba(13, 27, 42, 0.1);
        transition: right 0.4s var(--ease-out);
        z-index: 1000;
    }

    .nav-links.show-menu {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

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

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

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

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: clamp(1.8em, 5vw, 2.6em);
    }

    .steps-grid::before {
        display: none;
    }
}

/* ── Tablet & mid-size (≤ 768px) ── */
@media (max-width: 768px) {
    :root {
        --section-padding: 56px 0;
    }

    .container {
        padding: 0 16px;
    }

    .section-title,
    #cta-section h2 {
        font-size: clamp(1.5em, 4.5vw, 2em);
    }

    .section-subtitle {
        font-size: 0.98em;
        margin-bottom: 32px;
    }

    .hero {
        padding: 64px 0 48px;
    }

    .hero h1 {
        font-size: clamp(1.6em, 5vw, 2.2em);
    }

    .hero p {
        font-size: 1em;
    }

    .hero-badge {
        font-size: 0.78em;
        padding: 6px 14px;
    }

    .hero-stats .stat-number {
        font-size: 1.8em;
    }

    .hero-stats .stat small {
        font-size: 0.78em;
    }

    .hero-mockup img {
        max-width: 400px;
    }

    /* Grids → 2 columns on tablet */
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Feature tabs */
    .feature-tabs {
        gap: 6px;
    }

    .tab-btn {
        padding: 8px 14px;
        font-size: 0.82em;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item .stat-number {
        font-size: clamp(1.8em, 5vw, 3em);
    }

    /* Testimonials & Experts → mobile slider */
    .testimonial-grid,
    .experts-grid {
        display: flex;
        transition: transform 0.5s var(--ease-out);
    }

    .testimonial-card,
    .expert-card {
        flex: 0 0 85%;
        margin-right: 20px;
    }

    .mobile-slider-wrapper {
        display: block;
        overflow: hidden;
    }

    .desktop-grid {
        display: none;
    }

    /* Pricing → tab-based mobile UI */
    .pricing-tabs {
        display: flex;
        justify-content: center;
        gap: 4px;
        margin-bottom: 24px;
        background: var(--surface-alt);
        border-radius: var(--radius-pill);
        padding: 4px;
    }

    .pricing-tab-btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 0.82em;
        font-weight: 700;
        border: none;
        background: transparent;
        color: var(--text-secondary);
        border-radius: var(--radius-pill);
        cursor: pointer;
        transition: all var(--transition-fast);
        white-space: nowrap;
    }

    .pricing-tab-btn.active {
        background: var(--primary);
        color: white;
        box-shadow: var(--shadow-glow);
    }

    .pricing-grid {
        display: block;
    }

    .pricing-card {
        display: none;
        margin-bottom: 0;
    }

    .pricing-card.active {
        display: flex;
        animation: fadeIn 0.5s;
    }

    .pricing-card.recommended {
        transform: none;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Floating widgets */
    .floating-widget-container {
        bottom: 16px;
        right: 16px;
    }

    .floating-btn {
        width: 46px;
        height: 46px;
    }

    /* Slider */
    #slider-container {
        margin: 24px auto 0;
    }

    .slider-nav button {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* ── Small phone (≤ 576px) ── */
@media (max-width: 576px) {
    :root {
        --section-padding: 44px 0;
    }

    .container {
        padding: 0 14px;
    }

    .section-title,
    #cta-section h2 {
        font-size: 1.4em;
    }

    .section-subtitle {
        font-size: 0.9em;
    }

    /* All grids → single column */
    .problem-grid,
    .solution-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Hero */
    .hero {
        padding: 52px 0 40px;
    }

    .hero h1 {
        font-size: 1.5em;
    }

    .hero p {
        font-size: 0.92em;
        line-height: 1.6;
    }

    .hero-badge {
        font-size: 0.72em;
        padding: 5px 12px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .hero-stats .stat-number {
        font-size: 1.6em;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    /* Feature tabs scrollable */
    .feature-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 8px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .feature-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.82em;
    }

    .feature-list li {
        padding: 16px;
        font-size: 0.88em;
    }

    .feature-list li svg {
        width: 18px;
        height: 18px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-item .stat-number {
        font-size: 1.5em;
    }

    .stat-item .stat-suffix {
        font-size: 1em;
    }

    .stat-item p {
        font-size: 0.82em;
    }

    /* Cards full-width swipe */
    .testimonial-card,
    .expert-card {
        flex: 0 0 100%;
        margin-right: 0;
    }

    /* Slider */
    .slide-caption {
        padding: 32px 16px 16px;
    }

    .slide-caption h4 {
        font-size: 0.95em;
    }

    .slide-caption p {
        font-size: 0.8em;
    }

    .slider-nav button {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    /* Pricing */
    .pricing-card {
        padding: 24px;
    }

    .pricing-card .price {
        font-size: 2em;
    }

    .pricing-card h3 {
        font-size: 1.1em;
    }

    /* Problems/solution cards */
    .problem-card {
        padding: 18px;
        gap: 12px;
    }

    .problem-card .icon {
        width: 38px;
        height: 38px;
    }

    .problem-card .icon svg {
        width: 18px;
        height: 18px;
    }

    .problem-card h4 {
        font-size: 0.95em;
    }

    .problem-card p {
        font-size: 0.85em;
    }

    .solution-card {
        padding: 22px;
    }

    .solution-card-header .icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .solution-card-header .icon-wrapper svg {
        width: 20px;
        height: 20px;
    }

    .solution-card-header h3 {
        font-size: 1em;
    }

    .solution-card p {
        font-size: 0.88em;
    }

    /* Steps */
    .step-card {
        padding: 20px 16px;
    }

    .step-number {
        font-size: 2em;
    }

    .step-card h3 {
        font-size: 1.05em;
    }

    .step-card p {
        font-size: 0.88em;
    }

    /* Expert card */
    .expert-card {
        padding: 24px 20px;
    }

    /* FAQ */
    .faq-question {
        padding: 16px;
        font-size: 0.95em;
    }

    .faq-answer {
        padding: 0 16px 16px;
        font-size: 0.9em;
    }

    /* CTA */
    #cta-section {
        padding: 56px 0;
    }

    #cta-section p {
        font-size: 0.95em;
    }

    /* Modal */
    .modal-content {
        padding: 28px 20px;
    }

    .modal-content h3 {
        font-size: 1.3em;
    }

    /* Integrations */
    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .integration-item {
        padding: 16px;
        min-height: 60px;
    }
}

/* ── Extra small (≤ 400px) ── */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.35em;
    }

    .hero-badge {
        font-size: 0.68em;
    }

    .section-title {
        font-size: 1.25em;
    }

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

    .stat-item .stat-number {
        font-size: 1.3em;
    }

    .pricing-tab-btn {
        font-size: 0.75em;
        padding: 8px 8px;
    }
}

/* --- OVERRIDES FOR FOUNDER'S JOURNEY NARRATIVE --- */
.mobile-only { display: none !important; }
.desktop-only { display: flex !important; }

@media (max-width: 992px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; margin: 30px 0; }
    .hero h1 { font-size: 2.2em !important; }
}

@media (max-width: 576px) {
    .mobile-only { margin: 20px 0; }
    /* Force title to 2 lines max without breaking words, by shrinking font explicitly */
    .hero h1 { font-size: 1.6em !important; line-height: 1.25; white-space: normal; }
    .hero h1 span.gradient-text { display: inline-block; white-space: nowrap; }

    /* Stats KPI 2x2 on mobile */
    .hero-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        width: 100%;
        margin-top: 20px;
    }
    .stats-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }
    .hero-stats .stat { margin: 0 !important; width: auto !important; }

    /* UI CTAs 2x2 on mobile */
    .hero-cta {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100%;
    }
    .hero-cta .btn {
        width: 100% !important;
        padding: 10px 5px !important;
        font-size: 0.85em !important;
        margin: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* Mobile Timeline Layout */
    .steps-grid {
        display: flex !important;
        flex-direction: column !important;
        position: relative;
        padding-left: 45px !important;
        gap: 0 !important;
        margin-top: 20px;
    }
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 20px;
        bottom: 50px;
        left: 15px;
        width: 3px;
        background: linear-gradient(to bottom, var(--primary), rgba(0, 240, 255, 0.1));
        border-radius: 2px;
        z-index: 1;
    }
    .steps-grid .step-card {
        position: relative;
        padding: 0 0 35px 0 !important;
        margin: 0 !important;
        border: none !important;
        background: transparent !important;
        text-align: left !important;
        box-shadow: none !important;
        display: block !important;
    }
    .steps-grid .step-icon {
        display: none !important;
    }
    .steps-grid .step-number {
        position: absolute;
        left: -48px !important;
        top: 0 !important;
        background: #0b1120 !important;
        border: 2px solid var(--primary) !important;
        color: var(--primary) !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        z-index: 2 !important;
        margin: 0 !important;
        opacity: 1 !important;
    }
    .steps-grid .step-card h3 {
        margin-top: 5px !important;
        font-size: 1.15em !important;
        margin-bottom: 8px !important;
        display: block !important;
    }
    .steps-grid .step-card p {
        font-size: 0.95em !important;
        opacity: 0.85 !important;
        margin: 0 !important;
    }
}