/* ==========================================================================
   ElderCare Companion - Multi-Page Marketing Website Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    /* Brand Colors */
    --c-primary: #7C3AED;
    --c-primary-light: #A78BFA;
    --c-primary-dark: #5B21B6;
    --c-secondary: #2DD4BF;
    --c-secondary-dk: #0D9488;
    --c-accent: #F472B6;

    /* Neutrals */
    --c-dark: #0F172A;
    --c-dark-2: #1E293B;
    --c-dark-3: #334155;
    --c-mid: #64748B;
    --c-muted: #94A3B8;
    --c-border: #E2E8F0;
    --c-light: #F1F5F9;
    --c-lighter: #F8FAFC;
    --c-white: #FFFFFF;

    /* Status Colors */
    --c-success: #22C55E;
    --c-warning: #F59E0B;
    --c-error: #EF4444;
    --c-info: #3B82F6;

    /* Gradients */
    --g-primary: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    --g-ocean: linear-gradient(135deg, #0EA5E9 0%, #2DD4BF 100%);
    --g-purple: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);

    /* Spacing Scale (8px base) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-28: 112px;
    --space-32: 128px;

    /* Shadows */
    --s-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --s-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --s-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --s-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --s-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --s-glow: 0 0 40px rgba(124, 58, 237, 0.25);

    /* Border Radius */
    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-2xl: 32px;
    --r-3xl: 40px;
    --r-pill: 9999px;

    /* Transitions */
    --t-fast: 140ms ease;
    --t-base: 240ms ease;
    --t-slow: 360ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Premium Upgrades */
    --g-mesh: radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(45, 212, 191, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(244, 114, 182, 0.05) 0%, transparent 50%);
    --g-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    --s-glass: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    --s-glow-teal: 0 0 40px rgba(45, 212, 191, 0.3);
    --s-glow-pink: 0 0 40px rgba(244, 114, 182, 0.2);
    --s-card-hover: 0 24px 48px -12px rgba(124, 58, 237, 0.18), 0 0 0 1px rgba(124, 58, 237, 0.08);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--c-dark-2);
    background-color: var(--c-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 66px;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 48px;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 26px;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 18px;
    font-weight: 700;
}

p {
    max-width: 72ch;
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--r-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--t-base);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--c-dark);
    color: var(--c-white);
}

.btn-primary:hover {
    background-color: var(--c-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--c-border);
    color: var(--c-dark-2);
}

.btn-outline:hover {
    background-color: var(--c-light);
    border-color: var(--c-dark-3);
}

.btn-outline-white {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--c-white);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--c-white);
}

.btn-gradient {
    background: var(--g-primary);
    color: var(--c-white);
}

.btn-gradient:hover {
    background: var(--c-primary);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--c-dark);
    color: var(--c-white);
}

.btn-dark:hover {
    background-color: var(--c-primary);
}

.btn-white {
    background-color: var(--c-white);
    color: var(--c-dark);
}

.btn-white:hover {
    background-color: var(--c-lighter);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 30px;
    font-size: 16px;
}

.full-width {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 76px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border);
    height: 68px;
}

.navbar-dark {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
}

.navbar-dark.scrolled {
    background-color: rgba(15, 23, 42, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    font-weight: 800;
    font-size: 20px;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--c-dark);
}

.navbar-dark .logo-text,
.navbar.scrolled .logo-text {
    color: var(--c-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--c-mid);
    transition: color var(--t-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--c-primary);
}

.navbar-dark .nav-links a {
    color: rgba(255, 255, 255, 0.7);
}

.navbar-dark .nav-links a:hover,
.navbar-dark .nav-links a.active {
    color: var(--c-white);
}

.nav-cta {
    padding: 10px 22px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--c-dark);
    transition: all var(--t-base);
}

.navbar-dark .hamburger span {
    background-color: var(--c-white);
}

.hamburger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--c-white);
    padding: var(--space-6);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--s-lg);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.mobile-menu a {
    display: block;
    padding: var(--space-3);
    font-size: 16px;
    font-weight: 600;
    color: var(--c-dark-2);
}

.mobile-cta {
    width: 100%;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Hero Section (Shared)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 64px;
    overflow: hidden;
    background-color: var(--c-white);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    animation: orb-drift 22s ease-in-out infinite alternate;
}

.orb-1 {
    width: 700px;
    height: 700px;
    top: -200px;
    right: -100px;
    background-color: rgba(124, 58, 237, 0.06);
}

.orb-2 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: -100px;
    background-color: rgba(45, 212, 191, 0.05);
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    top: 40%;
    left: 30%;
    background-color: rgba(244, 114, 182, 0.04);
    animation-delay: -10s;
}

.grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.025;
}

.hero-container {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background-color: rgba(124, 58, 237, 0.08);
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-primary);
    margin-bottom: var(--space-6);
}

.hero-headline {
    margin-bottom: var(--space-6);
}

.hero-headline .line {
    display: block;
}

.hero-headline .dark {
    color: var(--c-dark);
}

.hero-headline .gradient {
    background: var(--g-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subhead {
    font-size: 19px;
    color: var(--c-mid);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--c-dark);
}

.stat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--c-border);
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 260px;
}

.phone-frame {
    width: 260px;
    height: 520px;
    background-color: #141414;
    border-radius: 50px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background-color: #141414;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--c-light);
    border-radius: 40px;
    overflow: hidden;
    padding: 50px 16px 16px;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.app-user {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.app-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
}

.app-user-info {
    display: flex;
    flex-direction: column;
}

.app-user-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-dark);
}

.app-date {
    font-size: 11px;
    color: var(--c-muted);
}

.app-bell {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    background-color: var(--c-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-mid);
}

.app-stats {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.app-stat-card {
    flex: 1;
    background-color: var(--c-white);
    border-radius: var(--r-md);
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
}

.stat-icon.indigo {
    background-color: #6366F1;
}

.stat-icon.amber {
    background-color: #F59E0B;
}

.stat-icon.green {
    background-color: #22C55E;
}

.stat-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.stat-line {
    height: 6px;
    background-color: var(--c-border);
    border-radius: 3px;
    width: 100%;
}

.stat-line.short {
    width: 60%;
}

.app-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-muted);
    margin-bottom: var(--space-2);
}

.patient-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background-color: var(--c-white);
    border-radius: var(--r-md);
    padding: var(--space-3);
    margin-bottom: var(--space-2);
    border: 1px solid var(--c-border);
}

.patient-card.active {
    border-color: var(--c-primary);
}

.patient-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
}

.active-avatar {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
}

.upcoming-avatar {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
}

.patient-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.patient-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-dark);
}

.patient-address {
    font-size: 11px;
    color: var(--c-muted);
}

.patient-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    background-color: var(--c-primary);
    color: var(--c-white);
    border-radius: var(--r-pill);
}

.patient-time {
    font-size: 12px;
    font-weight: 600;
    color: var(--c-muted);
}

.clock-in-btn {
    width: 100%;
    padding: var(--space-3);
    background-color: var(--c-dark);
    color: var(--c-white);
    border: none;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: auto;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 10px 14px;
    background-color: var(--c-white);
    border-radius: var(--r-lg);
    box-shadow: var(--s-lg);
    z-index: 10;
}

.fc-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
}

.fc-icon.green {
    background-color: var(--c-success);
}

.fc-icon.purple {
    background-color: var(--c-primary);
}

.fc-icon.blue {
    background-color: var(--c-info);
}

.fc-content {
    display: flex;
    flex-direction: column;
}

.fc-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-dark);
}

.fc-sub {
    font-size: 11px;
    color: var(--c-muted);
}

.fc-1 {
    top: -20px;
    right: -40px;
    animation: float-up 6.5s ease-in-out infinite;
}

.fc-2 {
    bottom: 40px;
    left: -50px;
    animation: float-down 7.5s ease-in-out infinite;
    animation-delay: 1s;
}

.fc-3 {
    top: 40%;
    right: -60px;
    animation: float-mid 8s ease-in-out infinite;
    animation-delay: 2s;
}

/* --------------------------------------------------------------------------
   Social Proof Bar
   -------------------------------------------------------------------------- */
.social-proof {
    background-color: var(--c-dark);
    padding: var(--space-5) 0;
}

.proof-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.proof-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-muted);
}

.proof-pills {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.proof-pill {
    padding: var(--space-2) var(--space-4);
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--c-white);
}

.proof-divider {
    width: 1px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.15);
}

.proof-stat {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
}

.proof-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--c-secondary);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-header.left {
    text-align: left;
}

.badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--r-pill);
    margin-bottom: var(--space-3);
}

.badge-pink {
    background-color: rgba(244, 114, 182, 0.1);
    color: #BE185D;
}

.badge-teal {
    background-color: rgba(45, 212, 191, 0.1);
    color: var(--c-secondary-dk);
}

.badge-purple {
    background-color: rgba(124, 58, 237, 0.1);
    color: var(--c-primary);
}

.badge-white {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--c-white);
}

.section-header h2 {
    margin-bottom: var(--space-3);
}

.section-subtext {
    font-size: 16px;
    color: var(--c-mid);
    max-width: 600px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Problem Cards
   -------------------------------------------------------------------------- */
.problems {
    padding: 48px 0;
    background-color: var(--c-white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.problem-card {
    background-color: var(--c-lighter);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 36px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.problem-card:hover {
    background-color: var(--c-white);
    border-color: var(--c-primary-light);
    transform: translateY(-5px);
    box-shadow: var(--s-lg);
}

.problem-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-icon.pink {
    background-color: rgba(244, 114, 182, 0.15);
    color: #BE185D;
}

.problem-icon.amber {
    background-color: rgba(245, 158, 11, 0.15);
    color: #D97706;
}

.problem-icon.rose {
    background-color: rgba(251, 113, 133, 0.15);
    color: #E11D48;
}

.problem-icon.red {
    background-color: rgba(239, 68, 68, 0.15);
    color: #DC2626;
}

.problem-card:hover .problem-icon {
    background: var(--g-primary);
    color: var(--c-white);
}

.problem-card h3 {
    font-size: 20px;
    margin-bottom: var(--space-3);
    color: var(--c-dark);
}

.problem-card p {
    font-size: 15px;
    color: var(--c-mid);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Feature Highlight Cards (Home Page Teaser)
   -------------------------------------------------------------------------- */
.feature-highlights {
    padding: 48px 0;
    background-color: var(--c-white);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.highlight-card {
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 36px;
    text-align: center;
    transition: all var(--t-base);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--s-lg);
    border-color: var(--c-primary-light);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    color: var(--c-white);
}

.highlight-icon.ocean {
    background: var(--g-ocean);
}

.highlight-icon.purple {
    background: var(--g-primary);
}

.highlight-icon.blue {
    background: linear-gradient(135deg, #3B82F6 0%, #2DD4BF 100%);
}

.highlight-card h3 {
    font-size: 20px;
    margin-bottom: var(--space-3);
    color: var(--c-dark);
}

.highlight-card p {
    font-size: 15px;
    color: var(--c-mid);
    margin-bottom: var(--space-4);
}

.highlight-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.highlight-link:hover {
    color: var(--c-primary-dark);
}

/* --------------------------------------------------------------------------
   Features Section (Full Depth)
   -------------------------------------------------------------------------- */
.features-section {
    padding: 48px 0;
    background-color: var(--c-light);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse>* {
    direction: ltr;
}

.feature-content {
    max-width: 480px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    margin-bottom: var(--space-5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon.ocean {
    background: var(--g-ocean);
}

.feature-icon.purple {
    background: var(--g-purple);
}

.feature-icon.blue {
    background: linear-gradient(135deg, #3B82F6 0%, #2DD4BF 100%);
}

.feature-icon.amber {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
}

.feature-icon.green {
    background: linear-gradient(135deg, #10B981 0%, #2DD4BF 100%);
}

.feature-icon.indigo {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
}

.feature-content h3 {
    font-size: 28px;
    margin-bottom: var(--space-4);
    color: var(--c-dark);
}

.feature-content p {
    font-size: 17px;
    color: var(--c-mid);
    line-height: 1.72;
    margin-bottom: var(--space-6);
}

.feature-checks {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.feature-checks li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-dark);
}

.check-teal {
    color: var(--c-secondary);
    flex-shrink: 0;
}

/* Visual Cards */
.visual-card {
    background-color: var(--c-white);
    border-radius: var(--r-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--c-border);
    overflow: hidden;
}

/* Map UI */
.map-ui {
    padding: var(--space-4);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
    font-size: 13px;
    font-weight: 700;
    color: var(--c-dark);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 12px;
    color: var(--c-success);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--c-success);
    border-radius: 50%;
    animation: pulse-dot 1.6s ease-in-out infinite;
}

.map-area {
    height: 180px;
    background-color: #F1F5F9;
    border-radius: var(--r-md);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-3);
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #CBD5E1 1px, transparent 1px);
    background-size: 24px 24px;
}

.gps-ping {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gps-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--c-info);
    border-radius: 50%;
    animation: ping 2s infinite;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.gps-dot {
    width: 12px;
    height: 12px;
    background-color: var(--c-info);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.map-info-bar {
    padding: var(--space-2);
}

.info-pill {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    background-color: var(--c-white);
    border-radius: var(--r-md);
    padding: var(--space-3);
    box-shadow: var(--s-md);
}

.info-stripe {
    width: 4px;
    height: 100%;
    min-height: 36px;
    background-color: var(--c-secondary);
    border-radius: 2px;
}

.info-text {
    font-size: 13px;
    color: var(--c-dark-2);
    line-height: 1.4;
}

.info-text strong {
    color: var(--c-dark);
}

/* MAR UI */
.mar-ui {
    padding: var(--space-4);
}

.mar-header {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: var(--space-4);
}

.mar-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--r-md);
    margin-bottom: var(--space-2);
}

.mar-row.overdue {
    background-color: rgba(239, 68, 68, 0.08);
    border-left: 3px solid var(--c-error);
}

.mar-row.done {
    background-color: rgba(34, 197, 94, 0.08);
    border-left: 3px solid var(--c-success);
}

.mar-row.upcoming {
    background-color: var(--c-light);
}

.mar-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mar-status.red {
    background-color: var(--c-error);
}

.mar-status.green {
    background-color: var(--c-success);
}

.mar-status.gray {
    background-color: var(--c-muted);
}

.mar-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mar-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-dark);
}

.mar-time {
    font-size: 12px;
}

.mar-time.red {
    color: var(--c-error);
}

.mar-time.green {
    color: var(--c-success);
}

.mar-time.gray {
    color: var(--c-muted);
}

.mar-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--r-pill);
}

.mar-badge.red {
    background-color: var(--c-error);
    color: var(--c-white);
}

.mar-badge.gray {
    background-color: var(--c-muted);
    color: var(--c-white);
}

.mar-check {
    color: var(--c-success);
}

/* Family UI */
.family-ui {
    padding: var(--space-4);
}

.family-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    font-size: 15px;
    font-weight: 700;
    color: var(--c-dark);
}

.family-feed {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.feed-row {
    display: flex;
    gap: var(--space-3);
}

.feed-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    flex-shrink: 0;
}

.feed-icon.green {
    background-color: var(--c-success);
}

.feed-icon.indigo {
    background-color: #6366F1;
}

.feed-icon.amber {
    background-color: #F59E0B;
}

.feed-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feed-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-dark);
}

.feed-desc {
    font-size: 12px;
    color: var(--c-mid);
    line-height: 1.4;
}

.feed-time {
    font-size: 11px;
    color: var(--c-muted);
    margin-top: var(--space-1);
}

/* Incident UI */
.incident-ui {
    padding: var(--space-4);
}

.incident-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.incident-header span {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-dark);
}

.incident-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background-color: rgba(245, 158, 11, 0.15);
    color: #D97706;
}

.incident-chips {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.chip {
    padding: var(--space-2) var(--space-3);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--r-pill);
    background-color: var(--c-light);
    color: var(--c-mid);
}

.chip.active {
    background-color: rgba(124, 58, 237, 0.1);
    color: var(--c-primary);
}

.incident-desc {
    margin-bottom: var(--space-4);
}

.desc-placeholder {
    height: 12px;
    background-color: var(--c-border);
    border-radius: 6px;
    margin-bottom: var(--space-2);
    width: 100%;
}

.desc-placeholder.short {
    width: 60%;
}

.incident-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4);
    border: 2px dashed var(--c-border);
    border-radius: var(--r-md);
    margin-bottom: var(--space-4);
    color: var(--c-muted);
    font-size: 13px;
}

.incident-btn {
    width: 100%;
    padding: var(--space-3);
    background-color: var(--c-dark);
    color: var(--c-white);
    border: none;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--t-fast);
}

.incident-btn:hover {
    background-color: var(--c-primary);
}

/* Compliance Export UI */
.export-ui {
    padding: var(--space-4);
}

.export-header {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: var(--space-4);
}

.export-date-row {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.export-date-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    background-color: var(--c-light);
    border-radius: var(--r-sm);
    font-size: 13px;
    color: var(--c-mid);
}

.export-toggles {
    margin-bottom: var(--space-4);
}

.export-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3);
    border-radius: var(--r-sm);
    margin-bottom: var(--space-2);
    background-color: var(--c-light);
}

.export-toggle-label {
    font-size: 13px;
    color: var(--c-dark);
}

.export-toggle-check {
    color: var(--c-success);
}

.export-progress {
    margin-bottom: var(--space-4);
}

.export-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--c-mid);
    margin-bottom: var(--space-2);
}

.export-progress-bar {
    height: 8px;
    background-color: var(--c-light);
    border-radius: 4px;
    overflow: hidden;
}

.export-progress-fill {
    height: 100%;
    background: var(--g-ocean);
    border-radius: 4px;
    width: 90%;
}

/* Admin Dashboard UI */
.dashboard-ui {
    padding: var(--space-4);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    font-size: 14px;
    font-weight: 700;
    color: var(--c-dark);
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.dash-stat {
    background-color: var(--c-light);
    border-radius: var(--r-md);
    padding: var(--space-3);
    text-align: center;
}

.dash-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--c-dark);
}

.dash-stat-value.alert {
    color: var(--c-error);
}

.dash-stat-label {
    font-size: 11px;
    color: var(--c-muted);
}

.dash-shift-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.dash-shift-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
}

.dash-shift-row.alert {
    border-left: 3px solid var(--c-error);
    background-color: rgba(239, 68, 68, 0.03);
}

.dash-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
}

.dash-info {
    flex: 1;
}

.dash-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-dark);
}

.dash-patient {
    font-size: 11px;
    color: var(--c-muted);
}

.dash-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--r-pill);
}

.dash-badge.active {
    background-color: rgba(34, 197, 94, 0.15);
    color: var(--c-success);
}

.dash-badge.scheduled {
    background-color: var(--c-light);
    color: var(--c-muted);
}

.dash-badge.overdue {
    background-color: var(--c-error);
    color: var(--c-white);
}

/* --------------------------------------------------------------------------
   Role-Based Features
   -------------------------------------------------------------------------- */
.role-features {
    padding: 48px 0;
    background-color: var(--c-white);
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.role-card {
    background-color: var(--c-lighter);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 32px;
}

.role-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--c-white);
}

.role-icon.admin {
    background: var(--g-purple);
}

.role-icon.caregiver {
    background: var(--g-ocean);
}

.role-icon.family {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
}

.role-card h3 {
    font-size: 20px;
    margin-bottom: var(--space-2);
    color: var(--c-dark);
}

.role-desc {
    font-size: 14px;
    color: var(--c-mid);
    margin-bottom: var(--space-5);
}

.role-features-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 14px;
    color: var(--c-dark-2);
    margin-bottom: var(--space-3);
}

.role-features-list li i {
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   How It Works Section
   -------------------------------------------------------------------------- */
.how-it-works {
    padding: 48px 0;
    background-color: var(--c-light);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.step-connector {
    position: absolute;
    top: 72px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--c-secondary) 0%, var(--c-primary) 100%);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-muted);
    margin-bottom: var(--space-4);
}

.step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--c-white);
    border: 2px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
    margin-bottom: var(--space-5);
    box-shadow: var(--s-md);
    transition: all var(--t-slow);
}

.step:hover .step-circle {
    background: var(--g-primary);
    border-color: transparent;
    color: var(--c-white);
    transform: scale(1.08);
    box-shadow: var(--s-glow);
}

.step h3 {
    font-size: 20px;
    margin-bottom: var(--space-3);
    color: var(--c-dark);
}

.step p {
    font-size: 15px;
    color: var(--c-mid);
    line-height: 1.65;
}

/* Full Timeline (How It Works Page) */
.timeline-section {
    padding: 56px 0;
    background-color: var(--c-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--c-secondary) 0%, var(--c-primary) 100%);
}

.timeline-step {
    position: relative;
    padding-left: 80px;
    padding-bottom: 60px;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 56px;
    height: 56px;
    background: var(--g-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    font-size: 20px;
    font-weight: 800;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: var(--space-3);
    color: var(--c-dark);
}

.timeline-content p {
    font-size: 16px;
    color: var(--c-mid);
    margin-bottom: var(--space-4);
}

.timeline-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    background-color: var(--c-lighter);
    border-radius: var(--r-lg);
    padding: var(--space-4);
}

.timeline-detail h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-muted);
    margin-bottom: var(--space-2);
}

.timeline-detail p {
    font-size: 14px;
    color: var(--c-dark-2);
    line-height: 1.5;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Security Section
   -------------------------------------------------------------------------- */
.security {
    padding: 48px 0;
    background-color: var(--c-dark);
}

.security .section-header h2 {
    color: var(--c-white);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.security-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-xl);
    padding: 28px;
    position: relative;
    transition: all var(--t-base);
}

.security-card:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(45, 212, 191, 0.3);
    transform: translateY(-4px);
}

.security-verified {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    background-color: rgba(34, 197, 94, 0.15);
    color: var(--c-success);
    border-radius: var(--r-pill);
}

.security-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--c-white);
}

.security-icon.teal {
    background-color: rgba(45, 212, 191, 0.2);
    color: var(--c-secondary);
}

.security-icon.green {
    background-color: rgba(34, 197, 94, 0.2);
    color: var(--c-success);
}

.security-icon.purple {
    background-color: rgba(124, 58, 237, 0.2);
    color: var(--c-primary-light);
}

.security-icon.blue {
    background-color: rgba(59, 130, 246, 0.2);
    color: var(--c-info);
}

.security-card h3 {
    font-size: 18px;
    color: var(--c-white);
    margin-bottom: var(--space-3);
}

.security-card p {
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.6;
}

/* Security Detail Cards */
.security-detail {
    padding: 80px 0;
    background-color: var(--c-white);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.detail-card {
    text-align: center;
    padding: var(--space-6);
}

.detail-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    background-color: rgba(45, 212, 191, 0.1);
    color: var(--c-secondary);
}

.detail-card h3 {
    font-size: 18px;
    margin-bottom: var(--space-3);
    color: var(--c-dark);
}

.detail-card p {
    font-size: 14px;
    color: var(--c-mid);
}

/* Security Layers */
.security-layers {
    padding: 56px 0;
    background-color: var(--c-light);
}

.layer-list {
    max-width: 800px;
    margin: 0 auto;
}

.layer-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background-color: var(--c-white);
    border-radius: var(--r-lg);
    margin-bottom: var(--space-4);
    border: 1px solid var(--c-border);
}

.layer-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--g-primary);
    color: var(--c-white);
}

.layer-content h4 {
    font-size: 17px;
    margin-bottom: var(--space-2);
    color: var(--c-dark);
}

.layer-content p {
    font-size: 14px;
    color: var(--c-mid);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Pricing Section
   -------------------------------------------------------------------------- */
.pricing-page {
    padding: 56px 0;
    background-color: var(--c-light);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.toggle-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--c-mid);
}

.toggle-btn {
    width: 52px;
    height: 28px;
    background-color: var(--c-border);
    border: none;
    border-radius: var(--r-pill);
    cursor: pointer;
    position: relative;
    transition: background-color var(--t-fast);
}

.toggle-btn.on {
    background-color: var(--c-primary);
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background-color: var(--c-white);
    border-radius: 50%;
    transition: transform var(--t-fast);
    box-shadow: var(--s-sm);
}

.toggle-btn.on .toggle-thumb {
    transform: translateX(24px);
}

.save-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    background-color: rgba(34, 197, 94, 0.15);
    color: var(--c-success);
    border-radius: var(--r-pill);
    margin-left: var(--space-2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    align-items: start;
}

.pricing-card {
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--space-8);
    text-align: center;
    transition: all var(--t-base);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--c-primary);
    box-shadow: 0 0 0 1px var(--c-primary), 0 25px 50px -12px rgba(124, 58, 237, 0.2);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--g-primary);
    color: var(--c-white);
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--r-pill);
    white-space: nowrap;
}

.pricing-tier {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-muted);
    margin-bottom: var(--space-4);
}

.pricing-price {
    margin-bottom: var(--space-2);
}

.pc-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--c-dark);
    transition: transform var(--t-fast);
}

.pricing-period {
    font-size: 16px;
    color: var(--c-muted);
}

.pricing-seats {
    display: block;
    font-size: 14px;
    color: var(--c-mid);
    margin-bottom: var(--space-6);
}

.pricing-divider {
    height: 1px;
    background-color: var(--c-border);
    margin-bottom: var(--space-6);
}

.pricing-features {
    text-align: left;
    margin-bottom: var(--space-6);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 14px;
    color: var(--c-dark-2);
    padding: var(--space-2) 0;
}

/* ROI Calculator */
.roi-calculator {
    padding: 48px 0;
    background-color: var(--c-white);
}

.roi-compact {
    background: var(--c-lighter);
    border-radius: var(--r-xl);
    padding: var(--space-6);
    max-width: 600px;
    margin: 0 auto;
}

.roi-inputs-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.roi-inputs-compact .roi-input {
    text-align: center;
}

.roi-inputs-compact label {
    display: block;
    font-size: 13px;
    color: var(--c-mid);
    margin-bottom: var(--space-2);
}

.roi-inputs-compact label strong {
    color: var(--c-dark);
    font-size: 18px;
}

.roi-inputs-compact input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--c-border);
    appearance: none;
    cursor: pointer;
}

.roi-inputs-compact input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--c-primary);
    cursor: pointer;
}

.roi-result-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--c-white);
    border-radius: var(--r-lg);
    border: 2px solid var(--c-success);
}

.roi-label {
    font-size: 16px;
    color: var(--c-mid);
}

.roi-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--c-success);
}

.roi-note {
    font-size: 13px;
    color: var(--c-muted);
}

/* Feature Summary Accordion */
.feature-accordion {
    max-width: 800px;
    margin: 0 auto;
    background: var(--c-lighter);
    border-radius: var(--r-xl);
    overflow: hidden;
}

.feature-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-dark);
    transition: background-color var(--t-fast);
}

.feature-accordion-btn:hover {
    background-color: var(--c-light);
}

.feature-accordion-btn i {
    transition: transform var(--t-fast);
    color: var(--c-mid);
}

.feature-accordion-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.feature-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.feature-accordion-btn[aria-expanded="true"]+.feature-accordion-panel {
    max-height: 500px;
}

.feature-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid var(--c-border);
}

.feature-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-muted);
    margin-bottom: var(--space-3);
}

.feature-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.feature-col li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--c-dark-2);
}

.feature-col li .check {
    color: var(--c-success);
    font-weight: 700;
}

.feature-col li .check.pro {
    color: var(--c-primary);
    font-weight: 700;
}

.feature-note {
    text-align: center;
    font-size: 12px;
    color: var(--c-muted);
    padding: var(--space-3) var(--space-5);
    background: var(--c-light);
    border-top: 1px solid var(--c-border);
}

.feature-note .pro {
    color: var(--c-primary);
    font-weight: 700;
}

/* Feature Comparison Table */
.feature-comparison {
    padding: 80px 0;
    background-color: var(--c-light);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--c-white);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--s-md);
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-4);
    text-align: center;
    border-bottom: 1px solid var(--c-border);
}

.comparison-table th {
    background-color: var(--c-lighter);
    font-size: 14px;
    font-weight: 700;
    color: var(--c-dark);
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    text-align: left;
    font-size: 14px;
    color: var(--c-dark-2);
}

.comparison-category {
    background-color: var(--c-light) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--c-muted) !important;
    text-align: left !important;
}

.check-icon {
    color: var(--c-success);
}

.dash-icon {
    color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
    padding: 48px 0;
    background-color: var(--c-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.testimonial-card {
    background-color: var(--c-lighter);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 30px;
    transition: all var(--t-base);
}

.testimonial-card:hover {
    background-color: var(--c-white);
    transform: translateY(-4px);
    box-shadow: var(--s-lg);
}

.testimonial-stars {
    font-size: 18px;
    letter-spacing: 2px;
    color: #F59E0B;
    margin-bottom: var(--space-4);
}

.testimonial-card blockquote {
    font-size: 16px;
    font-style: italic;
    color: var(--c-dark-2);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    flex-shrink: 0;
}

.author-avatar.indigo {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
}

.author-avatar.emerald {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

.author-avatar.amber {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-dark);
}

.author-role {
    font-size: 12px;
    color: var(--c-muted);
}

.author-agency {
    font-size: 12px;
    color: var(--c-mid);
}

/* Single Testimonial (Home) */
.testimonial-single {
    padding: 56px 0;
    background-color: var(--c-white);
}

.testimonial-large {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-quote-mark {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    color: var(--c-primary);
    opacity: 0.08;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-large blockquote {
    font-size: 24px;
    font-weight: 600;
    font-style: italic;
    color: var(--c-dark);
    line-height: 1.6;
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 1;
}

.testimonial-large .testimonial-author {
    justify-content: center;
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq {
    padding: 56px 0;
    background-color: var(--c-lighter);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color var(--t-fast);
}

.faq-item:has(.open) {
    border-color: var(--c-primary-light);
}

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: var(--c-dark);
    transition: color var(--t-fast);
}

.faq-btn:hover {
    color: var(--c-primary);
}

.faq-btn.open {
    color: var(--c-primary);
}

.faq-btn i {
    flex-shrink: 0;
    transition: transform var(--t-fast);
    color: var(--c-muted);
}

.faq-btn.open i {
    transform: rotate(45deg);
    color: var(--c-primary);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-panel p {
    padding: 0 22px 22px;
    font-size: 15px;
    color: var(--c-mid);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    position: relative;
    padding: 64px 0;
    background: var(--g-primary);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    color: var(--c-white);
}

.cta .badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--c-white);
}

.cta h2 {
    color: var(--c-white);
    margin-bottom: var(--space-4);
    font-size: 44px;
}

.cta-body {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: var(--space-6);
    max-width: 480px;
}

.cta-checks {
    margin-bottom: var(--space-6);
}

.cta-checks li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 15px;
    color: var(--c-white);
    margin-bottom: var(--space-3);
}

.check-white {
    color: var(--c-secondary);
}

.spots-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.spots-circles {
    display: flex;
    gap: var(--space-2);
}

.spot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.spot.filled {
    background-color: var(--c-secondary);
    border-color: var(--c-secondary);
}

.spots-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Form Card */
.cta-form-wrapper {
    max-width: 420px;
}

.form-card {
    background-color: var(--c-white);
    border-radius: var(--r-2xl);
    padding: 36px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.25);
}

.form-card h3 {
    font-size: 22px;
    margin-bottom: var(--space-2);
    color: var(--c-dark);
}

.form-subtitle {
    font-size: 14px;
    color: var(--c-muted);
    margin-bottom: var(--space-6);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-dark-2);
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    background-color: var(--c-white);
    color: var(--c-dark-2);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group input.has-error,
.form-group select.has-error {
    border-color: var(--c-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.btn-submit {
    height: 50px;
    margin-top: var(--space-4);
}

.form-trust {
    text-align: center;
    font-size: 11.5px;
    color: var(--c-muted);
    margin-top: var(--space-4);
}

/* Success Card */
.success-card {
    background-color: var(--c-white);
    border-radius: var(--r-2xl);
    padding: 48px 36px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--c-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.success-icon i {
    width: 32px;
    height: 32px;
}

.success-card h3 {
    font-size: 24px;
    margin-bottom: var(--space-3);
    color: var(--c-dark);
}

.success-card p {
    font-size: 16px;
    color: var(--c-mid);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--c-white);
    padding: 64px 0 24px;
    border-top: 1px solid var(--c-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.footer-brand {
    max-width: 280px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--c-mid);
    margin: var(--space-4) 0;
    line-height: 1.6;
}

.footer-pills {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.footer-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    background-color: var(--c-light);
    border-radius: var(--r-pill);
    color: var(--c-mid);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: var(--space-4);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-col a {
    font-size: 14px;
    color: var(--c-mid);
    transition: color var(--t-fast);
}

.footer-col a:hover {
    color: var(--c-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-6);
    border-top: 1px solid var(--c-border);
    font-size: 13px;
    color: var(--c-muted);
}

/* Demo Page Minimal Footer */
.footer-minimal {
    background-color: var(--c-dark);
    padding: var(--space-6) 0;
    text-align: center;
}

.footer-minimal p {
    font-size: 13px;
    color: var(--c-muted);
    margin: 0;
}

.footer-minimal a {
    color: var(--c-white);
    text-decoration: underline;
}

/* Compact Footer */
.footer-compact {
    background-color: var(--c-white);
    padding: 40px 0 24px;
    border-top: 1px solid var(--c-border);
}

.footer-compact-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-8);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.footer-brand-compact {
    max-width: 240px;
}

.footer-brand-compact .nav-logo {
    margin-bottom: var(--space-2);
}

.footer-brand-compact .footer-tagline {
    font-size: 13px;
    color: var(--c-muted);
}

.footer-links-compact {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.footer-links-compact a {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-dark-2);
    transition: color var(--t-fast);
}

.footer-links-compact a:hover {
    color: var(--c-primary);
}

.footer-legal-compact {
    display: flex;
    gap: var(--space-4);
}

.footer-legal-compact a {
    font-size: 13px;
    color: var(--c-muted);
    transition: color var(--t-fast);
}

.footer-legal-compact a:hover {
    color: var(--c-primary);
}

.footer-bottom-compact {
    padding-top: var(--space-4);
    border-top: 1px solid var(--c-border);
    text-align: center;
}

.footer-bottom-compact span {
    font-size: 13px;
    color: var(--c-muted);
}

/* Grain overlay for CTA sections */
.cta-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes float-up {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes float-down {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(14px);
    }
}

@keyframes float-mid {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes ping {

    75%,
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

@keyframes orb-drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, -28px) scale(1.07);
    }

    66% {
        transform: translate(-24px, 20px) scale(0.93);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes cta-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(124, 58, 237, 0);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes count-up-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes border-glow {

    0%,
    100% {
        border-color: rgba(124, 58, 237, 0.2);
    }

    50% {
        border-color: rgba(124, 58, 237, 0.5);
    }
}

@keyframes spin-slow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --------------------------------------------------------------------------
   Premium: Animated Gradient Headline
   -------------------------------------------------------------------------- */
.hero-headline .gradient {
    background: linear-gradient(90deg, #7C3AED, #EC4899, #2DD4BF, #7C3AED);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}

/* --------------------------------------------------------------------------
   Premium: Glassmorphism Floating Cards
   -------------------------------------------------------------------------- */
.floating-card {
    background: var(--g-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--s-glass);
}

/* --------------------------------------------------------------------------
   Premium: Enhanced Card Hovers
   -------------------------------------------------------------------------- */
.highlight-card {
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.highlight-card:hover::before {
    left: 120%;
}

.highlight-card:hover {
    box-shadow: var(--s-card-hover);
    border-color: transparent;
}

.problem-card:hover {
    box-shadow: var(--s-card-hover);
    border-color: transparent;
}

/* --------------------------------------------------------------------------
   Premium: CTA Button Pulse
   -------------------------------------------------------------------------- */
.btn-primary.btn-large {
    position: relative;
    animation: cta-pulse 3s ease-in-out infinite;
}

.btn-primary.btn-large:hover {
    animation: none;
    box-shadow: 0 0 0 0 transparent;
}

/* --------------------------------------------------------------------------
   Premium: Logo Cloud / Trusted By Section
   -------------------------------------------------------------------------- */
.logo-cloud {
    padding: 40px 0;
    background-color: var(--c-lighter);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    overflow: hidden;
}

.logo-cloud-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-muted);
    margin-bottom: var(--space-6);
}

.logo-cloud-track {
    display: flex;
    gap: var(--space-10);
    animation: marquee 30s linear infinite;
    width: max-content;
}

.logo-cloud-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--r-pill);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-cloud-item .lc-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    font-weight: 800;
    font-size: 14px;
}

.logo-cloud-item .lc-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-dark);
}

.logo-cloud-item .lc-loc {
    font-size: 12px;
    color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   Premium: Animated Counters
   -------------------------------------------------------------------------- */
.counters-section {
    padding: 56px 0;
    background: var(--c-dark);
    position: relative;
    overflow: hidden;
}

.counters-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--g-mesh);
    opacity: 3;
    pointer-events: none;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.counter-item {
    text-align: center;
}

.counter-value {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-2);
    background: linear-gradient(135deg, var(--c-secondary) 0%, var(--c-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-value.is-counting {
    animation: count-up-pulse 0.6s ease;
}

.counter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Premium: Before / After Comparison
   -------------------------------------------------------------------------- */
.comparison-section {
    padding: 64px 0;
    background: var(--c-lighter);
}

.comparison-cards {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-6);
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto;
}

.comparison-col {
    background: var(--c-white);
    border-radius: var(--r-xl);
    padding: var(--space-8);
    border: 1px solid var(--c-border);
    transition: all var(--t-slow);
}

.comparison-col:hover {
    transform: translateY(-4px);
    box-shadow: var(--s-lg);
}

.comparison-col.before {
    border-top: 3px solid var(--c-error);
}

.comparison-col.after {
    border-top: 3px solid var(--c-success);
}

.comparison-col h3 {
    font-size: 22px;
    margin-bottom: var(--space-5);
}

.comparison-col.before h3 {
    color: var(--c-error);
}

.comparison-col.after h3 {
    color: var(--c-success);
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 15px;
    color: var(--c-dark-2);
    line-height: 1.5;
}

.comparison-list li i {
    flex-shrink: 0;
    margin-top: 2px;
}

.comparison-list.bad li i {
    color: var(--c-error);
}

.comparison-list.good li i {
    color: var(--c-success);
}

.comparison-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--g-primary);
    color: var(--c-white);
    box-shadow: var(--s-glow);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Premium: Marquee Social Proof
   -------------------------------------------------------------------------- */
.social-proof .proof-content {
    overflow: hidden;
}

.proof-marquee {
    display: flex;
    gap: var(--space-6);
    animation: marquee 25s linear infinite;
    width: max-content;
}

/* --------------------------------------------------------------------------
   Premium: Video Testimonial CTA
   -------------------------------------------------------------------------- */
.video-testimonial {
    padding: 64px 0;
    background: var(--c-white);
}

.video-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--r-2xl);
    overflow: hidden;
    background: var(--c-dark);
    aspect-ratio: 16 / 9;
    cursor: pointer;
    box-shadow: var(--s-2xl);
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.85), rgba(236, 72, 153, 0.85));
    transition: opacity var(--t-slow);
}

.video-wrapper:hover .video-overlay {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.75), rgba(236, 72, 153, 0.75));
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    animation: cta-pulse 2.5s ease-in-out infinite;
    margin-bottom: var(--space-4);
    transition: transform var(--t-base);
}

.video-wrapper:hover .video-play-btn {
    transform: scale(1.1);
}

.video-caption {
    color: var(--c-white);
    font-size: 18px;
    font-weight: 700;
}

.video-sub {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: var(--space-2);
}

/* --------------------------------------------------------------------------
   Premium: Phone Mockup Glow
   -------------------------------------------------------------------------- */
.phone-frame {
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 80px rgba(124, 58, 237, 0.15);
}

.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    filter: blur(8px);
}

/* --------------------------------------------------------------------------
   Premium: Mesh Background for Hero
   -------------------------------------------------------------------------- */
.hero {
    background: var(--g-mesh), var(--c-white);
}

/* --------------------------------------------------------------------------
   Premium: Enhanced Step Connector Line
   -------------------------------------------------------------------------- */
.steps-container::before {
    content: '';
    position: absolute;
    top: 72px;
    left: 18%;
    right: 18%;
    height: 2px;
    background: linear-gradient(90deg, var(--c-secondary), var(--c-primary), var(--c-accent));
    background-size: 200% 100%;
    animation: gradient-shift 4s ease infinite;
    z-index: 0;
}

/* --------------------------------------------------------------------------
   Premium: Responsive for new components
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-cards {
        grid-template-columns: 1fr;
    }

    .comparison-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .counters-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }

    .counter-value {
        font-size: 40px;
    }

    .logo-cloud-track {
        animation-duration: 20s;
    }

    .video-play-btn {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 479px) {
    .counters-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Scroll-Triggered Animations
   -------------------------------------------------------------------------- */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    padding: var(--space-3) var(--space-4);
    background-color: var(--c-primary);
    color: var(--c-white);
    z-index: 9999;
    transition: top var(--t-fast);
}

.skip-to-content:focus {
    top: 0;
}

*:focus-visible {
    outline: 2px solid var(--c-primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--c-primary);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 38px;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .phone-mockup {
        width: 220px;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }

    .fc-3 {
        display: none;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row {
        gap: var(--space-8);
    }

    .role-grid {
        grid-template-columns: 1fr;
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        gap: var(--space-4);
    }

    .testimonials-grid {
        gap: var(--space-4);
    }

    .roi-inputs {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1023px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .hero-visual {
        order: 0;
        margin-bottom: var(--space-8);
    }

    .hero-subhead {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .phone-mockup {
        width: 200px;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .feature-content {
        max-width: 100%;
        text-align: center;
    }

    .feature-checks {
        align-items: center;
    }

    .steps-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .step-connector {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .cta-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-body {
        max-width: 100%;
    }

    .cta-checks {
        display: inline-block;
        text-align: left;
    }

    .cta-form-wrapper {
        max-width: 100%;
    }

    .timeline-details {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--space-2);
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    body {
        font-size: 16px;
    }

    .navbar {
        height: 64px;
    }

    .mobile-menu {
        top: 64px;
    }

    .hero {
        padding-top: 90px;
        padding-bottom: 48px;
    }

    .phone-mockup {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }

    .stat-divider {
        display: none;
    }

    .proof-content {
        flex-direction: column;
        text-align: center;
    }

    .proof-divider {
        width: 60px;
        height: 1px;
    }

    .proof-pills {
        justify-content: center;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .problem-card {
        padding: 28px;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: var(--space-10);
    }

    .feature-row {
        margin-bottom: 60px;
    }

    .feature-content h3 {
        font-size: 22px;
    }

    .feature-content p {
        font-size: 16px;
    }

    .visual-card {
        margin-top: var(--space-6);
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .billing-toggle {
        flex-wrap: wrap;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .layer-item {
        flex-direction: column;
        text-align: center;
    }

    .roi-output-value {
        font-size: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }

    .cta h2 {
        font-size: 32px;
    }

    .testimonial-large blockquote {
        font-size: 20px;
    }
}

@media (max-width: 479px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    .container {
        padding: 0 16px;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat {
        text-align: center;
    }

    .proof-pills {
        flex-direction: column;
        align-items: center;
    }

    .proof-stat {
        flex-direction: column;
    }
}

/* --------------------------------------------------------------------------
   Mobile Sticky CTA
   -------------------------------------------------------------------------- */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-sticky-cta.is-visible {
    transform: translateY(0);
}

.mobile-sticky-cta .btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: var(--r-md);
    background: var(--g-primary);
    color: var(--c-white);
    border: none;
}

/* Scroll margin for anchor targets */
[id] {
    scroll-margin-top: 80px;
}

/* Tighter section header on smaller screens */
@media (max-width: 1023px) {
    .section-header {
        margin-bottom: var(--space-8);
    }
}

@media (max-width: 767px) {
    .mobile-sticky-cta {
        display: block;
    }

    body {
        padding-bottom: 72px;
    }

    .section-header {
        margin-bottom: var(--space-6);
    }

    .footer-compact-inner {
        flex-direction: column;
        gap: var(--space-4);
        align-items: flex-start;
    }

    .footer-links-compact {
        gap: var(--space-4);
    }
}

/* Inline style overrides for consistent spacing */
@media (max-width: 767px) {
    .pricing-page {
        padding-top: 100px !important;
    }

    [style*="padding:140px"] {
        padding-top: 100px !important;
    }

    [style*="padding:100px"] {
        padding: 48px 0 !important;
    }

    [style*="padding:80px"] {
        padding: 48px 0 !important;
    }

    [style*="padding:60px"] {
        padding: 40px 0 !important;
    }

    [style*="grid-template-columns:repeat(3"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns:repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    [style*="grid-template-columns:repeat(2"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}