/* ============================================
   ClearSkin AI — 2026 Creative Teal / Stone
   Premium Healthcare Design System
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #0D9488;
  --primary-dark: #0F766E;
  --primary-light: #14B8A6;
  --primary-50: #F0FDFA;
  --primary-100: #CCFBF1;
  --secondary: #F59E0B;
  --accent: #2DD4BF;
  --success: #0D9488;
  --warning: #f59e0b;
  --danger: #ef4444;

  --surface: #FAFAF9;
  --surface-card: #ffffff;
  --surface-raised: #F5F5F4;
  --border-color: #E7E5E4;
  --border-subtle: rgba(0, 0, 0, 0.04);

  --stone-900: #1C1917;
  --stone-800: #292524;
  --stone-700: #44403C;
  --stone-600: #57534E;
  --stone-500: #78716C;
  --stone-400: #A8A29E;
  --stone-300: #D6D3D1;
  --stone-200: #E7E5E4;
  --stone-100: #F5F5F4;
  --stone-50: #FAFAF9;
  --white: #ffffff;

  --gradient-primary: linear-gradient(135deg, #0D9488 0%, #14B8A6 50%, #2DD4BF 100%);
  --gradient-card: linear-gradient(160deg, rgba(13,148,136,.04) 0%, rgba(20,184,166,.02) 100%);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(13,148,136,.08), transparent),
                   radial-gradient(ellipse 60% 50% at 80% 50%, rgba(20,184,166,.06), transparent),
                   radial-gradient(ellipse 60% 50% at 20% 80%, rgba(45,212,191,.04), transparent);
  --gradient-cta: linear-gradient(135deg, #0F766E 0%, #0D9488 40%, #14B8A6 70%, #2DD4BF 100%);

  --shadow-soft: 0 1px 3px rgba(28,25,23,.06), 0 1px 2px rgba(28,25,23,.04);
  --shadow-card: 0 4px 16px rgba(28,25,23,.06), 0 1px 3px rgba(28,25,23,.04);
  --shadow-card-hover: 0 12px 40px rgba(13,148,136,.12), 0 4px 12px rgba(28,25,23,.06);
  --shadow-elevated: 0 20px 60px rgba(13,148,136,.15), 0 8px 20px rgba(28,25,23,.08);
  --shadow-nav: 0 1px 3px rgba(28,25,23,.08), 0 1px 2px rgba(28,25,23,.04);
  --shadow-glow: 0 0 60px rgba(13,148,136,.15);

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-bounce: cubic-bezier(.68,-.55,.265,1.55);
  --ease-out: cubic-bezier(0,0,.2,1);
  --dur: .35s;
  --dur-slow: .6s;

  --radius: .75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  line-height:1.65;
  color:var(--stone-700);
  background:var(--surface);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
h1,h2,h3,h4{line-height:1.25;color:var(--stone-900)}

/* Scrollbar */
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--stone-300);border-radius:var(--radius-full)}
::-webkit-scrollbar-thumb:hover{background:var(--stone-400)}
::selection{background:var(--primary);color:var(--white)}

/* ---------- Layout ---------- */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 1.5rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.fade-in.visible{
  opacity:1;
  transform:translateY(0);
}
.fade-in-delay-1{transition-delay:.08s}
.fade-in-delay-2{transition-delay:.16s}
.fade-in-delay-3{transition-delay:.24s}
.fade-in-delay-4{transition-delay:.32s}
.fade-in-delay-5{transition-delay:.4s}

@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-14px)}
}
@keyframes pulse-glow{
  0%,100%{box-shadow:0 0 20px rgba(13,148,136,.20)}
  50%{box-shadow:0 0 40px rgba(13,148,136,.40)}
}
@keyframes scan-sweep{
  0%{top:0}
  100%{top:100%}
}
@keyframes gradient-x{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@keyframes shimmer{
  0%{background-position:-200% 0}
  100%{background-position:200% 0}
}
@keyframes spin-slow{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}
@keyframes breathe{
  0%,100%{transform:scale(1);opacity:.5}
  50%{transform:scale(1.05);opacity:.8}
}
@keyframes slide-up{
  from{opacity:0;transform:translateY(20px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes bar-fill{
  from{width:0}
  to{width:var(--bar-w)}
}
@keyframes dot-pulse{
  0%,100%{transform:scale(1);opacity:.6}
  50%{transform:scale(1.4);opacity:1}
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar{
  position:fixed;
  top:0;left:0;right:0;
  z-index:1000;
  padding:1rem 0;
  transition:background var(--dur) var(--ease), padding var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.navbar.scrolled{
  background:rgba(250,250,249,.85);
  backdrop-filter:blur(20px) saturate(1.4);
  -webkit-backdrop-filter:blur(20px) saturate(1.4);
  box-shadow:var(--shadow-nav);
  border-bottom:1px solid rgba(231,229,228,.6);
  padding:.6rem 0;
}
.nav-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 1.5rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* Logo */
.nav-logo{
  display:flex;align-items:center;gap:.75rem;
  text-decoration:none;
}
.nav-logo-icon{
  width:38px;height:38px;
  background:var(--gradient-primary);
  border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;
  color:var(--white);
  box-shadow:0 0 20px rgba(13,148,136,.20);
  transition:transform var(--dur) var(--ease);
}
.nav-logo:hover .nav-logo-icon{transform:scale(1.05)}
.nav-logo h2{
  font-size:1.3rem;font-weight:700;
  background:var(--gradient-primary);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}

/* Links */
.nav-menu{display:flex;align-items:center;gap:.25rem}
.nav-link{
  color:var(--stone-500);font-weight:500;font-size:.9rem;
  padding:.5rem 1rem;border-radius:var(--radius-full);
  transition:color var(--dur) var(--ease), background var(--dur) var(--ease);
  position:relative;
}
.nav-link:hover{color:var(--stone-900);background:rgba(13,148,136,.06)}
.nav-link.active{color:var(--primary-dark);background:rgba(13,148,136,.08)}

/* Nav CTA */
.nav-actions{display:flex;align-items:center;gap:.75rem}
.btn-nav{
  display:inline-flex;align-items:center;gap:.4rem;
  padding:.5rem 1.15rem;border-radius:var(--radius-full);
  font-weight:600;font-size:.85rem;
  background:var(--gradient-primary);
  color:var(--white);
  box-shadow:0 2px 12px rgba(13,148,136,.25);
  transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-nav:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 20px rgba(13,148,136,.35);
}

/* Mobile toggle */
.nav-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px}
.nav-toggle .bar{
  width:24px;height:2px;background:var(--stone-600);border-radius:2px;
  transition:var(--dur) var(--ease);
}
.nav-toggle.active .bar:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.nav-toggle.active .bar:nth-child(2){opacity:0}
.nav-toggle.active .bar:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* ============================================
   HERO
   ============================================ */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;align-items:center;
  padding:8rem 0 4rem;
  overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;
  background:var(--gradient-hero);
  z-index:0;
}
.hero-mesh{
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 25% 25%, rgba(13,148,136,.06) 0, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(20,184,166,.04) 0, transparent 50%);
  z-index:0;
}
.hero-grid-pattern{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(13,148,136,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,148,136,.025) 1px, transparent 1px);
  background-size:60px 60px;
  z-index:0;
  mask-image:radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image:radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
}
.hero-container{
  position:relative;z-index:2;
  max-width:1200px;margin:0 auto;padding:0 1.5rem;
  display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;
}
.hero-content{max-width:560px}

.hero-badge{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.45rem 1.1rem;border-radius:var(--radius-full);
  background:rgba(13,148,136,.08);border:1px solid rgba(13,148,136,.18);
  font-size:.82rem;font-weight:600;color:var(--primary-dark);
  margin-bottom:1.5rem;
  animation:slide-up .6s var(--ease-out) both;
}
.hero-badge-dot{
  width:7px;height:7px;border-radius:50%;
  background:var(--success);
  box-shadow:0 0 8px var(--success);
  animation:pulse-glow 2s infinite;
}

.hero-title{
  font-size:clamp(2.4rem, 5vw, 3.8rem);
  font-weight:800;letter-spacing:-.03em;
  color:var(--stone-900);margin-bottom:1.25rem;
  line-height:1.1;
  animation:slide-up .6s var(--ease-out) .1s both;
}
.hero-title-gradient{
  background:var(--gradient-primary);background-size:200% auto;
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  animation:gradient-x 5s ease infinite;
}
.hero-description{
  font-size:1.1rem;color:var(--stone-500);max-width:460px;
  margin-bottom:2rem;line-height:1.7;
  animation:slide-up .6s var(--ease-out) .2s both;
}

/* Buttons */
.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:2.5rem;animation:slide-up .6s var(--ease-out) .3s both}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.75rem 1.6rem;border-radius:var(--radius-full);
  font-weight:600;font-size:.92rem;
  transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  cursor:pointer;border:none;outline:none;
  text-decoration:none;
}
.btn-primary{
  background:var(--gradient-primary);background-size:200% auto;
  color:var(--white);box-shadow:0 4px 20px rgba(13,148,136,.25);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 30px rgba(13,148,136,.35);
  background-position:right center;
}
.btn-secondary{
  background:var(--white);color:var(--stone-700);
  border:1px solid var(--border-color);
  box-shadow:var(--shadow-soft);
}
.btn-secondary:hover{
  background:var(--stone-50);
  border-color:var(--stone-300);
  transform:translateY(-2px);
  box-shadow:var(--shadow-card);
}
.btn-large{padding:.85rem 2rem;font-size:.95rem}
.btn-full{width:100%}

/* White CTA buttons */
.btn-white{
  background:var(--white);color:var(--stone-900);font-weight:700;
  box-shadow:0 4px 20px rgba(0,0,0,.1);
}
.btn-white:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 30px rgba(0,0,0,.15);
}
.btn-outline-white{
  background:transparent;color:var(--white);
  border:2px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.6);
  transform:translateY(-2px);
}

/* ---------- Hero Visual (Phone) ---------- */
.hero-visual{position:relative;display:flex;justify-content:center;align-items:center}
.phone-wrapper{position:relative;width:290px;animation:slide-up .8s var(--ease-out) .35s both}
.phone-glow{
  position:absolute;inset:-50px;border-radius:50%;
  background:radial-gradient(circle, rgba(13,148,136,.14) 0%, transparent 70%);
  filter:blur(40px);z-index:0;
  animation:breathe 4s ease-in-out infinite;
}
.phone-mockup{
  position:relative;z-index:2;
  background:var(--white);
  border:2px solid var(--border-color);
  border-radius:2.5rem;
  padding:1rem .75rem;
  box-shadow:0 25px 60px rgba(28,25,23,.12), 0 8px 20px rgba(13,148,136,.08);
}
.phone-notch{
  width:100px;height:22px;margin:0 auto .75rem;
  background:var(--stone-100);border-radius:var(--radius-full);
}
.phone-screen{
  background:var(--stone-50);border-radius:1.8rem;
  overflow:hidden;padding:1rem;
}
.phone-ui{display:flex;flex-direction:column;gap:.75rem}
.phone-header h3{font-size:.85rem;color:var(--stone-900)}
.phone-header p{font-size:.7rem;color:var(--primary)}
.scan-preview{display:flex;flex-direction:column;gap:.65rem}
.scan-area{
  position:relative;height:95px;
  background:linear-gradient(135deg,rgba(13,148,136,.06),rgba(20,184,166,.04));
  border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.scan-line{
  position:absolute;left:0;right:0;height:2px;
  background:var(--gradient-primary);
  animation:scan-sweep 2.5s ease-in-out infinite;
}
.scan-crosshair{color:var(--primary);opacity:.35}
.results-preview{display:flex;flex-direction:column;gap:.4rem}
.result-bar{
  display:flex;align-items:center;gap:.55rem;
  padding:.45rem .6rem;
  background:var(--white);border:1px solid var(--border-color);border-radius:var(--radius);
}
.result-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.result-dot-green{background:#0D9488}
.result-dot-teal{background:#14B8A6}
.result-dot-amber{background:#F59E0B}
.result-info{flex:1}
.result-label{font-size:.7rem;color:var(--stone-500);font-weight:500}
.result-score{font-size:.75rem;font-weight:700;color:var(--stone-900)}

/* Floating metric cards */
.metric-card{
  position:absolute;z-index:3;
  display:flex;align-items:center;gap:.65rem;
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-lg);
  padding:.6rem .85rem;
  box-shadow:var(--shadow-card);
  animation:float 6s ease-in-out infinite;
  backdrop-filter:blur(8px);
}
.metric-card-1{top:8%;left:-65%;animation-delay:0s}
.metric-card-2{top:48%;right:-55%;animation-delay:2s}
.metric-card-3{bottom:10%;left:-55%;animation-delay:4s}
.metric-icon{
  width:32px;height:32px;border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.metric-icon-green{background:rgba(13,148,136,.1);color:var(--primary)}
.metric-icon-teal{background:rgba(20,184,166,.1);color:var(--primary-light)}
.metric-icon-amber{background:rgba(245,158,11,.1);color:var(--secondary)}
.metric-text{display:flex;flex-direction:column}
.metric-label{font-size:.65rem;color:var(--stone-400);font-weight:500}
.metric-value{font-size:.85rem;font-weight:700;color:var(--stone-900)}

/* Floating orbs */
.floating-elements{position:absolute;inset:0;z-index:1;pointer-events:none}
.floating-orb{
  position:absolute;border-radius:50%;
  filter:blur(80px);opacity:.18;
}
.orb-1{width:350px;height:350px;top:-5%;left:10%;background:var(--primary)}
.orb-2{width:250px;height:250px;top:40%;right:5%;background:var(--accent)}
.orb-3{width:300px;height:300px;bottom:-10%;left:40%;background:var(--primary-light)}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar{
  padding:2.5rem 0;
  border-bottom:1px solid var(--border-color);
  background:var(--white);
}
.trust-items{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2rem;
  flex-wrap:wrap;
}
.trust-item{
  display:flex;align-items:center;gap:.55rem;
  color:var(--stone-500);font-size:.88rem;font-weight:500;
  white-space:nowrap;
}
.trust-icon{
  width:36px;height:36px;
  border-radius:var(--radius);
  background:rgba(13,148,136,.06);
  display:flex;align-items:center;justify-content:center;
  color:var(--primary);
  flex-shrink:0;
}
.trust-divider{
  width:1px;height:24px;
  background:var(--border-color);
}

/* ============================================
   SECTION SHARED
   ============================================ */
.section-header{text-align:center;max-width:640px;margin:0 auto 3.5rem}
.section-badge{
  display:inline-block;
  padding:.35rem 1rem;border-radius:var(--radius-full);
  background:rgba(13,148,136,.06);border:1px solid rgba(13,148,136,.12);
  font-size:.78rem;font-weight:600;color:var(--primary-dark);
  margin-bottom:1rem;
}
.section-title{
  font-size:clamp(1.8rem,3.5vw,2.6rem);
  font-weight:800;color:var(--stone-900);
  margin-bottom:.75rem;letter-spacing:-.02em;
}
.section-description{font-size:1.05rem;color:var(--stone-500);line-height:1.7}
.section-subtitle{font-size:1.05rem;color:var(--stone-500);line-height:1.7;margin-bottom:1.25rem}

/* ============================================
   FEATURES — BENTO GRID
   ============================================ */
.features{
  position:relative;
  padding:7rem 0;
}
.bento-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  grid-auto-rows:auto;
  gap:1.5rem;
}
.bento-card{
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-xl);
  overflow:hidden;
  transition:transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.bento-card:hover{
  transform:translateY(-6px);
  border-color:rgba(13,148,136,.18);
  box-shadow:var(--shadow-card-hover);
}
.bento-card-inner{
  padding:2rem 1.75rem;
  height:100%;
  display:flex;flex-direction:column;
}
.bento-large{
  grid-column:span 2;
}
.bento-tall{
  grid-row:span 2;
}
.bento-icon-wrap{
  width:48px;height:48px;border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.15rem;flex-shrink:0;
}
.bento-icon-primary{background:rgba(13,148,136,.1);color:var(--primary)}
.bento-icon-teal{background:rgba(20,184,166,.1);color:var(--primary-light)}
.bento-icon-green{background:rgba(13,148,136,.08);color:#059669}
.bento-icon-amber{background:rgba(245,158,11,.1);color:#D97706}
.bento-icon-rose{background:rgba(244,63,94,.08);color:#E11D48}
.bento-icon-violet{background:rgba(139,92,246,.08);color:#7C3AED}
.bento-card h3{
  font-size:1.1rem;font-weight:700;color:var(--stone-900);margin-bottom:.5rem;
}
.bento-card p{font-size:.9rem;color:var(--stone-500);line-height:1.65}

/* Bento bars visual */
.bento-bars{
  margin-top:1.5rem;
  display:flex;flex-direction:column;gap:.75rem;
}
.bento-bar{
  display:flex;align-items:center;gap:.75rem;
  font-size:.8rem;font-weight:500;color:var(--stone-500);
}
.bento-bar > span:first-child{width:65px;flex-shrink:0;text-align:right}
.bar-track{
  flex:1;height:8px;border-radius:var(--radius-full);
  background:var(--stone-100);
  overflow:hidden;
}
.bar-fill{
  height:100%;border-radius:var(--radius-full);
  background:var(--gradient-primary);
  width:0;
  transition:width 1.2s var(--ease-out);
}
.bar-pct{font-size:.78rem;font-weight:700;color:var(--stone-900);width:36px}

/* Heatmap visual */
.heatmap-visual{
  margin-top:1.5rem;flex:1;
  position:relative;
  min-height:140px;
  background:linear-gradient(135deg, rgba(13,148,136,.04), rgba(20,184,166,.02));
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.heatmap-face{
  position:absolute;inset:0;
}
.hm-dot{
  position:absolute;
  width:24px;height:24px;border-radius:50%;
  filter:blur(6px);
  animation:dot-pulse 3s ease-in-out infinite;
}
.hm-red{background:rgba(239,68,68,.5);animation-delay:0s}
.hm-orange{background:rgba(249,115,22,.5);animation-delay:.6s}
.hm-yellow{background:rgba(245,158,11,.5);animation-delay:1.2s}
.hm-green{background:rgba(13,148,136,.5);animation-delay:1.8s}
.hm-teal{background:rgba(20,184,166,.5);animation-delay:2.4s}
.hm-pos-1{top:20%;left:30%}
.hm-pos-2{top:35%;left:65%}
.hm-pos-3{top:55%;left:40%}
.hm-pos-4{top:70%;left:60%}
.hm-pos-5{top:45%;left:25%}

/* about.html feature icon wrapper variant */
.feature-icon-wrapper{
  width:50px;height:50px;
  border-radius:var(--radius);
  background:rgba(13,148,136,.08);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1rem;font-size:1.25rem;
}
.feature-icon-text{font-size:1.1rem;color:var(--primary);font-weight:700}
/* feature-card fallback for about/other pages */
.feature-card{
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-xl);
  padding:2rem 1.75rem;
  transition:transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feature-card:hover{
  transform:translateY(-6px);
  border-color:rgba(13,148,136,.18);
  box-shadow:var(--shadow-card-hover);
}
.feature-card h3{font-size:1.1rem;font-weight:700;color:var(--stone-900);margin-bottom:.5rem}
.feature-card p{font-size:.9rem;color:var(--stone-500);line-height:1.65}
.features-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.5rem;
}

/* ============================================
   HOW IT WORKS — TIMELINE
   ============================================ */
.how-it-works{
  padding:7rem 0;
  position:relative;
  background:var(--stone-50);
}
.timeline{
  display:flex;
  gap:2rem;
  position:relative;
  max-width:960px;
  margin:0 auto;
}
.timeline-track{
  display:none;
}
.timeline-step{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  position:relative;
}
/* Connecting line between steps */
.timeline-step:not(:last-child)::after{
  content:'';
  position:absolute;
  top:24px;
  left:calc(50% + 28px);
  width:calc(100% - 56px);
  height:2px;
  background:linear-gradient(90deg, var(--primary), var(--accent));
  opacity:.25;
}
.timeline-marker{
  width:48px;height:48px;border-radius:50%;
  background:var(--gradient-primary);
  display:flex;align-items:center;justify-content:center;
  color:var(--white);
  font-size:1.15rem;font-weight:800;
  margin-bottom:1.5rem;
  box-shadow:0 4px 20px rgba(13,148,136,.25);
  position:relative;z-index:1;
  flex-shrink:0;
}
.timeline-card{
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-xl);
  padding:2rem 1.5rem;
  transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width:100%;
}
.timeline-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-card-hover);
}
.timeline-icon-bg{
  width:56px;height:56px;margin:0 auto 1rem;
  border-radius:var(--radius-lg);
  background:rgba(13,148,136,.06);
  display:flex;align-items:center;justify-content:center;
  color:var(--primary);
}
.timeline-card h3{
  font-size:1.05rem;font-weight:700;color:var(--stone-900);margin-bottom:.5rem;
}
.timeline-card p{font-size:.88rem;color:var(--stone-500);line-height:1.65}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials{
  padding:7rem 0;
}
.testimonials-track{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
}
.testimonial-card{
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-xl);
  padding:2rem;
  display:flex;flex-direction:column;gap:1.25rem;
  transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position:relative;
}
.testimonial-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-card-hover);
}
.testimonial-featured{
  background:var(--gradient-cta);
  border-color:transparent;
  color:var(--white);
}
.testimonial-featured blockquote{color:rgba(255,255,255,.92)}
.testimonial-featured .testimonial-role{color:rgba(255,255,255,.6)}
.testimonial-featured .testimonial-name{color:var(--white)}

.testimonial-stars{display:flex;gap:2px;color:var(--secondary)}
.testimonial-quote-icon{margin-bottom:-.5rem;color:var(--white)}
.testimonial-card blockquote{
  font-size:.95rem;color:var(--stone-600);line-height:1.7;
  flex:1;
}
.testimonial-author{
  display:flex;align-items:center;gap:.75rem;
  margin-top:auto;
}
.testimonial-avatar{
  width:40px;height:40px;border-radius:50%;
  background:var(--stone-200);
  display:flex;align-items:center;justify-content:center;
  font-size:.82rem;font-weight:700;color:var(--stone-600);
  flex-shrink:0;
}
.testimonial-avatar-gradient{
  background:rgba(255,255,255,.2);
  color:var(--white);
}
.testimonial-name{font-size:.9rem;font-weight:600;color:var(--stone-900)}
.testimonial-role{font-size:.78rem;color:var(--stone-400)}

/* ============================================
   PRICING
   ============================================ */
.pricing{
  padding:7rem 0;
  background:var(--stone-50);
}
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:2rem;
  max-width:800px;
  margin:0 auto;
}
.pricing-card{
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-2xl);
  padding:2.5rem 2rem;
  display:flex;flex-direction:column;
  transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position:relative;
  overflow:hidden;
}
.pricing-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-card-hover);
}
.pricing-card-featured{
  border-color:var(--primary);
  box-shadow:var(--shadow-glow);
}
.pricing-card-featured:hover{
  box-shadow:var(--shadow-elevated);
}
.pricing-popular-badge{
  position:absolute;top:0;right:0;
  background:var(--gradient-primary);
  color:var(--white);
  font-size:.72rem;font-weight:700;
  padding:.35rem 1.25rem .35rem .85rem;
  border-radius:0 0 0 var(--radius-lg);
  text-transform:uppercase;letter-spacing:.04em;
}
.pricing-tier{
  font-size:.88rem;font-weight:700;color:var(--primary);
  margin-bottom:.75rem;
  text-transform:uppercase;letter-spacing:.04em;
}
.pricing-price{
  display:flex;align-items:baseline;gap:.25rem;
  margin-bottom:.75rem;
}
.pricing-amount{
  font-size:2.8rem;font-weight:800;color:var(--stone-900);
  letter-spacing:-.03em;
}
.pricing-period{font-size:1rem;color:var(--stone-400)}
.pricing-desc{
  font-size:.9rem;color:var(--stone-500);margin-bottom:1.5rem;
  padding-bottom:1.5rem;border-bottom:1px solid var(--border-color);
}
.pricing-list{
  display:flex;flex-direction:column;gap:.75rem;
  margin-bottom:2rem;flex:1;
}
.pricing-list li{
  display:flex;align-items:center;gap:.65rem;
  font-size:.9rem;color:var(--stone-600);
}
.pricing-list svg{color:var(--primary);flex-shrink:0}

/* ============================================
   CTA — GRADIENT CARD
   ============================================ */
.cta{
  padding:5rem 0;
}
.cta-card{
  position:relative;
  background:var(--gradient-cta);
  border-radius:var(--radius-2xl);
  overflow:hidden;
  isolation:isolate;
}
.cta-decoration{
  position:absolute;inset:0;pointer-events:none;z-index:0;
}
.cta-ring{
  position:absolute;border-radius:50%;
  border:1px solid rgba(255,255,255,.08);
}
.cta-ring-1{width:400px;height:400px;top:-150px;right:-100px;animation:spin-slow 30s linear infinite}
.cta-ring-2{width:300px;height:300px;bottom:-100px;left:-50px;border-color:rgba(255,255,255,.06);animation:spin-slow 25s linear infinite reverse}
.cta-ring-3{width:200px;height:200px;top:50%;left:50%;transform:translate(-50%,-50%);border-color:rgba(255,255,255,.04)}
.cta-inner{
  position:relative;z-index:1;
  text-align:center;padding:4.5rem 2rem;
}
.cta-title{
  font-size:clamp(1.8rem,3.5vw,2.6rem);
  font-weight:800;color:var(--white);margin-bottom:1rem;
  letter-spacing:-.02em;
}
.cta-description{
  font-size:1.05rem;color:rgba(255,255,255,.75);margin-bottom:2.5rem;line-height:1.7;
}
.cta-buttons{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}

/* ============================================
   DISCLAIMER
   ============================================ */
.disclaimer{padding:3rem 0}
.disclaimer-box{
  display:flex;gap:1.25rem;align-items:flex-start;
  background:rgba(239,68,68,.04);
  border:1px solid rgba(239,68,68,.10);
  border-radius:var(--radius-xl);
  padding:1.75rem;
}
.disclaimer-icon{
  flex-shrink:0;margin-top:.15rem;color:var(--danger);
}
.disclaimer-content h3{
  font-size:1rem;font-weight:700;color:var(--danger);margin-bottom:.5rem;
}
.disclaimer-content p{font-size:.88rem;color:var(--stone-500);line-height:1.7}

/* ============================================
   PAGE HEADER (about, contact, legal pages)
   ============================================ */
.page-header{
  position:relative;
  padding:9rem 0 4rem;
  overflow:hidden;
}
.page-header-bg{
  position:absolute;inset:0;
  background:var(--gradient-hero);
  z-index:0;
}
.page-header-mesh{
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 30% 30%, rgba(13,148,136,.06) 0, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(20,184,166,.04) 0, transparent 50%);
  z-index:0;
}
.page-header-content{
  position:relative;z-index:1;
  text-align:center;
}
.page-header-content h1{
  font-size:clamp(2rem,4vw,3rem);
  font-weight:800;color:var(--stone-900);margin-bottom:.75rem;
}
.page-header-content p{font-size:1.05rem;color:var(--stone-500)}

/* ============================================
   ABOUT SECTIONS
   ============================================ */
.about-section{
  padding:4rem 0;
}
.about-section-alt{
  background:var(--stone-50);
}
.about-content{max-width:720px;margin:0 auto}
.about-content p{
  font-size:1rem;color:var(--stone-600);line-height:1.75;
  margin-bottom:1rem;
}
.about-content p:last-child{margin-bottom:0}

/* Mission Section with visual */
.mission-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
  align-items:center;
}
.mission-text h2{
  font-size:clamp(1.6rem,3vw,2.2rem);
  font-weight:800;color:var(--stone-900);
  margin-bottom:1rem;letter-spacing:-.02em;
}
.mission-text p{
  font-size:1rem;color:var(--stone-600);line-height:1.75;
  margin-bottom:1rem;
}
.mission-visual{
  position:relative;
  display:flex;justify-content:center;align-items:center;
}
.mission-card{
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-xl);
  padding:2rem;
  box-shadow:var(--shadow-card);
  position:relative;
  overflow:hidden;
}
.mission-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:var(--gradient-primary);
}
.mission-stats{
  display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;
  margin-top:1.5rem;
}
.mission-stat{text-align:center}
.mission-stat-value{
  font-size:1.8rem;font-weight:800;
  background:var(--gradient-primary);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.mission-stat-label{font-size:.78rem;color:var(--stone-400);margin-top:.15rem}

/* About bento */
.about-bento{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
}
.about-bento-large{grid-column:span 2}

/* Developer card */
.developer-card{
  display:flex;gap:2rem;align-items:center;
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-xl);
  padding:2.5rem;
  max-width:720px;margin:0 auto;
  box-shadow:var(--shadow-card);
}
.developer-avatar{
  width:80px;height:80px;border-radius:50%;
  background:var(--gradient-primary);
  display:flex;align-items:center;justify-content:center;
  color:var(--white);font-size:1.5rem;font-weight:800;
  flex-shrink:0;
  box-shadow:0 4px 20px rgba(13,148,136,.25);
}
.developer-info h3{font-size:1.15rem;font-weight:700;color:var(--stone-900);margin-bottom:.25rem}
.developer-info .dev-role{font-size:.88rem;color:var(--primary);font-weight:600;margin-bottom:.75rem}
.developer-info p{font-size:.9rem;color:var(--stone-500);line-height:1.65}

/* Tech grid */
.tech-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;
}
.tech-item{
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-lg);
  padding:1.5rem;
  transition:transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position:relative;
  overflow:hidden;
}
.tech-item::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:var(--gradient-primary);opacity:0;
  transition:opacity var(--dur) var(--ease);
}
.tech-item:hover{
  transform:translateY(-4px);
  border-color:rgba(13,148,136,.18);
  box-shadow:var(--shadow-card-hover);
}
.tech-item:hover::before{opacity:1}
.tech-item h4{
  font-size:.95rem;font-weight:700;color:var(--primary);margin-bottom:.35rem;
}
.tech-item p{font-size:.88rem;color:var(--stone-500);line-height:1.6}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section{padding:4rem 0}
.contact-grid{
  display:grid;grid-template-columns:1fr 1.3fr;gap:2.5rem;align-items:start;
}

/* Info cards column */
.contact-info-cards{display:flex;flex-direction:column;gap:1.25rem}
.contact-info-card{
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-lg);
  padding:1.5rem;
  transition:transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display:flex;align-items:flex-start;gap:1rem;
}
.contact-info-card:hover{
  transform:translateY(-4px);
  border-color:rgba(13,148,136,.18);
  box-shadow:var(--shadow-card-hover);
}
.contact-card-icon{
  width:44px;height:44px;border-radius:var(--radius);
  background:rgba(13,148,136,.08);
  display:flex;align-items:center;justify-content:center;
  color:var(--primary);flex-shrink:0;
}
.contact-info-card h3{font-size:1rem;font-weight:700;color:var(--stone-900);margin-bottom:.2rem}
.contact-info-card p{font-size:.88rem;color:var(--stone-500)}
.contact-info-card a{color:var(--primary);text-decoration:underline;text-decoration-color:transparent;transition:text-decoration-color var(--dur)}
.contact-info-card a:hover{text-decoration-color:var(--primary)}

/* Contact form */
.contact-form-wrapper{
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-xl);
  padding:2.25rem;
  box-shadow:var(--shadow-soft);
}
.contact-form-wrapper h2{
  font-size:1.3rem;font-weight:700;color:var(--stone-900);margin-bottom:1.5rem;
}
.contact-form{display:flex;flex-direction:column;gap:1.25rem}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-group{display:flex;flex-direction:column;gap:.4rem}
.form-group label{font-size:.85rem;font-weight:600;color:var(--stone-700)}
.form-group input,
.form-group select,
.form-group textarea{
  background:var(--stone-50);
  border:1.5px solid var(--border-color);
  border-radius:var(--radius);
  padding:.75rem 1rem;
  color:var(--stone-900);font-size:.92rem;
  font-family:inherit;
  transition:border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  outline:none;
}
.form-group input::placeholder,
.form-group textarea::placeholder{color:var(--stone-400)}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(13,148,136,.10);
  background:var(--white);
}
.form-group select{cursor:pointer;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2378716C' d='M6 8.825a.5.5 0 0 1-.354-.146l-4-4a.5.5 0 0 1 .708-.708L6 7.617l3.646-3.646a.5.5 0 0 1 .708.708l-4 4A.5.5 0 0 1 6 8.825z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center;
  padding-right:2.5rem;
  background-color:var(--stone-50);
}
.form-group select option{background:var(--white);color:var(--stone-700)}
.form-group textarea{resize:vertical;min-height:110px}

/* ============================================
   FAQ — ACCORDION
   ============================================ */
.faq-section{padding:4rem 0 5rem}
.faq-section .section-title{text-align:center;margin-bottom:2.5rem}
.faq-list{
  max-width:760px;
  margin:0 auto;
  display:flex;flex-direction:column;gap:.75rem;
}
.faq-item{
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-lg);
  overflow:hidden;
  transition:border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq-item:hover{
  border-color:rgba(13,148,136,.15);
}
.faq-item.active{
  border-color:rgba(13,148,136,.20);
  box-shadow:var(--shadow-card);
}
.faq-question{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1.25rem 1.5rem;
  cursor:pointer;
  font-size:.95rem;font-weight:600;color:var(--stone-900);
  background:none;border:none;width:100%;text-align:left;
  font-family:inherit;
  transition:color var(--dur) var(--ease);
}
.faq-question:hover{color:var(--primary)}
.faq-chevron{
  width:20px;height:20px;flex-shrink:0;
  color:var(--stone-400);
  transition:transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.faq-item.active .faq-chevron{transform:rotate(180deg);color:var(--primary)}
.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height var(--dur-slow) var(--ease), padding var(--dur) var(--ease);
}
.faq-answer-inner{
  padding:0 1.5rem 1.25rem;
  font-size:.9rem;color:var(--stone-500);line-height:1.7;
}
.faq-answer a{color:var(--primary)}

/* Legacy faq-grid (fallback) */
.faq-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem;
}
.faq-grid .faq-item{padding:1.5rem}
.faq-grid .faq-item h3{font-size:.95rem;font-weight:700;color:var(--stone-900);margin-bottom:.4rem}
.faq-grid .faq-item p{font-size:.88rem;color:var(--stone-500);line-height:1.65}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content{
  padding:3rem 0 5rem;
}
.legal-document{
  max-width:820px;
  margin:0 auto;
}
.legal-section{
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius-lg);
  padding:2rem;
  margin-bottom:1.5rem;
  opacity:1 !important;
  transform:none !important;
}
.legal-section h2{
  font-size:1.2rem;font-weight:700;color:var(--stone-900);
  margin-bottom:.85rem;
  padding-bottom:.6rem;
  border-bottom:1px solid var(--border-color);
}
.legal-section h3{
  font-size:1rem;font-weight:600;color:var(--primary);
  margin:1.25rem 0 .5rem;
}
.legal-section p{
  font-size:.9rem;color:var(--stone-600);line-height:1.75;
  margin-bottom:.75rem;
}
.legal-section ul{
  margin:.5rem 0 .75rem 1.25rem;
  list-style:disc;
}
.legal-section li{
  font-size:.88rem;color:var(--stone-500);line-height:1.65;
  margin-bottom:.35rem;
}
.legal-section li::marker{color:var(--primary)}
.legal-section a{color:var(--primary)}

.important-notice{
  background:rgba(239,68,68,.04);
  border:1px solid rgba(239,68,68,.10);
  border-radius:var(--radius);
  padding:1rem 1.25rem;
  margin:1rem 0;
  font-size:.88rem;color:var(--stone-600);line-height:1.65;
}
.important-notice strong{color:var(--danger)}

.contact-info{
  background:rgba(13,148,136,.04);
  border:1px solid rgba(13,148,136,.10);
  border-radius:var(--radius);
  padding:1rem 1.25rem;
  margin:1rem 0;
}
.contact-info p{margin-bottom:.35rem;font-size:.9rem}
.contact-info p:last-child{margin-bottom:0}

/* ============================================
   FOOTER
   ============================================ */
.footer{
  border-top:1px solid var(--border-color);
  padding:4rem 0 2rem;
  background:var(--white);
}
.footer-grid{
  display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:2.5rem;margin-bottom:3rem;
}
.footer-logo{display:flex;align-items:center;gap:.65rem;margin-bottom:.75rem}
.footer-logo-icon{
  width:34px;height:34px;
  background:var(--gradient-primary);
  border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;
  color:var(--white);
}
.footer-logo h3{
  font-size:1.15rem;font-weight:700;
  background:var(--gradient-primary);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.footer-brand > p{font-size:.88rem;color:var(--stone-400);max-width:280px;line-height:1.6}
.footer-section h4{
  font-size:.78rem;font-weight:700;color:var(--stone-700);
  text-transform:uppercase;letter-spacing:.06em;margin-bottom:.85rem;
}
.footer-links{display:flex;flex-direction:column;gap:.55rem}
.footer-links a{
  font-size:.88rem;color:var(--stone-400);
  transition:color var(--dur) var(--ease);
}
.footer-links a:hover{color:var(--primary)}

.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:1.5rem;border-top:1px solid var(--border-color);
}
.footer-bottom p{font-size:.82rem;color:var(--stone-400)}
.footer-legal{display:flex;gap:1.25rem}
.footer-legal a{font-size:.82rem;color:var(--stone-400);transition:color var(--dur) var(--ease)}
.footer-legal a:hover{color:var(--primary)}

/* Notification toast */
.toast{
  position:fixed;bottom:2rem;right:2rem;
  padding:1rem 1.5rem;
  border-radius:var(--radius-lg);
  font-size:.9rem;font-weight:500;
  z-index:9999;
  animation:slide-up .4s var(--ease-out);
  box-shadow:var(--shadow-elevated);
}
.toast-success{background:var(--primary);color:var(--white)}
.toast-error{background:var(--danger);color:var(--white)}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width:1024px){
  .hero-container{grid-template-columns:1fr;text-align:center}
  .hero-content{max-width:100%;margin:0 auto}
  .hero-description{margin-left:auto;margin-right:auto}
  .hero-buttons{justify-content:center}
  .hero-visual{margin-top:3rem}

  .bento-grid{grid-template-columns:repeat(2,1fr)}
  .bento-large{grid-column:span 2}
  .bento-tall{grid-row:span 1}

  .timeline{flex-direction:column;gap:1.5rem}
  .timeline-step:not(:last-child)::after{display:none}
  .timeline-step{flex-direction:row;text-align:left;gap:1.5rem}
  .timeline-card{text-align:left}
  .timeline-icon-bg{margin:0 0 1rem}

  .testimonials-track{grid-template-columns:1fr}
  .pricing-grid{grid-template-columns:1fr;max-width:440px}
  .features-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}

  .mission-grid{grid-template-columns:1fr}
  .about-bento{grid-template-columns:repeat(2,1fr)}
  .about-bento-large{grid-column:span 2}
}

@media (max-width:768px){
  .nav-menu{
    position:fixed;top:0;right:-100%;
    width:280px;height:100vh;
    background:rgba(250,250,249,.97);
    backdrop-filter:blur(24px);
    flex-direction:column;
    padding:5rem 2rem 2rem;
    gap:.5rem;
    transition:right var(--dur) var(--ease);
    z-index:999;
    box-shadow:-4px 0 24px rgba(28,25,23,.08);
  }
  .nav-menu.active{right:0}
  .nav-toggle{display:flex;z-index:1001}
  .nav-actions{display:none}
  .nav-link{font-size:1.05rem;padding:.7rem 1rem;width:100%}

  .hero{padding:7rem 0 3rem}
  .hero-title{font-size:2rem}
  .metric-card{display:none}

  .trust-items{gap:1rem}
  .trust-divider{display:none}
  .trust-item{font-size:.8rem}
  .trust-icon{width:30px;height:30px}

  .bento-grid{grid-template-columns:1fr}
  .bento-large{grid-column:span 1}
  .features-grid{grid-template-columns:1fr}

  .timeline-step{flex-direction:column;text-align:center}

  .testimonials-track{grid-template-columns:1fr}

  .tech-grid{grid-template-columns:1fr}
  .faq-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;gap:2rem}
  .footer-bottom{flex-direction:column;gap:.75rem;text-align:center}

  .developer-card{flex-direction:column;text-align:center}
  .about-bento{grid-template-columns:1fr}
  .about-bento-large{grid-column:span 1}
}

@media (max-width:480px){
  .container{padding:0 1rem}
  .hero{padding:6rem 0 2rem}
  .hero-title{font-size:1.75rem}
  .hero-description{font-size:.95rem}
  .section-title{font-size:1.5rem}
  .phone-wrapper{width:240px}
  .cta-inner{padding:3rem 1.5rem}
  .legal-section{padding:1.5rem 1.25rem}
}

/* ============================================
   IMMERSIVE EXPERIENCE — 21st.dev Inspired
   ============================================ */

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress{
  position:fixed;top:0;left:0;
  width:0;height:3px;
  background:var(--gradient-primary);
  z-index:9999;
  transition:width 80ms linear;
  box-shadow:0 0 10px rgba(13,148,136,.5), 0 0 5px rgba(13,148,136,.3);
  pointer-events:none;
}

/* ---------- Cursor Glow ---------- */
.cursor-glow{
  position:fixed;
  width:400px;height:400px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(13,148,136,.06) 0%, rgba(20,184,166,.03) 30%, transparent 70%);
  pointer-events:none;
  transform:translate(-50%,-50%);
  z-index:0;
  opacity:0;
  transition:opacity .4s ease;
  will-change:left, top;
  filter:blur(10px);
}
.cursor-glow.active{opacity:1}

/* ---------- Floating Particles ---------- */
@keyframes particle-drift{
  0%{transform:translateY(0) translateX(0);opacity:.15}
  25%{transform:translateY(-18px) translateX(8px);opacity:.45}
  50%{transform:translateY(-8px) translateX(-5px);opacity:.3}
  75%{transform:translateY(-22px) translateX(12px);opacity:.55}
  100%{transform:translateY(0) translateX(0);opacity:.15}
}
.particles-canvas{
  position:fixed;inset:0;
  width:100%;height:100%;
  pointer-events:none;
  z-index:1;
}
.particle{
  fill:var(--primary);
  opacity:.15;
  animation:particle-drift 8s ease-in-out infinite;
}

/* ---------- Click Ripple ---------- */
@keyframes ripple-expand{
  0%{transform:translate(-50%,-50%) scale(0);opacity:.6}
  100%{transform:translate(-50%,-50%) scale(1);opacity:0}
}
.click-ripple{
  position:fixed;
  width:48px;height:48px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(13,148,136,.3), transparent 70%);
  pointer-events:none;
  z-index:9998;
  animation:ripple-expand .6s ease-out forwards;
}

/* ---------- Section Nav Dots ---------- */
.section-nav{
  position:fixed;
  right:1.5rem;
  top:50%;
  transform:translateY(-50%);
  display:flex;flex-direction:column;
  align-items:center;
  gap:1.25rem;
  z-index:100;
}
.section-nav::before{
  content:'';position:absolute;
  top:0;bottom:0;left:50%;
  width:1px;
  background:linear-gradient(to bottom, transparent, rgba(13,148,136,.15), transparent);
  transform:translateX(-50%);
  z-index:-1;
}
.section-nav-dot{
  position:relative;
  width:10px;height:10px;
  border-radius:50%;
  border:2px solid var(--stone-300);
  background:transparent;
  cursor:pointer;
  transition:all var(--dur) var(--ease);
  text-decoration:none;
}
.section-nav-dot::before{
  content:attr(data-label);
  position:absolute;
  right:calc(100% + 12px);
  top:50%;transform:translateY(-50%);
  white-space:nowrap;
  font-size:.72rem;font-weight:600;
  color:var(--stone-400);
  background:rgba(250,250,249,.9);
  backdrop-filter:blur(8px);
  padding:.25rem .65rem;
  border-radius:var(--radius);
  border:1px solid var(--border-color);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s var(--ease), transform .25s var(--ease);
  transform:translateY(-50%) translateX(4px);
  box-shadow:var(--shadow-soft);
}
.section-nav-dot:hover::before{
  opacity:1;
  transform:translateY(-50%) translateX(0);
}
.section-nav-dot:hover{
  border-color:var(--primary);
  transform:scale(1.3);
}
.section-nav-dot.active{
  background:var(--primary);
  border-color:var(--primary);
  box-shadow:0 0 12px rgba(13,148,136,.4);
}
.section-nav-dot.active::after{
  content:'';position:absolute;inset:-4px;
  border-radius:50%;
  border:1px solid rgba(13,148,136,.25);
  animation:pulse-glow 2.5s ease-in-out infinite;
}

/* ---------- Enhanced Scroll Reveal ---------- */
.word-reveal{
  display:inline-block;
  opacity:0;
  transform:translateY(20px) scale(0.92);
  filter:blur(6px);
  transition:opacity .6s var(--ease-out), transform .6s var(--ease-out), filter .6s var(--ease-out);
}
.word-reveal.revealed{
  opacity:1;
  transform:translateY(0) scale(1);
  filter:blur(0);
}

/* ---------- Tilt Cards ---------- */
.tilt-card{
  transition:transform .4s var(--ease);
  transform-style:preserve-3d;
  will-change:transform;
}
.tilt-card:hover{
  box-shadow:var(--shadow-elevated);
}

/* ---------- Section Divider Wave ---------- */
.section-wave{
  width:100%;height:80px;
  position:relative;
  overflow:hidden;
}
.section-wave svg{
  position:absolute;bottom:0;left:0;
  width:100%;height:100%;
}
.section-wave-fill{
  fill:var(--stone-50);
}

/* ---------- Immersive Responsive ---------- */
@media (max-width:768px){
  .section-nav{display:none}
  .cursor-glow{display:none}
  .particles-canvas .particle{animation-duration:12s}
}
@media (max-width:480px){
  .scroll-progress{height:2px}
  .particles-canvas{opacity:.5}
}
