/* ============================================================
   SWatch360 — Device Health Monitoring (Dexter family)
   SEPLE NovaEdge Pvt. Ltd.
   ============================================================ */

:root {
  --dark-1: #07111f;
  --dark-2: #0d1b2a;
  --dark-3: #13283f;
  --blue: #0a84ff;
  --orange: #ff6d00;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --light-bg: #f4f7fb;
  --white: #ffffff;
  --muted: #6b7c8f;
  --dark-muted: #8fa8c0;
  --border-light: #d8e1ec;
  --border-dark: #1e3a5a;
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.08);
  --ease: 0.25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; font-weight: 400; line-height: 1.7;
  color: var(--white); background: var(--dark-1);
  overflow-x: hidden; max-width: 100vw; padding-top: 68px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.section { padding: 96px 0; position: relative; overflow: hidden; }
.section-dark { background: var(--dark-2); color: var(--white); }
.section-darkest { background: var(--dark-1); color: var(--white); }
.section-light { background: var(--light-bg); color: var(--dark-2); }
.section-white { background: var(--white); color: var(--dark-2); }
.value-strip { padding: 64px 0; }

/* ---------- Typography ---------- */
h1 { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--white); }
h2 { font-size: 42px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--dark-2); }
h2.white { color: var(--white); }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.kicker { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 8px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-intro { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 680px; margin: 16px auto 0; }
.section-intro.muted-body { color: var(--dark-muted); }
section h2 { text-align: center; }
.hero h1 { text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; border-radius: 6px; padding: 14px 28px;
  cursor: pointer; border: 1px solid transparent; font-family: inherit; white-space: nowrap;
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.hero .btn { font-size: 16px; }
.btn-block { width: 100%; margin-top: 8px; }
.btn-cta { background: var(--orange); color: var(--white); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 109, 0, 0.35); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10, 132, 255, 0.3); }
.btn-outline { border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.05); }
.btn-outline-blue { background: transparent; border: 1px solid var(--blue); color: var(--blue); }
.btn-outline-blue:hover { transform: translateY(-2px); background: rgba(10, 132, 255, 0.06); box-shadow: 0 8px 20px rgba(10, 132, 255, 0.18); }
.btn-row { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.btn-row-center { justify-content: center; }
.center-cta { text-align: center; margin-top: 48px; }

/* ---------- Pills / badges ---------- */
.pill { display: inline-block; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; padding: 7px 16px; border-radius: 100px; margin-bottom: 24px; }
.pill-blue { border: 1px solid var(--blue); color: var(--blue); background: rgba(10, 132, 255, 0.08); }

/* ---------- Dot grid & glow ---------- */
.dot-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; background-image: radial-gradient(circle, var(--border-dark) 1.5px, transparent 1.5px); background-size: 20px 20px; }
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 900px 500px at 50% 40%, rgba(10, 132, 255, 0.08) 0%, transparent 70%); }

/* ---------- Check icon ---------- */
.check { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; position: relative; }
.check::after { content: ""; position: absolute; left: 4px; top: 1px; width: 6px; height: 11px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Shared card icon ---------- */
.card-ico { width: 48px; height: 48px; border-radius: 50%; background: rgba(10, 132, 255, 0.1); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card-ico svg { width: 24px; height: 24px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 68px; background: rgba(7, 17, 31, 0);
  transition: background 0.3s ease, border-bottom 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled { background: rgba(7, 17, 31, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-dark); }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-icon { width: 30px; height: 30px; flex-shrink: 0; }
.nav-logo-icon svg { width: 30px; height: 30px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-name { font-size: 18px; font-weight: 700; color: white; letter-spacing: -0.01em; }
.nav-logo-sub { font-size: 10px; color: var(--muted); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.75); transition: color 0.2s ease; white-space: nowrap; }
.nav-links a:hover { color: white; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-btn-demo { padding: 9px 18px; border: 1.5px solid rgba(255, 255, 255, 0.3); color: white; background: transparent; border-radius: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: all 0.2s ease; }
.nav-btn-demo:hover { border-color: white; background: rgba(255, 255, 255, 0.06); }
.nav-btn-login { padding: 9px 18px; background: var(--orange); color: white; border-radius: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background 0.2s ease; }
.nav-btn-login:hover { background: #e56200; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: all 0.25s ease; }
.nav-mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: rgba(7, 17, 31, 0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-dark); padding: 24px 32px; z-index: 999; flex-direction: column; }
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu > a { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, 0.8); border-bottom: 1px solid var(--border-dark); transition: color 0.2s ease; }
.nav-mobile-menu > a:hover { color: white; }
.nav-mobile-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.nav-mobile-actions a { padding: 13px; text-align: center; border-radius: 6px; font-weight: 600; font-size: 15px; }
.nav-mobile-demo { border: 1.5px solid rgba(255, 255, 255, 0.3); color: white; background: transparent; }
.nav-mobile-login { background: var(--orange); color: white; }

@media (max-width: 1024px) { .nav-links { gap: 16px; } .navbar { padding: 0 24px; } }
@media (max-width: 860px) { .nav-links, .nav-btn-demo { display: none; } .nav-hamburger { display: flex; } }
@media (max-width: 480px) { .navbar { padding: 0 16px; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: calc(100vh - 68px); background: var(--dark-1); display: flex; align-items: center; position: relative; padding: 80px 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-content h1 { margin-bottom: 24px; }
.hero-sub { font-size: 18px; color: var(--dark-muted); line-height: 1.7; max-width: 560px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 32px; }
.trust-strip li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dark-muted); }

/* ---------- Mockup base ---------- */
.mockup { background: var(--dark-2); border: 1px solid var(--border-dark); border-radius: 12px; padding: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.mockup-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; }
.mock-brand { color: var(--white); font-weight: 600; font-size: 13px; }
.mock-top-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mock-time { color: var(--muted); font-size: 11px; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--green); background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); padding: 3px 10px; border-radius: 100px; letter-spacing: 0.05em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- Hero health mockup ---------- */
.hero-mockup { perspective: 1200px; }
.health-mockup { transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); transition: transform 0.5s ease; }
.health-mockup:hover { transform: perspective(1200px) rotateY(-4deg) rotateX(1deg); }
.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.branch-card { background: var(--dark-1); border: 1px solid #1a2d42; border-left-width: 3px; border-radius: 6px; padding: 10px; }
.branch-card.status-healthy { border-left-color: var(--green); }
.branch-card.status-warning { border-left-color: var(--amber); }
.branch-card.status-critical { border-left-color: var(--red); }
.branch-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.branch-name { font-size: 11px; font-weight: 600; color: var(--white); }
.branch-state { font-size: 9px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.status-healthy .branch-state { color: var(--green); }
.status-warning .branch-state { color: var(--amber); }
.status-critical .branch-state { color: var(--red); }
.dev-dots { display: flex; gap: 6px; }
.sdot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.sdot.g { background: var(--green); }
.sdot.a { background: var(--amber); }
.sdot.r { background: var(--red); }
.dev-legend { display: flex; justify-content: space-between; gap: 2px; margin-bottom: 12px; padding: 0 2px; }
.dev-legend span { font-size: 7.5px; color: var(--muted); letter-spacing: 0.02em; }
.alert-panel { margin-bottom: 12px; }
.queue-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px; }
.alert-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--dark-1); border: 1px solid #1a2d42; border-radius: 6px; padding: 8px 10px; font-size: 10px; margin-bottom: 6px; }
.alert-left { display: flex; align-items: center; gap: 7px; color: var(--dark-muted); }
.alert-time { color: var(--muted); font-size: 10px; flex-shrink: 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-red { background: var(--red); }
.dot-amber { background: var(--amber); }
.dot-orange { background: var(--orange); }
.metrics-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric-pill { background: var(--dark-3); border: 1px solid var(--border-dark); border-radius: 6px; padding: 8px 6px; text-align: center; }
.metric-num { display: block; font-size: 16px; font-weight: 800; color: var(--white); }
.metric-tag { display: block; font-size: 8px; color: var(--muted); letter-spacing: 0.05em; margin-top: 2px; }

/* ============================================================
   METRICS STRIP
   ============================================================ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: var(--dark-3); border: 1px solid var(--border-dark); border-radius: 12px; padding: 28px 32px; text-align: center; transition: transform var(--ease), box-shadow var(--ease); }
.value-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.stat-num { font-size: 40px; font-weight: 800; color: var(--white); line-height: 1.1; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 8px; }
.disclaimer { text-align: center; font-size: 12px; color: var(--muted); font-style: italic; margin-top: 32px; }

/* ============================================================
   GRID-3 CARDS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--border-light); border-radius: 12px; padding: 32px; transition: transform var(--ease), box-shadow var(--ease); }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.card-label { display: block; font-size: 11px; text-transform: uppercase; color: var(--blue); letter-spacing: 0.08em; font-weight: 600; margin-top: 20px; }
.feature-card h3 { font-size: 20px; font-weight: 600; color: var(--dark-2); margin: 8px 0 10px; }
.feature-card p { font-size: 15px; color: var(--muted); }

/* Device cards (dark) */
.device-card { background: var(--dark-3); border: 1px solid var(--border-dark); border-radius: 12px; padding: 32px; transition: transform var(--ease), box-shadow var(--ease); }
.device-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.device-card h3 { color: var(--white); font-size: 20px; margin: 18px 0 14px; }
.dev-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.dev-pill { font-size: 12px; font-weight: 500; color: var(--dark-muted); background: rgba(10, 132, 255, 0.08); border: 1px solid var(--border-dark); border-radius: 100px; padding: 5px 12px; }
.dev-pill.light { color: var(--muted); background: rgba(10, 132, 255, 0.06); border-color: var(--border-light); }
.compat-strip { position: relative; z-index: 1; text-align: center; font-size: 15px; color: var(--dark-muted); max-width: 880px; margin: 48px auto 0; line-height: 1.7; }
.fine-note { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 16px; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.fine-note.center { margin-top: 40px; }

/* Governance / partner cards (dark) */
.gov-card { background: var(--dark-3); border: 1px solid var(--border-dark); border-radius: 12px; padding: 32px; transition: transform var(--ease), box-shadow var(--ease); }
.gov-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.gov-card h3 { color: var(--white); font-size: 20px; margin: 18px 0 10px; }
.gov-card p { color: var(--muted); font-size: 15px; }

/* feature list */
.feat-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.feat-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.feat-list .check { margin-top: 2px; }

/* ============================================================
   PROBLEM / SOLUTION
   ============================================================ */
.problem-solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.problem-card { background: #fff5f5; border: 1px solid #fecdd3; border-radius: 14px; padding: 32px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.sol-card { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px; padding: 32px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.problem-card:hover, .sol-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.ps-head { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.ps-badge { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ps-badge svg { width: 15px; height: 15px; }
.ps-badge.red { background: #fee2e2; color: #dc2626; }
.ps-badge.green { background: #dcfce7; color: #16a34a; }
.ps-label { font-size: 16px; font-weight: 700; }
.ps-label.red { color: #dc2626; }
.ps-label.green { color: #16a34a; }
.ps-list { display: flex; flex-direction: column; }
.ps-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #fecdd3; font-size: 14px; color: #374151; line-height: 1.5; }
.sol-card .ps-list li { border-bottom-color: #bbf7d0; }
.ps-list li:last-child { border-bottom: none; }
.ps-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.ps-dot.red { background: #dc2626; }
.ps-dot.green { background: #16a34a; }

/* ============================================================
   HOW IT WORKS (workflow)
   ============================================================ */
.workflow { position: relative; z-index: 1; display: flex; align-items: stretch; justify-content: center; gap: 8px; }
.step { flex: 1; background: var(--dark-3); border: 1px solid var(--border-dark); border-radius: 12px; padding: 28px 22px; transition: transform var(--ease), box-shadow var(--ease); }
.step:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 800; font-size: 16px; margin-bottom: 16px; }
.step h3 { font-size: 18px; color: var(--white); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }
.step-arrow { color: var(--blue); font-size: 22px; display: flex; align-items: center; flex-shrink: 0; }
.tag-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.tag { font-size: 13px; font-weight: 500; color: var(--dark-2); background: var(--white); border: 1px solid var(--border-light); border-radius: 100px; padding: 8px 18px; }
.tag.dark { color: var(--dark-muted); background: var(--dark-3); border-color: var(--border-dark); }

/* ============================================================
   USE CASES (industry cards)
   ============================================================ */
.industry-card { background: var(--white); border: 1px solid var(--border-light); border-radius: 12px; padding: 32px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.industry-num { width: 36px; height: 36px; border-radius: 50%; background: rgba(10,132,255,0.08); color: var(--blue); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.industry-card h3 { font-size: 20px; font-weight: 700; color: var(--dark-2); margin-bottom: 8px; }
.industry-scale { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.industry-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.industry-label.blue { color: var(--blue); }
.industry-text { font-size: 14px; color: #374151; line-height: 1.6; margin-bottom: 16px; }
.industry-text:last-child { margin-bottom: 0; }

/* ============================================================
   SLINK GATEWAY
   ============================================================ */
.split-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-text h2 { margin-bottom: 18px; }
.muted-body { color: var(--dark-muted); font-size: 16px; }
.module-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.module-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--white); }
.module-list .check { margin-top: 3px; }

/* SLink device illustration */
.slink-device { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.slink-body { width: 100%; max-width: 360px; background: linear-gradient(160deg, #142233, #0b1623); border: 1px solid var(--border-dark); border-radius: 14px; padding: 24px; box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.slink-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.slink-name { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.01em; }
.slink-sub { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.slink-leds { display: flex; gap: 20px; margin-bottom: 22px; }
.led { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--dark-muted); }
.led-dot { width: 9px; height: 9px; border-radius: 50%; }
.led-dot.g { background: var(--green); box-shadow: 0 0 8px rgba(34,197,94,0.6); }
.led-dot.b { background: var(--blue); box-shadow: 0 0 8px rgba(10,132,255,0.6); }
.slink-ports { display: flex; gap: 8px; }
.port { flex: 1; text-align: center; font-size: 10px; letter-spacing: 0.04em; color: var(--muted); background: var(--dark-1); border: 1px solid var(--border-dark); border-radius: 5px; padding: 8px 4px; }
.slink-conns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.conn-node { font-size: 12px; font-weight: 500; color: var(--dark-muted); background: var(--dark-3); border: 1px solid var(--border-dark); border-radius: 100px; padding: 8px 16px; position: relative; }
.conn-node::before { content: ""; position: absolute; top: -10px; left: 50%; width: 1px; height: 10px; background: var(--border-dark); }

/* ============================================================
   DEPLOYMENT
   ============================================================ */
.deploy-grid { align-items: stretch; }
.deploy-card { background: var(--white); border: 1px solid var(--border-light); border-radius: 14px; padding: 32px; position: relative; transition: transform var(--ease), box-shadow var(--ease); }
.deploy-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.deploy-featured { border-top: 3px solid var(--blue); }
.featured-tag { position: absolute; top: -12px; left: 32px; background: var(--blue); color: var(--white); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 100px; }
.deploy-ico { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.deploy-ico svg { width: 26px; height: 26px; }
.deploy-ico.blue { background: rgba(10, 132, 255, 0.12); color: var(--blue); }
.deploy-ico.orange { background: rgba(255, 109, 0, 0.12); color: var(--orange); }
.deploy-card h3 { color: var(--dark-2); margin-bottom: 10px; }
.deploy-desc { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.deploy-card .feat-list li { color: var(--muted); }

/* ============================================================
   PRICING
   ============================================================ */
.billing-toggle { display: flex; gap: 4px; width: fit-content; margin: 0 auto 40px; background: #e8edf2; border: 1px solid var(--border-light); border-radius: 100px; padding: 4px; }
.bt-opt { font-family: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: transparent; border: none; cursor: pointer; padding: 8px 20px; border-radius: 100px; transition: background var(--ease), color var(--ease); }
.bt-opt:hover { color: var(--dark-2); }
.bt-opt.is-active { background: var(--blue); color: var(--white); }
.pricing-grid { align-items: stretch; }
.pricing-card { background: var(--white); border: 1px solid var(--border-light); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; position: relative; transition: transform var(--ease), box-shadow var(--ease); min-width: 0; }
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.pricing-featured { border-top: 3px solid var(--blue); box-shadow: 0 12px 32px rgba(10, 132, 255, 0.14); }
.popular-tag { position: absolute; top: -12px; right: 24px; background: var(--blue); color: var(--white); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 14px; border-radius: 100px; white-space: nowrap; }
.plan-name { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.plan-price { font-size: 40px; font-weight: 800; color: var(--dark-2); line-height: 1; letter-spacing: -0.02em; }
.plan-price-custom { font-size: 40px; }
.plan-unit { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.price-annual, .price-unit-annual { display: none; }
.show-annual .price-monthly, .show-annual .price-unit-monthly { display: none; }
.show-annual .price-annual, .show-annual .price-unit-annual { display: inline; }
.min-note { font-size: 13px; color: var(--muted); margin-top: 10px; margin-bottom: 20px; }
.pricing-card .feat-list { flex: 1; margin-bottom: 18px; }
.pricing-card .feat-list li { color: var(--dark-2); font-size: 14px; padding: 4px 0; }
.slink-note { text-align: center; font-size: 13px; color: var(--dark-2); font-weight: 500; background: rgba(10,132,255,0.06); border: 1px solid var(--border-light); border-radius: 8px; padding: 14px 20px; max-width: 820px; margin: 32px auto 0; }
.pricing-footnote { text-align: center; font-size: 13px; color: var(--muted); font-style: italic; margin-top: 16px; max-width: 820px; margin-left: auto; margin-right: auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border-light); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--dark-2); user-select: none; }
.faq-chevron { flex-shrink: 0; transition: transform 0.25s ease; color: var(--muted); display: flex; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 16px 24px 20px; font-size: 15px; color: var(--muted); line-height: 1.7; border-top: 1px solid #f0f4f8; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-h2 { font-size: 44px; margin-bottom: 18px; }
.cta-body { color: var(--dark-muted); font-size: 18px; max-width: 620px; margin: 0 auto; }
.contact-line { font-size: 14px; color: var(--muted); margin-top: 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark-1); border-top: 1px solid var(--border-dark); padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 3fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand-name { color: var(--white); font-size: 18px; font-weight: 700; }
.footer-tagline { color: var(--muted); font-size: 13px; margin-top: 8px; max-width: 280px; }
.footer-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--border-dark); padding-top: 16px; }
.footer-copy { color: var(--muted); font-size: 13px; }
.footer-note { color: #4a5568; font-size: 13px; max-width: 520px; text-align: right; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top { position: fixed; bottom: 28px; right: 28px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--orange); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--ease), transform var(--ease), box-shadow var(--ease); box-shadow: 0 8px 24px rgba(255, 109, 0, 0.35); }
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(255, 109, 0, 0.45); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
  .health-mockup { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  h1 { font-size: 52px; }
  h2, .section-head h2 { font-size: 36px; }
  .cta-h2 { font-size: 38px; }
  .hero-grid { gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .health-mockup { transform: none; }
  .health-mockup:hover { transform: translateY(-3px); }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .workflow { flex-direction: column; align-items: stretch; }
  .step-arrow { transform: rotate(90deg); justify-content: center; padding: 2px 0; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  h1 { font-size: 40px; }
  h2, .section-head h2 { font-size: 30px; }
  .cta-h2 { font-size: 30px; }
  .hero { padding: 48px 0; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: none; }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4, .compliance-grid, .deploy-grid, .pricing-grid, .problem-solution-grid { grid-template-columns: 1fr; }
  .pricing-grid, .problem-solution-grid { max-width: 460px; margin: 0 auto; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-copy, .footer-note { text-align: center; }
  .footer-note { max-width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .dev-legend span { font-size: 6.5px; }
  .back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
}

/* ============================================================
   v4 — mockup summary, architecture flow, demo form, estimator
   ============================================================ */

/* Hero mockup summary row */
.mock-summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 8px 10px; margin-bottom: 10px; background: var(--dark-1); border: 1px solid #1a2d42; border-radius: 6px; }
.mock-summary .sev { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: var(--dark-muted); }
.mock-summary .last-sync { margin-left: auto; font-size: 10px; color: var(--muted); }

/* Architecture flow */
.arch-flow { position: relative; z-index: 1; display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: nowrap; margin-bottom: 36px; }
.arch-node { flex: 1; min-width: 0; background: var(--white); border: 1px solid var(--border-light); border-radius: 12px; padding: 22px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.arch-ico { width: 30px; height: 30px; color: var(--blue); }
.arch-ico svg { width: 30px; height: 30px; }
.arch-title { font-size: 14px; font-weight: 700; color: var(--dark-2); }
.arch-sub { font-size: 12px; color: var(--muted); line-height: 1.4; }
.arch-arrow { color: var(--blue); font-size: 20px; display: flex; align-items: center; flex-shrink: 0; }
.arch-bullets { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; max-width: 880px; margin: 0 auto; }
.arch-bullets li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--dark-2); }

/* Demo form */
.demo-container { max-width: 860px; }
.demo-form { background: var(--white); border: 1px solid var(--border-light); border-radius: 14px; padding: 36px; box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--dark-2); margin-bottom: 7px; }
.form-group .req { color: var(--orange); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border-light); border-radius: 8px;
  background: var(--white); color: var(--dark-2); font-size: 15px; font-family: inherit; box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); outline: none; }
.form-group textarea { resize: vertical; }
.form-group.has-error input, .form-group.has-error select { border-color: var(--red); }
.form-error { font-size: 12px; color: var(--red); margin-top: 5px; min-height: 14px; display: none; }
.form-group.has-error .form-error { display: block; }
.checkbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; }
.chk { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 400 !important; color: var(--dark-2); cursor: pointer; }
.chk input { width: auto !important; }
.form-fallback { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-fallback a, .form-success a { color: var(--blue); font-weight: 600; }
.form-success { margin-top: 18px; padding: 16px 18px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; font-size: 14px; color: #166534; line-height: 1.6; }

/* Pricing estimator */
.estimator { background: var(--white); border: 1px solid var(--border-light); border-radius: 14px; padding: 28px 32px; max-width: 900px; margin: 32px auto 0; box-shadow: var(--shadow-card); }
.est-title { font-size: 18px; font-weight: 700; color: var(--dark-2); margin-bottom: 18px; text-align: center; }
.est-grid { display: grid; grid-template-columns: 1fr 1.2fr 1.4fr; gap: 20px; align-items: end; }
.est-field { display: flex; flex-direction: column; }
.est-field label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.est-field input, .est-field select { width: 100%; padding: 11px 14px; border: 1px solid var(--border-light); border-radius: 8px; background: var(--white); color: var(--dark-2); font-size: 15px; font-family: inherit; box-sizing: border-box; }
.est-field input:focus, .est-field select:focus { border-color: var(--blue); outline: none; }
.est-output { background: var(--light-bg); border: 1px solid var(--border-light); border-radius: 10px; padding: 14px 18px; }
.est-out-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; color: var(--muted); }
.est-out-row em { font-style: normal; font-size: 12px; color: var(--green); }
.est-val { font-size: 18px; font-weight: 800; color: var(--dark-2); white-space: nowrap; }
.est-val.green { color: var(--green); }
.est-min-note { text-align: center; font-size: 13px; color: var(--amber); font-weight: 600; margin-top: 14px; }
.est-hw-note { text-align: center; font-size: 12px; color: var(--muted); font-style: italic; margin-top: 10px; }

@media (max-width: 900px) {
  .arch-flow { flex-direction: column; align-items: stretch; }
  .arch-arrow { transform: rotate(90deg); justify-content: center; padding: 2px 0; }
}
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .checkbox-grid { grid-template-columns: 1fr 1fr; }
  .est-grid { grid-template-columns: 1fr; }
  .demo-form { padding: 24px; }
}
@media (max-width: 480px) {
  .checkbox-grid { grid-template-columns: 1fr; }
  .mock-summary .sev { font-size: 9px; }
}
