/* ============================================================
   Egosi OS — egosios.com
   Corporate landing page styles
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --teal-dark: #294555;
  --teal-mid: #4A8A99;
  --rose: #CC6B97;
  --gold: #FFD700;
  --gold-dark: #D4A800;
  --bg-hero: #0D1B22;
  --bg-dark: #0F1E26;
  --bg-light: #FAFAF7;
  --bg-cream: #F5F3EE;
  --text-light: #E8ECF0;
  --text-muted: #8A9BAA;
  --text-dark: #1A2A33;
  --text-body: #3A4A55;
  --white: #FFFFFF;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cal Sans', 'Inter', -apple-system, sans-serif;
  --section-padding: clamp(5rem, 12vw, 9rem) clamp(1.5rem, 5vw, 4rem);
  --max-width: 1140px;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-hero);
  line-height: 1.7;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(3rem, 8vw, 5.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
p { max-width: 680px; }
.text-muted { color: var(--text-muted); }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; width: 100%; }
section { position: relative; }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ============================================================
   WAVE DIVIDERS
   ============================================================ */
.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}
.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}
.wave-divider--dark-to-light { background: var(--bg-hero); }
.wave-divider--light-to-dark { background: var(--bg-light); }
.wave-divider--dark-to-cream { background: var(--bg-hero); }
.wave-divider--cream-to-light { background: var(--bg-cream); }
.wave-divider--cream-to-dark  { background: var(--bg-cream); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-padding);
  background: var(--bg-hero);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg canvas {
  width: 100%;
  height: 100%;
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.hero-orb--teal {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,138,153,0.2) 0%, transparent 70%);
  top: -10%; left: -5%;
  animation: orbFloat1 18s ease-in-out infinite;
}
.hero-orb--rose {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(204,107,151,0.15) 0%, transparent 70%);
  bottom: -10%; right: -5%;
  animation: orbFloat2 22s ease-in-out infinite;
}
.hero-orb--gold {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%);
  top: 40%; left: 50%;
  animation: orbFloat3 15s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, 40px) scale(1.1); }
  66%      { transform: translate(-30px, 60px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-50px, -30px) scale(1.05); }
  66%      { transform: translate(40px, -50px) scale(0.9); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50%      { transform: translate(-50%, -40px) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-logo {
  width: 180px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeInDown 1s 0.3s forwards;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s 0.6s forwards;
}
.hero h1 span {
  display: inline;
  background: linear-gradient(135deg, var(--gold), #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeInUp 1s 0.9s forwards;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-hero);
  background: linear-gradient(135deg, var(--gold), #FFA500);
  border-radius: 60px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s 1.2s forwards;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,215,0,0.35);
}
.cta-btn::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 60px;
  background: linear-gradient(135deg, var(--gold), #FFA500);
  opacity: 0.3;
  filter: blur(14px);
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50%      { opacity: 0.5;  transform: scale(1.05); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInUp 1s 1.8s forwards;
}
.scroll-indicator span {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0,0); opacity: 0.5; }
  50%      { transform: rotate(45deg) translate(5px,5px); opacity: 1; }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem {
  background: var(--bg-light);
  padding: var(--section-padding);
  text-align: center;
}
.problem h2 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.problem .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-body);
  margin: 0 auto 3rem;
}
.chaos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.chaos-tag {
  padding: 0.6rem 1.2rem;
  background: var(--white);
  border: 1px solid #E0E0D8;
  border-radius: 40px;
  font-size: 0.95rem;
  color: var(--text-body);
  transition: all 0.8s ease;
  animation: chaosFloat 6s ease-in-out infinite;
}
.chaos-tag:nth-child(odd)  { animation-delay: -1s; }
.chaos-tag:nth-child(3n)   { animation-delay: -2.5s; }
.chaos-tag:nth-child(4n+1) { animation-delay: -0.5s; }
@keyframes chaosFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(3px, -4px) rotate(1deg); }
  50%      { transform: translate(-2px, 3px) rotate(-0.5deg); }
  75%      { transform: translate(4px, 1px) rotate(0.5deg); }
}
.chaos-tag.dissolved {
  opacity: 0;
  transform: scale(0.5) translateY(20px) !important;
  filter: blur(4px);
  animation: none;
}
.problem .calm-text {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--teal-dark);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.8s ease 0.5s;
}
.problem .calm-text.visible {
  opacity: 1;
}

/* ============================================================
   MEET AVA
   ============================================================ */
.meet-ava {
  background: var(--bg-hero);
  padding: var(--section-padding);
  text-align: center;
  color: var(--text-light);
}
.ava-logo-reveal {
  width: 100px;
  height: 100px;
  margin: 0 auto 2.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ava-logo-reveal img {
  position: relative;
  z-index: 2;
  width: 100%;
}
/* Expanding rings */
.ava-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(204,107,151,0.2);
  animation: ringExpand 4s ease-out infinite;
}
.ava-ring--1 { animation-delay: 0s; }
.ava-ring--2 { animation-delay: 1.3s; }
.ava-ring--3 { animation-delay: 2.6s; }
@keyframes ringExpand {
  0%   { transform: scale(1); opacity: 0.6; border-color: rgba(204,107,151,0.3); }
  100% { transform: scale(2.5); opacity: 0; border-color: rgba(204,107,151,0); }
}
.ava-logo-reveal::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,107,151,0.2) 0%, transparent 70%);
  animation: logoGlow 4s ease-in-out infinite;
  z-index: 1;
}
@keyframes logoGlow {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50%      { opacity: 1;   transform: scale(1.1); }
}
.meet-ava h2 {
  margin-bottom: 3.5rem;
  color: var(--white);
}
.traits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}
.trait {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.trait-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74,138,153,0.12);
  border: 1px solid rgba(74,138,153,0.2);
  color: var(--teal-mid);
  transition: all 0.4s ease;
}
.trait:hover .trait-icon {
  background: rgba(74,138,153,0.2);
  border-color: rgba(74,138,153,0.4);
  transform: scale(1.1);
}
.trait-icon svg { display: inline; }
.trait h3 {
  color: var(--white);
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}
.trait p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* ============================================================
   ZERO SETUP (Stories)
   ============================================================ */
.zero-setup {
  background: var(--bg-cream);
  padding: var(--section-padding);
  text-align: center;
}
.zero-setup h2 {
  margin-bottom: 0.75rem;
}
.zero-setup .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-body);
  margin: 0 auto 3rem;
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto 3rem;
  text-align: left;
}
.story-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 3px solid transparent;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
  border-left-color: var(--teal-mid);
}
.story-card h3 {
  color: var(--teal-dark);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.story-card p {
  color: var(--text-body);
  font-size: 0.97rem;
  line-height: 1.65;
}
.zero-setup .closing {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--teal-dark);
  font-weight: 600;
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================================
   FAMILY
   ============================================================ */
.family {
  background: var(--bg-light);
  padding: var(--section-padding);
  text-align: center;
}
.family h2 { margin-bottom: 1rem; }
.family .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-body);
  margin: 0 auto 3rem;
  max-width: 620px;
}

/* Browser showcase */
.browser-showcase {
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.browser-frame {
  background: #1A1A2E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.25),
    0 0 0 1px rgba(255,255,255,0.08);
}
.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: #16162A;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.browser-dots {
  display: flex;
  gap: 5px;
}
.browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #333;
}
.browser-dots span:first-child { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:last-child { background: #28CA41; }
.browser-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  color: #888;
}
.browser-url svg { flex-shrink: 0; }
.browser-screen {
  background: linear-gradient(170deg, #0D1B22 0%, #142D38 100%);
  padding: 1.25rem 1.5rem 1.75rem;
  min-height: 380px;
  overflow: hidden;
}
/* Ava branding top bar inside each screen */
.browser-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ava-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}
.app-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(74,138,153,0.15);
  color: var(--teal-mid);
}
.app-badge--gold { background: rgba(255,215,0,0.12); color: var(--gold); }
.app-badge--teal { background: rgba(74,138,153,0.15); color: var(--teal-mid); }
.app-badge--rose { background: rgba(204,107,151,0.15); color: var(--rose); }
.mock-loc {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  margin-left: auto;
}
/* Two-column layout inside browser */
.browser-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.mock-greeting {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-align: left;
}
.mock-card {
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.04);
}
.mock-card-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.mock-card-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
  padding: 0.2rem 0;
}
.mock-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mock-dot--teal { background: var(--teal-mid); }
.mock-dot--rose { background: var(--rose); }
.mock-dot--gold { background: var(--gold); }
.mock-card--ava {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: rgba(204,107,151,0.08);
  border-color: rgba(204,107,151,0.12);
}
.mock-ava-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--teal-mid));
  flex-shrink: 0;
  margin-top: 2px;
}
.mock-bubble {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}
.mock-bubble strong {
  color: var(--white);
}

/* Carousel screen transitions */
.mock-screen {
  display: none;
  animation: screenFadeIn 0.5s ease forwards;
}
.mock-screen.active {
  display: block;
}
@keyframes screenFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Weather card */
.mock-card--weather {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
.weather-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.weather-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.weather-main svg { flex-shrink: 0; }
.weather-temp {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1.1;
}
.weather-desc {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.weather-trip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-align: right;
}
.weather-trip svg { flex-shrink: 0; opacity: 0.6; }
.weather-trip-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 600;
}
.weather-trip-detail {
  display: block;
  font-size: 0.65rem;
  color: var(--rose);
}

/* Article card */
.mock-card--article {
  background: rgba(74,138,153,0.08);
  border: 1px solid rgba(74,138,153,0.12);
  cursor: pointer;
}
.article-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-mid);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.article-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.article-source {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Excited Ava */
.mock-card--excited {
  background: rgba(204,107,151,0.12) !important;
  border-color: rgba(204,107,151,0.2) !important;
}
.mock-ava-avatar--excited {
  box-shadow: 0 0 0 3px rgba(204,107,151,0.3);
  animation: avatarBounce 0.6s ease infinite alternate;
}
@keyframes avatarBounce {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}

/* Stock card */
.mock-card--stock {
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.1);
  text-align: left;
}
.stock-ticker {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}
.stock-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.stock-change {
  font-size: 0.75rem;
  color: #4ADE80;
  font-weight: 600;
}
.stock-chart {
  height: 40px;
  opacity: 0.8;
}
.stock-chart svg {
  width: 100%;
  height: 100%;
}

/* Gentle / wellness card */
.mock-card--gentle {
  background: rgba(74,138,153,0.08) !important;
  border-color: rgba(74,138,153,0.15) !important;
}

/* Action buttons */
.mock-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.mock-action-btn {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: default;
}
.mock-action-btn--primary {
  background: rgba(74,138,153,0.2);
  color: var(--teal-mid);
  border-color: rgba(74,138,153,0.25);
}

/* Location in status bar */
.mock-loc {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.carousel-user {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.03em;
}
.carousel-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D0D0C8;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.carousel-dot.active {
  background: var(--teal-mid);
  transform: scale(1.2);
}

/* Packing list card */
.mock-card--list {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
.mock-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mock-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
}
.check-box {
  width: 14px; height: 14px;
  border-radius: 3px;
  border: 1.5px solid rgba(74,138,153,0.4);
  flex-shrink: 0;
}

/* Dashboard progress bars */
.mock-card--dashboard {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
.dash-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.dash-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  width: 52px;
  flex-shrink: 0;
}
.dash-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.dash-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--teal-mid);
  transition: width 1s ease;
}
.dash-fill--teal { background: var(--teal-mid); }
.dash-fill--gold { background: var(--gold); }
.dash-fill--rose { background: var(--rose); }
.dash-val {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

/* App showcase heading */
.apps-heading {
  text-align: center;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}
.apps-sub {
  text-align: center;
  color: var(--text-body);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.app-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.app-tile span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-dark);
}
.app-tile-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
}
.app-tile-icon svg { display: inline; }
.app-tile--more {
  background: var(--bg-cream);
  justify-content: center;
  border: 1px dashed #D0CFC8;
  box-shadow: none;
}
.app-tile--more span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.family .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--teal-dark);
  font-weight: 600;
}

/* ============================================================
   DIFFERENT
   ============================================================ */
.different {
  background: var(--bg-hero);
  padding: var(--section-padding);
  text-align: center;
  color: var(--text-light);
}
.different h2 {
  color: var(--white);
  margin-bottom: 3rem;
}
.contrast-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contrast-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(74,138,153,0.15);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.contrast-item:last-child { border-bottom: none; }
.contrast-item:hover { color: var(--text-light); }
.contrast-item strong {
  color: var(--white);
  font-weight: 600;
}

/* ============================================================
   VISION / FOUNDER
   ============================================================ */
.vision {
  background: var(--bg-cream);
  padding: var(--section-padding);
}
.vision .container {
  max-width: 900px;
}
.vision h2 {
  text-align: center;
  margin-bottom: 3rem;
}
.vision-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.vision-body {
  font-size: clamp(1.02rem, 2vw, 1.12rem);
  color: var(--text-body);
  line-height: 1.8;
}
.vision-body p {
  margin-bottom: 1.5rem;
  max-width: 100%;
}
.vision-body .highlight {
  color: var(--teal-dark);
  font-weight: 600;
}
.vision-quote {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--rose);
  background: rgba(204,107,151,0.05);
  border-radius: 0 12px 12px 0;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--teal-dark);
  font-style: italic;
}

/* Press badge — visual anchor for credibility */
.vision-image-placeholder {
  position: sticky;
  top: 2rem;
}
.vision-press-badge {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.vision-press-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-mid), var(--rose));
}
.press-quote-mark {
  display: block;
  font-size: 4rem;
  line-height: 1;
  color: var(--rose);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: -0.5rem;
}
.press-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.press-title {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal-dark);
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.press-context {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   EARLY ACCESS CTA
   ============================================================ */
.early-access {
  background: linear-gradient(170deg, var(--bg-hero) 0%, #142D38 100%);
  padding: var(--section-padding);
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
  position: relative;
}
/* Subtle ambient orb in CTA */
.early-access::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.06) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orbFloat3 12s ease-in-out infinite;
  pointer-events: none;
}
.early-access h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.early-access .lead {
  color: var(--text-muted);
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}
.signup-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}
.signup-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(74,138,153,0.3);
  border-radius: 60px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.signup-form input[type="email"]::placeholder {
  color: var(--text-muted);
}
.signup-form input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.1);
}
.signup-form .cta-btn {
  opacity: 1;
  animation: none;
  padding: 0.9rem 2rem;
  font-size: 1rem;
}
.form-note {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.form-success {
  display: none;
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1rem;
}
.form-success.show {
  display: block;
  animation: fadeInUp 0.6s forwards;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-hero);
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(74,138,153,0.1);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { margin-top: 0.5rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero { min-height: 90vh; }
  .hero-logo { width: 130px; }
  .hero-orb--teal { width: 300px; height: 300px; }
  .hero-orb--rose { width: 250px; height: 250px; }
  .hero-orb--gold { width: 200px; height: 200px; }
  .traits { gap: 2rem; }
  .trait { flex-direction: column; text-align: center; align-items: center; }
  .stories-grid { grid-template-columns: 1fr; }
  .vision-layout { grid-template-columns: 1fr; }
  .vision-image-placeholder { position: static; max-width: 280px; margin: 2rem auto 0; }
  .browser-showcase { max-width: 100%; }
  .browser-columns { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
  .signup-form { flex-direction: column; align-items: center; }
  .signup-form input[type="email"] { width: 100%; }
  .signup-form .cta-btn { width: 100%; text-align: center; }
  .wave-divider svg { height: 50px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.5rem; }
  .chaos-grid { gap: 0.5rem; }
  .chaos-tag { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
  .device-mockup { max-width: 260px; }
}
