/* ===================================================
   HidroGo — Landing Page Styles
   Font: DM Sans | Theme: Deep Navy + Cyan
   =================================================== */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --bg: #F0F9FF;
  --cyan: #06B6D4;
  --cyan-dark: #0891B2;
  --cyan-light: #22D3EE;
  --sky: #0EA5E9;
  --text: #0C4A6E;
  --text-sec: #475569;
  --text-muted: #94A3B8;
  --border: rgba(6, 182, 212, 0.15);
  --card-bg: #FFFFFF;
  --radius: 14px;
  --nav-h: 72px;
  --container: 1120px;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -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;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SHARED: SECTION LABELS & HEADINGS ---------- */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.label-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
  flex-shrink: 0;
}

.section-h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 48px;
}

.grad-text {
  background: linear-gradient(135deg, var(--cyan), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn svg {
  display: inline-block;
  flex-shrink: 0;
}

.btn-fill {
  background: linear-gradient(135deg, var(--cyan-dark), var(--cyan));
  color: #fff;
  border: none;
}

.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6, 182, 212, 0.3);
}

.btn-line {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-line:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--bg);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.2);
}

.btn-line-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-line-white:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(240, 249, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.logo-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.logo-accent {
  color: var(--cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--text);
}

.nav-btn {
  background: linear-gradient(135deg, var(--cyan-dark), var(--cyan));
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.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);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-water-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.caustic {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.caustic-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: -15%;
  left: -10%;
}

.caustic-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--sky) 0%, transparent 70%);
  bottom: -10%;
  right: -5%;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 560px;
  text-align: left;
  padding: 60px 0 100px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.hero-h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 24px;
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--cyan);
  margin-left: 4px;
  vertical-align: baseline;
  animation: blink 1s step-end infinite;
}

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

.hero-p {
  font-size: 18px;
  color: var(--text-sec);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hstat {
  display: flex;
  flex-direction: column;
}

.hstat strong {
  font-size: 32px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.1;
}

.hstat small {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.hstat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ---------- HERO PHONE ---------- */
.hero-phone {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: 340px;
  width: 100%;
  z-index: 3;
}

.phone-frame {
  background: #FFFFFF;
  border-radius: 36px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 80px rgba(6, 182, 212, 0.08);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: #0C4A6E;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: #F8FAFC;
  border-radius: 24px;
  overflow: hidden;
}

/* App top bar */
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
}

.app-logo-sm {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.app-logo-sm svg {
  display: inline-block;
  color: var(--cyan);
}

.app-loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-sec);
}

.app-loc svg {
  display: inline-block;
  stroke: var(--text-muted);
}

/* App map */
.app-map {
  position: relative;
  height: 160px;
  background: #E0F2FE;
  overflow: hidden;
}

.map-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.map-pin {
  position: absolute;
}

.map-pin-user {
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
}

.pin-dot {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.pin-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  margin-left: -6px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  animation: ring-pulse 2s ease-out infinite;
}

@keyframes ring-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}

.map-pin-truck-1 {
  top: 30%;
  left: 70%;
}

.map-pin-truck-1 svg {
  display: inline-block;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.4));
}

.map-pin-truck-2 {
  top: 65%;
  left: 25%;
}

.map-pin-truck-2 svg {
  display: inline-block;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.4));
}

/* App card inside phone */
.app-card-pipa {
  margin: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.pipa-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pipa-info small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.pipa-info strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.pipa-eta {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.eta-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.pipa-eta small {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.pipa-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 12px;
}

.pipa-price span {
  font-size: 12px;
  color: var(--text-muted);
}

.pipa-price strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.app-cta-btn {
  background: linear-gradient(135deg, var(--cyan-dark), var(--cyan));
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  border-radius: 12px;
}

/* ---------- WAVE DIVIDER ---------- */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  color: var(--bg);
  z-index: 5;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ---------- PROBLEMS (zigzag) ---------- */
.problems {
  padding: 100px 0 80px;
  position: relative;
}

.zigzag-row {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 700px;
  margin-bottom: 40px;
}

.zigzag-row:last-child {
  margin-bottom: 0;
}

.zigzag-flip {
  flex-direction: row-reverse;
  margin-left: auto;
}

.zigzag-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zigzag-icon svg {
  display: inline-block;
}

.zigzag-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.zigzag-body p {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ---------- FEATURES ---------- */
.features {
  padding: 80px 0;
  position: relative;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feat-card {
  position: relative;
  background: var(--card-bg);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.35s ease;
}

.feat-top-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent 80%);
  transition: background 0.35s ease;
}

.feat-card:hover .feat-top-border {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-light) 60%, transparent 100%);
}

.feat-card:hover {
  box-shadow: 0 -8px 30px rgba(6, 182, 212, 0.08);
}

.feat-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 18px;
}

.feat-ico svg {
  display: inline-block;
  stroke: var(--cyan);
}

.feat-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ---------- HOW IT WORKS (stagger) ---------- */
.how-it-works {
  padding: 80px 0;
  position: relative;
}

.stagger-steps {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.stagger-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 2px dashed rgba(6, 182, 212, 0.2);
  transform: translateX(-50%);
  pointer-events: none;
}

.stagger-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
  max-width: 380px;
  position: relative;
  margin-bottom: 48px;
}

.stagger-card:last-child {
  margin-bottom: 0;
}

.stagger-left {
  margin-right: auto;
}

.stagger-right {
  margin-left: auto;
}

.stagger-num {
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--cyan-dark), var(--cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  top: 28px;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3);
}

.stagger-left .stagger-num {
  right: -60px;
}

.stagger-right .stagger-num {
  left: -60px;
}

.stagger-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.stagger-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ---------- PROVIDERS ---------- */
.providers {
  padding: 80px 0;
  position: relative;
}

.provider-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  display: flex;
}

.prov-benefits {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.prov-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.prov-ico {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.prov-ico svg {
  display: inline-block;
  stroke: var(--cyan);
}

.prov-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.prov-item p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
}

.prov-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 40px;
  background: #F0F9FF;
  min-width: 260px;
}

.prov-stat {
  display: flex;
  flex-direction: column;
}

.prov-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.1;
}

.prov-stat-label {
  font-size: 13px;
  color: var(--text-sec);
  font-weight: 500;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testi-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.testi-item {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.35s ease;
}

.testi-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent 80%);
  transition: background 0.35s ease;
}

.testi-item:hover::before {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-light) 60%, transparent 100%);
}

.testi-item:hover {
  box-shadow: 0 -8px 30px rgba(6, 182, 212, 0.08);
}

.testi-item blockquote {
  font-size: 15px;
  font-style: italic;
  color: var(--text-sec);
  line-height: 1.65;
  margin-bottom: 20px;
  border: none;
  padding: 0;
}

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

.testi-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-who strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.testi-who span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
}

.cta-wave-top {
  line-height: 0;
  color: var(--bg);
  position: relative;
  z-index: 2;
}

.cta-wave-top svg {
  width: 100%;
  height: 60px;
  display: block;
}

.cta-inner {
  background: linear-gradient(135deg, var(--cyan-dark), var(--sky));
  padding: 80px 0;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #040911;
  padding: 64px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-about .logo {
  margin-bottom: 16px;
  color: #F1F5F9;
}

.footer-about .logo-accent {
  color: var(--cyan);
}

.footer-about p {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F1F5F9;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bar p {
  font-size: 13px;
  color: #64748B;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: #64748B;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.footer-social a svg {
  display: inline-block;
}

.footer-social a:hover {
  color: var(--cyan);
}

/* ---------- ANIMATIONS (data-anim) ---------- */
[data-anim] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}

[data-anim].in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

[data-anim="fade-up"] {
  transform: translateY(30px);
}

[data-anim="fade-right"] {
  transform: translateX(-30px);
}

[data-anim="fade-left"] {
  transform: translateX(30px);
}

[data-anim="zoom"] {
  transform: scale(0.92);
  filter: blur(4px);
}

/* ---------- RESPONSIVE: 1024px ---------- */
@media (max-width: 1024px) {
  .hero-phone {
    display: none;
  }

  .hero-text {
    max-width: 100%;
  }
}

/* ---------- RESPONSIVE: 768px ---------- */
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    width: 280px;
    height: calc(100vh - var(--nav-h));
    background: rgba(240, 249, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    border-left: 1px solid var(--border);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu li {
    border-bottom: 1px solid var(--border);
  }

  .nav-menu li:last-child {
    border-bottom: none;
    margin-top: 12px;
  }

  .nav-menu a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }

  .nav-btn {
    text-align: center;
    display: block;
  }

  .hero-text {
    padding: 40px 0 80px;
  }

  .section-h2 {
    margin-bottom: 36px;
  }

  /* Features 1 col */
  .feat-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials 1 col */
  .testi-grid-2x2 {
    grid-template-columns: 1fr;
  }

  /* Stagger full width both sides */
  .stagger-card {
    max-width: 100%;
  }

  .stagger-left,
  .stagger-right {
    margin-left: 0;
    margin-right: 0;
  }

  .stagger-line {
    left: 20px;
    transform: none;
  }

  .stagger-left .stagger-num,
  .stagger-right .stagger-num {
    left: -32px;
    right: auto;
  }

  /* Zigzag no flip */
  .zigzag-row,
  .zigzag-flip {
    flex-direction: row;
    margin-left: 0;
    max-width: 100%;
  }

  /* Provider card stacks vertically */
  .provider-card {
    flex-direction: column;
  }

  .prov-stats {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: unset;
    gap: 20px;
    padding: 28px 40px;
  }

  .prov-stat {
    flex: 1;
    min-width: 120px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ---------- RESPONSIVE: 480px ---------- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hstat-sep {
    width: 32px;
    height: 1px;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .cta-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .zigzag-row {
    gap: 20px;
  }

  .zigzag-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
  }

  .zigzag-icon svg {
    width: 28px;
    height: 28px;
  }

  .prov-benefits {
    padding: 28px;
  }

  .prov-stats {
    padding: 24px 28px;
  }

  .prov-stat-num {
    font-size: 28px;
  }

  .stagger-num {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .stagger-left .stagger-num,
  .stagger-right .stagger-num {
    left: -28px;
  }

  .stagger-line {
    left: 16px;
  }
}

/* ---------- PRINT ---------- */
@media print {
  .hero {
    min-height: auto;
  }

  [data-anim] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .caustic,
  .wave-divider,
  .cta-wave-top {
    display: none;
  }

  .hero-phone {
    position: static;
    transform: none;
    margin-top: 32px;
  }

  .navbar {
    position: static;
    backdrop-filter: none;
  }

  body {
    background: #fff;
    color: #111;
  }

  .section-h2,
  .hero-h1,
  .feat-card h3,
  .stagger-card h3,
  .zigzag-body h3 {
    color: #111;
  }

  .feat-card,
  .stagger-card,
  .testi-item,
  .provider-card {
    border: 1px solid #ddd;
    background: #fff;
  }
}

/* === Cube AI Badge === */
.cube-ai-strip{display:flex;justify-content:center;align-items:center;padding:16px 24px;background:#050505;border-top:1px solid rgba(255,255,255,.06)}
.cube-ai-link{display:inline-flex;align-items:center;gap:12px;padding:8px 20px 8px 12px;border-radius:100px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);text-decoration:none;transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}
.cube-ai-link::before{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(135deg,rgba(139,92,246,.1),rgba(6,182,212,.1));opacity:0;transition:opacity .4s ease}
.cube-ai-link:hover::before{opacity:1}
.cube-ai-link:hover{border-color:rgba(139,92,246,.3);box-shadow:0 0 30px rgba(139,92,246,.15),0 0 60px rgba(6,182,212,.08);transform:translateY(-1px)}
.cube-3d{width:20px;height:20px;position:relative;transform-style:preserve-3d;transform:rotateX(-25deg) rotateY(30deg);transition:transform .6s cubic-bezier(.4,0,.2,1)}
.cube-ai-link:hover .cube-3d{transform:rotateX(-25deg) rotateY(210deg)}
.cube-face{position:absolute;width:20px;height:20px;border:1.5px solid rgba(139,92,246,.6);border-radius:3px}
.cube-face.front{transform:translateZ(10px);background:rgba(139,92,246,.15)}
.cube-face.back{transform:translateZ(-10px) rotateY(180deg);background:rgba(6,182,212,.1)}
.cube-face.top{transform:rotateX(90deg) translateZ(10px);background:rgba(139,92,246,.2)}
.cube-face.bottom{transform:rotateX(-90deg) translateZ(10px);background:rgba(6,182,212,.05)}
.cube-face.left{transform:rotateY(-90deg) translateZ(10px);background:rgba(6,182,212,.1)}
.cube-face.right{transform:rotateY(90deg) translateZ(10px);background:rgba(139,92,246,.1);border-color:rgba(6,182,212,.5)}
.cube-ai-made{font-family:system-ui,-apple-system,sans-serif;font-size:12px;color:rgba(255,255,255,.4);letter-spacing:.02em;position:relative;z-index:1}
.cube-ai-name{font-family:system-ui,-apple-system,sans-serif;font-size:13px;font-weight:700;background:linear-gradient(135deg,#8B5CF6,#06B6D4);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:.01em;position:relative;z-index:1}
.cube-ai-arrow{width:14px;height:14px;color:rgba(255,255,255,.3);transition:all .3s ease;position:relative;z-index:1}
.cube-ai-link:hover .cube-ai-arrow{color:#8B5CF6;transform:translate(2px,-2px)}
