/* ─── KITE-SPECIFIC STYLES ─── */

/* Hero gradient */
.hero {
  background: linear-gradient(135deg, var(--kite) 0%, var(--kite-light) 100%);
}

/* Dashboard showcase */
.dashboard-showcase {
  background: linear-gradient(180deg, #0a1628 0%, #1a2942 100%);
  color: var(--paper);
}

.dashboard-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(2, 131, 145, 0.15), transparent 70%);
  pointer-events: none;
}

.showcase-header .mono { color: #06b6d4; }

/* Tier nav */
.tier-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.tier-nav-btn {
  padding: 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(244, 241, 235, 0.7);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Outfit', sans-serif;
}

.tier-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 182, 212, 0.4);
}

.tier-nav-btn.active {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  border-color: #06b6d4;
  color: white;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.tier-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #10b981;
  color: white;
  font-size: 0.7rem;
  border-radius: 12px;
  margin-left: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tier-view { display: none; animation: fadeIn 0.5s ease-in; }
.tier-view.active { display: block; }

/* Kite dash‐logo colour */
.dash-logo { background: linear-gradient(135deg, #06b6d4, #0891b2); }

/* Mini progress bar */
.progress-bar-mini {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill-mini {
  height: 100%;
  background: linear-gradient(90deg, #06b6d4, #0891b2);
  border-radius: 3px;
  transition: width 1.5s ease-out;
}

.progress-fill-mini.success { background: linear-gradient(90deg, #10b981, #059669); }

/* ─── VALUE PROPOSITION ─── */
.value-prop { background: white; }

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.value-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.value-text p { margin-bottom: 1.5rem; }

.value-highlight {
  background: var(--kite);
  color: var(--paper);
  padding: 3rem;
  border-radius: 2px;
}

.value-highlight h3 {
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.value-list { list-style: none; margin-top: 1.5rem; }

.value-list li {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.7;
}

.value-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-weight: 500;
}

/* ─── INTELLIGENCE CATEGORIES ─── */
.intelligence { background: var(--paper-warm); }

.intel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.intel-card {
  background: white;
  padding: 2.5rem;
  border-left: 3px solid var(--kite);
  transition: transform 0.3s, box-shadow 0.3s;
}

.intel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(1, 32, 78, 0.1);
}

.intel-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--kite), var(--kite-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.intel-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--kite); }
.intel-card p  { color: var(--slate); line-height: 1.7; margin-bottom: 1.25rem; }
.intel-card ul { list-style: none; margin-top: 1rem; }

.intel-card li {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  position: relative;
  color: var(--slate);
  font-size: 0.95rem;
}

.intel-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--kite-light);
}

/* ─── USE CASES ─── */
.use-cases { background: var(--ink); color: var(--paper); }
.use-cases .mono { color: var(--gold-light); }
.use-cases h2 { color: var(--paper); }

.use-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.use-case {
  padding: 2.5rem;
  background: rgba(244, 241, 235, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.use-case-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.875rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.use-case h3 { color: var(--paper); margin-bottom: 1.25rem; }
.use-case p  { color: rgba(244, 241, 235, 0.85); line-height: 1.8; margin-bottom: 1.5rem; }

.use-case-details {
  list-style: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.use-case-details li {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  color: rgba(244, 241, 235, 0.75);
}

.use-case-details li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-light); }

/* ─── FEATURES (kite layout) ─── */
.features { background: white; }

.feature-sections { margin-top: 3rem; }

.feature-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-section:last-child { border-bottom: none; }

.feature-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.feature-title {
  position: sticky;
  top: 120px;
  align-self: start;
}

.feature-title h3 { color: var(--kite); margin-bottom: 1rem; }
.feature-title .mono { color: var(--kite-light); margin-bottom: 0.5rem; display: block; }

.feature-content p { font-size: 1.05rem; line-height: 1.8; color: var(--slate); margin-bottom: 1.5rem; }

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background: var(--paper-warm);
  padding: 1.75rem;
  border-left: 2px solid var(--kite-light);
}

.feature-item h4 { color: var(--kite); margin-bottom: 0.75rem; font-size: 1.15rem; }
.feature-item p  { font-size: 0.95rem; color: var(--slate); line-height: 1.6; }

/* ─── MARKETS (kite) ─── */
.markets { background: var(--paper-warm); }

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.market-card {
  background: white;
  padding: 2.5rem;
  border-top: 3px solid var(--kite);
}

.market-flag { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.market-card h3  { color: var(--kite); margin-bottom: 1.25rem; }
.market-card p   { color: var(--slate); line-height: 1.7; margin-bottom: 1.25rem; }

.market-stats {
  list-style: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.market-stats li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.market-stats .stat-label { color: var(--slate); }

.market-stats .stat-value {
  font-family: 'DM Mono', monospace;
  color: var(--kite);
  font-weight: 400;
}

/* ─── PLATFORM TECH ─── */
.platform {
  background: linear-gradient(135deg, var(--kite) 0%, var(--kite-light) 100%);
  color: var(--paper);
}

.platform .mono { color: var(--gold-light); }
.platform h2    { color: var(--paper); }

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.platform-feature {
  background: rgba(244, 241, 235, 0.05);
  padding: 2.5rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.platform-feature h3 { color: var(--gold-light); margin-bottom: 1.25rem; }
.platform-feature p  { color: rgba(244, 241, 235, 0.85); line-height: 1.8; }
.platform-feature ul { list-style: none; margin-top: 1.5rem; }

.platform-feature li {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  color: rgba(244, 241, 235, 0.75);
}

.platform-feature li::before { content: '→'; position: absolute; left: 0; color: var(--gold-light); }

/* ─── KITE CTA ─── */
.cta {
  background: var(--ink);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button.secondary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.cta-button.secondary:hover { background: rgba(201, 168, 76, 0.1); }

/* ─── KITE COUNTRY INTELLIGENCE DASHBOARD ─── */
.country-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.country-flag { font-size: 3rem; }

.country-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.country-subtitle { font-size: 0.95rem; color: #64748b; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.info-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.info-item:last-child { border-bottom: none; }

.info-label { color: #64748b; }
.info-value { font-weight: 500; color: #0f172a; }

.info-badge {
  padding: 0.2rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-green  { background: #d1fae5; color: #065f46; }
.badge-blue   { background: #dbeafe; color: #1e40af; }
.badge-amber  { background: #fef3c7; color: #92400e; }
.badge-teal   { background: #cffafe; color: #155e75; }

.tariff-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.tariff-row:last-child { border-bottom: none; }
.tariff-hs    { font-family: 'DM Mono', monospace; color: #64748b; font-size: 0.8rem; }
.tariff-desc  { color: #0f172a; flex: 1; padding: 0 1rem; }
.tariff-rate  { font-weight: 600; color: #06b6d4; font-size: 0.85rem; }

/* ─── RESPONSIVE KITE ─── */
@media (max-width: 968px) {
  .value-grid,
  .use-case-grid,
  .platform-grid,
  .feature-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-list { grid-template-columns: 1fr; }
  .feature-title { position: static; }
  .info-grid { grid-template-columns: 1fr; }
}
