/* Homepage sections and their compositions. */
.icon-sprite { display: none; }

/* ══════════════════════════════════════
   HOMEPAGE-SPECIFIC DESIGN TOKENS
   ══════════════════════════════════════ */
:root {
  --gradient-section: linear-gradient(180deg, var(--bg) 0%, #0d1225 100%);
}

/* ══════════════════════════════════════
   BASE OVERRIDES
   ══════════════════════════════════════ */
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ══════════════════════════════════════
   SHARED COMPONENT: CARD
   ══════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.card--lg { border-radius: 20px; }

.card h4 { margin-bottom: 10px; }

.card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ══════════════════════════════════════
   SHARED PATTERNS
   ══════════════════════════════════════ */
section + section { border-top: 1px solid var(--border); }

.solution { background: var(--gradient-section); }

.benefit-item, .team-card { text-align: center; }

.problem-stats, .solution-grid, .team-grid, .advisory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card { padding: 36px 28px; }

.chaos-callout .big-number {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -2px;
}

.section-label {
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green);
}

/* ══════════════════════════════════════
   SECTION DEFAULTS
   ══════════════════════════════════════ */
section { padding: 100px 0; }

.section-label {
  font-size: 0.8rem;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.section-icon {
  height: 1.3em;
  width: auto;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.85;
  display: inline-block;
  mix-blend-mode: screen;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 56px;
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6,214,160,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,97,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; padding: 0 32px; }

.hero .hero-logo {
  max-width: 480px;
  width: 85%;
  height: auto;
  margin-bottom: 8px;
}

.hero .tagline {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero .subtitle {
  font-size: 1.0rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
  font-weight: 400;
}

/* ══════════════════════════════════════
   PROBLEM
   ══════════════════════════════════════ */
.problem-stats { margin-bottom: 48px; }

.stat-card { padding: 16px 18px 14px; }

.stat-card .stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
}

.stat-icon--red { background: var(--red-dim); }

.stat-icon--purple { background: var(--purple-dim); }

.stat-icon--green { background: var(--green-dim); }

.stat-card h4 { font-size: 1.05rem; }

.stat-card p { font-size: 0.9rem; }

.chaos-callout {
  background: linear-gradient(135deg, rgba(123,97,255,0.1) 0%, rgba(6,214,160,0.05) 100%);
  border: 1px solid rgba(123,97,255,0.2);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.chaos-callout .big-number {
  font-size: clamp(1.75rem, 8vw, 4rem);
  color: var(--purple);
  white-space: nowrap;
}

.chaos-callout .chaos-text h4 { font-size: 1.2rem; margin-bottom: 8px; }

.chaos-callout .chaos-text p { color: var(--text-secondary); font-size: 0.95rem; }

/* ══════════════════════════════════════
   SOLUTION
   ══════════════════════════════════════ */
.solution-grid { margin-bottom: 64px; }

.solution-card { position: relative; overflow: hidden; }

.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  opacity: 0.6;
}

.solution-card .card-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(6,214,160,0.15);
  margin-bottom: 12px;
}

.solution-card h4 { font-size: 1.1rem; margin-bottom: 12px; }

.solution-card p { font-size: 0.9rem; line-height: 1.6; }

.comparison {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: stretch;
}

.compare-col { padding: 36px 32px; }

.compare-col.today { border-color: rgba(255,80,80,0.2); }

.compare-col.future { border-color: rgba(6,214,160,0.25); }

.compare-col h4 {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.compare-col.today h4 { color: var(--red); }

.compare-col.future h4 { color: var(--green); }

.compare-item { margin-bottom: 20px; }

.compare-item h5 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }

.compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   PRODUCT SCREENSHOT
   ══════════════════════════════════════ */
.product-shot { text-align: center; }

.product-gallery {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}

.phone-shot { margin: 0; min-width: 0; }

.phone-frame {
  display: inline-block;
  border-radius: 28px;
  border: 3px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  max-width: 240px;
  width: 100%;
}

.phone-label {
  margin-bottom: 14px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.phone-label--green { color: var(--green); }

.phone-label--purple { color: var(--purple); }

.phone-label--amber { color: var(--amber); }

.phone-frame img { display: block; width: 100%; height: auto; }

.desktop-shot { margin: 64px auto 0; max-width: 1000px; }

.desktop-frame {
  border-radius: 14px;
  border: 3px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
}

.desktop-frame img { display: block; width: 100%; height: auto; }

.product-shot .caption {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ══════════════════════════════════════
   BENEFITS & TESTIMONIALS
   ══════════════════════════════════════ */
.benefits-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.benefit-item { padding: 28px 16px; }

.benefit-item .b-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.2rem;
  background: var(--green-dim);
}

.benefit-item h5 { font-size: 0.85rem; font-weight: 600; }

.testimonial { padding: 44px 48px; position: relative; }

.testimonial::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--green);
  opacity: 0.2;
  position: absolute;
  top: 12px; left: 32px;
  line-height: 1;
}

.testimonial blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-left: 8px;
}

.testimonial .attribution { font-size: 0.85rem; color: var(--text-muted); }

.testimonial .attribution strong { color: var(--text-primary); font-weight: 600; }

.team .testimonial { margin-top: 40px; }

/* ══════════════════════════════════════
   TEAM
   ══════════════════════════════════════ */
.team-grid { margin-bottom: 64px; }

.team-card { padding: 32px 28px; }

.team-card .avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: block;
  object-fit: cover;
}

.adv-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin-bottom: 14px;
  object-fit: cover;
  display: block;
}

.team-card h4 { font-size: 1.05rem; margin-bottom: 4px; }

.team-link { color: var(--text-primary); text-decoration: none; transition: color 0.2s; }

.team-link:hover { color: var(--green); }

.li-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  color: var(--text-muted);
  fill: currentColor;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}

.team-link:hover .li-icon { opacity: 1; color: #0a66c2; }

.team-card .role {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.team-card .credential { font-size: 0.8rem; }

.advisory-label {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
  font-family: var(--font-heading);
}

.advisory-grid { gap: 20px; }

.adv-card { padding: 28px 24px; }

.adv-card h5 { font-size: 0.95rem; margin-bottom: 4px; }

.adv-card .adv-title { font-size: 0.8rem; color: var(--green); font-weight: 500; margin-bottom: 8px; }

.adv-card p { font-size: 0.8rem; }

/* ══════════════════════════════════════
   CTA / FOOTER
   ══════════════════════════════════════ */
.cta {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, #0d1225 0%, var(--bg) 100%);
}

.cta h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -1px; }

.cta p { color: var(--text-secondary); margin-bottom: 32px; font-size: 1.05rem; }

.cta-links { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }

.cta-links a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.cta-links a:hover { opacity: 0.8; }

.footer-legal {
  margin-top: 2.5rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

.footer-legal a { color: rgba(255,255,255,0.7); text-decoration: underline; }

.footer-legal a:hover { color: #fff; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 900px) {
.product-gallery { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }

.section-title { font-size: 2rem; }

.problem-stats, .solution-grid, .team-grid, .advisory-grid { grid-template-columns: 1fr; }

.benefits-row { grid-template-columns: repeat(3, 1fr); }

.comparison { grid-template-columns: 1fr; gap: 16px; }

.compare-arrow { transform: rotate(90deg); }

.chaos-callout { flex-direction: column; text-align: center; }

.tl-item:nth-child(even) { flex-direction: row; }

}

@media (max-width: 640px) {
.product-gallery { gap: 28px 16px; }

.phone-label { font-size: 0.7rem; letter-spacing: 0.5px; margin-bottom: 10px; }

.desktop-shot { margin-top: 48px; }

.desktop-frame { border-radius: 8px; border-width: 2px; }

.cta-links { flex-direction: column; gap: 12px; }

.benefits-row { grid-template-columns: repeat(2, 1fr); }

section { padding: 64px 0; }

.container { padding: 0 20px; }

}
