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

:root {
  --bg: #faf7f4;
  --bg-dark: #0f172a;
  --fg: #0f172a;
  --fg-muted: #64748b;
  --accent: #e8440a;
  --accent-warm: #f97316;
  --surface: #ffffff;
  --border: #e2e8f0;
  --panel-bg: #1e293b;
  --panel-fg: #f8fafc;
  --panel-muted: #94a3b8;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--fg);
  letter-spacing: -0.5px;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 48px 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  color: var(--fg);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff5f0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid #fed7c8;
}

/* === HERO PANEL (Dashboard Mock) === */
.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-panel {
  background: var(--panel-bg);
  border-radius: 16px;
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.15);
}

.panel-header {
  background: #263347;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }

.panel-title {
  font-size: 12px;
  color: var(--panel-muted);
  margin-left: 8px;
  font-family: 'DM Sans', sans-serif;
}

.panel-body {
  padding: 20px;
}

.panel-row {
  margin-bottom: 20px;
}

.panel-label {
  font-size: 12px;
  color: var(--panel-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.panel-val {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--panel-fg);
  margin-bottom: 8px;
}

.panel-bar {
  height: 4px;
  background: #334155;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 1s ease;
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--panel-muted);
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #28c840;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === STATS === */
.stats-section {
  background: var(--bg-dark);
  padding: 56px 48px;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: #f8fafc;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-desc {
  font-size: 14px;
  color: #94a3b8;
  max-width: 180px;
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: #334155;
}

/* === FEATURES === */
.features {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 56px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.features-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -1px;
  max-width: 560px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
}

.feature-card:hover { background: #fff; }

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff5f0;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid #fed7c8;
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === PHILOSOPHY === */
.philosophy {
  background: var(--bg);
  padding: 96px 48px;
  border-top: 1px solid var(--border);
}

.philosophy-inner {
  max-width: 760px;
  margin: 0 auto;
}

.philosophy-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.philosophy-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.25;
  color: var(--fg);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.philosophy-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.philosophy-rule {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 40px;
}

.solution-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.solution-text {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--fg);
  line-height: 1.5;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--accent);
  padding: 80px 48px;
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -1px;
}

/* === FOOTER === */
.footer {
  background: var(--bg-dark);
  padding: 48px;
  text-align: center;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #f8fafc;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.footer-sub {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 32px;
}

.footer-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 24px;
}

.footer-tagline {
  font-size: 13px;
  color: #475569;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 40px;
  }
  .hero-right { justify-content: flex-start; }
  .hero-panel { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .features { padding: 64px 24px; }
  .stats-grid { gap: 24px; }
  .stat-divider { display: none; }
  .philosophy { padding: 64px 24px; }
  .manifesto { padding: 56px 24px; }
  .navbar { padding: 16px 24px; }
}

@media (max-width: 480px) {
  .stat-number { font-size: 36px; }
  .hero-headline { font-size: 32px; }
  .manifesto-text { font-size: 24px; }
}
