body {
  font-family: Arial, sans-serif;
  margin: 0;
}
.hero {
  padding: 100px;
  background: #0EA5E9;
  color: white;
  text-align: center;
}
  :root {
    --sky: #0EA5E9;
    --sky-light: #38BDF8;
    --sky-dark: #0369A1;
    --sky-pale: #E0F2FE;
    --navy: #0A1628;
    --navy-mid: #112240;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-400: #94A3B8;
    --gray-600: #475569;
    --gray-800: #1E293B;
    --teal: #0D9488;
    --emerald: #059669;
    --violet: #7C3AED;
    --amber: #D97706;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--gray-800);
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5vw;
    height: 72px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
  }

  .nav-logo-icon {
    width: 38px; height: 38px;
    background: var(--sky);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .nav-logo-icon::before {
    content: '';
    position: absolute;
    width: 14px; height: 24px;
    background: white; border-radius: 3px;
  }
  .nav-logo-icon::after {
    content: '';
    position: absolute;
    width: 24px; height: 14px;
    background: white; border-radius: 3px;
  }

  .nav-wordmark {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px; font-weight: 600;
    color: var(--gray-800);
  }
  .nav-wordmark span { color: var(--sky); }

  .nav-links {
    display: flex; gap: 36px; list-style: none;
  }
  .nav-links a {
    text-decoration: none;
    font-size: 14px; font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--sky); }

  .nav-cta {
    background: var(--sky);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px; font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
  }
  .nav-cta:hover { background: var(--sky-dark); transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex; align-items: center;
    padding: 120px 5vw 80px;
    position: relative;
    overflow: hidden;
  }

  .hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(14,165,233,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(14,165,233,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,0.18) 0%, transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
  }

  .hero-glow-2 {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 70%);
    bottom: 50px; left: 10%;
    pointer-events: none;
  }

  /* Animated pulse ring */
  .pulse-ring {
    position: absolute;
    right: 8vw; top: 50%;
    transform: translateY(-50%);
    width: 380px; height: 380px;
  }

  .pulse-ring circle {
    animation: pulseRing 3s ease-out infinite;
    transform-origin: center;
  }
  .pulse-ring circle:nth-child(2) { animation-delay: 1s; }
  .pulse-ring circle:nth-child(3) { animation-delay: 2s; }

  @keyframes pulseRing {
    0% { r: 60; opacity: 0.6; }
    100% { r: 180; opacity: 0; }
  }

  .hero-content { position: relative; z-index: 2; max-width: 620px; }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(14,165,233,0.15);
    border: 1px solid rgba(14,165,233,0.35);
    color: var(--sky-light);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px; font-weight: 500;
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
  }

  .badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--sky-light);
    animation: blink 1.5s ease infinite;
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  .hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    animation: fadeUp 0.6s ease 0.1s both;
  }

  .hero h1 em {
    font-style: italic;
    color: var(--sky-light);
  }

  .hero p {
    font-size: 18px; line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin-bottom: 40px;
    animation: fadeUp 0.6s ease 0.2s both;
  }

  .hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
    animation: fadeUp 0.6s ease 0.3s both;
  }

  .btn-primary {
    background: var(--sky);
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px; font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary:hover { background: var(--sky-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14,165,233,0.3); }

  .btn-ghost {
    color: rgba(255,255,255,0.8);
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px; font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: white; }

  .hero-stats {
    display: flex; gap: 40px; margin-top: 56px;
    animation: fadeUp 0.6s ease 0.4s both;
  }

  .stat-item {}
  .stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 36px; color: white;
    line-height: 1;
  }
  .stat-label {
    font-size: 13px; color: rgba(255,255,255,0.5);
    margin-top: 4px;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── SECTION WRAPPER ── */
  section { padding: 96px 5vw; }

  .section-label {
    font-size: 12px; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 16px;
  }

  .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 20px;
  }

  .section-sub {
    font-size: 17px; line-height: 1.7;
    color: var(--gray-600);
    max-width: 560px;
  }

  /* ── SERVICES ── */
  .services { background: var(--gray-50); }

  .services-header {
    text-align: center; margin-bottom: 72px;
  }
  .services-header .section-sub { margin: 0 auto; }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
  }

  .service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 36px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--card-accent, var(--sky));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.08); }
  .service-card:hover::before { transform: scaleX(1); }

  .service-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    font-size: 26px;
  }

  .service-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.3;
  }

  .service-card p {
    font-size: 15px; line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 24px;
  }

  .service-features {
    list-style: none;
    display: flex; flex-direction: column; gap: 10px;
  }

  .service-features li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: var(--gray-600);
  }

  .feature-check {
    width: 18px; height: 18px; flex-shrink: 0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px;
    margin-top: 1px;
  }

  .service-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 500;
    color: var(--sky);
    text-decoration: none;
    margin-top: 28px;
    transition: gap 0.2s;
  }
  .service-link:hover { gap: 10px; }

  /* Card color variants */
  .card-blue  { --card-accent: #0EA5E9; }
  .card-teal  { --card-accent: #0D9488; }
  .card-violet{ --card-accent: #7C3AED; }
  .card-amber { --card-accent: #D97706; }

  .icon-blue   { background: #EFF6FF; }
  .icon-teal   { background: #F0FDFA; }
  .icon-violet { background: #F5F3FF; }
  .icon-amber  { background: #FFFBEB; }

  .check-blue   { background: #DBEAFE; color: #1D4ED8; }
  .check-teal   { background: #CCFBF1; color: #0F766E; }
  .check-violet { background: #EDE9FE; color: #6D28D9; }
  .check-amber  { background: #FEF3C7; color: #B45309; }

  /* ── HOW IT WORKS ── */
  .how { background: white; }
  .how-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .how-visual {
    position: relative;
    height: 440px;
  }

  .how-node {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200);
    display: flex; align-items: center; gap: 14px;
    min-width: 200px;
    animation: float 4s ease-in-out infinite;
  }

  .how-node:nth-child(2) { animation-delay: 0.8s; }
  .how-node:nth-child(3) { animation-delay: 1.6s; }
  .how-node:nth-child(4) { animation-delay: 2.4s; }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
  }

  .node-1 { top: 20px;  left: 20px; }
  .node-2 { top: 20px;  right: 20px; }
  .node-3 { bottom: 20px; left: 20px; }
  .node-4 { bottom: 20px; right: 20px; }

  .node-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    background: var(--sky);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 16px rgba(14,165,233,0.12), 0 0 0 32px rgba(14,165,233,0.06);
  }

  .node-icon { font-size: 22px; }
  .node-label { font-size: 13px; font-weight: 500; color: var(--navy); line-height: 1.3; }
  .node-sub   { font-size: 11px; color: var(--gray-400); margin-top: 2px; }

  .how-steps { display: flex; flex-direction: column; gap: 36px; }

  .how-step { display: flex; gap: 20px; align-items: flex-start; }

  .step-num {
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 12px;
    background: var(--sky-pale);
    color: var(--sky-dark);
    font-size: 15px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
  }

  .step-text h4 {
    font-size: 17px; font-weight: 600;
    color: var(--navy); margin-bottom: 6px;
  }

  .step-text p {
    font-size: 15px; line-height: 1.65;
    color: var(--gray-600);
  }

  /* ── TESTIMONIALS ── */
  .testimonials { background: var(--navy); }
  .testimonials .section-title { color: white; }
  .testimonials .section-label { color: var(--sky-light); }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 56px;
  }

  .testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 36px;
    transition: background 0.3s;
  }
  .testimonial-card:hover { background: rgba(255,255,255,0.08); }

  .testimonial-quote {
    font-family: 'DM Serif Display', serif;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
  }

  .testimonial-author {
    display: flex; align-items: center; gap: 14px;
  }

  .author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--sky);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 600; color: white;
  }

  .author-name { font-size: 14px; font-weight: 600; color: white; }
  .author-role { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }

  /* ── CTA STRIP ── */
  .cta-strip {
    background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky) 100%);
    padding: 80px 5vw;
    text-align: center;
    position: relative; overflow: hidden;
  }

  .cta-strip::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
  }

  .cta-strip h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 4vw, 46px);
    color: white;
    margin-bottom: 16px;
    position: relative;
  }

  .cta-strip p {
    font-size: 17px; color: rgba(255,255,255,0.75);
    margin-bottom: 36px; position: relative;
  }

  .cta-strip .btn-white {
    background: white; color: var(--sky-dark);
    padding: 14px 36px; border-radius: 10px;
    font-size: 15px; font-weight: 600;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.2s; position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }
  .cta-strip .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

  /* ── FOOTER ── */
  footer {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 64px 5vw 40px;
    color: rgba(255,255,255,0.5);
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
  }

  .footer-brand p {
    font-size: 14px; line-height: 1.7;
    margin-top: 16px; max-width: 280px;
  }

  .footer-col h5 {
    font-size: 13px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
  }

  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .footer-col a {
    font-size: 14px; color: rgba(255,255,255,0.45);
    text-decoration: none; transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--sky-light); }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 32px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
    font-size: 13px;
  }

  .footer-logo {
    display: flex; align-items: center; gap: 10px;
  }
  .footer-logo-icon {
    width: 32px; height: 32px;
    background: var(--sky);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .footer-logo-icon::before {
    content: ''; position: absolute;
    width: 12px; height: 20px; background: white; border-radius: 2px;
  }
  .footer-logo-icon::after {
    content: ''; position: absolute;
    width: 20px; height: 12px; background: white; border-radius: 2px;
  }
  .footer-wordmark { font-size: 16px; font-weight: 600; color: white; }
  .footer-wordmark span { color: var(--sky-light); }

  /* ECG pulse line decorative */
  .ecg-line {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    pointer-events: none;
  }

  /* scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-phone a { font-size: 12px; }
  nav { padding: 0 16px; }

  /* Hero */
  .hero { padding: 100px 20px 56px; }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); }
  .hero p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; justify-content: center; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 28px; }
  .pulse-ring { display: none; }

  /* Sections */
  section { padding: 64px 20px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* How it works */
  .how-inner { grid-template-columns: 1fr; gap: 40px; }
  .how-visual { display: none; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 24px; }
}
