/* ========================================
   ALIGN-ALL WEBSITE — PREMIUM CSS
   ======================================== */

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

:root {
  --teal: #38D3D5;
  --purple: #7B6FE8;
  --pink: #E040FB;
  --gold: #FFD700;
  --gold-dark: #B8860B;
  --dark: #080C14;
  --dark-2: #0D1421;
  --dark-3: #111827;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --text-primary: #F0F4FF;
  --text-secondary: rgba(240,244,255,0.6);
  --text-muted: rgba(240,244,255,0.35);
  --gradient: linear-gradient(135deg, #38D3D5, #FFD700);
  --font-main: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* === BG GLOW EFFECTS === */
.bg-glow {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: radial-gradient(circle at 15% 15%, rgba(56, 211, 213, 0.09) 0%, transparent 50%),
              radial-gradient(circle at 85% 45%, rgba(56, 211, 213, 0.09) 0%, transparent 50%),
              radial-gradient(circle at 20% 75%, rgba(56, 211, 213, 0.07) 0%, transparent 45%),
              radial-gradient(circle at 80% 90%, rgba(56, 211, 213, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* === UTILITY === */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === ORBS === */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.25;
}
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #38D3D5, transparent); top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #FFD700, transparent); top: 50%; right: -80px; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #38D3D5, transparent); bottom: -50px; left: 50%; }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  background: rgba(8, 12, 20, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  transition: all 0.3s ease;
}
.navbar.scrolled { padding: 12px 0; background: rgba(8, 12, 20, 0.95); }
.brand-logo {
  height: 52px;
  width: 52px;
  display: block;
  border-radius: 12px;
}
.footer .brand-logo {
  height: 44px;
  width: 44px;
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-family: var(--font-main);
  font-size: 26px; font-weight: 800;
  background: linear-gradient(110deg,
    #fff 0%, #fff 35%,
    #38D3D5 45%, #FFD700 55%,
    #fff 65%, #fff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: brandShimmer 4s linear infinite;
}
.logo-accent { 
  /* inherit gradient from logo-text */
}
.nav-links {
  display: flex; list-style: none; gap: 6px; margin-left: auto;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none; padding: 10px 16px;
  font-size: 15px; font-weight: 500;
  border-radius: 8px;
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
}
/* Underline starts hidden (left=right=50% = 0 width) */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%; right: 50%;
  height: 2px;
  background: linear-gradient(90deg, #38D3D5, #7B6FE8, #FFD700);
  border-radius: 2px;
  transition: left 0.3s ease, right 0.3s ease;
}
.nav-link:hover {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
}
/* Underline expands to fill under the text on hover */
.nav-link:hover::after {
  left: 14px; right: 14px;
}
.nav-link.active {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.10);
  font-weight: 700;
}
/* Underline fully visible under active link */
.nav-link.active::after {
  left: 14px; right: 14px;
}
.nav-cta { margin-left: 8px; }
.btn-primary-sm {
  display: inline-flex; align-items: center;
  background: var(--gradient);
  color: #000; text-decoration: none;
  padding: 12px 24px; border-radius: 50px;
  font-size: 15px; font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}
.btn-primary-sm:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s; }

/* === HERO === */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding-top: 110px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,211,213,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,211,213,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-container {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold);
  padding: 8px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}
.badge-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(1.3);} }

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 12px;
  animation: fadeInUp 0.6s 0.1s ease both;
}
.hero-subtitle {
  font-family: var(--font-main);
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 600; color: var(--teal);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s 0.15s ease both;
}
.hero-desc {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 28px;
  animation: fadeInUp 0.6s 0.2s ease both;
  max-width: 480px;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient);
  color: #000; text-decoration: none;
  padding: 12px 26px; border-radius: 50px;
  font-size: 14px; font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255,215,0,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,215,0,0.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-primary); text-decoration: none;
  padding: 12px 26px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.btn-secondary:hover { border-color: rgba(56,211,213,0.5); background: rgba(56,211,213,0.08); transform: translateY(-2px); }

.hero-features-badge {
  display: flex; gap: 16px;
  font-size: 13px; color: var(--text-muted); font-weight: 600;
  animation: fadeInUp 0.6s 0.4s ease both;
}

/* === ALIGNER VISUAL MOCKUP === */
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
  animation: fadeInRight 0.8s 0.4s ease both;
}
.aligner-visual-card {
  position: relative; width: 100%; max-width: 400px;
  background: linear-gradient(145deg, #1a2035, #111827);
  border-radius: 40px; padding: 40px;
  border: 2px solid rgba(255,215,0,0.15);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 40px rgba(56,211,213,0.1);
  text-align: center;
}
.aligner-svg { width: 100%; height: auto; margin-bottom: 20px; filter: drop-shadow(0 10px 20px rgba(56,211,213,0.3)); }
.aligner-arch-path { animation: archPulse 3s infinite alternate; }
@keyframes archPulse { 0% { stroke-width: 3; } 100% { stroke-width: 6; filter: drop-shadow(0 0 10px rgba(255,215,0,0.5)); } }
.force-dot-1, .force-dot-2, .force-dot-3 { animation: pulseDot 2s infinite alternate; }
.force-dot-2 { animation-delay: 0.5s; } .force-dot-3 { animation-delay: 1s; }
@keyframes pulseDot { 0% { r: 6; opacity: 0.5; } 100% { r: 10; opacity: 1; } }

.shape-memory-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,215,0,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.visual-label { margin-top: 14px; }
.visual-label-title { display: block; font-family: var(--font-main); font-size: 15px; font-weight: 700; color: var(--gold); }
.visual-label-sub { font-size: 11px; color: var(--text-secondary); }

.floating-badge-no1 {
  position: absolute; top: -20px; right: -20px;
  background: linear-gradient(135deg, #FF6B6B, #E040FB);
  width: 100px; height: 100px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(224, 64, 251, 0.4);
  transform: rotate(15deg);
  animation: float 4s ease-in-out infinite;
}
.no1-star { font-size: 24px; color: #fff; line-height: 1; }
.no1-text { font-family: var(--font-main); font-size: 12px; font-weight: 800; color: #fff; text-align: center; line-height: 1.1; margin-top: 4px; }
@keyframes float { 0%,100%{transform:rotate(15deg) translateY(0);} 50%{transform:rotate(10deg) translateY(-10px);} }

.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 1;
}
.scroll-dot {
  width: 6px; height: 6px;
  background: var(--teal); border-radius: 50%;
  animation: bounce 2s ease infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(10px);} }

/* === COMMON SECTIONS === */
.section-container { max-width: 1200px; margin: 0 auto; padding: 72px 24px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold);
  padding: 6px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-main);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; line-height: 1.25;
  margin-bottom: 12px;
}
.section-desc { font-size: 14px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; line-height: 1.75; }

/* === WHY US UNIFORM GRID === */
.why-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.why-bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.why-bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56,211,213,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.why-icon-wrap {
  width: 54px; height: 54px;
  background: rgba(56,211,213,0.1); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); margin-bottom: 20px;
}
.why-card-title { font-family: var(--font-main); font-size: 18px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; }
.why-card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; flex: 1; }

/* === WORKFLOW GRID WITH IMAGES === */
.workflow { position: relative; background: rgba(13, 20, 33, 0.45); }
.workflow-grid {
  display: flex;
  flex-direction: row;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto 64px auto;
  align-items: center;
  padding: 40px 16px;
}

.wf-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 24px;
  align-items: center;
  text-align: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
  position: relative;
  transition: all 0.4s ease;
}
.wf-card:hover {
  transform: scale(1.33);
  z-index: 10;
  border-color: rgba(56,211,213,0.8);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.wf-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.05);
}
.wf-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.wf-card:hover .wf-img { transform: scale(1.06); }
.wf-content { flex: 1; padding: 0; }
.wf-step-num {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 13px; font-weight: 800; color: #000;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  padding: 4px 14px; border-radius: 20px;
  margin-bottom: 16px;
}
.wf-title { font-family: var(--font-main); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.wf-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
@keyframes pulseArrow { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(4px); color: var(--teal); } }

/* Promo Box */
.promo-box {
  max-width: 800px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(0,0,0,0.5));
  border: 1px solid rgba(255,215,0,0.3); border-radius: var(--radius-md);
  padding: 40px; position: relative; text-align: center;
}
.promo-badge-tag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #000; padding: 6px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 800; text-transform: uppercase;
}
.promo-title { font-family: var(--font-main); font-size: 24px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.promo-desc { font-size: 15px; color: var(--text-secondary); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* =============================================
   HOW ALIGNERS ARE MADE
   ============================================= */
.how-made-section {
  margin-top: 72px;
  margin-bottom: 56px;
}
.how-made-header {
  text-align: center;
  margin-bottom: 40px;
}
.how-made-title {
  font-family: var(--font-main);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.25;
}
.how-made-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Step grid */
.how-made-steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow: visible;
  padding: 40px 16px 60px;
  position: relative;
}

/* Individual step card */
.made-step {
  flex: 1;
  min-width: 0;
  max-width: 250px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  position: relative;
}
.made-step:hover {
  transform: scale(1.33);
  z-index: 10;
  border-color: rgba(56,211,213,0.8);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

/* Image wrapper — fixed height for uniform cards */
.made-step-img-wrap {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  flex-shrink: 0;
}
.made-step-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.made-step:hover .made-step-img {
  transform: scale(1.06);
}

/* Step number badge */
.made-step-num {
  position: absolute;
  top: 10px; left: 10px;
  background: linear-gradient(135deg, #38D3D5, #FFD700);
  color: #000;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 20px;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Step text body */
.made-step-body {
  padding: 16px 16px 20px;
}
.made-step-title {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.made-step-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Arrow connector between steps */
.made-arrow {
  flex-shrink: 0;
  font-size: 20px;
  margin-top: 60px;
  background: linear-gradient(135deg, #38D3D5, #7B6FE8, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  opacity: 0.8;
  animation: arrowPulse 1.8s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50%       { opacity: 1;   transform: translateX(3px); }
}

/* Responsive */
@media (max-width: 768px) {
  .how-made-steps {
    flex-wrap: nowrap;
    padding-bottom: 16px;
  }
  .made-step {
    min-width: 140px;
  }
  .made-arrow {
    margin-top: 50px;
    font-size: 16px;
  }
}



/* === CAPABILITIES === */
.capabilities-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px;
  margin-bottom: 40px;
}
.cap-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-md); padding: 32px;
  border-top: 4px solid var(--teal);
}
.cap-card:nth-child(2) { border-top-color: var(--gold); }
.cap-card:nth-child(3) { border-top-color: var(--purple); }
.cap-header-icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--text-primary);
}
.cap-title { font-family: var(--font-main); font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.cap-list { list-style: none; }
.cap-list li {
  position: relative; padding-left: 24px; margin-bottom: 12px;
  font-size: 15px; color: var(--text-secondary); line-height: 1.5;
}
.cap-list li::before {
  content: '•'; position: absolute; left: 0; color: var(--teal); font-size: 20px; line-height: 1; top: -2px;
}

.delivery-options-wrap {
  background: var(--dark-2); border: 1px solid var(--card-border);
  border-radius: var(--radius-md); padding: 40px;
}
.delivery-title { font-family: var(--font-main); font-size: 22px; font-weight: 700; margin-bottom: 24px; text-align: center; }
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.delivery-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--dark); padding: 20px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
}
.delivery-icon { font-size: 32px; }
.delivery-info h4 { font-family: var(--font-main); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.delivery-info p { font-size: 13px; color: var(--text-muted); }
.delivery-note { font-size: 12px; color: var(--text-muted); text-align: center; font-style: italic; }

/* === APP SHOWCASE === */
.app-showcase { background: rgba(13, 20, 33, 0.45); overflow: hidden; position: relative; }
.app-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.app-title-main { font-family: var(--font-main); font-size: 40px; font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.app-desc-main { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 40px; }
.app-features-bullets { display: flex; flex-direction: column; gap: 24px; }
.app-bullet { display: flex; align-items: flex-start; gap: 16px; }
.bullet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(56, 211, 213, 0.1);
  color: var(--teal);
  border-radius: 12px;
  flex-shrink: 0;
}
.bullet-icon svg {
  width: 22px;
  height: 22px;
}
.app-bullet h5 { font-family: var(--font-main); font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.app-bullet p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Phone Mockup styles adapted from original */
.app-visual-phone { position: relative; display: flex; justify-content: center; }
.phone-mockup {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.phone-frame {
  width: 280px; height: 560px;
  background: linear-gradient(145deg, #1a2035, #111827);
  border-radius: 40px; border: 2px solid rgba(255,255,255,0.12);
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 28px; background: #080C14; border-radius: 0 0 18px 18px; z-index: 10; }
.phone-screen { position: absolute; inset: 0; padding: 40px 20px 20px; background: #0D1421; }
.app-ui {
  position: absolute;
  top: 40px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  background: #0D1421;
}
.app-ui.active {
  opacity: 1;
  pointer-events: auto;
}

/* === CALENDAR SCREEN === */
.app-calendar-grid {
  margin-top: 10px;
  background: rgba(255,255,255,0.03);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}
.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 700;
}
.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}
.cal-day {
  font-size: 11px;
  padding: 4px 0;
  border-radius: 50%;
  color: var(--text-secondary);
}
.compliance-green {
  background: rgba(56, 211, 213, 0.15);
  color: #38D3D5;
  font-weight: 600;
}
.compliance-orange {
  background: rgba(255, 165, 0, 0.15);
  color: #FFA500;
  font-weight: 600;
}
.cal-current {
  background: var(--teal);
  color: var(--dark);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(56, 211, 213, 0.5);
}
.cal-future {
  color: var(--text-muted);
}
.app-cal-event {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  padding: 10px 12px;
  border-radius: 10px;
  margin-top: 10px;
}
.app-cal-event .event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.app-cal-event h6 {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}
.app-cal-event p {
  font-size: 9px;
  color: var(--text-secondary);
}

/* === VISUAL TRACKER SCREEN === */
.scan-camera-container {
  flex: 1;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.camera-lens {
  position: relative;
  width: 100%;
  height: 150px;
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.face-guide-oval {
  width: 85px;
  height: 115px;
  border: 1px dashed rgba(56, 211, 213, 0.4);
  border-radius: 50%;
  position: relative;
}
.scanner-laser-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  top: 10%;
  left: 0;
  animation: scanMove 3s infinite ease-in-out;
  box-shadow: 0 0 10px var(--teal);
}
@keyframes scanMove {
  0%, 100% { top: 10%; }
  50% { top: 90%; }
}
.scan-bracket {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--teal);
}
.br-top-left { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.br-top-right { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.br-bottom-left { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.br-bottom-right { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.camera-icon-overlay {
  position: absolute;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}
.scan-status-text {
  text-align: center;
  font-size: 11px;
  color: var(--teal);
  font-weight: 500;
}
.blink-text {
  animation: scanBlink 1.5s infinite;
}
@keyframes scanBlink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* === CLINICIAN CHAT SCREEN === */
.phone-chat-messages {
  flex: 1;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.phone-chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}
.msg-received {
  align-self: flex-start;
}
.msg-sent {
  align-self: flex-end;
}
.phone-chat-msg .msg-bubble {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.4;
}
.msg-received .msg-bubble {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}
.msg-sent .msg-bubble {
  background: var(--teal);
  color: var(--dark);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.phone-chat-msg .msg-meta {
  font-size: 8px;
  color: var(--text-muted);
  margin-top: 4px;
  padding: 0 4px;
}

/* === FLOATING CARDS ANIMATION TIMING === */
.floating-card {
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.floating-card.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) !important;
  animation: none !important;
}
.app-header { padding-top: 10px; }
.app-greeting { font-family: var(--font-main); font-size: 16px; font-weight: 700; color: var(--text-primary); }
.app-date { font-size: 12px; color: var(--text-secondary); }
.dial-container { display: flex; justify-content: center; flex: 1; align-items: center; }
.dial-ring { position: relative; width: 160px; height: 160px; }
.dial-svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.dial-track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 8; }
.dial-progress { fill: none; stroke: url(#dialGrad); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 50; }
.dial-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dial-hours { font-family: var(--font-main); font-size: 32px; font-weight: 800; color: var(--gold); }
.dial-unit { font-size: 12px; color: var(--teal); font-weight: 600; margin-top: -4px; }
.dial-label { font-size: 10px; color: var(--text-muted); }
.app-actions { display: flex; gap: 12px; }
.action-btn { flex: 1; text-align: center; padding: 12px; border-radius: 12px; font-size: 12px; font-weight: 700; cursor: pointer; border: 1px solid var(--card-border); }
.action-out { background: rgba(255,255,255,0.06); color: var(--text-secondary); }
.action-in { background: rgba(56,211,213,0.15); color: var(--teal); border-color: rgba(56,211,213,0.3); }
.compliance-bar { background: rgba(255,255,255,0.04); border-radius: 12px; padding: 12px; border: 1px solid var(--card-border); }
.compliance-label { font-size: 10px; color: var(--text-muted); margin-bottom: 8px; }
.compliance-track { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.compliance-fill { height: 100%; background: var(--gradient); border-radius: 3px; width: 87%; }

.floating-card {
  position: absolute; background: rgba(15, 20, 35, 0.9); backdrop-filter: blur(10px);
  border: 1px solid var(--card-border); border-radius: 16px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: floatApp 3s infinite ease-in-out;
}
.card-1 { left: -60px; top: 120px; animation-delay: 0s; }
.card-2 { right: -60px; bottom: 100px; animation-delay: 1.5s; }
.card-text { display: flex; flex-direction: column; }
.card-title { font-size: 12px; font-weight: 700; color: #fff; }
.card-sub { font-size: 10px; color: var(--text-secondary); }
@keyframes floatApp { 
  0%, 100% { transform: translateY(0) translateZ(40px); } 
  50% { transform: translateY(-10px) translateZ(40px); } 
}

/* === TESTIMONIALS === */
.testimonial-wrap {
  max-width: 800px; margin: 0 auto; text-align: center;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 48px; position: relative;
}
.quote-icon { font-family: serif; font-size: 120px; color: rgba(255,215,0,0.1); position: absolute; top: 10px; left: 40px; line-height: 1; }
.testimonial-quote { font-size: 20px; font-style: italic; color: var(--text-primary); line-height: 1.8; margin-bottom: 32px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.author-avatar-placeholder { width: 56px; height: 56px; border-radius: 50%; background: rgba(56,211,213,0.1); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.author-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--teal);
  box-shadow: 0 4px 12px rgba(56, 211, 213, 0.2);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.author-avatar:hover {
  transform: scale(2);
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(56, 211, 213, 0.4);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.author-info { text-align: left; }
.author-name { font-family: var(--font-main); font-size: 18px; font-weight: 700; color: #fff; }
.author-clinic { font-size: 14px; color: var(--text-secondary); }

/* === CONTACT === */
.contact { background: rgba(13, 20, 33, 0.45); }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-title { font-family: var(--font-main); font-size: 40px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.contact-panel-desc { font-size: 16px; color: var(--text-secondary); margin-bottom: 40px; }
.contact-methods { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.contact-method-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--dark); padding: 16px 20px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05); text-decoration: none; color: inherit;
  transition: all 0.2s ease;
}
.contact-method-card:hover { border-color: rgba(56,211,213,0.3); transform: translateX(5px); }
.method-icon { color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.method-icon svg { width: 24px; height: 24px; }
.method-details { display: flex; flex-direction: column; }
.method-label { font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
.method-value { font-size: 15px; font-weight: 600; color: var(--text-primary); }

.qr-code-box {
  display: flex; align-items: center; gap: 20px;
  background: rgba(255,215,0,0.05); border: 1px dashed rgba(255,215,0,0.3);
  padding: 20px; border-radius: var(--radius-sm);
}
.qr-visual { display: flex; align-items: center; justify-content: center; }
.qr-img {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.qr-img:hover {
  transform: scale(2);
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.qr-text h5 { font-family: var(--font-main); font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--gold); }
.qr-text p { font-size: 13px; color: var(--text-secondary); }

.form-tabs {
  display: flex;
  background: var(--dark-2);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 24px;
}
.form-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 26px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.form-tab-btn.active {
  background: linear-gradient(135deg, var(--teal), var(--gold));
  color: #000;
  box-shadow: 0 4px 12px rgba(56,211,213,0.3);
}

.contact-form-panel { background: var(--dark); padding: 40px; border-radius: var(--radius-md); border: 1px solid var(--card-border); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.form-header { font-family: var(--font-main); font-size: 20px; font-weight: 700; margin-bottom: 24px; text-align: center; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; gap: 20px; }
.form-group { display: flex; flex-direction: column; flex: 1; }
.form-group label { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; color: var(--text-primary); font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal); background: rgba(255,255,255,0.05);
}
.contact-form option {
  background-color: #1A1D24;
  color: #fff;
}
.form-submit-btn { width: 100%; justify-content: center; padding: 16px; font-size: 16px; margin-top: 10px; border: none; cursor: pointer; }

/* === FOOTER === */
.footer { border-top: 1px solid var(--card-border); padding: 60px 0 20px; background: transparent; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 60px; }
.footer-brand { max-width: 350px; }
.footer-tagline { font-size: 14px; color: var(--text-secondary); margin-top: 16px; line-height: 1.6; }
.footer-links-group { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-family: var(--font-main); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-link { font-size: 14px; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid var(--card-border); font-size: 13px; color: var(--text-muted); }

/* =============================================
   PREMIUM ANIMATION SYSTEM
   ============================================= */

/* === SCROLL PROGRESS BAR === */

#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #38D3D5, #7B6FE8, #38D3D5);
  background-size: 200% 100%;
  animation: progressShimmer 2s linear infinite;
  z-index: 9998;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px rgba(56,211,213,0.7);
  transition: width 0.1s linear;
}
@keyframes progressShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: 0% 0; }
}

/* === SECTION HEADER REVEAL === */

.reveal-section {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal-section.visible { opacity: 1; transform: translateY(0); }

/* === STAGGERED ITEM REVEAL === */
.reveal-item {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-item.visible { opacity: 1; transform: translateY(0); }

/* === LEGACY REVEAL === */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === STEP CONNECTOR ANIMATE === */
.step-connector, .workflow-connector .connector-line {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.4,0,0.2,1), opacity 0.9s ease;
  opacity: 0;
}
.step-connector.animate-line,
.workflow-connector.animate-line .connector-line {
  transform: scaleX(1);
  opacity: 1;
}

/* === CURSOR GLOW (GOLD — premium) === */
#cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.10) 0%, rgba(255,180,0,0.04) 40%, transparent 70%);
  pointer-events: none; z-index: 1;
  will-change: transform;
}

/* === RIPPLE BUTTON EFFECT === */
@keyframes rippleAnim {
  from { transform: scale(0); opacity: 1; }
  to   { transform: scale(1); opacity: 0; }
}

/* === BASE KEYFRAMES === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =============================================
   HERO BRAND NAME — Align-All wordmark
   ============================================= */
.hero-brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: 20px;
  position: relative;
  background: linear-gradient(110deg,
    #fff 0%, #fff 35%,
    #38D3D5 45%, #FFD700 55%,
    #fff 65%, #fff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: brandShimmer 4s linear infinite;
  filter: drop-shadow(0 0 15px rgba(56, 211, 213, 0.4)) drop-shadow(0 0 10px rgba(255, 215, 0, 0.25));
}
.brand-align {
  font-family: var(--font-main);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
}
.brand-all {
  font-family: var(--font-main);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
}
.brand-trademark {
  font-family: var(--font-main);
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 600;
  color: rgba(255,215,0,0.7);
  -webkit-text-fill-color: rgba(255,215,0,0.7);
  margin-left: 3px;
  align-self: flex-start;
  margin-top: 6px;
}
.hero-brand-tagline {
  display: block;
  font-family: var(--font-main);
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: -12px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  font-style: italic;
  opacity: 0.9;
  background: linear-gradient(90deg, #38D3D5, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes brandShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* =============================================
   CONDITIONS WE TREAT
   ============================================= */
.cases {
  position: relative;
  background: transparent;
  padding: 100px 0;
  border-top: 1px solid var(--card-border);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.case-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 211, 213, 0.4);
  box-shadow: 0 20px 40px rgba(56, 211, 213, 0.15);
}
.case-img-wrap {
  width: 100%;
  height: 200px;
  background: #1A1D24;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
  position: relative;
}
.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-card:hover .case-img {
  transform: scale(1.08);
}
.case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.case-title {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.case-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.case-solution {
  background: rgba(56, 211, 213, 0.05);
  border-left: 3px solid var(--teal);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
}
.solution-tag {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--teal);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}
.solution-text {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.5;
}

/* === MEDIA QUERIES === */

/* Collapsing navbar for tablets / smaller screens */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark-2); padding: 20px; border-bottom: 1px solid var(--card-border);
    z-index: 1000;
  }
}

@media (max-width: 992px) {
  .hero-container, .contact-split, .app-split { grid-template-columns: 1fr; gap: 40px; }
  
  .workflow-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow: visible;
  }
  .workflow-connector { height: 40px; width: 100%; flex: 0; }
  .connector-line { width: 2px; height: 100%; background: linear-gradient(180deg, var(--teal) 50%, transparent 50%); background-size: 10px 10px; margin: 0 auto; }
  .wf-arrow {
    transform: rotate(90deg); /* Rotate right arrow (→) to point down */
    animation: arrowPulseVertical 1.8s ease-in-out infinite;
  }

  .how-made-steps {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow: visible;
    padding-bottom: 40px;
  }
  .made-step {
    width: 100%;
    max-width: 400px;
    min-width: 0;
  }
  .made-arrow {
    transform: rotate(90deg); /* Rotate right arrow (→) to point down */
    margin: 8px 0;
    animation: arrowPulseVertical 1.8s ease-in-out infinite;
  }
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .case-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .navbar { padding: 12px 0; }
  .navbar.scrolled { padding: 8px 0; }
  .brand-logo { height: 40px; width: 40px; border-radius: 8px; }
  .logo-text { font-size: 20px; }
  .hero { padding-top: 80px; } /* Reset hero top padding for smaller mobile header */
  
  .hero-title { font-size: 24px; }
  .brand-align, .brand-all { font-size: 32px; }
  .form-row { flex-direction: column; gap: 20px; }
  .delivery-grid { grid-template-columns: 1fr; }
  
  .workflow-grid { 
    flex-direction: column; 
    align-items: center; 
    gap: 16px; 
    padding: 20px 16px; 
  }
  .wf-card {
    width: 100%;
    max-width: 400px;
  }
  
  .how-made-steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-bottom: 40px;
  }
  .made-step {
    width: 100%;
    max-width: 400px;
    min-width: 0;
  }

  /* Override hover zoom scale on mobile/touch screens to prevent screen breakages */
  .wf-card:hover {
    transform: scale(1.05);
    border-color: rgba(56,211,213,0.5);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  }
  .made-step:hover {
    transform: scale(1.05);
    border-color: rgba(56,211,213,0.5);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  }
  .case-card:hover {
    transform: scale(1.03);
    border-color: rgba(56,211,213,0.5);
    box-shadow: 0 15px 30px rgba(56,211,213,0.2);
  }
  .case-img-wrap {
    height: 140px;
  }
  .case-body {
    padding: 16px;
  }
  .case-title {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .case-text {
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* Hide off-screen floating cards to prevent horizontal overflow/scrolling issues */
  .floating-card { display: none; }

  /* Responsive Testimonials */
  .testimonial-wrap {
    padding: 32px 20px;
    border-radius: var(--radius-md);
  }
  .testimonial-quote {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .quote-icon {
    font-size: 70px;
    left: 20px;
    top: 5px;
  }

  /* Responsive form container */
  .contact-form-panel {
    padding: 24px 16px;
  }

  /* Responsive font sizes */
  .app-title-main, .contact-title {
    font-size: 28px;
  }
}

/* Style for workflow step arrows — matches .made-arrow exactly (gradient, fonts, transitions) */
.wf-arrow {
  flex-shrink: 0;
  font-size: 24px;
  background: linear-gradient(135deg, #38D3D5, #7B6FE8, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  opacity: 0.8;
  animation: arrowPulse 1.8s ease-in-out infinite;
  transition: transform 0.3s ease;
  align-self: center;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50%       { opacity: 1;   transform: translateX(3px); }
}

@keyframes arrowPulseVertical {
  0%, 100% { opacity: 0.5; transform: translateY(0) rotate(90deg); }
  50%       { opacity: 1;   transform: translateY(3px) rotate(90deg); }
}

.phone-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  position: relative;
  z-index: 5;
}
.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}
.indicator-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}
.indicator-dot.active {
  background: var(--teal);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(56, 211, 213, 0.6);
}

/* === 3D ARCH TRACKER SCREEN === */
.arch-visual-container {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 600px;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.teeth-arch {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 140px;
  height: 100px;
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateY(0deg);
  transition: transform 0.5s ease;
}
.tooth-seg {
  position: absolute;
  width: 12px;
  height: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #eef2f7 100%);
  border-radius: 3px 3px 6px 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3), inset 0 1px 2px rgba(255,255,255,1);
  transform-origin: center bottom;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tooth-seg[style*="--t-index: 1"] { left: 15px; top: 15px; transform: rotate(-55deg); }
.tooth-seg[style*="--t-index: 2"] { left: 30px; top: 25px; transform: rotate(-35deg); }
.tooth-seg[style*="--t-index: 3"] { left: 47px; top: 32px; transform: rotate(-15deg); }
.tooth-seg[style*="--t-index: 4"] { left: 65px; top: 35px; transform: rotate(0deg); }
.tooth-seg[style*="--t-index: 5"] { left: 83px; top: 32px; transform: rotate(15deg); }
.tooth-seg[style*="--t-index: 6"] { left: 100px; top: 25px; transform: rotate(35deg); }
.tooth-seg[style*="--t-index: 7"] { left: 115px; top: 15px; transform: rotate(55deg); }
.tooth-seg[style*="--t-index: 8"] { left: 122px; top: 2px; transform: rotate(70deg); }

.aligner-overlay-glow {
  position: absolute;
  width: 120px;
  height: 70px;
  border: 2px solid rgba(56, 211, 213, 0.8);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  border-bottom: none;
  top: 45px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(56, 211, 213, 0.9));
  transition: opacity 0.5s ease;
}
.arch-slider-wrap {
  padding: 0 10px;
}
.arch-range-slider {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.1);
  height: 4px;
  border-radius: 2px;
  outline: none;
}
.arch-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  box-shadow: 0 0 8px var(--teal);
  transition: transform 0.1s;
}
.arch-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}


