/* ==========================================================================
   NOVAMED Web Pública — CSS v1.0
   Página de Marketing y Landing Page
   Sede: Medellín, Colombia
   ========================================================================== */

:root {
    --primary: #1090a6;
    --primary-dark: #0c7689;
    --primary-hover: #0a6275;
    --primary-glow: rgba(16,144,166,0.15);
    --text-dark: #0f172a;
    --text-mid: #334155;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--text-dark);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Scrollbar ─────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

/* ── Typography Utilities ──────────────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 5%;
}

section[id] {
    scroll-margin-top: 95px;
}

/* ── NAVBAR ────────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    color: var(--text-dark);
    flex-shrink: 0;
}

.nav-brand strong { color: var(--primary); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-grow: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-mid);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.18s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--primary-glow);
}

.nav-links a.active-link {
    color: var(--primary);
    background: var(--primary-glow);
}

.nav-ctas { display: flex; gap: 0.75rem; align-items: center; flex-shrink: 0; }

.btn-outline-nav {
    text-decoration: none;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    border: 1.5px solid var(--primary);
    transition: all 0.18s;
}

.btn-outline-nav:hover { background: var(--primary); color: white; }

.btn-primary-nav {
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.55rem 1.2rem;
    border-radius: 8px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(16,144,166,0.3);
}

.btn-primary-nav:hover {
    box-shadow: 0 4px 16px rgba(16,144,166,0.4);
    transform: translateY(-1px);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 1rem 5%;
    border-top: 1px solid var(--border);
    background: white;
}

.nav-mobile a {
    text-decoration: none;
    color: var(--text-mid);
    padding: 0.75rem 0;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.nav-mobile a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.nav-mobile .mobile-cta-secondary {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
}

.nav-mobile .mobile-cta {
    color: white !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    font-weight: 700;
    text-align: center;
    padding: 0.65rem 1rem !important;
    border-radius: 8px;
    margin-top: 0.75rem;
    border: none;
    box-shadow: 0 4px 12px rgba(16,144,166,0.2);
}

.nav-mobile .mobile-cta:hover {
    box-shadow: 0 6px 16px rgba(16,144,166,0.3);
    padding-left: 0;
}

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 5rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-blobs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 { width: 500px; height: 500px; background: var(--primary); top: -100px; right: -100px; animation-delay: 0s; }
.blob-2 { width: 300px; height: 300px; background: #06b6d4; bottom: 100px; left: -50px; animation-delay: 3s; }
.blob-3 { width: 200px; height: 200px; background: #8b5cf6; top: 60%; right: 20%; animation-delay: 5s; }

@keyframes blobFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(20px,-20px) scale(1.05); }
    66% { transform: translate(-10px,15px) scale(0.95); }
}

.hero-content { flex: 1; max-width: 560px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16,144,166,0.08);
    border: 1px solid rgba(16,144,166,0.2);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16,185,129,0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16,185,129,0); }
    100% { transform: scale(0.95); }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(16,144,166,0.35);
    transition: all 0.2s;
}

.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,144,166,0.45); }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-mid);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    transition: all 0.2s;
}

.btn-hero-secondary:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-glow); }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.eps-mini-badges {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.eps-mini-badges span {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-mid);
}

/* Dispensador Mockup */
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; }

.dispenser-mockup {
    position: relative;
    width: 260px;
}

.dispenser-screen {
    background: #0f172a;
    border-radius: 16px 16px 0 0;
    padding: 1rem;
    border: 2px solid #1e293b;
    box-shadow: 0 0 40px rgba(16,144,166,0.2), 0 20px 40px rgba(0,0,0,0.3);
}

.dispenser-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #1e293b;
}

.dispenser-logo-sm {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.1em;
}

.dispenser-time { font-size: 0.7rem; color: #94a3b8; font-family: monospace; }

.dispenser-face-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0;
}

.face-scan-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(16,144,166,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ringPulse 2s ease-in-out infinite;
    margin-bottom: 0.75rem;
}

.face-scan-ring-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.face-scan-ring-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    animation: scanDown 1.5s linear infinite;
}

@keyframes ringPulse {
    0%, 100% { border-color: rgba(16,144,166,0.2); }
    50% { border-color: rgba(16,144,166,0.6); }
}

@keyframes scanDown {
    0% { transform: translateX(-50%) scaleY(0); transform-origin: top; }
    50% { transform: translateX(-50%) scaleY(1); }
    100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; }
}

.face-icon { opacity: 0.8; }
.scan-label { font-size: 0.68rem; color: var(--primary); font-weight: 600; margin-bottom: 0.5rem; }

.scan-progress-bar {
    width: 100%;
    height: 3px;
    background: #1e293b;
    border-radius: 2px;
    overflow: hidden;
}

.scan-progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    animation: fillProgress 2s ease-in-out infinite;
}

@keyframes fillProgress {
    0% { width: 0%; }
    70% { width: 95%; }
    100% { width: 0%; }
}

.dispenser-status-bar {
    display: flex;
    justify-content: space-around;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid #1e293b;
}

.ds-item { font-size: 0.65rem; color: #64748b; display: flex; align-items: center; gap: 0.3rem; }
.ds-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.ds-dot.green { background: var(--success); }

.dispenser-body {
    background: #1e293b;
    border-radius: 0 0 16px 16px;
    padding: 0.75rem;
    border: 2px solid #1e293b;
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dispenser-slot {
    width: 140px;
    height: 30px;
    background: #0f172a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #334155;
}

.med-tray {
    width: 80%;
    height: 12px;
    background: linear-gradient(90deg, #1090a6 60%, transparent 60%);
    border-radius: 2px;
    animation: traySlide 3s ease-in-out infinite;
}

@keyframes traySlide {
    0%, 60% { transform: translateX(0); }
    80%, 100% { transform: translateX(30px); }
}

.dispenser-scanner {
    width: 36px;
    height: 36px;
    background: #0f172a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating pills */
.float-pill {
    position: absolute;
    background: white;
    border: 1px solid var(--border);
    padding: 0.4rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.pill-1 { top: 20px; right: -70px; animation: float1 4s ease-in-out infinite; }
.pill-2 { bottom: 80px; right: -65px; animation: float2 4s ease-in-out infinite 1s; }
.pill-3 { top: 50%; left: -75px; transform: translateY(-50%); animation: float3 4s ease-in-out infinite 2s; }

@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
@keyframes float3 { 0%,100%{transform:translateY(-50%) translateX(0)} 50%{transform:translateY(-50%) translateX(-6px)} }

/* ── STATS BAR ─────────────────────────────────────────────────────────────── */
.stats-bar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 2.5rem 5%;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-item { text-align: center; color: white; }
.stat-number { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 900; }
.stat-suffix { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 900; }
.stat-label { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.7); font-weight: 500; margin-top: 0.2rem; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.2); }

/* ── HOW IT WORKS ──────────────────────────────────────────────────────────── */
.how-it-works { background: var(--bg-alt); text-align: center; }
.how-it-works .section-title { margin-bottom: 0.5rem; }

.steps-grid {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.step-card {
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: all 0.25s;
    position: relative;
}

.step-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16,144,166,0.12); border-color: var(--primary); }

.step-card.featured {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-color: var(--primary);
    color: white;
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(16,144,166,0.3);
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.step-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(16,144,166,0.3);
}

.step-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.step-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1rem; }
.step-card.featured p { color: rgba(255,255,255,0.7); }

.step-eps-chip {
    font-size: 0.72rem;
    color: var(--primary);
    background: rgba(16,144,166,0.08);
    border: 1px solid rgba(16,144,166,0.2);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-weight: 600;
}

.step-tech-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.step-tech-badges span { font-size: 0.7rem; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); padding: 0.25rem 0.6rem; border-radius: 6px; font-weight: 600; }

.step-connector { padding: 0 0.5rem; color: var(--primary); }

/* ── SERVICES ──────────────────────────────────────────────────────────────── */
.services { background: white; text-align: center; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    text-align: left;
    margin-top: 1rem;
}

.service-card {
    background: #fafbfc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.25s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16,144,166,0.1);
    border-color: var(--primary);
    background: white;
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; margin-bottom: 1.25rem; }

.service-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.service-list li { font-size: 0.82rem; color: var(--text-mid); padding-left: 1.25rem; position: relative; }
.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ── EPS ───────────────────────────────────────────────────────────────────── */
.eps-section { background: var(--bg-alt); text-align: center; }

.eps-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    text-align: left;
    margin-bottom: 2.5rem;
}

.eps-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.eps-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }

.eps-logo-area {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eps-logo-text { text-align: center; line-height: 1.2; }

.eps-info { padding: 1.25rem; }
.eps-info h4 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.eps-info p { font-size: 0.82rem; color: var(--text-light); margin-bottom: 0.75rem; }

.eps-status { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--text-mid); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.status-dot.green { background: var(--success); }

.eps-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    gap: 2rem;
    flex-wrap: wrap;
}

.eps-cta-box h3 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 0.4rem; }
.eps-cta-box p { font-size: 0.88rem; color: var(--text-light); }

/* ── TECH ──────────────────────────────────────────────────────────────────── */
.tech-section { background: white; text-align: center; }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    text-align: left;
    margin-top: 2rem;
}

.tech-feature {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fafbfc;
    transition: all 0.25s;
}

.tech-feature:hover { background: white; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,144,166,0.08); }

.tech-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.tech-feature h3 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.6rem; }
.tech-feature p { font-size: 0.86rem; color: var(--text-light); line-height: 1.65; margin-bottom: 1rem; }

.tech-specs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tech-specs span { font-size: 0.72rem; background: rgba(16,144,166,0.08); border: 1px solid rgba(16,144,166,0.15); color: var(--primary); padding: 0.2rem 0.6rem; border-radius: 6px; font-weight: 600; }

/* ── APP SECTION ───────────────────────────────────────────────────────────── */
.app-section { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f2a3d 100%); padding: 5rem 5%; }

.app-container { max-width: 1100px; margin: 0 auto; display: flex; gap: 4rem; align-items: center; flex-wrap: wrap; }

.app-content { flex: 1; min-width: 300px; }

.app-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.app-features-list li { font-size: 0.92rem; color: rgba(255,255,255,0.8); }

.app-store-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    font-family: 'Outfit', sans-serif;
}

.store-btn:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.35); }

/* Phone mockup */
.app-phone-mockup { flex-shrink: 0; }

.phone-frame {
    width: 220px;
    background: #1e293b;
    border-radius: 36px;
    padding: 16px;
    border: 3px solid #334155;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
}

.phone-notch {
    width: 70px;
    height: 20px;
    background: #0f172a;
    border-radius: 0 0 12px 12px;
    margin: 0 auto 8px;
}

.phone-screen {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
}

.app-screen-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 1rem 0.75rem 0.75rem;
    color: white;
}

.app-screen-header div:first-child { color: white; font-weight: 700; font-family: 'Outfit', sans-serif; font-size: 0.82rem; }

.app-screen-formula { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }

.formula-card-mini {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.65rem;
    cursor: pointer;
    transition: border-color 0.18s;
}

.formula-card-mini.active { border-color: var(--primary); background: rgba(16,144,166,0.02); }

/* ── TERMINALS ─────────────────────────────────────────────────────────────── */
.terminals-section { background: var(--bg-alt); text-align: center; }

.terminals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    text-align: left;
    margin-top: 2rem;
}

.terminal-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.25s;
}

.terminal-card.active { border-color: var(--success); }
.terminal-card.warning { border-color: var(--warning); }
.terminal-card.offline { border-color: var(--error); opacity: 0.75; }

.terminal-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.terminal-status-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }

.term-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.term-badge.active { background: #ecfdf5; color: var(--success); }
.term-badge.warning { background: #fffbeb; color: var(--warning); }
.term-badge.offline { background: #fee2e2; color: var(--error); }

.term-temp { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }

.terminal-card h4 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.terminal-card > p { font-size: 0.78rem; color: var(--text-light); margin-bottom: 0.75rem; }

.term-stock { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }

.term-stock-bar {
    flex: 1;
    height: 6px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.term-stock-bar div {
    height: 100%;
    width: var(--pct);
    background: var(--primary);
    border-radius: 4px;
    transition: width 1s ease;
}

.term-stock span { font-size: 0.75rem; font-weight: 700; color: var(--text-mid); white-space: nowrap; }
.term-eps { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.term-eps span { font-size: 0.68rem; background: rgba(16,144,166,0.08); color: var(--primary); border: 1px solid rgba(16,144,166,0.15); padding: 0.15rem 0.5rem; border-radius: 6px; font-weight: 600; }

/* ── CONTACT ───────────────────────────────────────────────────────────────── */
.contact-section { background: white; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; font-size: 0.88rem; }
.contact-icon { font-size: 1.25rem; flex-shrink: 0; }
.contact-item strong { display: block; margin-bottom: 0.1rem; }
.contact-item a { color: var(--primary); text-decoration: none; }

.contact-form {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }

.form-field label { font-size: 0.75rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.04em; }

.form-field input,
.form-field select,
.form-field textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    background: white;
    width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16,144,166,0.12);
}

.form-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(16,144,166,0.3);
}

.form-submit-btn:hover { box-shadow: 0 6px 20px rgba(16,144,166,0.4); transform: translateY(-1px); }

.form-success {
    margin-top: 1rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
}

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
.site-footer { background: #0f172a; padding: 4rem 5% 0; }

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-brand { display: flex; align-items: center; gap: 0.6rem; }

.footer-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-certs span {
    font-size: 0.68rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
}

.footer-links-col { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-links-col h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.footer-links-col a {
    text-decoration: none;
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    transition: color 0.18s;
}

.footer-links-col a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { text-decoration: none; color: rgba(255,255,255,0.3); font-size: 0.8rem; transition: color 0.18s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .nav-links, .nav-ctas { display: none !important; }
    .nav-burger { display: flex !important; }
    .nav-mobile.open { display: flex !important; }
}

@media (min-width: 1025px) and (max-width: 1250px) {
    .nav-container {
        padding: 0 3%;
        gap: 1rem;
    }
    .nav-links {
        gap: 0.75rem;
    }
    .nav-links a {
        padding: 0.4rem 0.6rem;
        font-size: 0.88rem;
    }
}

@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding-top: 7rem; min-height: auto; }
    .hero-content { max-width: 100%; }
    .hero-ctas { justify-content: center; }
    .hero-trust { justify-content: center; flex-wrap: wrap; }
    .hero-visual { display: none; }

    .steps-grid { flex-direction: column; align-items: center; }
    .step-connector { transform: rotate(90deg); }

    .contact-grid { grid-template-columns: 1fr; }

    .footer-container { grid-template-columns: 1fr 1fr; }

    .section-title { font-size: 2rem; }
    .hero-title { font-size: 2.4rem; }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .stats-container { gap: 1rem; }
    .stat-divider { display: none; }
}
