/* ============================================================
   CuraVoice.ai V2 — Premium Landing Page Styles
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg:            #0a0b1a;
    --bg-card:       rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border:        rgba(255, 255, 255, 0.06);
    --border-hover:  rgba(255, 255, 255, 0.12);
    --primary:       #6366f1;
    --primary-end:   #8b5cf6;
    --cyan:          #06b6d4;
    --green:         #10b981;
    --text:          #f1f5f9;
    --text-secondary:#94a3b8;
    --text-dim:      #64748b;
    --gradient:      linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 50%, var(--cyan) 100%);
    --glow-primary:  rgba(99, 102, 241, 0.25);
    --glow-cyan:     rgba(6, 182, 212, 0.15);
    --radius:        16px;
    --radius-sm:     10px;
    --radius-xs:     6px;
    --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading:  'Outfit', var(--font-body);
    --container:     1200px;
    --nav-height:    72px;
    --section-pad:   120px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

::selection {
    background: var(--primary);
    color: #fff;
}

/* ---- Container ---- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Gradient text ---- */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    padding: 14px 32px;
    box-shadow: 0 4px 24px var(--glow-primary), 0 0 0 0 var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--glow-primary), 0 0 60px rgba(99, 102, 241, 0.18);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    padding: 14px 32px;
    border: 1px solid var(--border-hover);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all 0.35s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 11, 26, 0.88);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom-color: var(--border);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.logo-icon { width: 32px; height: 32px; }

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.25s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-cta { padding: 10px 24px; font-size: 0.88rem; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 40px) 0 80px;
    overflow: hidden;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 10%;
    left: 30%;
    transform: translateX(-50%);
    width: 650px;
    height: 500px;
    background: radial-gradient(ellipse, var(--glow-primary) 0%, transparent 65%);
    filter: blur(80px);
    opacity: 0.45;
    pointer-events: none;
}

.hero-glow--right {
    left: auto;
    right: -5%;
    top: 30%;
    transform: none;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, var(--glow-cyan) 0%, transparent 65%);
    opacity: 0.35;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease forwards;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulse 2s ease-in-out infinite;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 1s ease 1s both;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

.trust-badge-icon {
    flex-shrink: 0;
}

.trust-divider {
    width: 1px;
    height: 28px;
    background: var(--border-hover);
}

.trust-text {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-dim);
}

.trust-text strong {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ============================================
   PROBLEM / PAIN CARDS
   ============================================ */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s;
}

.pain-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.pain-card:hover::before { opacity: 1; }

.pain-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.pain-icon--red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.pain-icon--amber {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.pain-icon--purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-end);
}

.pain-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.pain-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.pain-desc {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ============================================
   SOLUTIONS
   ============================================ */
.section-solutions {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.025) 0%, transparent 50%, rgba(6, 182, 212, 0.02) 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.solution-card {
    position: relative;
    border-radius: var(--radius);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover {
    transform: translateY(-6px);
}

/* Gradient border on hover */
.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}

.solution-card:hover::before { opacity: 1; }

.solution-card-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 36px;
    height: 100%;
    position: relative;
    transition: background 0.4s, border-color 0.4s;
}

.solution-card:hover .solution-card-inner {
    background: var(--bg-card-hover);
    border-color: transparent;
}

.solution-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.solution-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s;
}

.solution-card:hover .solution-icon { transform: scale(1.08); }

.solution-icon--phone {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.solution-icon--shield {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
}

.solution-icon--chart {
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
}

.solution-icon--cap {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.solution-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.solution-desc {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 5px 14px;
    letter-spacing: 0.01em;
}

/* ============================================
   HOW IT WORKS / STEPS
   ============================================ */
.steps-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 780px;
    margin: 0 auto;
}

.step-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 40px;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.step-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.step-number-badge {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    min-width: 52px;
    text-align: center;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(99, 102, 241, 0.07);
    border: 1px solid rgba(99, 102, 241, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-connector {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connector-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--cyan));
    opacity: 0.3;
}

/* ============================================
   RESULTS / METRICS
   ============================================ */
.section-results {
    background: linear-gradient(180deg, transparent 0%, rgba(16, 185, 129, 0.02) 50%, transparent 100%);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.metric-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.06), transparent 60%);
    pointer-events: none;
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.2);
}

.metric-value {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.metric-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.metric-desc {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* ---- Testimonial ---- */
.testimonial {
    max-width: 720px;
    margin: 0 auto;
    border: none;
}

.testimonial-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px;
    position: relative;
    text-align: center;
}

.testimonial-quote-icon {
    position: absolute;
    top: 24px;
    left: 32px;
    color: var(--primary);
}

.testimonial-text {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    font-style: italic;
    color: var(--text);
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: #fff;
    letter-spacing: 0.02em;
}

.testimonial-name {
    font-style: normal;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

.testimonial-role {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* ============================================
   CTA
   ============================================ */
.section-cta {
    padding: 80px 0 100px;
}

.cta-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 80px 48px;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, var(--glow-primary) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    letter-spacing: -0.02em;
}

.cta-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    position: relative;
}

.cta-actions {
    position: relative;
    margin-bottom: 24px;
}

.cta-email {
    font-size: 0.95rem;
    color: var(--text-dim);
    transition: color 0.25s;
    position: relative;
}

.cta-email:hover { color: var(--cyan); }

/* ---- Demo Form ---- */
.demo-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    margin-bottom: 16px;
}

.demo-form label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    outline: none;
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
    color: var(--text-dim);
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.demo-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.demo-form select option {
    background: #1a1b2e;
    color: var(--text-primary);
}

.demo-form textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    width: 100%;
    margin-top: 8px;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-submit:active {
    transform: scale(0.98);
}

/* Thank you state */
.thank-you-msg {
    text-align: center;
    padding: 32px 0;
    animation: fadeInUp 0.5s ease;
}

.thank-you-msg h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 16px 0 8px;
}

.thank-you-msg p {
    color: var(--text-secondary);
    font-size: 1rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .cta-card {
        padding: 48px 24px;
    }
}

/* ---- Metrics Bar ---- */
.section-metrics {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.metrics-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.metric-card {
    text-align: center;
    padding: 16px 40px;
    flex: 1;
    min-width: 160px;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-prefix,
.metric-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.metric-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .metrics-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .metric-divider {
        display: none;
    }
    .metric-card {
        padding: 12px 16px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-tagline {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 4px;
    padding-left: 42px;
}

.footer-center {
    display: flex;
    align-items: center;
}

.footer-hipaa-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green);
    opacity: 0.7;
}

.footer-badges {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-email {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.25s;
}

.footer-email:hover { color: var(--cyan); }

.footer-built {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.footer-link {
    color: var(--text-secondary);
    transition: color 0.25s;
}

.footer-link:hover { color: var(--cyan); }

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.4); }
}

@keyframes scrollPulse {
    0%   { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
    50%  { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
}

/* Scroll reveal */
[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate][data-delay="1"] { transition-delay: 0.12s; }
[data-animate][data-delay="2"] { transition-delay: 0.24s; }
[data-animate][data-delay="3"] { transition-delay: 0.36s; }
[data-animate][data-delay="4"] { transition-delay: 0.48s; }
[data-animate][data-delay="5"] { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root { --section-pad: 96px; }

    .pain-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }

    .step-card { padding: 28px 32px; }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 72px;
        --nav-height: 64px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 11, 26, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border);
    }

    .nav-links.open { right: 0; }
    .nav-link { font-size: 1.1rem; }
    .nav-cta { display: none; }
    .mobile-toggle { display: flex; }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .pain-grid,
    .solutions-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
        padding: 28px 24px;
    }

    .step-number-badge { font-size: 2rem; }
    .step-visual { display: none; }

    .hero-headline {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

    .hero-headline br,
    .section-title br { display: none; }

    .trust-badges { gap: 20px; }
    .trust-divider { display: none; }

    .cta-card { padding: 56px 24px; }
    .cta-title br { display: none; }

    .testimonial-inner { padding: 36px 24px; }
    .testimonial-text { font-size: 1.05rem; }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-tagline { padding-left: 0; }
    .footer-meta { text-align: center; }
    .section-header { margin-bottom: 48px; }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.98rem;
    }

    .solution-card-inner {
        padding: 32px 24px;
    }
}
