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

:root {
  --bg: #0a0a0f;
  --bg-2: #111118;
  --bg-3: #18181f;
  --amber: #F59E0B;
  --amber-dim: #B47206;
  --ember: #EA580C;
  --text: #F4F4F0;
  --text-2: #999999;
  --text-3: #666666;
  --border: rgba(245, 158, 11, 0.12);
  --border-bright: rgba(245, 158, 11, 0.3);
  --font-display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--border);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 2.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 10ch;
  margin-bottom: 2rem;
  color: var(--text);
}

.hero-highlight {
  color: var(--amber);
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-2);
  max-width: 52ch;
  line-height: 1.7;
}

/* === PROBLEM === */
.problem {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8rem 4rem;
}

.problem-inner { max-width: 1200px; margin: 0 auto; }

.problem-label, .solution-label, .arch-label, .outcomes-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.problem-headline {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.problem-stat {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}

.stat-source {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 0.5rem;
}

.problem-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s;
}

.problem-card:hover { border-color: var(--border-bright); }

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-body {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* === SOLUTION === */
.solution { padding: 8rem 4rem; }
.solution-inner { max-width: 1200px; margin: 0 auto; }

.solution-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
  line-height: 1.15;
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.solution-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}

.solution-card:hover { background: var(--bg-2); }

.sol-icon {
  width: 48px;
  height: 48px;
  background: var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.sol-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.sol-body {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* === ARCHITECTURE === */
.architecture {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 8rem 4rem;
}

.arch-inner { max-width: 1200px; margin: 0 auto; }

.arch-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.arch-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: 5rem;
  line-height: 1.7;
}

.arch-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.arch-pillar {
  padding: 3rem 2rem;
  border-right: 1px solid var(--border);
  background: var(--bg);
}

.arch-pillar:last-child { border-right: none; }

.pillar-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber-dim);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--amber);
}

.pillar-body {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* === OUTCOMES === */
.outcomes { padding: 8rem 4rem; }
.outcomes-inner { max-width: 1200px; margin: 0 auto; }

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.outcome { text-align: center; }

.outcome-metric {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.outcome-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 10rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }

.closing-sun {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.sun-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.08);
}

.sun-ring-1 { width: 200px; height: 200px; }
.sun-ring-2 { width: 380px; height: 380px; }
.sun-ring-3 { width: 560px; height: 560px; }

.sun-core {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--amber) 0%, var(--ember) 100%);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(245,158,11,0.3);
}

.closing-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.closing-body {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 52ch;
  margin: 0 auto 3rem;
}

.closing-founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.founder-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.founder-title {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* === FOOTER === */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.05em;
  background: var(--border);
  border: 1px solid var(--border-bright);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-tagline {
  color: var(--text-3);
  font-size: 0.875rem;
  margin-left: auto;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-3);
}

.footer-sep { color: var(--text-3); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { padding: 6rem 1.5rem 4rem; }
  .problem { padding: 5rem 1.5rem; }
  .solution { padding: 5rem 1.5rem; }
  .architecture { padding: 5rem 1.5rem; }
  .outcomes { padding: 5rem 1.5rem; }
  .closing { padding: 6rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }

  .problem-grid { grid-template-columns: 1fr; }
  .problem-stat { grid-template-columns: 1fr; }

  .solution-cards { grid-template-columns: 1fr; }

  .arch-pillars { grid-template-columns: 1fr 1fr; }
  .arch-pillar:nth-child(2) { border-right: none; }

  .outcomes-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { flex-wrap: wrap; }
  .footer-tagline { margin-left: 0; width: 100%; }
}

@media (max-width: 600px) {
  .arch-pillars { grid-template-columns: 1fr; }
  .arch-pillar { border-right: none; border-bottom: 1px solid var(--border); }
  .arch-pillar:last-child { border-bottom: none; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .footer-meta { display: none; }
}