/* ═══════════════════════════════════════════════════════════
   ForgeusAI — Global Stylesheet
   Design system: dark, premium, glassmorphism + gradient
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg-base:       #080b14;
  --bg-surface:    #0e1422;
  --bg-card:       #141929;
  --bg-card-hover: #1a2035;
  --border:        rgba(255,255,255,0.07);
  --border-glow:   rgba(167,139,250,0.25);

  --purple:        #a78bfa;
  --purple-dim:    #7c5cbf;
  --sky:           #38bdf8;
  --teal:          #2dd4bf;
  --green:         #34d399;
  --coral:         #fb7185;

  --text-primary:  #f1f5fd;
  --text-secondary:#8b96b0;
  --text-muted:    #4f5a72;

  --gradient-brand: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%);
  --gradient-card:  linear-gradient(145deg, #141929 0%, #0e1422 100%);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --radius-full: 999px;

  --shadow-card:   0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-glow:   0 0 40px rgba(167,139,250,0.15), 0 0 80px rgba(56,189,248,0.08);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Outfit', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY UTILS ── */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SECTION SHARED ── */
.section { padding: 100px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  padding: 6px 14px;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  background: rgba(167,139,250,0.07);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn--sm  { font-size: 0.8rem;  padding: 8px 18px; }
.btn--md  { font-size: 0.9rem;  padding: 11px 24px; }
.btn--lg  { font-size: 1rem;    padding: 15px 32px; }

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(167,139,250,0.4);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(167,139,250,0.4), 0 0 0 0 transparent;
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--purple);
  border: 1px solid var(--border-glow);
}
.btn--outline:hover {
  background: rgba(167,139,250,0.1);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: var(--transition);
  padding: 0;
}

.nav.scrolled {
  background: rgba(8,11,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.nav__link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.nav__cta { margin-left: 8px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: rgba(8,11,20,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px;
}
.nav__mobile.open { display: flex; }
.nav__mobile ul { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nav__mobile-link {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.nav__mobile-link:hover { color: var(--text-primary); }
.nav__mobile-cta { margin-top: 16px; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  overflow: hidden;
  padding-top: 70px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Grid lines */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167,139,250,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,139,250,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -200px; left: -100px;
  animation-delay: 0s;
}
.orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
  top: -100px; right: -100px;
  animation-delay: -4s;
}
.orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6d28d9 0%, transparent 70%);
  bottom: -100px; left: 40%;
  animation-delay: -8s;
  opacity: 0.2;
}

@keyframes orb-drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,30px) scale(1.1); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 80px;
  max-width: 620px;
  margin: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  padding: 7px 16px;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  background: rgba(167,139,250,0.08);
  margin-bottom: 28px;
  animation: fade-up 0.7s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--purple); }
  50%       { opacity: 0.6; box-shadow: 0 0 16px var(--purple); }
}

.hero__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fade-up 0.7s 0.1s ease both;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
  animation: fade-up 0.7s 0.2s ease both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fade-up 0.7s 0.3s ease both;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: fade-up 0.7s 0.4s ease both;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.05em; }
.stat__divider { width: 1px; height: 36px; background: var(--border); }

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

/* ── Hero phone mockup ── */
.hero__visual {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

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

.phone-mockup { position: relative; }

.phone-frame {
  width: 220px;
  background: linear-gradient(160deg, #1e2740 0%, #141929 100%);
  border-radius: 36px;
  border: 1.5px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(167,139,250,0.15),
    0 30px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(167,139,250,0.1) inset;
  position: relative;
}

.phone-notch {
  width: 80px; height: 22px;
  background: #080b14;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
}

.phone-screen {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 380px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}
.app-greeting { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.app-greeting-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  width: 80%;
}
.app-greeting-line--sm { width: 50%; height: 6px; }

/* Nutrition ring */
.app-ring-container { display: flex; justify-content: center; padding: 8px 0; }
.app-ring {
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.app-ring--outer  { width: 100px; height: 100px; border: 8px solid rgba(167,139,250,0.3); position: relative; }
.app-ring--middle { width: 80px;  height: 80px;  border: 7px solid rgba(56,189,248,0.4); }
.app-ring--inner  { width: 60px;  height: 60px;  border: 6px solid rgba(52,211,153,0.4); }
.app-ring--outer::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 8px solid transparent;
  border-top-color: var(--purple);
  border-right-color: var(--purple);
  animation: ring-spin 3s linear infinite;
}
@keyframes ring-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.app-ring-label { display: flex; flex-direction: column; align-items: center; }
.app-ring-num { font-size: 0.75rem; font-weight: 800; color: var(--text-primary); }
.app-ring-unit { font-size: 0.5rem; color: var(--text-muted); }

/* Meal cards (small) */
.app-meals { display: flex; flex-direction: column; gap: 6px; }
.app-meal-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 10px;
  animation: fade-up 0.5s ease both;
}
.app-meal-card--1 { animation-delay: 0.6s; }
.app-meal-card--2 { animation-delay: 0.8s; }
.app-meal-card--3 { animation-delay: 1.0s; }

.meal-icon { font-size: 1rem; }
.meal-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.meal-name  { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.15); width: 70%; }
.meal-cals  { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.08); width: 45%; }
.meal-cals--sm { width: 30%; }
.meal-badge { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.meal-badge--green  { background: var(--green); box-shadow: 0 0 6px var(--green); }
.meal-badge--blue   { background: var(--sky); box-shadow: 0 0 6px var(--sky); }
.meal-badge--purple { background: var(--purple); box-shadow: 0 0 6px var(--purple); }

.app-ai-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--purple);
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: var(--radius-full);
  padding: 5px 10px;
  margin-top: 4px;
}
.ai-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--purple);
  animation: pulse 2s ease-in-out infinite;
}

.phone-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse 60% 60% at 50% 80%, rgba(167,139,250,0.2) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about { background: var(--bg-surface); }
.about .section-label, .about .section-title, .about .section-subtitle { display: block; text-align: center; }

.about__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.4), transparent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(167,139,250,0.1);
  border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-card__body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   PRODUCT
═══════════════════════════════════════ */
.product { background: var(--bg-base); }
.product .section-label, .product .section-title, .product .section-subtitle { display: block; text-align: center; }

.product__showcase {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Product phone */
.product-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.product-phone {
  width: 260px;
  background: linear-gradient(160deg, #1e2740, #141929);
  border-radius: 44px;
  border: 1.5px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(167,139,250,0.15),
    0 40px 100px rgba(0,0,0,0.7),
    0 0 80px rgba(167,139,250,0.08) inset;
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}

.product-phone__notch {
  width: 90px; height: 24px;
  background: #080b14;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}

.product-phone__screen {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pp-day { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }
.pp-date {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple);
  background: rgba(167,139,250,0.1);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.pp-macro-row {
  display: flex;
  justify-content: space-around;
  gap: 8px;
}
.pp-macro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.pp-macro-ring {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.08);
  position: relative;
}
.pp-macro-ring::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 5px solid transparent;
  border-top-color: var(--ring-color);
  border-right-color: var(--ring-color);
  transform: rotate(-45deg);
  animation: ring-spin 4s linear infinite;
}
.pp-macro-val { font-size: 0.72rem; font-weight: 800; color: var(--text-primary); }
.pp-macro-lbl { font-size: 0.6rem; color: var(--text-muted); }

.pp-ai-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}
.pp-ai-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.pp-ai-text strong { display: block; font-size: 0.65rem; font-weight: 700; color: var(--purple); margin-bottom: 3px; }
.pp-ai-text p { font-size: 0.62rem; color: var(--text-secondary); line-height: 1.5; }

.pp-meals-list { display: flex; flex-direction: column; gap: 6px; padding-bottom: 8px; }
.pp-meal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.pp-meal-emoji { font-size: 1rem; }
.pp-meal-name { flex: 1; font-size: 0.68rem; font-weight: 600; color: var(--text-primary); }
.pp-meal-cal { font-size: 0.62rem; color: var(--text-muted); }

.product-phone-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(167,139,250,0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Floating chips */
.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(14,20,34,0.9);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 1px rgba(167,139,250,0.1);
  white-space: nowrap;
}
.floating-chip span { font-size: 0.9rem; }
.floating-chip--1 { top: 20px; right: -30px; animation: float 5s ease-in-out infinite; }
.floating-chip--2 { top: 50%; right: -50px; animation: float 6s 1s ease-in-out infinite; }
.floating-chip--3 { bottom: 30px; left: -40px; animation: float 5.5s 0.5s ease-in-out infinite; }

/* Product features list */
.product__features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product__feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
}
.product__feature:hover {
  background: var(--bg-card);
  border-color: var(--border);
}

.product__feature-icon {
  font-size: 1.5rem;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(167,139,250,0.08);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.product__feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.product__feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product__cta-row { margin-top: 8px; }

/* ═══════════════════════════════════════
   MISSION
═══════════════════════════════════════ */
.mission {
  background: var(--bg-surface);
  overflow: hidden;
  position: relative;
}

.mission__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.mission__content .section-label { display: inline-flex; }
.mission__content .section-title { text-align: left; }

.mission__body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 540px;
}

.mission__pillars {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  transition: var(--transition);
}
.pillar:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.pillar__icon { font-size: 1.5rem; }
.pillar__text { font-size: 0.8rem; font-weight: 700; color: var(--text-secondary); letter-spacing: 0.05em; }
.pillar__arrow { font-size: 1.2rem; color: var(--text-muted); }

/* Mission orb */
.mission__visual { display: flex; align-items: center; justify-content: center; padding: 40px; }

.mission-orb-wrap { position: relative; width: 220px; height: 220px; }

.mission-orb {
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(14,165,233,0.4));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(167,139,250,0.3);
}
.mission-orb__inner {
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}

.mission-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(167,139,250,0.2);
  animation: ring-pulse 4s ease-in-out infinite;
}
.mission-ring--1 { inset: 20px; animation-delay: 0s; }
.mission-ring--2 { inset: 5px; animation-delay: 0.8s; }
.mission-ring--3 { inset: -15px; animation-delay: 1.6s; }

@keyframes ring-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.03); }
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact { background: var(--bg-base); }
.contact .section-label, .contact .section-title, .contact .section-subtitle { display: block; text-align: center; }

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.contact-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.contact-card:hover::after { transform: scaleX(1); }

.contact-card--product {
  background: linear-gradient(145deg, rgba(124,58,237,0.1), rgba(14,165,233,0.08));
  border-color: var(--border-glow);
}

.contact-card__icon { font-size: 2.2rem; margin-bottom: 4px; }
.contact-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.contact-card__body { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.contact-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple);
  transition: var(--transition-fast);
  margin-top: auto;
}
.contact-card__link:hover { color: var(--sky); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer__brand { max-width: 280px; }
.footer__logo { margin-bottom: 14px; }
.footer__tagline { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

.footer__nav {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.footer__nav-group { display: flex; flex-direction: column; gap: 12px; }
.footer__nav-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer__nav-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.footer__nav-link:hover { color: var(--text-primary); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}
.footer__copy, .footer__made {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__visual { display: none; }
  .hero__content { max-width: 100%; padding-top: 100px; }

  .product__showcase { grid-template-columns: 1fr; gap: 48px; }
  .product-phone-wrap { justify-content: center; }
  .floating-chip--1 { right: 0; }
  .floating-chip--2 { right: -10px; }
  .floating-chip--3 { left: 0; }

  .mission__inner { grid-template-columns: 1fr; }
  .mission__visual { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .about__cards { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }

  .hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }

  .mission__pillars { flex-wrap: wrap; }

  .footer__inner { flex-direction: column; gap: 40px; }
  .footer__nav { gap: 32px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__stats { gap: 16px; }
  .product__showcase { padding: 0 16px; }
  .floating-chip { display: none; }
}

/* ═══════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
