/* ============================================================
   Auram Health Tech — marketing site
   Palette derived from brand logo: deep navy + teal, on light/near-black grounds
   ============================================================ */

:root {
  --navy-deepest: #050d16;
  --navy-deep:    #081a2b;
  --navy:         #0d2c47;
  --navy-light:   #16406a;
  --teal:         #1fb8ac;
  --teal-bright:  #3fe6d4;
  --teal-dark:    #0f766e;
  --ink:          #0b1420;
  --muted:        #5b6b7c;
  --muted-light:  #a8bdd1;
  --bg-light:     #f4f6f8;
  --bg-card:      #ffffff;
  --border-soft:  rgba(13, 44, 71, 0.08);
  --border-soft-dark: rgba(255,255,255,0.08);
  --shadow-lg: 0 20px 60px -20px rgba(5, 20, 35, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --ff-head: 'Space Grotesk', 'Inter', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}

p { line-height: 1.65; margin: 0 0 1em; color: var(--muted); }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.section-head.light .eyebrow { color: var(--teal-bright); }

.text-teal { color: var(--teal-dark); }
.section-dark .text-teal { color: var(--teal-bright); }

.muted-light { color: var(--muted-light) !important; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--ff-head);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.full-width { width: 100%; }

.btn-teal {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: #04231f;
  box-shadow: 0 10px 30px -8px rgba(31, 184, 172, 0.55);
}
.btn-teal:hover { box-shadow: 0 16px 40px -10px rgba(31, 184, 172, 0.65); }

.btn-outline {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { border-color: var(--teal-bright); color: var(--teal-bright); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-soft);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
/* .btn-ghost only ever appears in the header's nav-actions, which sits over the dark hero
   gradient until the header scrolls onto its light background (.scrolled below) — the default
   navy text above is unreadable against that dark bg, which is why it only ever looked visible
   on :hover. This is the missing "unscrolled" counterpart to .site-header.scrolled .btn-ghost. */
.site-header:not(.scrolled) .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }

.card-link {
  display: inline-flex;
  font-weight: 600;
  color: var(--teal-dark);
  font-family: var(--ff-head);
  font-size: 0.92rem;
  transition: gap .25s ease;
}
.section-dark .card-link { color: var(--teal-bright); }
.card-link:hover { gap: 4px; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(244, 246, 248, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  padding: 12px 0;
  box-shadow: 0 8px 30px -18px rgba(5,20,35,0.3);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }

/* Logo chip: crops the square brand-mark artwork down to just the ring/pulse icon
   (the source file is a single square image with the icon on top and the
   "AURAM / HEALTH TECH" wordmark underneath) — percentages so it scales cleanly
   at any chip size. */
.logo-chip {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f3;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(13,44,71,0.06);
}
.logo-chip img {
  position: absolute;
  width: 224%;
  height: 224%;
  left: -50%;
  top: -37%;
  max-width: none;
}
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }

.brand-text {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.18rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.site-header.scrolled .brand-text { color: var(--navy-deep); }
.brand-text em { font-style: normal; font-weight: 500; color: var(--teal-bright); }
.site-header.scrolled .brand-text em { color: var(--teal-dark); }
.footer .brand-text { color: var(--navy-deep); }
.footer .brand-text em { color: var(--teal-dark); }

.main-nav {
  display: flex;
  gap: 30px;
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.site-header.scrolled .main-nav { color: var(--navy); }
.main-nav a { position: relative; padding: 4px 0; transition: color .25s ease; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--teal); transition: right .3s var(--ease);
}
.main-nav a:hover { color: var(--teal-bright); }
.site-header.scrolled .main-nav a:hover { color: var(--teal-dark); }
.main-nav a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.hide-mobile { }
.site-header.scrolled .btn-ghost { color: var(--navy); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px; height: 34px;
  border: none; background: transparent;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.site-header.scrolled .hamburger span { background: var(--navy); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(320px, 82vw);
  background: var(--navy-deep);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  font-family: var(--ff-head);
  font-weight: 500;
  color: #fff;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel a { font-size: 1.05rem; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 20% 0%, #10314f 0%, var(--navy-deep) 45%, var(--navy-deepest) 100%);
  overflow: hidden;
  padding-top: 80px;
}
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0.85;
}
.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  top: -300px; right: -250px;
  background: radial-gradient(circle, rgba(31,184,172,0.28), transparent 65%);
  filter: blur(10px);
  z-index: 1;
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 30% 40%, black 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 60px 24px 120px; }
.hero-copy { max-width: 700px; }
.hero-copy .eyebrow { color: var(--teal-bright); }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  color: #fff;
  margin-bottom: 0.42em;
}
.hero-sub {
  color: var(--muted-light);
  font-size: 1.12rem;
  max-width: 580px;
  margin-bottom: 2rem;
}
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-item strong { font-family: var(--ff-head); color: #fff; font-size: 1.05rem; }
.trust-item span { font-size: 0.82rem; color: var(--muted-light); }
.trust-divider { width: 1px; height: 30px; background: rgba(255,255,255,0.15); }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.3);
  border-radius: 20px;
}
.scroll-cue span {
  display: block; width: 4px; height: 8px; margin: 6px auto 0;
  background: var(--teal-bright); border-radius: 3px;
  animation: scrollCue 1.8s infinite ease;
}
@keyframes scrollCue { 0% {transform: translateY(0); opacity:1;} 70% {opacity:0;} 100% { transform: translateY(14px); opacity:0; } }

/* ---------------- Strip ---------------- */
.strip { background: var(--navy-deep); padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.strip-line {
  text-align: center; margin: 0; color: var(--muted-light);
  font-size: 0.92rem; letter-spacing: 0.02em;
}

/* ---------------- Sections ---------------- */
.section { padding: 110px 0; }
.section-dark {
  background: linear-gradient(180deg, var(--navy-deep), var(--navy-deepest));
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p:not(.form-note) { color: var(--muted-light); }

.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head.light { color: #fff; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-sub { font-size: 1.05rem; }

/* ---------------- Machine cards ---------------- */
.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.machine-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: box-shadow .4s var(--ease), border-color .4s ease;
  will-change: transform;
}
.machine-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(31,184,172,0.35); }

.machine-icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(31,184,172,0.14), rgba(13,44,71,0.06));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.machine-icon svg { width: 34px; height: 34px; }
.m-body { fill: var(--navy); }
.m-ring { fill: none; stroke: var(--teal); stroke-width: 3; }
.m-ring-dash { fill: none; stroke: var(--navy); stroke-width: 2; stroke-dasharray: 4 6; }
.m-ring-pulse { fill: none; stroke: var(--teal-bright); stroke-width: 2; opacity: 0.6; }
.m-dot { fill: var(--navy); }
.m-wave { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.machine-points { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 9px; }
.machine-points li {
  font-size: 0.92rem; color: var(--muted); padding-left: 22px; position: relative;
}
.machine-points li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--teal);
}

/* ---------------- Compare (new vs refurb) ---------------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
}
.compare-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft-dark);
  border-radius: var(--radius);
  padding: 40px 34px;
  backdrop-filter: blur(6px);
}
.compare-card h3 { font-size: 1.4rem; }
.compare-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-card li { color: var(--muted-light); padding-left: 26px; position: relative; font-size: 0.96rem; }
.compare-card li::before {
  content: '✓'; position: absolute; left: 0; top: -1px;
  color: var(--teal-bright); font-weight: 700;
}
.compare-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(255,255,255,0.1); color: var(--muted-light); margin-bottom: 18px;
}
.compare-card-teal { border-color: rgba(31,184,172,0.4); background: rgba(31,184,172,0.07); }
.compare-tag-teal { background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: #04231f; }
.compare-vs {
  align-self: center; font-family: var(--ff-head); font-weight: 700; color: var(--muted-light);
  font-size: 0.85rem; letter-spacing: 0.1em;
}

/* ---------------- AMC ---------------- */
.amc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 70px;
}
.amc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 26px 22px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.amc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.amc-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.amc-card p { font-size: 0.9rem; margin: 0; }

.amc-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-radius: 24px;
  padding: 56px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.amc-feature-copy h3 { color: #fff; font-size: 1.65rem; }
.amc-feature-copy p { color: var(--muted-light); }
.amc-feature-visual {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulse-ring {
  position: absolute;
  border: 1.5px solid var(--teal-bright);
  border-radius: 50%;
  opacity: 0;
  animation: pulseOut 3.6s ease-out infinite;
}
.r1 { width: 80px; height: 80px; animation-delay: 0s; }
.r2 { width: 80px; height: 80px; animation-delay: 1.2s; }
.r3 { width: 80px; height: 80px; animation-delay: 2.4s; }
.pulse-core {
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--teal-bright), var(--teal-dark));
  box-shadow: 0 0 50px 10px rgba(63,230,212,0.45);
}
@keyframes pulseOut {
  0% { width: 60px; height: 60px; opacity: 0.9; }
  100% { width: 260px; height: 260px; opacity: 0; }
}

/* ---------------- Why grid ---------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft-dark);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: border-color .35s ease, transform .35s var(--ease);
}
.why-card:hover { border-color: rgba(63,230,212,0.45); }
.why-num {
  font-family: var(--ff-head); font-weight: 700; font-size: 0.85rem;
  color: var(--teal-bright); letter-spacing: 0.08em;
}
.why-card h4 { color: #fff; margin-top: 14px; font-size: 1.12rem; }
.why-card p { font-size: 0.92rem; margin: 0; }

/* ---------------- Process ---------------- */
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.process-line::before {
  content: '';
  position: absolute;
  top: 22px; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--border-soft));
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-deep); color: var(--teal-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 700;
  margin-bottom: 20px;
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 6px var(--bg-light);
}
.process-step h4 { font-size: 1.05rem; }
.process-step p { font-size: 0.92rem; }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-copy .eyebrow { color: var(--teal-bright); }
.contact-copy h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.contact-details {
  margin-top: 34px; display: flex; flex-direction: column; gap: 18px;
}
.contact-details div { display: flex; flex-direction: column; gap: 2px; }
.contact-details strong { color: var(--teal-bright); font-family: var(--ff-head); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-details span { color: #fff; font-size: 1.02rem; }

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: var(--muted-light);
  font-family: var(--ff-head);
}
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--ff-body);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color .25s ease, background .25s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--teal-bright); background: rgba(255,255,255,0.1);
}
.contact-form select { color: #fff; }
.contact-form select option { color: #000; }
.form-note { font-size: 0.85rem; color: var(--teal-bright); min-height: 1.2em; margin: 0; }

/* ---------------- Footer ---------------- */
.footer { background: var(--bg-card); padding: 70px 0 0; border-top: 1px solid var(--border-soft); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px;
  padding-bottom: 50px;
}
.footer-brand p { max-width: 380px; margin-top: 14px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-links h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); margin-bottom: 14px; }
.footer-links a { display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 10px; transition: color .2s ease; }
.footer-links a:hover { color: var(--teal-dark); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 22px 0; font-size: 0.85rem; color: var(--muted);
  text-align: center;
}

/* ---------------- Reveal animation base ---------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }

/* ---------------- Tilt ---------------- */
.tilt { transform-style: preserve-3d; perspective: 900px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .hide-mobile { display: none; }
  .hamburger { display: flex; }
  .machine-grid, .why-grid, .amc-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-vs { padding: 6px 0; }
  .process-line { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process-line::before { display: none; }
  .amc-feature { grid-template-columns: 1fr; padding: 40px 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .machine-grid, .why-grid, .amc-grid, .process-line, .footer-links { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding-top: 30px; }
  .section { padding: 80px 0; }
  .amc-feature-visual { height: 160px; }
}
