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

:root {
  --bg: #F8F6F1;
  --bg-warm: #F4F1EB;
  --fg: #1A1A18;
  --fg-muted: #6B6B66;
  --accent: #F5A623;
  --accent-dark: #D4891A;
  --green: #0D4F3C;
  --green-light: #0F6B4E;
  --green-pale: #E8F0EC;
  --telco: #3B82F6;
  --banking: #0D4F3C;
  --finance: #8B5CF6;
  --insurance: #EC4899;
  --border: #E2DED5;
  --card: #FFFFFF;
  --radius: 12px;
  --radius-sm: 6px;
}

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

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

h1, h2, h3, h4 { font-family: 'DM Serif Display', serif; font-weight: 400; line-height: 1.15; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 241, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--green);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

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

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(13, 79, 60, 0.08) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 20% 80%, rgba(245, 166, 35, 0.06) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.6) 80%, transparent);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape-1 {
  position: absolute;
  top: 15%;
  right: 5%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.12) 0%, transparent 70%);
}

.shape-2 {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 79, 60, 0.1) 0%, transparent 70%);
}

.shape-3 {
  position: absolute;
  top: 40%;
  right: 25%;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(245, 166, 35, 0.2);
  border-radius: 16px;
  transform: rotate(25deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text { }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.eyebrow-tag { background: var(--green-pale); color: var(--green); padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; }
.eyebrow-divider { opacity: 0.3; }

.hero-text h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat { }

.stat-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Hero Visual ── */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.data-stream {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.stream-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.stream-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  animation: stream-in 0.5s ease-out forwards;
  opacity: 0;
}

.stream-row:last-child { border-bottom: none; }

@keyframes stream-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.stream-row:nth-child(1) { animation-delay: 0.1s; }
.stream-row:nth-child(2) { animation-delay: 0.2s; }
.stream-row:nth-child(3) { animation-delay: 0.3s; }
.stream-row:nth-child(4) { animation-delay: 0.4s; }
.stream-row:nth-child(5) { animation-delay: 0.5s; }
.stream-row:nth-child(6) { animation-delay: 0.6s; }

.stream-bar {
  width: 4px;
  height: 28px;
  border-radius: 2px;
  flex-shrink: 0;
}

.bar-1 { background: var(--telco); }
.bar-2 { background: var(--banking); }
.bar-3 { background: var(--insurance); }
.bar-4 { background: var(--finance); }
.bar-5 { background: var(--telco); }
.bar-6 { background: var(--banking); }

.stream-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-new { background: #22C55E; }
.dot-update { background: var(--accent); }
.dot-alert { background: #EF4444; }

.stream-text {
  font-size: 0.78rem;
  color: var(--fg-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-boards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.board {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.board-header {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 10px;
}

.board-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(226, 222, 213, 0.5);
  font-size: 0.8rem;
}

.board-item:last-child { border-bottom: none; }
.board-item span:first-child { font-size: 0.9rem; }
.board-item span:nth-child(2) { color: var(--fg); font-weight: 500; flex: 1; }
.board-count {
  font-size: 0.72rem !important;
  color: var(--fg-muted) !important;
  font-weight: 400 !important;
}

/* ── Platform Section ── */
.platform {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}

.platform-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.platform-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.platform h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--fg);
  margin-bottom: 16px;
}

.platform-desc {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 580px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.platform-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.pillar-icon {
  margin-bottom: 16px;
}

.pillar h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── Features Section ── */
.features {
  padding: 96px 0;
  background: var(--bg-warm);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

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

.features-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.features-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--fg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.feature-category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.feature-telco .feature-category { color: var(--telco); }
.feature-banking .feature-category { color: var(--banking); }
.feature-finance .feature-category { color: var(--finance); }
.feature-insurance .feature-category { color: var(--insurance); }

.feature-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-muted);
  padding: 6px 10px;
  background: var(--bg-warm);
  border-radius: 20px;
  display: inline-block;
}

/* ── Principles Section ── */
.principles {
  padding: 96px 0;
  background: var(--green);
}

.principles-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.principles-left .principles-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.principles-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #FFFFFF;
  margin-bottom: 16px;
}

.principles-left p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.principle {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.principle:last-child { border-bottom: none; }

.principle-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 36px;
}

.principle-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.principle-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ── Markets Section ── */
.markets {
  padding: 96px 0;
  background: var(--card);
  border-top: 1px solid var(--border);
}

.markets-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.markets-header {
  text-align: center;
  margin-bottom: 56px;
}

.markets-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--fg);
  margin-bottom: 12px;
}

.markets-header p {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.markets-map {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.map-region {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.region-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.region-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}

.region-count {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.region-countries {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.country {
  display: grid;
  grid-template-columns: 1fr auto auto 60px;
  align-items: center;
  gap: 8px;
}

.country-name { font-size: 0.85rem; font-weight: 500; color: var(--fg); }
.country-flag { font-size: 0.9rem; }
.country-num { font-size: 0.75rem; color: var(--fg-muted); font-weight: 500; min-width: 36px; text-align: right; }

.country-bar {
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.7;
}

.market-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* ── Closing Section ── */
.closing {
  padding: 112px 0;
  background: var(--fg);
  text-align: center;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.closing h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: #FFFFFF;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.closing p {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 40px;
}

.closing-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.closing-tags span {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* ── Footer ── */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green);
  margin-bottom: 8px;
}

.footer-left p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  max-width: 280px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.footer-link {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.footer-link a {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}

.footer-link a:hover { text-decoration: underline; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px 0;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* ── Mobile Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-pillars { grid-template-columns: 1fr; gap: 32px; }
  .principles-inner { grid-template-columns: 1fr; gap: 48px; }
  .markets-map { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-text h1 { font-size: 2.4rem; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 20px; }
  .hero { padding: 56px 0 72px; }
  .hero-inner { padding: 0 20px; }
  .platform-inner, .features-inner, .markets-inner { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .footer-inner { flex-direction: column; }
  .footer-right { align-items: flex-start; }
}
