/* ============================================
   ClinicFlow Product Page â€” Premium Theme System
   ============================================ */

/* ============================================
   FOUNDATIONAL LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2.5rem;
    position: relative;
}

/* ============================================
   BUTTON SYSTEM â€” Premium CTA Styling
   ============================================ */
a,
button {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: all 0.5s var(--ease-aesthetic);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 4px 20px rgba(var(--accent-primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(var(--accent-primary-rgb), 0.4);
}

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

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--accent-primary-dim);
    transform: translateY(-3px);
}

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

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

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

body.light-mode .btn-primary {
    box-shadow: 0 4px 20px rgba(0, 85, 255, 0.2);
}

body.light-mode .btn-primary:hover {
    box-shadow: 0 12px 40px rgba(0, 85, 255, 0.3);
}

body.light-mode .btn-outline {
    border-color: rgba(0, 85, 255, 0.2);
    color: var(--text-primary);
}

body.light-mode .btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--accent-primary-dim);
}

:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Refined Premium Type Scale */
    --step-0: clamp(0.95rem, 0.85rem + 0.4vw, 1.1rem);
    --step-1: clamp(1.1rem, 1rem + 0.6vw, 1.5rem);
    --step-2: clamp(1.4rem, 1.2rem + 1vw, 2.2rem);
    --step-3: clamp(1.8rem, 1.5rem + 1.8vw, 3.2rem);
    --step-4: clamp(2.2rem, 1.8rem + 2.5vw, 5rem);

    /* Luxury Eases */
    --ease-in-out-expo: cubic-bezier(1, 0, 0, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-aesthetic: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-luxury: 0 40px 100px rgba(0, 0, 0, 0.4);
    --shadow-glass: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-premium: 0 30px 60px rgba(0, 0, 0, 0.5);

    /* Radii */
    --radius-xl: 40px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --radius-full: 999px;

    /* Base Colors (Dark Gravity - Default) */
    --bg-void: #010102;
    --bg-void-rgb: 1, 1, 2;
    --bg-surface: #08080a;
    --bg-card: #0c0c0f;
    --bg-elevated: #141419;
    --text-white: #ffffff;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);

    /* Accents - High Voltage (Dark) */
    --accent-primary: #ccff00;
    /* Neon Lime */
    --accent-primary-rgb: 204, 255, 0;
    --accent-primary-dim: rgba(204, 255, 0, 0.04);
    --accent-primary-glow: rgba(204, 255, 0, 0.2);
    --accent-secondary: #00f0ff;
    /* Electric Cyan */

    /* Theme Transition Variables */
    --wave-x: 50%;
    --wave-y: 50%;

    /* 3D Context */
    --rx: 0deg;
    --ry: 0deg;
}

body.light-mode {
    --bg-void: #fdfdfe;
    /* Premium Clinical White */
    --bg-void-rgb: 253, 253, 254;
    --bg-surface: #f4f7fa;
    --bg-card: #ffffff;
    --bg-elevated: #ebf0f5;
    --text-white: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #475569;
    --border-subtle: rgba(0, 85, 255, 0.12);
    --border-strong: rgba(0, 85, 255, 0.20);

    --accent-primary: #0055ff;
    /* Deep Surgical Blue */
    --accent-primary-rgb: 0, 85, 255;
    --accent-primary-dim: rgba(0, 85, 255, 0.03);
    --accent-primary-glow: rgba(0, 85, 255, 0.1);
    --accent-secondary: #2563eb;

    --shadow-luxury: 0 40px 100px rgba(0, 85, 255, 0.05);
    --shadow-glass: inset 0 0 0 1px rgba(0, 85, 255, 0.05);
}

/* Mouse Lens Effect Styling â€” Enhanced for "Wondermakers" feel */
.mouse-lens {
    position: fixed;
    width: 4px;
    /* Reduced size */
    height: 4px;
    /* Reduced size */
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, rgba(var(--accent-primary-rgb), 0.08) 0%, transparent 60%);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    transition: opacity 0.1s var(--ease), width 0.1s var(--ease), height 0.1s var(--ease);
    will-change: transform, left, top;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mouse-lens::before {
    content: '';
    position: absolute;
    inset: -12px;
    border: 1px solid rgba(var(--accent-primary-rgb), 0.08);
    border-radius: 50%;
    animation: lens-rotate 15s linear infinite;
}

.mouse-lens::after {
    content: '';
    width: 3px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary-glow);
}

@keyframes lens-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

body.cursor-active .mouse-lens {
    width: 12px;
    height: 12px;
    backdrop-filter: blur(2px) saturate(1.2);
    border-color: rgba(var(--accent-primary-rgb), 0.3);
}

body.cursor-active .mouse-lens::after {
    transform: scale(1);
    background: transparent;
    border: 1px solid rgba(var(--accent-primary-rgb), 0.5);
}

body:hover .mouse-lens {
    opacity: 1;
}

/* Glassmorphism Tiers */
.glass-1 {
    background: rgba(var(--bg-void-rgb), 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
}

.glass-2 {
    background: rgba(var(--bg-void-rgb), 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-glass);
}

.glass-3 {
    background: rgba(var(--bg-void-rgb), 0.8);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-luxury);
}

.glass-card {
    transition: all 0.6s var(--ease-aesthetic);
    position: relative;
    overflow: hidden;
}

body:not(.light-mode) .glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-glass);
}

body.light-mode .glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 85, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 85, 255, 0.05);
}

/* Global Smoothness */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: background-color 1s var(--ease-aesthetic), color 0.6s var(--ease-aesthetic);
    overflow-x: hidden;
    width: 100%;
    cursor: none;
    /* Hide real cursor to use custom one */
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Background Shadow Text (Wondermakers Style) */
.shadow-text {
    position: absolute;
    font-size: 25vw;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--text-primary);
    opacity: 0.03;
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
    line-height: 1;
    letter-spacing: -0.05em;
    user-select: none;
}

/* Enhanced Ambient Glow */
.ambient-glow {
    position: relative;
}

.ambient-glow::after {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, var(--accent-primary-dim) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

/* Noise Grain Effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
    filter: contrast(150%) brightness(150%);
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -0.02em;
    display: inline-block;
}

body.light-mode .gradient-text {
    background: linear-gradient(135deg, #0055ff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ambient Background Effects (overrides base) */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.ambient-glow::after {
    content: '';
    position: absolute;
    width: 6vw;
    height: 6vw;
    background: radial-gradient(circle, var(--accent-primary-glow) 0%, transparent 70%);
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    transform: translate(-50%, -50%);
    filter: blur(20px);
    opacity: 0.12;
    transition: opacity 0.3s var(--ease);
}

.ambient-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at var(--mouse-x) var(--mouse-y), black, transparent 60%);
    -webkit-mask-image: radial-gradient(circle at var(--mouse-x) var(--mouse-y), black, transparent 60%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.2;
}

body.light-mode .ambient-grid {
    opacity: 0.08;
}


/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-secondary), var(--accent-primary));
    z-index: 10001;
    transition: width 0.1s linear;
}

/* Header Refinement */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(var(--bg-void-rgb, 2, 2, 3), 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
    transition: all 0.4s var(--ease-aesthetic);
}

.site-header.scrolled {
    padding: 1rem 0;
    background: var(--bg-void);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: var(--border-subtle);
    margin: 0 1.5rem;
}

/* Custom Cursor Refinement */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 6px var(--accent-primary-glow);
    opacity: 0.7;
}

.cursor-outline {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(var(--accent-primary-rgb), 0.25);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s var(--ease-bounce), height 0.2s var(--ease-bounce), border-color 0.15s;
    will-change: width, height, transform;
}

body.cursor-active .cursor-outline {
    width: 50px;
    height: 50px;
    background: rgba(var(--accent-primary-rgb), 0.04);
    border-color: rgba(var(--accent-primary-rgb), 0.2);
    border-width: 1px;
}

/* Magnetic Utility */
.magnetic {
    display: inline-block;
    transition: transform 0.3s var(--ease-out-expo);
}

/* 3D Scroll Perspective */
.perspective-wrap {
    perspective: 2000px;
    perspective-origin: center center;
}

.scroll-3d {
    transition: transform 0.1s linear;
    transform-style: preserve-3d;
}

/* Hero Section */
.cf-hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.cf-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    /* Ensure top-to-top alignment */
}

.cf-hero h1 {
    font-size: clamp(2.5rem, 2rem + 3vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    display: flex;
    flex-direction: column;
}

.hero-lead {
    display: block;
    font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.hero-keyword {
    display: block;
    font-size: clamp(3.2rem, 2.5rem + 4vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    filter: drop-shadow(0 0 30px rgba(0, 102, 255, 0.25));
    position: relative;
    overflow: hidden;
    height: 1.15em;
}

.rotating-words {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.rw-word {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rw-word.active {
    opacity: 1;
    transform: translateY(0);
}

.rw-word.exit {
    opacity: 0;
    transform: translateY(-100%);
}

.hero-sub {
    font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-stats-strip {
    display: flex;
    gap: 4rem;
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-subtle);
}

.h-stat {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 120px;
    align-items: flex-start;
}

.h-stat span {
    font-size: clamp(1.4rem, 1.2rem + 1vw, 2.2rem);
    font-weight: 800;
    color: var(--text-white);
    font-family: var(--font-heading);
    line-height: 1;
}

.h-stat label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
}

/* 3D Visual Wrap */
.cf-visual-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 500px;
    padding-top: 2rem;
}

.hero-3d-scene {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-scene img {
    width: 110%;
    filter: saturate(1.2);
}

.phone-container {
    position: relative;
    /* Changed from absolute to relative */
    z-index: 10;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
    margin: 0 auto;
}

.phone-mockup {
    width: 290px;
    border-radius: 44px;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-glass);
}

.phone-top {
    padding: 1.5rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-chat {
    height: 380px;
    background: var(--bg-void);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.message {
    padding: 0.8rem 1.2rem;
    border-radius: 18px;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.5;
}

.message.incoming {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.message.outgoing {
    background: var(--accent-primary);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 700;
}

/* Typing Indicator Animation */
.typing-indicator-dots {
    display: flex;
    gap: 4px;
    padding: 6px 0;
    align-items: center;
}

.typing-indicator-dots span {
    width: 5px;
    height: 5px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing-dots 1.4s infinite ease-in-out;
}

.typing-indicator-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-dots {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Grid Section (Ecosystem) */
.eco-grid-section {
    padding: 8rem 0;
    background: var(--bg-surface);
    position: relative;
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.eco-card {
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    transition: all 0.5s var(--ease-aesthetic);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.eco-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-luxury);
}

.eco-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-primary);
}

.eco-card h3 {
    font-size: 1.2rem;
}

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

/* ROI Visualization */
.cf-roi {
    padding: 6rem 0;
}

.roi-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-premium);
}

.roi-controls {
    padding: 5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.roi-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.roi-slider {
    width: 100%;
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 10px;
    appearance: none;
    outline: none;
}

.roi-slider::-webkit-slider-thumb {
    appearance: none;
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    border: 6px solid var(--bg-card);
    box-shadow: 0 0 30px var(--accent-primary-glow);
}

.roi-field {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem;
    border-radius: 16px;
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 800;
    width: 100%;
}

.roi-display {
    background: var(--bg-void);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem;
    position: relative;
    border-left: 1px solid var(--border-subtle);
}

.roi-display::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--accent-primary-dim) 0%, transparent 70%);
}

.roi-value {
    font-size: clamp(2.5rem, 4vw, 6rem);
    font-weight: 900;
    color: var(--accent-primary);
    z-index: 1;
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
}

.roi-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    z-index: 1;
}

/* AuraLab Badge */
.auralab-powered {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    width: fit-content;
}

.auralab-powered i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

/* Pricing Refresh */
.cf-pricing {
    padding: 6rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 4rem auto 0;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 5rem 4rem;
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: visible;
}

.pricing-card.featured {
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 40px var(--accent-primary-glow);
    overflow: visible;
}

/* Transitions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

.reveal-delay-4 {
    transition-delay: 0.6s;
}

/* Lifecycle Section */
.lifecycle-section {
    padding: 12rem 0;
    position: relative;
}

.lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 6rem;
}

.lc-item {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.lc-number {
    font-size: var(--step-2);
    font-weight: 900;
    color: var(--accent-primary);
    opacity: 0.3;
    font-family: var(--font-heading);
}

.lc-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.lc-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Dashboard Preview Section */
.dashboard-preview-section {
    padding: 6rem 0;
    background: var(--bg-void);
}

.dashboard-window {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-strong);
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    transform: perspective(2000px) rotateX(5deg);
    transition: transform 0.8s var(--ease-aesthetic);
}

.dashboard-window:hover {
    transform: perspective(2000px) rotateX(0deg) scale(1.02);
}

.window-header {
    background: var(--bg-elevated);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.3;
}

.window-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.window-body {
    position: relative;
    overflow: hidden;
}

/* Dashboard Skeleton Styling */
.dashboard-skeleton {
    display: flex;
    height: 500px;
    background: var(--bg-void);
    position: relative;
    line-height: 1.5;
}

.skeleton-sidebar {
    width: 80px;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-subtle);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.s-logo {
    width: 32px;
    height: 32px;
    background: var(--accent-primary-dim);
    border-radius: 8px;
    border: 1px solid var(--accent-primary);
}

.s-nav-item {
    width: 24px;
    height: 24px;
    background: var(--border-strong);
    border-radius: 6px;
}

.s-nav-item.active {
    background: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-primary-glow);
}

.skeleton-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
}

.s-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s-search {
    width: 200px;
    height: 32px;
    background: var(--bg-elevated);
    border-radius: 16px;
}

.s-user {
    width: 32px;
    height: 32px;
    background: var(--bg-elevated);
    border-radius: 50%;
}

.s-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 150px;
    gap: 1.5rem;
}

.s-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
}

.s-card.big {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.s-card-title {
    width: 40%;
    height: 15px;
    background: var(--bg-elevated);
    border-radius: 4px;
}

.s-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-top: 1rem;
}

.s-bar {
    flex: 1;
    background: var(--accent-primary-dim);
    border-top: 2px solid var(--accent-primary);
    border-radius: 4px 4px 0 0;
    height: var(--h);
    transition: height 1s var(--ease-out-expo);
}

.s-list-item {
    width: 100%;
    height: 12px;
    background: var(--bg-elevated);
    border-radius: 4px;
    margin-bottom: 12px;
}

.mini-trend {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.mini-trend.up {
    color: var(--accent-primary);
}

.dashboard-overlay-stats {
    position: absolute;
    top: 10%;
    right: 5%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-glass {
    background: rgba(var(--bg-card-rgb, 17, 17, 18), 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-strong);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-glass label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
}

.stat-glass span {
    font-size: 2rem;
    font-weight: 900;
}

/* Image Enhancements & Shapes */
.glass-image-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    background: var(--bg-card);
}

.premium-shape-1 {
    clip-path: polygon(0% 10%, 10% 0%, 100% 0%, 100% 90%, 90% 100%, 0% 100%);
    border-radius: 40px;
    border: 1px solid var(--border-strong);
}

.premium-shape-2 {
    clip-path: polygon(15% 0%, 100% 0%, 100% 85%, 85% 100%, 0% 100%, 0% 15%);
    border-radius: 30px;
    border: 1px solid var(--border-strong);
}

.hero-image-bg {
    position: relative;
    clip-path: polygon(0% 15%, 15% 0%, 100% 0%, 100% 85%, 85% 100%, 0% 100%);
    overflow: hidden;
}

.premium-img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(1.1) contrast(1.05);
    transition: transform 1.2s var(--ease-aesthetic), filter 0.8s ease;
}

.glass-image-container:hover .premium-img {
    transform: scale(1.08);
    filter: saturate(1.3) contrast(1.1);
}

.img-overlay-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.img-overlay-card i {
    color: var(--accent-primary);
    font-size: 1.5rem;
}

/* Security Section Styling */
.security-section {
    padding: 6rem 0;
    position: relative;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.trust-badges {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.t-badge {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.t-badge i {
    font-size: 2.5rem;
    color: var(--accent-primary);
}

.t-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.security-visual {
    perspective: 1000px;
}

.security-card {
    background: var(--bg-card);
    border-radius: 30px;
    padding: 4rem;
    border: 1px solid var(--border-strong);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.6s var(--ease-aesthetic);
}

.security-card:hover {
    transform: rotateY(0) rotateX(0) scale(1.05);
}

.s-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--accent-primary-glow) 0%, transparent 70%);
    opacity: 0.5;
}

.s-card-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.s-card-content i {
    font-size: 5rem;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px var(--accent-primary-glow));
}

.s-card-content h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.s-card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Theme Transition Overlay â€” High Performance Clip-Path expansion */
.theme-transition-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10005;
    background: var(--bg-void);
    clip-path: circle(0% at var(--wave-x, 50%) var(--wave-y, 50%));
    transition: none;
    /* Controlled by JS */
}

.theme-transition-overlay.expanding {
    transition: clip-path 1.2s var(--ease-aesthetic);
    clip-path: circle(150% at var(--wave-x, 50%) var(--wave-y, 50%));
}

.tilt-card,
.eco-card,
.pricing-card,
.security-card-premium,
.feature-item {
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform 0.3s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.tilt-card>* {
    transform: translateZ(20px);
}

/* ============================================
   CARD GLARE OVERLAY â€” Specular highlight
   ============================================ */
.card-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s var(--ease-aesthetic);
    border-radius: inherit;
    background: radial-gradient(400px circle at var(--glare-x, 50%) var(--glare-y, 50%),
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0.02) 30%,
            transparent 60%);
    mix-blend-mode: overlay;
}

body.light-mode .card-glare {
    background: radial-gradient(400px circle at var(--glare-x, 50%) var(--glare-y, 50%),
            rgba(0, 85, 255, 0.04) 0%,
            rgba(0, 85, 255, 0.01) 30%,
            transparent 60%);
}

.eco-card:hover .card-glare,
.pricing-card:hover .card-glare,
.security-card-premium:hover .card-glare,
.feature-item:hover .card-glare,
.tilt-card:hover .card-glare {
    opacity: 1;
}

/* ============================================
   LIQUID DISTORTION â€” SVG Filter Activation
   ============================================ */
.liquid-hover {
    transition: filter 0.6s var(--ease-aesthetic);
}

.liquid-hover:hover {
    filter: url(#liquid);
}

.liquid-active {
    filter: url(#liquid);
}

/* ============================================
   COGNITIVE CANVAS â€” Background layer
   ============================================ */
.cognitive-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    transition: opacity 0.8s var(--ease-aesthetic);
}

body.light-mode .cognitive-canvas {
    opacity: 0.35;
}

/* ============================================
   ENHANCED ECO-CARD 3D DEPTH
   ============================================ */
.eco-card {
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
}

.eco-card:hover {
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 30px 60px rgba(var(--accent-primary-rgb), 0.08),
        0 0 0 1px rgba(var(--accent-primary-rgb), 0.15);
}

.eco-card .eco-icon {
    transform: translateZ(40px);
    transition: transform 0.4s var(--ease-bounce), background 0.3s ease;
}

.eco-card:hover .eco-icon {
    background: var(--accent-primary);
    color: var(--bg-void);
    transform: translateZ(50px) scale(1.08);
    box-shadow: 0 0 30px var(--accent-primary-glow);
}

.eco-card h3 {
    transform: translateZ(25px);
}

.eco-card p {
    transform: translateZ(12px);
}

/* ============================================
   ENHANCED PHONE MOCKUP DEPTH
   ============================================ */
.phone-container {
    will-change: transform;
}

.phone-mockup {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(var(--accent-primary-rgb), 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.6s var(--ease-aesthetic);
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.04) 0%,
            transparent 100%);
    pointer-events: none;
    border-radius: 44px 44px 0 0;
}

body.light-mode .phone-mockup {
    box-shadow:
        0 30px 80px rgba(0, 85, 255, 0.12),
        0 0 0 1px rgba(0, 85, 255, 0.08);
}

/* ============================================
   PRICING CARD 3D ENHANCEMENT
   ============================================ */
.pricing-card {
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
}

.pricing-card.featured {
    border: 2px solid var(--accent-primary);
    box-shadow:
        0 0 40px var(--accent-primary-glow),
        0 30px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card:hover {
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-8px);
}

/* ============================================
   SECURITY CARD 3D ENHANCEMENT
   ============================================ */
.security-card-premium {
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
}

.security-card-premium:hover {
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 30px 60px rgba(var(--accent-primary-rgb), 0.08);
}

/* ============================================
   FEATURE ITEM 3D ENHANCEMENT
   ============================================ */
.feature-item {
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
}

.feature-item:hover {
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-12px) scale(1.02);
    border-color: var(--accent-primary);
    background: var(--bg-card);
}

/* ============================================
   SECTION GAP VARIABLE (fallback)
   ============================================ */
:root {
    --section-gap: 10rem;
}

/* ============================================
   HERO COGNITIVE SPHERE ENHANCEMENT
   ============================================ */
.cognitive-sphere {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
            rgba(var(--accent-primary-rgb), 0.15) 0%,
            rgba(var(--accent-primary-rgb), 0.05) 40%,
            transparent 70%);
    animation: sphere-pulse 8s ease-in-out infinite;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.cognitive-sphere::before {
    content: '';
    position: absolute;
    inset: -40px;
    border: 1px solid rgba(var(--accent-primary-rgb), 0.08);
    border-radius: 50%;
    animation: sphere-ring 20s linear infinite;
}

@keyframes sphere-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.8;
    }
}

@keyframes sphere-ring {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================
   PATIENT JOURNEY (ENHANCED LIFECYCLE)
   ============================================ */
.journey-section {
    position: relative;
    padding: var(--section-gap) 0;
    overflow: hidden;
}

.journey-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    margin-top: 4rem;
}

.journey-path {
    position: absolute;
    left: 50%;
    top: 5%;
    bottom: 5%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--accent-primary), transparent);
    transform: translateX(-50%);
    opacity: 0.2;
    z-index: 1;
}

.journey-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 8rem;
}

.journey-step:nth-child(even) {
    direction: rtl;
}

.journey-step:nth-child(even) .step-content {
    direction: ltr;
}

.step-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-blob {
    width: 350px;
    height: 350px;
    background: var(--accent-primary-dim);
    border: 1px solid var(--border-subtle);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 1.2s var(--ease-aesthetic);
    animation: blob-morph 15s infinite alternate;
}

@keyframes blob-morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

.journey-step:hover .step-blob {
    transform: scale(1.05);
    background: var(--accent-primary-glow);
    border-color: var(--accent-primary);
}

.step-icon {
    font-size: 6rem;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 20px var(--accent-primary-glow));
    transition: transform 0.6s var(--ease-bounce);
}

.journey-step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.step-content h3 {
    font-size: var(--step-2);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.step-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
}

.step-number-bg {
    position: absolute;
    top: -3rem;
    left: -2rem;
    font-size: 12rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--text-primary);
    opacity: 0.03;
    pointer-events: none;
}

/* ============================================
   SECURITY & TRUST STRIP
   ============================================ */
.trust-badges-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 5rem;
    padding: 2.5rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.trust-logo {
    height: 30px;
    filter: grayscale(1) brightness(2);
    opacity: 0.6;
    transition: all 0.4s ease;
}

body.light-mode .trust-logo {
    filter: grayscale(1) brightness(0.2);
}

.trust-badges-strip:hover .trust-logo {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

.trust-divider {
    width: 1px;
    height: 30px;
    background: var(--border-strong);
}

.lgpd-badge {
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    padding: 0.4rem 1rem;
    border: 1px solid var(--accent-primary);
    border-radius: 4px;
}

.trust-badges-strip span {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* ============================================
   ELITE FEATURES GRID
   ============================================ */
.features-grid-section {
    padding: var(--section-gap) 0;
    background: var(--bg-void);
}

.features-deep-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 6rem;
}

.feature-item {
    padding: 3.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.6s var(--ease-aesthetic);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent-primary);
    background: var(--accent-primary-dim);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: all 0.5s var(--ease-bounce);
}

.feature-item:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
    transform: translateY(-15px) scale(1.02);
}

/* Transformation Section */
.transformation-section {
    padding: var(--section-gap) 0;
    position: relative;
}

.transformation-box {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    padding: 6rem 2rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
}

.t-content h2 {
    font-size: var(--step-3);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.t-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 auto 3rem auto;
    max-width: 800px;
}

.t-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.t-val {
    display: block;
    font-size: var(--step-2);
    font-weight: 900;
    color: var(--accent-primary);
    font-family: var(--font-heading);
}

.t-stat label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.t-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cognitive-core-visual {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cognitive-core-visual i {
    font-size: 5rem;
    color: var(--accent-primary);
    z-index: 2;
    filter: drop-shadow(0 0 30px var(--accent-primary-glow));
}

.core-ring {
    position: absolute;
    border: 1px solid var(--accent-primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: core-rotate 10s linear infinite;
}

.core-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    animation-duration: 15s;
}

.core-ring:nth-child(2) {
    width: 130%;
    height: 130%;
    animation-duration: 25s;
    border-style: dashed;
}

.core-ring:nth-child(3) {
    width: 160%;
    height: 160%;
    animation-duration: 35s;
    opacity: 0.1;
}

@keyframes core-rotate {
    0% {
        transform: rotate(0deg) rotateX(45deg);
    }

    100% {
        transform: rotate(360deg) rotateX(45deg);
    }
}

/* ============================================
   SOLUTION SECTION (Medical Protocols)
   ============================================ */
.solution-section {
    padding: var(--section-gap) 0;
    position: relative;
    background: var(--bg-void);
}

.solution-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 3rem;
}

.solution-content h2 {
    font-size: var(--step-3);
    margin: 1.5rem 0;
    line-height: 1.1;
}

.solution-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 auto 2.5rem auto;
    max-width: 700px;
}

.solution-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-luxury);
    width: 100%;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-sizing: border-box;
}

.solution-list li i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
    filter: drop-shadow(0 0 10px var(--accent-primary-dim));
}

.solution-list li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.3rem;
}

/* ---- Protocol Cards Grid (NEW) ---- */
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    width: 100%;
    max-width: 900px;
}

/* ============================================
   PROTOCOL SHAPES GRID
   ============================================ */
.protocol-shapes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    perspective: 1000px;
    width: 100%;
}

.protocol-shape-item {
    position: relative;
    cursor: pointer;
    width: 240px;
    transition: all 0.6s var(--ease-aesthetic);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Unified Morphing Shapes */
.shape-frame {
    position: relative;
    width: 220px;
    height: 220px;
    margin-bottom: 2rem;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph-shape 8s ease-in-out infinite alternate;
    overflow: hidden;
    border: 1px solid var(--border-glow);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.protocol-shape-item:nth-child(even) .shape-frame {
    animation-delay: -4s;
    animation-direction: alternate-reverse;
}


.shape-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) contrast(1.1);
    transition: all 0.8s var(--ease-aesthetic);
}

.shape-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity 0.4s var(--ease);
}

.shape-overlay h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    pointer-events: none;
}

.shape-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s var(--ease-aesthetic);
    opacity: 0;
    width: 100%;
}

.shape-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 0 1rem;
    margin: 0;
}

/* Interactions */
.protocol-shape-item:hover .shape-frame {
    transform: translateY(-10px) scale(1.05);
}

.protocol-shape-item:hover .shape-frame img {
    filter: saturate(1.2) contrast(1.05);
}

/* Expanded State */
/* Expanded State */
.protocol-shape-item.is-expanded {
    width: 380px;
}

.protocol-shape-item.is-expanded .shape-frame {
    width: 100%;
    height: 240px;
    border-radius: var(--radius-lg) !important;
    animation: none;
    /* Stop morphing when expanded for readability */
    box-shadow: var(--shadow-luxury), 0 0 50px var(--accent-primary-glow);
    transform: translateY(-5px);
}

.protocol-shape-item.is-expanded .shape-content {
    max-height: 200px;
    opacity: 1;
    margin-top: 1.5rem;
    text-align: left;
}

.protocol-shape-item.is-expanded .shape-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 40%);
}


body.light-mode .shape-frame {
    box-shadow: 0 10px 30px rgba(0, 85, 255, 0.1);
}

body.light-mode .protocol-shape-item.is-expanded .shape-frame {
    box-shadow: 0 20px 50px rgba(0, 85, 255, 0.15);
}

/* Responsive Refinements */
@media (max-width: 1024px) {

    .cf-hero-grid,
    .transformation-box,
    .journey-step,
    .roi-card {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 3rem;
    }

    .cf-hero {
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .hero-cta {
        justify-content: center;
        width: 100%;
        display: flex;
        gap: 1.5rem;
    }

    .hero-stats-strip {
        justify-content: center;
        margin-top: 4rem;
        width: 100%;
        gap: 3rem;
    }

    .journey-step:nth-child(even) {
        direction: ltr;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .features-deep-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats-strip,
    .t-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .cf-hero {
        padding-top: 6rem;
    }

    .hero-cta {
        flex-direction: column;
    }

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


.feature-item:hover i {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-primary);
    color: var(--bg-void);
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .features-deep-grid {
        grid-template-columns: 1fr 1fr;
    }

    .security-grid-premium {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .features-deep-grid {
        grid-template-columns: 1fr;
    }

    .security-grid-premium {
        grid-template-columns: 1fr;
    }

    .trust-badges-strip {
        flex-direction: column;
        border-radius: 30px;
        gap: 2rem;
    }

    .trust-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 768px) {
    .security-grid-premium {
        grid-template-columns: 1fr;
    }

    .step-number-bg {
        font-size: 8rem;
        top: -2rem;
        left: 0;
    }

    .step-blob {
        width: 280px;
        height: 280px;
    }
}

/* Protocol Shapes & Solution Grid Responsive */
@media (max-width: 1024px) {
    .protocol-shapes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .protocol-shape-item {
        width: 100%;
    }

    .shape-frame {
        width: 100%;
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .protocol-shapes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2.5rem;
    }

    .protocol-shape-item {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .protocol-shape-item.is-expanded {
        width: 100%;
        max-width: 320px;
    }

    .shape-frame {
        width: 100%;
        max-width: 280px;
        height: 200px;
    }

    .shape-expand-content {
        padding: 0 0.5rem;
    }

    .expand-features li {
        font-size: 0.9rem;
    }

    .solution-grid {
        gap: 3rem;
    }

    .solution-content h2 {
        font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem);
    }
}

/* ============================================
   COMPARISON SECTION
   ============================================ */
.comparison-section {
    padding: var(--section-gap) 0;
    background: var(--bg-void);
    position: relative;
    overflow: hidden;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 2rem;
    margin-top: 6rem;
    align-items: stretch;
    max-width: 100%;
}

.comp-card {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: var(--radius-xl);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    transition: all 0.6s var(--ease-aesthetic);
    box-sizing: border-box;
    min-width: 0;
    overflow: visible;
}

.comp-card.traditional {
    opacity: 0.75;
    filter: grayscale(0.8);
}

.comp-card.traditional:hover {
    opacity: 0.8;
    filter: grayscale(0.5);
}

.comp-card.cognitive {
    background: var(--bg-card);
    border-color: var(--accent-primary-glow);
    box-shadow: var(--shadow-luxury), 0 0 40px var(--accent-primary-dim);
    position: relative;
}

.comp-card.featured {
    border: 1px solid var(--accent-primary);
    transform: scale(1.05);
    z-index: 2;
}

.comp-header {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.comp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comp-list li {
    color: var(--text-white);
    word-break: break-word;
    overflow-wrap: break-word;
}

.comp-list li i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.traditional .comp-list li i {
    color: #ff4d4d;
}

.cognitive .comp-list li i {
    color: var(--accent-primary);
}

.comp-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-muted);
    position: relative;
}

.comp-vs::before,
.comp-vs::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 40%;
    background: var(--border-strong);
}

.comp-vs::before {
    top: 0;
}

.comp-vs::after {
    bottom: 0;
}

.comp-badge {
    position: absolute;
    top: -15px;
    right: 40px;
    background: var(--accent-primary);
    color: var(--bg-void);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 4px 16px var(--accent-primary-dim);
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }

    .comp-card {
        background: rgba(10, 10, 15, 0.9);
        backdrop-filter: blur(20px);
        padding: 3rem 2rem;
        max-width: 100%;
    }

    .comp-vs {
        height: auto;
        padding: 1rem 0;
    }

    .comp-vs::before,
    .comp-vs::after {
        width: 40%;
        height: 1px;
    }

    .comp-vs::before {
        left: 0;
    }

    .comp-vs::after {
        right: 0;
    }

    .comp-card.featured {
        transform: scale(1);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ============================================
   SECURITY GRID PREMIUM
   ============================================ */
.security-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 6rem;
}

.security-card-premium {
    padding: 4rem 3rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: all 0.6s var(--ease-aesthetic);
    position: relative;
    overflow: hidden;
}

.security-card-premium:hover {
    border-color: var(--accent-primary);
    background: var(--bg-elevated);
}

.s-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--accent-primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-primary);
    transition: all 0.5s var(--ease-bounce);
}

.security-card-premium:hover .s-icon-box {
    background: var(--accent-primary);
    color: var(--bg-void);
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 0 30px var(--accent-primary-glow);
}

.security-card-premium h3 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.security-card-premium p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* ============================================
   SOLUTION GRID
   ============================================ */
.solution-section {
    padding: var(--section-gap) 0;
    position: relative;
    overflow: hidden;
}

.solution-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 3rem;
}

.solution-content h2 {
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
    margin: 1.5rem 0 2rem;
    line-height: 1.1;
}

.solution-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.solution-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
    box-sizing: border-box;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.solution-list li i {
    color: var(--accent-primary);
    font-size: 1.25rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* ============================================
   PHONE BOTTOM (Chat Input)
   ============================================ */
.phone-bottom {
    padding: 1rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
}

.phone-bottom form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.phone-bottom input {
    flex: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 0.7rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.phone-bottom input::placeholder {
    color: var(--text-muted);
}

.phone-bottom input:focus {
    border-color: var(--accent-primary);
}

.send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-bounce);
    flex-shrink: 0;
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--accent-primary-glow);
}

/* ============================================
   CONTACT AVATAR
   ============================================ */
.contact-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.contact-status {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   PRICING EXTRAS
   ============================================ */
.p-price {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    margin: 1.5rem 0 2.5rem;
    letter-spacing: 0.01em;
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    line-height: 1;
}

.p-price span {
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 2.5ch;
    text-align: right;
}

.p-price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.benefits li i {
    color: var(--accent-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.popular-badge {
    position: absolute;
    top: -16px;
    right: 30px;
    background: var(--accent-primary);
    color: #000;
    padding: 0.5rem 1.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
}

/* ============================================
   PRICING TOGGLE
   ============================================ */
.toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.toggle-label {
    color: var(--text-muted);
    transition: color 0.4s var(--ease-aesthetic), opacity 0.4s var(--ease-aesthetic);
    cursor: pointer;
    user-select: none;
    opacity: 0.5;
}

.toggle-label.active-label {
    color: var(--accent-primary);
    opacity: 1;
    font-weight: 700;
}

.switch {
    position: relative;
    width: 56px;
    height: 30px;
    display: inline-block;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    inset: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.4s var(--ease-aesthetic);
}

.slider-toggle::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    left: 4px;
    bottom: 3px;
    background: var(--accent-primary);
    border-radius: 50%;
    transition: transform 0.4s var(--ease-bounce);
    box-shadow: 0 0 10px var(--accent-primary-glow);
}

.switch input:checked+.slider-toggle::before {
    transform: translateX(24px);
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-subtle);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary-dim);
}

.theme-toggle .moon {
    display: block;
    color: var(--text-secondary);
}

.theme-toggle .sun {
    display: none;
    color: var(--text-secondary);
}

body.light-mode .theme-toggle .moon {
    display: none;
}

body.light-mode .theme-toggle .sun {
    display: block;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 0.02em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2rem, 1.6rem + 2.5vw, 3.6rem);
}

h2 {
    font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 1rem + 0.8vw, 1.8rem);
}

/* ROI Note */
.roi-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    z-index: 1;
}

/* ============================================
   MODAL STYLING
   ============================================ */
.cf-modal {
    position: fixed;
    inset: 0;
    z-index: 10010;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    padding: 2rem;
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
}

/* Only show when the native dialog is open */
.cf-modal[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-modal::backdrop {
    background: transparent;
}

.modal-inner {
    max-width: 600px;
    width: 100%;
    padding: 4rem;
    border-radius: var(--radius-xl);
    position: relative;
}

.modal-inner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-inner p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.close-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.triage-demo-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.t-msg {
    padding: 1.2rem 1.8rem;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.5;
}

.t-msg.patient {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    max-width: 85%;
}

.t-msg.ai {
    background: var(--accent-primary-dim);
    color: var(--text-primary);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    max-width: 85%;
}

.t-analysis {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff4d4d;
    padding: 0.75rem 1.2rem;
    background: rgba(255, 77, 77, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 77, 77, 0.15);
    width: fit-content;
}

/* ============================================
   UNIFORM SECTION SPACING
   ============================================ */
section {
    padding: 8rem 0;
    position: relative;
}

/* ============================================
   RESPONSIVENESS â€” Final Mobile Polish
   ============================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .cf-hero-grid {
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    :root {
        --step-3: 2.2rem;
        --step-4: 3rem;
    }

    body {
        cursor: auto;
        overflow-x: hidden;
    }

    /* Disable custom cursor on mobile for better UX */
    .mouse-lens,
    .cursor-dot,
    .cursor-outline,
    .aura-trail {
        display: none !important;
    }

    .site-header {
        padding: 1rem 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: 0.5s var(--ease-aesthetic);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

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

    .nav-divider {
        display: none;
    }

    .mobile-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 2rem;
        position: relative;
        z-index: 1000;
    }

    .cf-hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
        text-align: center;
    }

    .cf-hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

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

    .hero-stats-strip {
        gap: 2rem;
        margin-top: 3rem;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .cf-visual-wrap {
        transform: none !important;
        width: 100%;
    }

    .phone-container {
        position: relative;
        left: 0;
        top: 0;
        transform: none !important;
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .phone-mockup {
        width: 280px;
    }

    /* Ecosystem: Single column on mobile */
    .eco-grid-section {
        padding: 4rem 0;
        overflow: hidden;
    }

    .eco-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Journey */
    .journey-section {
        overflow: hidden;
    }

    .journey-container {
        padding: 2rem 0;
    }

    .journey-path {
        display: none;
    }

    .journey-step {
        flex-direction: column;
        gap: 1.5rem;
        padding-left: 0;
        text-align: center;
        align-items: center;
        margin-bottom: 4rem;
    }

    .step-visual {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .step-blob {
        width: 100px;
        height: 100px;
        animation: none;
        border-radius: 50%;
    }

    .step-icon {
        font-size: 2.5rem;
    }

    .step-number-bg {
        display: none;
    }

    /* Dashboard Preview */
    .dashboard-preview-section {
        padding: 4rem 0;
        overflow: hidden;
    }

    .dashboard-window {
        transform: none !important;
        width: 100%;
        min-width: auto;
    }

    .dashboard-skeleton {
        height: auto;
        min-height: 400px;
    }

    .skeleton-sidebar {
        display: none;
    }

    .skeleton-main {
        width: 100%;
        padding: 1rem;
        overflow: hidden;
    }

    .dashboard-overlay-stats {
        position: relative;
        top: 0;
        right: 0;
        flex-direction: column;
        margin-top: 2rem;
        gap: 1rem;
    }

    .stat-glass {
        width: 100%;
        min-width: auto;
        padding: 1rem;
    }

    /* Comparison Section */
    .comparison-section {
        overflow: visible;
        padding-left: 0;
        padding-right: 0;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 1.5rem;
        box-sizing: border-box;
    }

    .comp-card {
        background: rgba(10, 10, 15, 0.9);
        backdrop-filter: blur(20px);
        padding: 2rem 1.5rem;
        max-width: 100%;
        min-width: 0;
    }

    .comp-card.featured {
        transform: none;
    }

    .comp-header {
        font-size: 1.4rem;
    }

    .comp-list li {
        color: var(--text-white);
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .stat-glass label {
        font-family: var(--font-body);
        font-size: 0.68rem;
        font-weight: 800;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .stat-glass span {
        font-family: var(--font-heading);
        font-size: 1.8rem;
        font-weight: 900;
    }

    .mini-trend {
        font-family: var(--font-body);
        font-size: 0.65rem;
        font-weight: 700;
    }

    .dashboard-overlay-stats {
        top: 8%;
        right: 3%;
    }

    .stat-glass {
        padding: 1.2rem 1.5rem;
        border-radius: 16px;
    }

    /* ROI Simulator — Mobile Fix */
    .roi-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .roi-controls {
        padding: 2rem 1.5rem;
    }

    .roi-display {
        padding: 3rem 1.5rem;
        border-left: none;
        border-top: 1px solid var(--border-subtle);
    }

    .roi-value {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .roi-label {
        font-size: 0.8rem;
        letter-spacing: 0.15em;
        text-align: center;
    }

    .roi-field {
        font-size: 1.2rem;
        padding: 1rem;
    }

    .roi-note {
        text-align: center;
    }

    /* Pricing Grid — Mobile Fix */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }

    .pricing-card {
        padding: 3rem 2rem;
    }

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

    /* Security Grid — Mobile Reinforcement */
    .security-grid-premium {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .security-card-premium {
        padding: 2.5rem 2rem;
    }
}

/* ============================================
   HERO STAT DIVIDERS & CONTACT INFO
   ============================================ */
.h-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-strong);
    align-self: center;
}

.contact-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-status {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

/* Phone Bottom — Input Bar */
.phone-bottom {
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
}

.phone-bottom form {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.phone-bottom input {
    flex: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 0.7rem 1.2rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: var(--font-body);
}

.phone-bottom input::placeholder {
    color: var(--text-muted);
}

.phone-bottom input:focus {
    border-color: var(--accent-primary);
}

.send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: none;
    color: var(--bg-void);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px var(--accent-primary-glow);
}

/* ============================================
   HERO & PHONE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .h-stat-divider {
        width: 1px;
        height: 28px;
    }

    .hero-stats-strip {
        gap: 1.5rem;
    }

    .cf-visual-wrap {
        display: none;
    }
}