/*
Theme Name: MedX Theme
Description: Một theme hiện đại cho giải pháp y tế MedX.
Version: 1.0
Author: Antigravity
*/

:root {
    --primary: #098dec;
    --primary-dark: #0770b8;
    --primary-light: #e0f2fe;
    --secondary: #f0f7ff;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --border-color: #e1e8f0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --container-width: 1400px;
    /* Specific transitions (avoid 'all' for performance) */
    --transition-color: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    --transition-shadow: box-shadow 0.2s ease;
    --transition-transform: transform 0.2s ease;
    color-scheme: light;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, background-color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary);
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--primary-light);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-text {
    font-weight: 500;
    color: var(--text-dark);
}

.btn-text:hover {
    color: var(--primary);
}

/* ── Skip Link (accessibility) ── */
.skip-link {
    position: fixed;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.15s ease;
    white-space: nowrap;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #fff;
    outline-offset: -4px;
}

/* ── Global Focus-Visible (keyboard navigation) ── */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Buttons — larger focus ring */
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-submit:focus-visible,
.btn-white:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(9, 141, 236, 0.2);
}

/* Nav links */
.nav-links a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Card hover cursors */
.solution-card:hover,
.why-card:hover,
.testimonial-card:hover {
    cursor: default;
}

.value-card:hover {
    cursor: default;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(224, 230, 235, 0.5);
    padding: 0;
}

.header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo M icon box */
.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #098dec 0%, #0466c8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon span {
    color: white;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

/* Logo text */
.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Sections common */
section {
    padding: 112px 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.sub-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgb(240, 249, 254) 0%, rgb(255, 255, 255) 100%);
    padding-top: 128px;
    padding-bottom: 96px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.badge {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    flex-shrink: 0;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.icon-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
}

/* ── Hero Dashboard Mockup ── */
.hero-mockup-outer {
    position: relative;
    background: linear-gradient(135deg, rgba(9,141,236,0.1) 0%, rgba(9,141,236,0.05) 100%);
    border-radius: 24px;
    padding: 24px;
    margin: 16px; /* room for badges */
}

/* Browser card */
.hero-browser-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Browser top bar */
.hero-browser-bar {
    background: rgba(241,245,249,0.8);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.hero-browser-dots {
    display: flex;
    gap: 6px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red    { background: rgba(239,68,68,0.6); }
.dot-yellow { background: rgba(234,179,8,0.6); }
.dot-green  { background: rgba(34,197,94,0.6); }

.hero-browser-url-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-browser-url {
    background: #ffffff;
    border-radius: 6px;
    padding: 3px 14px;
    font-size: 0.75rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* Dashboard content */
.hero-dashboard {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Stats row */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hero-stat-item {
    background: rgba(241,245,249,0.6);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.hero-stat-num {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Bar chart */
.hero-chart {
    background: rgba(241,245,249,0.4);
    border-radius: 12px;
    padding: 14px;
    height: 110px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.hero-chart-bar {
    flex: 1;
    background: rgba(9,141,236,0.55);
    border-radius: 3px 3px 0 0;
    transition: background 0.2s;
}

/* Patient list */
.hero-patient-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-patient-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(241,245,249,0.4);
    border-radius: 8px;
    padding: 10px;
}

.hero-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(9,141,236,0.15);
    flex-shrink: 0;
}

.hero-patient-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-skeleton {
    border-radius: 4px;
    background: rgba(203,213,225,0.7);
}

.hero-sk-name {
    height: 9px;
    width: 72%;
}

.hero-sk-sub {
    height: 7px;
    width: 48%;
    opacity: 0.6;
}

/* Floating badges */
.hero-badge {
    position: absolute;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.hero-badge-tr {
    top: -14px;
    right: -14px;
}

.hero-badge-bl {
    bottom: -14px;
    left: -14px;
}

.hero-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-badge-icon-green { background: rgba(34,197,94,0.15); }
.hero-badge-icon-blue  { background: rgba(9,141,236,0.15); }

.hero-badge-ai {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    font-family: 'Outfit', sans-serif;
}

.hero-badge-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-badge-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Stats Section */
.stats {
    background-color: var(--bg-white);
    padding-top: 96px;
    padding-bottom: 48px;
}

/* Values Section - flows from stats */
.values {
    background: white;
    padding-top: 48px;
    padding-bottom: 96px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.stat-card {
    background-color: rgba(9, 141, 236, 0.05);
    border: 1px solid rgba(9, 141, 236, 0.1);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.stat-card h3 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 700;
}

.stat-card p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
}

/* Values Grid */
.grid-2-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.value-card {
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.value-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.value-card-inner .icon-box {
    margin-bottom: 0;
    flex-shrink: 0;
}

.value-card-inner h4 {
    margin-bottom: 8px;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.icon-box svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-box.blue {
    background-color: var(--primary-light);
    color: var(--primary);
}

.icon-box.green {
    background-color: #dcfce7;
    color: #16a34a;
}

.icon-box.purple {
    background-color: #ede9fe;
    color: #7c3aed;
}

.icon-box.orange {
    background-color: #ffedd5;
    color: #ea580c;
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-muted);
}

/* Solutions Grid */
.solutions {
    background-color: rgba(237, 240, 242, 0.3);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.solution-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.card-header .icon-box {
    margin-bottom: 0;
    flex-shrink: 0;
}

.card-header h4 {
    margin-bottom: 4px;
}

.solution-card .tagline {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.check-list {
    margin: 20px 0;
}

.check-list li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    background-color: transparent;
}

.check-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 7px;
    width: 6px;
    height: 4px;
    border-left: 1.5px solid var(--primary);
    border-bottom: 1.5px solid var(--primary);
    transform: rotate(-45deg);
}

.link-more {
    font-weight: 600;
    color: var(--primary);
}

.link-more:hover {
    text-decoration: underline;
}

/* Contact / Form Section */
.contact {
    background-color: rgba(237, 240, 242, 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.75rem;
    line-height: 1.2;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1rem;
}

.benefit-list {
    margin-bottom: 35px;
}

.benefit-list li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.benefit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
}

.benefit-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 7px;
    width: 6px;
    height: 4px;
    border-left: 1.5px solid var(--primary);
    border-bottom: 1.5px solid var(--primary);
    transform: rotate(-45deg);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background-color: rgba(9, 141, 236, 0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(9, 141, 236, 0.12);
}

.contact-card .icon-box {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
}

.contact-main {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.contact-sub {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

/* Form card */
.contact-form-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    /* Custom visible focus — compliant replacement for browser outline */
    outline: 2px solid var(--primary);
    outline-offset: 0;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(9, 141, 236, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #c0c0c0;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 15px;
    margin-top: 5px;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
}

.form-privacy {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.form-privacy a {
    color: var(--primary);
    text-decoration: underline;
}

/* FAQ */
section.faq {
    background-color: rgba(237, 240, 242, 0.3);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.faq-left h2 {
    margin-bottom: 15px;
}

.faq-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.faq-list details {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.faq-list summary {
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list .icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.faq-list .icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-list details[open] .icon {
    transform: rotate(180deg);
}

.faq-list .content {
    padding-top: 15px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 80px 0 30px;
}

.footer h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-btn svg {
    width: 16px;
    height: 16px;
    stroke: #9ca3af;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-info .logo {
    margin-bottom: 20px;
}

.footer-info .logo-text {
    color: white;
}

.footer-info p {
    margin-bottom: 25px;
}

.footer .contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer .contact-info li svg {
    width: 16px;
    height: 16px;
    stroke: #9ca3af;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* =============================================
   Trust Bar
   ============================================= */
.trust-bar {
    border-top: 1px solid rgba(224, 230, 235, 0.5);
    margin-top: 2.5rem;
    padding-top: 2rem;
}

.trust-bar > p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.trust-bar > p strong {
    font-weight: 600;
    color: var(--text-dark);
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.partner-logo {
    width: 96px;
    height: 32px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* =============================================
   CTA Banner (inside solutions)
   ============================================= */
.cta-banner {
    margin-top: 3rem;
    background: linear-gradient(to right, rgba(9, 141, 236, 0.1), rgba(9, 141, 236, 0.05), rgba(9, 141, 236, 0.1));
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-dark);
}

.cta-banner h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.cta-banner p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-white:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* =============================================
   Why Us Section
   ============================================= */
.why-us {
    padding: 112px 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.why-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: var(--transition);
}

.why-card:hover {
    box-shadow: 0 4px 20px rgba(9, 141, 236, 0.08);
    border-color: var(--primary-light);
}

.why-card .icon-box {
    margin-bottom: 1rem;
}

/* =============================================
   Cursor + Hover improvements (UI/UX Pro Max)
   ============================================= */
.solution-card,
.why-card,
.value-card,
.testimonial-card,
.contact-card,
.stat-card {
    cursor: pointer;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(9, 141, 236, 0.12);
    border-color: var(--primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.value-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(9, 141, 236, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(9, 141, 236, 0.1);
    border-color: var(--primary-light);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(9, 141, 236, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* All links and buttons */
a,
button,
.btn-primary,
.btn-outline,
.btn-white,
.btn-submit,
.link-more,
summary {
    cursor: pointer;
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

.why-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============================================
   Testimonials
   ============================================= */
.testimonials {
    margin-top: 4rem;
}

.testimonials-label {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quote-mark {
    font-size: 3.5rem;
    color: var(--primary);
    line-height: 0.8;
    font-family: Georgia, serif;
    margin-bottom: 0.75rem;
    display: block;
}

.testimonial-card > p {
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.author-title {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

/* =============================================
   FAQ Hotline
   ============================================= */
.faq-hotline {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
}

.hotline-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.125rem;
}

.hotline-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.125rem;
}

.hotline-hours {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {

    .hero-grid,
    .stats-grid,
    .solutions-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 3rem !important;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .auth-buttons {
        display: none;
    }

    h1 {
        font-size: 2.25rem !important;
    }

    .hero-grid,
    .stats-grid,
    .solutions-grid,
    .faq-grid,
    .contact-grid,
    .footer-grid,
    .grid-2-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 2rem 1.5rem;
    }

    .trust-logos {
        flex-wrap: wrap;
    }
}

/* =============================================
   Scroll Reveal Animation
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger delays for grid children */
.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.15s; }
.reveal-d3 { transition-delay: 0.25s; }
.reveal-d4 { transition-delay: 0.35s; }
.reveal-d5 { transition-delay: 0.10s; }
.reveal-d6 { transition-delay: 0.20s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}