/* ============================================
   MARKETING CHOWK — DESIGN SYSTEM
   Aesthetic: Precision Performance | Dark/Green
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* ── Backgrounds ── */
  --bg:         #0A0A0F;
  --bg2:        #111118;
  --bg3:        #18181F;

  /* ── Primary: Logo Red ── */
  --primary:    #D02020;
  --primary-d:  #B01A1A;
  --primary-dd: #8B1010;

  /* ── Accent: Logo Green ── */
  --accent:     #10A040;
  --accent-d:   #0D8035;

  /* ── Neutrals ── */
  --white:      #FFFFFF;
  --muted:      #6B7280;
  --muted2:     #A0A0B0;

  /* ── Borders & Glow ── */
  --border:     rgba(208,32,32,.2);
  --border2:    rgba(208,32,32,.08);
  --glow:       0 0 40px rgba(208,32,32,.2);

  /* ── Typography: Inter ── */
  --font-d:     'Inter', sans-serif;
  --font-b:     'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ──────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

/* ─── NOISE TEXTURE ──────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7,11,9,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
}

.nav-logo {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span { color: var(--primary); }
.nav-logo .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; display: inline-block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-links a {
  color: var(--muted2);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  padding: 8px 16px;
  transition: color .2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 16px; right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::before {
  content: '▾';
  margin-left: 4px;
  font-size: .7rem;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--muted2);
  font-size: .85rem;
  border-radius: 8px;
  transition: all .15s;
}
.dropdown-menu a:hover {
  background: rgba(16,160,64,.08);
  color: var(--accent);
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 8px;
  font-size: .85rem !important;
  transition: all .2s !important;
}
.nav-cta:hover {
  background: var(--primary-d) !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-ham span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--bg2);
  z-index: 99;
  padding: 24px 5%;
  overflow-y: auto;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--muted2);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border2);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mob-section {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  padding-top: 16px;
}

/* ─── FOOTER ─────────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 5% 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--muted2);
  font-size: .9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.social-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted2);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  transition: all .2s;
}
.social-icon:hover { border-color: var(--accent); color: var(--accent); background: rgba(16,160,64,.05); }

.footer-col h4 {
  font-family: var(--font-d);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--muted2);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: var(--muted); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: .82rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ─── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.1; font-weight: 800; letter-spacing: -0.5px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), #FCD34D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted2);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-b);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: #0D8035; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(208,32,32,.3); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: rgba(16,160,64,.05); }

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-d); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(249,115,22,.3); }

/* ─── CARDS ──────────────────────────────────── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 32px;
  transition: all .25s;
}
.card:hover {
  border-color: rgba(16,160,64,.3);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(16,160,64,.1);
}

/* ─── BADGE ──────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  background: rgba(16,160,64,.1);
  color: var(--accent);
  border: 1px solid rgba(16,160,64,.2);
}
.badge-orange {
  background: rgba(249,115,22,.1);
  color: var(--accent);
  border-color: rgba(249,115,22,.2);
}

/* ─── GRID HELPERS ───────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.pt { padding-top: 70px; }
section { padding: 96px 5%; }
section.tight { padding: 64px 5%; }

/* ─── STAT ───────────────────────────────────── */
.stat-val span { color: var(--accent); }
.stat-val {
  font-family: var(--font-d);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-lbl { font-size: .85rem; color: var(--muted2); margin-top: 4px; }

/* ─── TICKER ─────────────────────────────────── */
.ticker-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; background: var(--bg2); }
.ticker-inner { display: flex; gap: 48px; width: max-content; animation: ticker 30s linear infinite; }
.ticker-wrap:hover .ticker-inner { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: .85rem; font-weight: 600; color: var(--muted2); }
.ticker-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── GRID LINES BG ──────────────────────────── */
.grid-bg {
  position: relative;
}
.grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(208,32,32,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208,32,32,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.grid-bg > * { position: relative; z-index: 1; }

/* ─── HIGHLIGHT LINE ─────────────────────────── */
.hl { display: block; width: 48px; height: 4px; background: linear-gradient(90deg, #D02020, #10A040); border-radius: 2px; margin-bottom: 24px; }

/* ─── INDUSTRY ICON ──────────────────────────── */
.icon-box {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(16,160,64,.06);
  border: 1px solid rgba(16,160,64,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all .2s;
}
.card:hover .icon-box { background: rgba(16,160,64,.12); border-color: var(--accent); }

/* ─── ANIM HELPERS ───────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── FORM ───────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-b);
  font-size: .95rem;
  transition: border-color .2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
}
.form-group select option { background: var(--bg2); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-ham { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 5%; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
