/* ═══════════════════════════════════════════════════════════
   ACBIZ Complete Health Management System
   Landing Page Stylesheet
   Design System: Medical-tech premium — deep navy, clinical teal,
   pure white space, Inter + Playfair Display
═══════════════════════════════════════════════════════════ */

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

:root {
    --navy:      #0A1628;
    --navy-mid:  #0F2044;
    --navy-soft: #162B55;
    --blue:      #0052CC;
    --blue-mid:  #0065FF;
    --blue-light:#E8F0FE;
    --teal:      #00B8A9;
    --teal-light:#E0FAF8;
    --white:     #FFFFFF;
    --off-white: #F8FAFF;
    --gray-50:   #F1F5F9;
    --gray-100:  #E2E8F0;
    --gray-300:  #94A3B8;
    --gray-500:  #64748B;
    --gray-700:  #334155;
    --gray-900:  #0F172A;
    --red:       #EF4444;
    --green:     #10B981;
    --orange:    #F59E0B;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(10,22,40,0.12);
    --shadow-lg: 0 16px 48px rgba(10,22,40,0.18);
    --shadow-xl: 0 32px 80px rgba(10,22,40,0.24);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Announcement Bar ──────────────────────────────────── */
.announce-bar {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.announce-bar a { color: var(--teal); font-weight: 600; }
.announce-bar a:hover { text-decoration: underline; }
.announce-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--teal);
    display: inline-block;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:.5; transform:scale(1.4); }
}

/* ── Navigation ───────────────────────────────────────── */
.hms-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow .25s;
}
.hms-nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-brand {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}
.brand-mark { display: flex; align-items: center; }
.brand-text {
    font-size: 18px;
    color: var(--gray-900);
    letter-spacing: -0.3px;
}
.brand-text strong { color: var(--blue); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    margin: 0;
    padding: 0;
}
.nav-menu li a {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: background .15s, color .15s;
}
.nav-menu li a:hover {
    background: var(--gray-50);
    color: var(--blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-nav-ghost {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: background .15s, color .15s;
}
.btn-nav-ghost:hover { background: var(--gray-50); color: var(--blue); }

.btn-nav-outline {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    border: 1.5px solid var(--blue);
    border-radius: var(--radius-sm);
    transition: background .15s, color .15s;
}
.btn-nav-outline:hover { background: var(--blue); color: var(--white); }

.btn-nav-primary {
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius-sm);
    transition: background .15s, transform .1s;
}
.btn-nav-primary:hover { background: var(--blue-mid); transform: translateY(-1px); }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background .15s;
}
.nav-hamburger:hover { background: var(--gray-50); }
.nav-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-mobile-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}
.nav-mobile-overlay.open { display: block; }

/* ── Hero ─────────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 50%, #0A2A5C 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 24px 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,82,204,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,82,204,0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-glow-1 {
    width: 500px; height: 500px;
    background: rgba(0,82,204,0.25);
    top: -100px; left: -100px;
}
.hero-glow-2 {
    width: 400px; height: 400px;
    background: rgba(0,184,169,0.15);
    bottom: 0; right: -50px;
}

.hero-inner {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: 0.3px;
}
.badge-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--teal);
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 84px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.hero-title-accent {
    color: var(--teal);
    position: relative;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero-primary {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius-md);
    transition: background .15s, transform .1s, box-shadow .15s;
    box-shadow: 0 8px 32px rgba(0,82,204,0.4);
    letter-spacing: 0.2px;
}
.btn-hero-primary:hover {
    background: var(--blue-mid);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,82,204,0.5);
}

.btn-hero-secondary {
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 500;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    transition: background .15s, border-color .15s;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.35);
}

.hero-trust {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}
.hero-trust span { display: block; margin-bottom: 14px; }
.trust-logos {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.trust-badge {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}

/* Hero Dashboard Preview */
.hero-preview {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    margin: 60px auto 0;
}
.preview-card {
    background: #1A2744;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.05);
}
.preview-header {
    background: #141E35;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.preview-dot {
    width: 11px; height: 11px; border-radius: 50%;
}
.preview-dot.red    { background: #FF5F57; }
.preview-dot.yellow { background: #FFBD2E; }
.preview-dot.green  { background: #28CA41; }
.preview-title {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-left: 8px;
    font-weight: 500;
}
.preview-body {
    display: flex;
    min-height: 280px;
}
.preview-sidebar {
    width: 140px;
    background: #111B31;
    padding: 16px 0;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.ps-logo {
    padding: 0 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 10px;
}
.ps-item {
    padding: 8px 14px;
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background .15s, color .15s;
    font-weight: 500;
}
.ps-item.active { background: rgba(0,82,204,0.3); color: rgba(255,255,255,0.9); }
.ps-item:hover:not(.active) { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.7); }
.preview-main {
    flex: 1;
    padding: 16px;
    min-width: 0;
}
.pm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.pm-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); }
.pm-date  { font-size: 11px; color: rgba(255,255,255,0.35); }
.pm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.pm-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px 12px;
}
.pm-stat-val {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}
.pm-stat-val.blue   { color: #60A5FA; }
.pm-stat-val.green  { color: #34D399; }
.pm-stat-val.orange { color: #FBBF24; }
.pm-stat-val.teal   { color: #2DD4BF; }
.pm-stat-label { font-size: 9px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: .5px; }
.pm-chart-row {
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 10px;
}
.pm-chart {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 12px;
}
.pm-chart-label { font-size: 9px; color: rgba(255,255,255,0.3); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.pm-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
}
.pm-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    gap: 3px;
}
.pm-bar {
    width: 100%;
    background: linear-gradient(to top, var(--blue), var(--teal));
    border-radius: 3px 3px 0 0;
    transition: opacity .2s;
}
.pm-bar:hover { opacity: .7; }
.pm-bar-day { font-size: 8px; color: rgba(255,255,255,0.25); }
.pm-alerts {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 12px;
}
.pm-alert-label { font-size: 9px; color: rgba(255,255,255,0.3); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.pm-alert-item {
    font-size: 10px;
    padding: 4px 0;
    color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pm-alert-item:last-child { border: none; }

/* ── Stats Bar ─────────────────────────────────────────── */
.stats-section {
    background: var(--blue);
    padding: 40px 24px;
}
.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
    padding: 16px 48px;
    flex: 1;
    min-width: 160px;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* ── Section Shared ───────────────────────────────────── */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}
.section-eyebrow.light { color: var(--teal); }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.section-title.light { color: var(--white); }
.section-sub {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 60px;
}

/* ── Features ─────────────────────────────────────────── */
.features-section {
    padding: 100px 24px;
    background: var(--off-white);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: transform .2s, box-shadow .2s, opacity .4s, translate .4s;
    opacity: 0;
    translate: 0 20px;
}
.feature-card.revealed { opacity: 1; translate: 0 0; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card.fc-large {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    border-color: transparent;
    color: var(--white);
}
.feature-card.fc-large h3 { color: var(--white); }
.feature-card.fc-large p  { color: rgba(255,255,255,0.7); }
.fc-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.25;
}
.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}
.fc-list {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fc-list li {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    padding-left: 18px;
    position: relative;
}
.fc-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

/* ── Modules ──────────────────────────────────────────── */
.modules-section {
    padding: 100px 24px;
    background: var(--navy);
}
.modules-section .section-title { color: var(--white); }
.modules-section .section-sub   { color: rgba(255,255,255,0.55); }
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 60px;
}
.module-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    transition: background .2s, border-color .2s, opacity .4s, translate .4s;
    opacity: 0;
    translate: 0 16px;
}
.module-card.revealed { opacity: 1; translate: 0 0; }
.module-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(0,184,169,0.3);
}
.module-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.module-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 3px;
}
.module-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
}

/* ── AI Features ──────────────────────────────────────── */
.ai-section {
    padding: 100px 24px;
    background: var(--off-white);
}
.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}
.ai-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: transform .2s, box-shadow .2s, opacity .4s, translate .4s;
    opacity: 0;
    translate: 0 16px;
}
.ai-card.revealed { opacity: 1; translate: 0 0; }
.ai-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ai-card-primary {
    background: linear-gradient(135deg, var(--teal) 0%, #007F78 100%);
    border-color: transparent;
    grid-column: span 1;
}
.ai-card-primary h3 { color: var(--white); }
.ai-card-primary p  { color: rgba(255,255,255,0.8); }
.ai-card-primary .ai-icon { color: rgba(255,255,255,0.9); }
.ai-icon { font-size: 32px; margin-bottom: 14px; display: block; }
.ai-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}
.ai-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ── Roles ────────────────────────────────────────────── */
.roles-section {
    padding: 100px 24px;
    background: var(--white);
}
.roles-section .section-sub { margin-bottom: 48px; }
.roles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.role-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    transition: background .15s, border-color .15s, color .15s, opacity .4s, translate .3s;
    opacity: 0;
    translate: 0 12px;
}
.role-chip.revealed { opacity: 1; translate: 0 0; }
.role-chip:hover { background: var(--blue-light); border-color: var(--blue); color: var(--blue); }

/* ── Deployment ───────────────────────────────────────── */
.deploy-section {
    padding: 100px 24px;
    background: var(--gray-50);
}
.deploy-section .section-sub { margin-bottom: 52px; }
.deploy-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.deploy-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 24px 18px;
    text-align: center;
    transition: transform .2s, box-shadow .2s, border-color .2s, opacity .4s, translate .4s;
    opacity: 0;
    translate: 0 16px;
}
.deploy-card.revealed { opacity: 1; translate: 0 0; }
.deploy-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
}
.deploy-icon { font-size: 28px; margin-bottom: 10px; }
.deploy-name { font-size: 13px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.deploy-desc { font-size: 11px; color: var(--gray-500); line-height: 1.5; }

/* ── Integrations ─────────────────────────────────────── */
.integrations-section {
    padding: 100px 24px;
    background: var(--white);
}
.integrations-section .section-sub { margin-bottom: 52px; }
.integrations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 52px;
}
.integration-chip {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: background .15s, border-color .15s, transform .15s, opacity .4s, translate .3s;
    opacity: 0;
    translate: 0 12px;
}
.integration-chip.revealed { opacity: 1; translate: 0 0; }
.integration-chip:hover {
    background: var(--blue-light);
    border-color: var(--blue);
    transform: translateY(-2px);
}

/* ── CTA ──────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(165deg, var(--navy) 0%, #0A2A5C 100%);
    padding: 120px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,82,204,0.3) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 10; }
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.cta-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    max-width: 560px;
    margin: 0 auto 44px;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.btn-cta-primary {
    padding: 18px 44px;
    font-size: 16px;
    font-weight: 700;
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0,82,204,0.5);
    transition: background .15s, transform .1s, box-shadow .15s;
    letter-spacing: 0.2px;
}
.btn-cta-primary:hover {
    background: var(--blue-mid);
    transform: translateY(-2px);
    box-shadow: 0 14px 44px rgba(0,82,204,0.6);
}
.btn-cta-secondary {
    padding: 18px 36px;
    font-size: 15px;
    font-weight: 500;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    transition: background .15s, border-color .15s;
}
.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.4);
}
.cta-note {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
}

/* ── Footer ───────────────────────────────────────────── */
.hms-footer {
    background: var(--gray-900);
    padding: 72px 24px 32px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto 52px;
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}
.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 200px;
}
.footer-brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}
.footer-tagline {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
    max-width: 180px;
}
.footer-links {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    flex: 1;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 120px;
}
.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 4px;
}
.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    transition: color .15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card.fc-large { grid-column: span 2; }
    .deploy-grid { grid-template-columns: repeat(3, 1fr); }
    .ai-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu, .nav-actions {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 80px 24px 32px;
        z-index: 1000;
        gap: 6px;
        box-shadow: var(--shadow-xl);
    }
    .nav-menu.open, .nav-actions.open { display: flex; }
    .nav-menu { top: 0; align-items: flex-start; }
    .nav-menu li a { padding: 12px 0; font-size: 18px; display: block; }
    .nav-actions { top: auto; bottom: 0; flex-direction: row; padding: 20px 24px; border-top: 1px solid var(--gray-100); }
    .nav-hamburger { display: flex; }

    /* Show actions inside the mobile menu */
    .nav-actions { display: flex; position: static; background: transparent; padding: 0; box-shadow: none; flex-direction: column; width: 100%; }

    .hero-section { padding: 80px 20px 60px; }
    .hero-preview { display: none; }
    .stats-inner { gap: 0; }
    .stat-item { padding: 16px 24px; }
    .stat-divider { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card.fc-large { grid-column: span 1; }
    .ai-grid { grid-template-columns: 1fr; }
    .deploy-grid { grid-template-columns: repeat(2, 1fr); }
    .pm-stats { grid-template-columns: repeat(2, 1fr); }
    .pm-chart-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-edition { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 40px; letter-spacing: -1px; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; text-align: center; }
    .hero-actions { flex-direction: column; }
    .deploy-grid { grid-template-columns: 1fr 1fr; }
    .cta-actions { flex-direction: column; }
    .btn-cta-primary, .btn-cta-secondary { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .feature-card, .module-card, .ai-card, .deploy-card, .role-chip, .integration-chip {
        opacity: 1; translate: 0 0;
    }
}
