/* ================================================================
   Centre Dental - Same-Day Full-Arch Implants NYC
   Complete Design System
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS Variables & Design Tokens
   ---------------------------------------------------------------- */
:root {
    /* Primary - Navy */
    --primary: #1B4D7A;
    --primary-light: #2A6BAD;
    --primary-dark: #0F3456;
    --primary-darker: #0A2540;

    /* Secondary - Gold */
    --gold: #C08B3F;
    --gold-light: #D4A55E;
    --gold-dark: #9E6F2B;
    --gold-glow: rgba(192, 139, 63, 0.25);

    /* Neutrals */
    --dark: #0E1B2A;
    --text: #2C3E50;
    --text-light: #6B7C8D;
    --text-muted: #9CAAB7;
    --white: #FFFFFF;
    --off-white: #FAFBFC;
    --light-bg: #F4F6F9;
    --cream: #FBF9F6;
    --border: #E2E8F0;
    --border-light: #F0F3F7;

    /* Functional */
    --success: #10B981;
    --success-bg: #ECFDF5;
    --warning: #F59E0B;
    --warning-bg: #FFFBEB;
    --error: #EF4444;
    --error-bg: #FEF2F2;
    --info: #3B82F6;
    --info-bg: #EFF6FF;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0A2540 0%, #1B4D7A 40%, #2A6BAD 100%);
    --gradient-gold: linear-gradient(135deg, #C08B3F, #D4A55E, #C08B3F);
    --gradient-dark: linear-gradient(180deg, #0E1B2A, #162D4A);
    --gradient-section: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(14, 27, 42, 0.04);
    --shadow-sm: 0 2px 8px rgba(14, 27, 42, 0.06);
    --shadow-md: 0 4px 24px rgba(27, 77, 122, 0.07);
    --shadow-lg: 0 8px 40px rgba(27, 77, 122, 0.10);
    --shadow-xl: 0 16px 64px rgba(27, 77, 122, 0.14);
    --shadow-gold: 0 4px 20px rgba(192, 139, 63, 0.25);
    --shadow-gold-lg: 0 8px 32px rgba(192, 139, 63, 0.35);

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Layout */
    --container-max: 1200px;
    --container-wide: 1400px;
    --header-height: 80px;
    --top-bar-height: 44px;
}

/* ----------------------------------------------------------------
   2. Reset & Base
   ---------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

html::-webkit-scrollbar { width: 0; height: 0; }
html { scrollbar-width: none; -ms-overflow-style: none; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.lang-zh {
    font-family: var(--font-zh);
}

body.lang-zh h1,
body.lang-zh h2,
body.lang-zh h3,
body.lang-zh h4,
body.lang-zh h5,
body.lang-zh h6 {
    font-family: var(--font-zh);
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold);
}

ul, ol {
    list-style: none;
}

/* ----------------------------------------------------------------
   3. Typography
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: 3.2rem; letter-spacing: -0.02em; }
h2 { font-size: 2.4rem; letter-spacing: -0.01em; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text);
}

/* ----------------------------------------------------------------
   4. Bilingual System
   ---------------------------------------------------------------- */
.lang-en,
.lang-zh {
    display: inline;
}

body.lang-en .lang-zh {
    display: none !important;
}

body.lang-zh .lang-en {
    display: none !important;
}

div.lang-en,
div.lang-zh,
p.lang-en,
p.lang-zh,
li.lang-en,
li.lang-zh,
h1.lang-en, h1.lang-zh,
h2.lang-en, h2.lang-zh,
h3.lang-en, h3.lang-zh,
h4.lang-en, h4.lang-zh,
span.lang-en,
span.lang-zh {
    display: inline;
}

body.lang-en div.lang-zh,
body.lang-en p.lang-zh,
body.lang-en li.lang-zh,
body.lang-en h1.lang-zh,
body.lang-en h2.lang-zh,
body.lang-en h3.lang-zh,
body.lang-en h4.lang-zh,
body.lang-en span.lang-zh {
    display: none !important;
}

body.lang-zh div.lang-en,
body.lang-zh p.lang-en,
body.lang-zh li.lang-en,
body.lang-zh h1.lang-en,
body.lang-zh h2.lang-en,
body.lang-zh h3.lang-en,
body.lang-zh h4.lang-en,
body.lang-zh span.lang-en {
    display: none !important;
}

/* ----------------------------------------------------------------
   5. Layout
   ---------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 1.5rem;
}

main {
    flex: 1;
}

.section {
    padding: var(--space-3xl) 0;
}

.section-sm {
    padding: var(--space-xl) 0;
}

.section-alt {
    background: var(--light-bg);
}

.section-cream {
    background: var(--cream);
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.85);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-xl);
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.skip-to-content {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-to-content:focus {
    top: 0;
    color: var(--white);
}

/* ----------------------------------------------------------------
   6. Top Bar
   ---------------------------------------------------------------- */
.top-bar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.top-bar-left a:hover {
    color: var(--gold-light);
}

.top-bar-left i {
    font-size: 0.8rem;
    color: var(--gold);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-hours {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
}

.top-bar-hours i {
    color: var(--gold);
    font-size: 0.78rem;
}

/* ----------------------------------------------------------------
   7. Header & Navigation
   ---------------------------------------------------------------- */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-lg);
    border-bottom-color: transparent;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--dark);
    white-space: nowrap;
}

.logo a:hover {
    opacity: 0.85;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-hero);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.nav-links > li > a {
    padding: 0.5rem 0.55rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: center;
}

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

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    transform: scaleX(1);
}

.nav-links > li > a i.fa-chevron-down {
    font-size: 0.6rem;
    transition: transform var(--transition);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--light-bg);
    color: var(--primary);
    padding-left: 1.5rem;
}

.nav-cta {
    background: var(--gradient-gold) !important;
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    box-shadow: var(--shadow-gold);
    transition: var(--transition) !important;
}

.nav-cta:hover {
    box-shadow: var(--shadow-gold-lg) !important;
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-left: 0.5rem;
    border-left: 1px solid var(--border);
    padding-left: 0.75rem;
    flex-shrink: 0;
}

.lang-toggle .lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.lang-toggle .lang-btn:hover {
    color: var(--primary);
    background: var(--light-bg);
}

.lang-toggle .lang-btn.active {
    color: var(--primary);
    background: rgba(27, 77, 122, 0.08);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(5px) translateX(5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14, 27, 42, 0.5);
    z-index: 998;
    backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    display: block;
}

/* ----------------------------------------------------------------
   8. Buttons
   ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

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

.btn-primary:hover {
    box-shadow: var(--shadow-gold-lg);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

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

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

.btn-dark {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--off-white);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.88rem;
}

.btn-lg {
    padding: 1.1rem 2.25rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn i {
    font-size: 0.9em;
}

/* ----------------------------------------------------------------
   9. Hero Section
   ---------------------------------------------------------------- */
.hero {
    background: url('images/hero-bg.png') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 27, 42, 0.82) 0%, rgba(27, 77, 122, 0.7) 50%, rgba(14, 27, 42, 0.75) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(192, 139, 63, 0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

.hero-particle:nth-child(1) { left: 10%; top: 20%; animation-duration: 12s; animation-delay: 0s; width: 4px; height: 4px; }
.hero-particle:nth-child(2) { left: 25%; top: 60%; animation-duration: 15s; animation-delay: -3s; width: 8px; height: 8px; }
.hero-particle:nth-child(3) { left: 45%; top: 10%; animation-duration: 10s; animation-delay: -6s; }
.hero-particle:nth-child(4) { left: 65%; top: 70%; animation-duration: 18s; animation-delay: -2s; width: 5px; height: 5px; }
.hero-particle:nth-child(5) { left: 80%; top: 30%; animation-duration: 14s; animation-delay: -8s; width: 7px; height: 7px; }
.hero-particle:nth-child(6) { left: 90%; top: 50%; animation-duration: 11s; animation-delay: -4s; width: 3px; height: 3px; }

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 0.6; }
    50% { opacity: 1; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-100vh) translateX(30px) scale(0.5); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroShimmer 4s ease-in-out infinite;
}

@keyframes heroShimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-pipeline {
    display: flex;
    gap: 0;
    align-items: stretch;
    margin-top: 1rem;
}

.pipeline-step {
    flex: 1;
    text-align: center;
    padding: 1.25rem 0.75rem;
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.pipeline-step:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.pipeline-step:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pipeline-step:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(192, 139, 63, 0.3);
}

.pipeline-step::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 0.7rem;
    z-index: 1;
}

.pipeline-step:last-child::after {
    display: none;
}

.pipeline-icon {
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.pipeline-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

/* ----------------------------------------------------------------
   10. Page Hero (Inner Pages)
   ---------------------------------------------------------------- */
.page-hero {
    background: var(--gradient-hero);
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right center, rgba(192, 139, 63, 0.06) 0%, transparent 70%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--gold-light);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

.breadcrumb .current {
    color: var(--gold-light);
    font-weight: 500;
}

/* ----------------------------------------------------------------
   11. Trust Bar
   ---------------------------------------------------------------- */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
    position: relative;
    z-index: 2;
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.trust-item i {
    color: var(--gold);
    font-size: 1rem;
}

.trust-item .trust-rating {
    color: var(--gold);
    font-weight: 700;
}

/* ----------------------------------------------------------------
   12. Feature / Value Cards
   ---------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(192, 139, 63, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(27, 77, 122, 0.08), rgba(27, 77, 122, 0.04));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.features-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* ----------------------------------------------------------------
   13. Process Steps
   ---------------------------------------------------------------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem 1.5rem;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-gold);
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.7;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.process-step:last-child::after {
    display: none;
}

.process-step:nth-child(3n)::after {
    display: none;
}

/* ----------------------------------------------------------------
   14. Equipment / Technology Cards
   ---------------------------------------------------------------- */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.equipment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.equipment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.equipment-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--light-bg);
}

.equipment-card-body {
    padding: 1.5rem;
}

.equipment-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary);
}

.equipment-card p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.equipment-badge {
    display: inline-block;
    background: rgba(27, 77, 122, 0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

/* ----------------------------------------------------------------
   15. Candidate Module
   ---------------------------------------------------------------- */
.candidate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.candidate-card {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
}

.candidate-card.suitable {
    background: linear-gradient(135deg, var(--success-bg), var(--white));
    border-color: rgba(16, 185, 129, 0.2);
}

.candidate-card.evaluate {
    background: linear-gradient(135deg, var(--warning-bg), var(--white));
    border-color: rgba(245, 158, 11, 0.2);
}

.candidate-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.candidate-card-header i {
    font-size: 1.5rem;
}

.candidate-card.suitable .candidate-card-header i {
    color: var(--success);
}

.candidate-card.evaluate .candidate-card-header i {
    color: var(--warning);
}

.candidate-card h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
}

.candidate-list {
    margin-bottom: 1.5rem;
}

.candidate-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.candidate-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 0.75rem;
    top: 0.65rem;
}

.candidate-card.suitable .candidate-list li::before {
    color: var(--success);
}

.candidate-card.evaluate .candidate-list li::before {
    content: '\f06a';
    color: var(--warning);
}

/* ----------------------------------------------------------------
   16. Before/After Results
   ---------------------------------------------------------------- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.result-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.result-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.result-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.result-label {
    position: absolute;
    bottom: 0.5rem;
    padding: 0.2rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-label.before {
    left: 0.5rem;
    background: rgba(14, 27, 42, 0.7);
}

.result-label.after {
    right: 0.5rem;
    background: rgba(16, 185, 129, 0.85);
}

.result-card-body {
    padding: 1.5rem;
}

.result-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.result-card-body p {
    color: var(--text-light);
    font-size: 0.93rem;
    margin-bottom: 1rem;
}

/* ----------------------------------------------------------------
   17. Doctor / Team Cards
   ---------------------------------------------------------------- */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.doctor-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top center;
}

.doctor-info {
    padding: 1.75rem;
    flex: 1;
}

.doctor-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.doctor-title {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.doctor-info p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.doctor-languages {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.doctor-languages span {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background: rgba(27, 77, 122, 0.06);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

/* ----------------------------------------------------------------
   18. FAQ Accordion
   ---------------------------------------------------------------- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(27, 77, 122, 0.15);
}

.faq-item.active {
    border-color: rgba(192, 139, 63, 0.3);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    transition: var(--transition-fast);
    user-select: none;
}

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

.faq-toggle {
    width: 28px;
    height: 28px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background: var(--primary);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ----------------------------------------------------------------
   19. AI Detection / Assessment
   ---------------------------------------------------------------- */
.ai-assessment-section {
    background: linear-gradient(135deg, #0A2540, #1B4D7A);
    position: relative;
    overflow: hidden;
}

.ai-assessment-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C08B3F' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ai-entry-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.ai-entry-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-gold-lg);
    animation: aiPulse 3s ease-in-out infinite;
}

@keyframes aiPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192, 139, 63, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(192, 139, 63, 0); }
}

.ai-entry-card h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.ai-entry-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* AI Assessment Modal */
.ai-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(14, 27, 42, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ai-modal.active {
    display: flex;
}

.ai-modal-content {
    background: var(--white);
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.ai-modal-header {
    background: var(--gradient-hero);
    padding: 2rem 2rem 1.5rem;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ai-modal-header-text h3 {
    color: var(--white);
    font-size: 1.3rem;
    font-family: var(--font-body);
}

.ai-modal-header-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.ai-modal-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.ai-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.ai-progress {
    padding: 1.25rem 2rem 0;
}

.ai-progress-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.ai-progress-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width 0.5s ease;
    width: 0%;
}

.ai-progress-text {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.ai-question-area {
    padding: 2rem;
}

.ai-step {
    display: none;
}

.ai-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.ai-step h4 {
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--dark);
}

.ai-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ai-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    color: var(--text);
}

.ai-option:hover {
    border-color: var(--primary-light);
    background: rgba(27, 77, 122, 0.03);
}

.ai-option.selected {
    border-color: var(--primary);
    background: rgba(27, 77, 122, 0.06);
    color: var(--primary);
    font-weight: 600;
}

.ai-option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.ai-option.selected .ai-option-radio {
    border-color: var(--primary);
    background: var(--primary);
}

.ai-option.selected .ai-option-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
}

.ai-nav {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid var(--border);
}

.ai-nav .btn {
    min-width: 120px;
}

/* AI Results */
.ai-result {
    display: none;
    padding: 2rem;
    text-align: center;
}

.ai-result.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.ai-result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.ai-result-icon.good {
    background: var(--success-bg);
    color: var(--success);
}

.ai-result-icon.review {
    background: var(--warning-bg);
    color: var(--warning);
}

.ai-result-icon.caution {
    background: var(--info-bg);
    color: var(--info);
}

.ai-result h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

.ai-result p {
    color: var(--text-light);
    max-width: 440px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.ai-result-details {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.ai-result-details li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.93rem;
    color: var(--text);
}

.ai-result-details li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success);
    font-size: 0.75rem;
}

.ai-result-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ----------------------------------------------------------------
   20. CTA Section
   ---------------------------------------------------------------- */
.cta-section {
    background: var(--gradient-hero);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(192, 139, 63, 0.1) 0%, transparent 70%);
}

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

.cta-section h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cta-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.cta-info-item i {
    color: var(--gold-light);
}

/* ----------------------------------------------------------------
   21. Footer
   ---------------------------------------------------------------- */
footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 3.5rem 0 1.5rem;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gold);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.93rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--gold-light);
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
}

.footer-partner {
    margin-top: 0.75rem;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.55) !important;
}

.footer-partner a {
    color: var(--gold) !important;
    font-weight: 600;
}

.footer-partner a:hover {
    color: var(--white) !important;
}

.footer-disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ----------------------------------------------------------------
   22. Forms
   ---------------------------------------------------------------- */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text);
    transition: var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(27, 77, 122, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ----------------------------------------------------------------
   23. Q&A Hub
   ---------------------------------------------------------------- */
.qa-search {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.qa-search input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.qa-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(27, 77, 122, 0.08);
}

.qa-search i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.qa-categories {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.qa-category-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--white);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.qa-category-btn:hover,
.qa-category-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.qa-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.qa-card:hover {
    border-color: rgba(27, 77, 122, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.qa-card-category {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(27, 77, 122, 0.06);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.qa-card h3 {
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.qa-card h3 a {
    color: var(--dark);
}

.qa-card h3 a:hover {
    color: var(--primary);
}

.qa-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.qa-read-more {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.qa-read-more:hover {
    color: var(--gold);
    gap: 0.5rem;
}

/* Q&A Detail Page */
.qa-article {
    max-width: 800px;
    margin: 0 auto;
}

.qa-answer-box {
    background: linear-gradient(135deg, rgba(27, 77, 122, 0.04), rgba(27, 77, 122, 0.08));
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.qa-answer-box strong {
    color: var(--primary);
}

.qa-content h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.qa-content h3 {
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.qa-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.qa-content ul,
.qa-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.qa-content ul li,
.qa-content ol li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    position: relative;
}

.qa-content ul li {
    list-style: none;
    padding-left: 1rem;
}

.qa-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
}

.qa-content ol {
    list-style: decimal;
}

.qa-next-step {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.qa-next-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

.qa-next-step p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

/* ----------------------------------------------------------------
   24. Counters / Stats
   ---------------------------------------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ----------------------------------------------------------------
   25. Animations
   ---------------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible,
.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------------------
   26. Utility Classes
   ---------------------------------------------------------------- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mt-3 { margin-top: 3rem !important; }

/* ----------------------------------------------------------------
   27. Scroll to Top
   ---------------------------------------------------------------- */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ----------------------------------------------------------------
   28. Sticky Mobile CTA
   ---------------------------------------------------------------- */
.sticky-bottom-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 997;
    border-top: 1px solid var(--border);
}

.sticky-cta-inner {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}

.sticky-cta-inner .btn {
    flex: 1;
    padding: 0.7rem;
    font-size: 0.88rem;
}

/* ----------------------------------------------------------------
   29. Responsive Design
   ---------------------------------------------------------------- */
@media (min-width: 1201px) {
    .hero h1 { font-size: 3.6rem; }
}

@media (max-width: 1100px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        z-index: 999;
        overflow-y: auto;
        transition: left var(--transition);
        box-shadow: var(--shadow-xl);
        gap: 0;
    }

    .nav-links.active { left: 0; }

    .nav-links > li > a {
        padding: 0.85rem 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links > li > a::after { display: none; }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 1rem;
        display: none;
        background: transparent;
    }

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

    .dropdown-menu li a {
        padding: 0.6rem 0;
        font-size: 0.93rem;
        border-bottom: 1px solid var(--border-light);
    }

    .dropdown-menu li a:hover {
        padding-left: 0;
        background: transparent;
    }

    .nav-cta {
        text-align: center;
        margin-top: 0.75rem;
    }

    .lang-toggle {
        margin-left: auto;
        margin-right: 0.75rem;
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:nth-child(2n)::after {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }

    .section { padding: var(--space-xl) 0; }

    .top-bar { display: none; }

    header nav { height: 64px; }

    .logo-icon { width: 40px; height: 40px; font-size: 1rem; }
    .logo-name { font-size: 1.05rem; }
    .logo-tagline { font-size: 0.68rem; }

    .hero {
        padding: 3.5rem 0 3rem;
        min-height: auto;
    }

    .hero h1 { font-size: 2.2rem; }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-pipeline {
        flex-direction: column;
        gap: 0.5rem;
    }

    .pipeline-step {
        border-radius: var(--radius-sm) !important;
        flex-direction: row;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-align: left;
        padding: 1rem;
    }

    .pipeline-step::after {
        display: none;
    }

    .pipeline-icon { margin-bottom: 0; }

    .features-grid,
    .features-grid-2,
    .process-grid,
    .candidate-grid,
    .doctors-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .results-grid,
    .qa-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number { font-size: 2.2rem; }

    .process-step::after { display: none; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.75rem;
    }

    .page-hero {
        padding: 3rem 0 2.5rem;
    }

    .page-hero h1 { font-size: 2rem; }

    .ai-entry-card { padding: 2rem 1.5rem; }
    .ai-modal-content { border-radius: var(--radius-lg); }
    .ai-modal-header { padding: 1.5rem; }
    .ai-question-area { padding: 1.5rem; }
    .ai-nav { padding: 1rem 1.5rem 1.5rem; }
    .ai-progress { padding: 0 1.5rem; }

    .sticky-bottom-cta { display: block; }
    .sticky-bottom-cta.hidden { display: none; }

    footer { padding-bottom: 5rem; }

    .trust-items { gap: 1.25rem; }
    .trust-item { font-size: 0.82rem; }

    .cta-section h2 { font-size: 1.8rem; }
    .cta-info { gap: 1.5rem; }

    .qa-answer-box { padding: 1.25rem 1.5rem; }
    .qa-categories { gap: 0.35rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.5rem; }

    .hero h1 { font-size: 1.9rem; }
    .hero-subtitle { font-size: 1rem; }

    .btn { padding: 0.75rem 1.25rem; font-size: 0.93rem; }
    .btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }

    .section-header p { font-size: 1rem; }

    .ai-entry-card { padding: 1.5rem 1rem; }
    .ai-entry-card h2 { font-size: 1.4rem; }
    .ai-entry-icon { width: 64px; height: 64px; font-size: 1.5rem; }

    .scroll-top { bottom: 5rem; right: 1rem; }

    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.82rem; }
}

/* ----------------------------------------------------------------
   30. Print Styles
   ---------------------------------------------------------------- */
@media print {
    .top-bar,
    header,
    .sticky-bottom-cta,
    .scroll-top,
    .ai-modal,
    .cta-section { display: none !important; }

    body { font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: underline; }
    .hero { background: none; color: #000; min-height: auto; padding: 2rem 0; }
    .hero h1, .hero p { color: #000; }
}
