/* ===== DUBAI ANC — Landing Page ===== */

:root {
  --bg: #060c18;
  --bg2: #0b1220;
  --bg3: #0e1830;
  --panel: #0f1a2e;
  --text: #e8eefc;
  --muted: #8a95b0;
  --accent: #6ea8fe;
  --accent2: #4f8cff;
  --accent-glow: rgba(110,168,254,.15);
  --green: #39d98a;
  --green-glow: rgba(57,217,138,.12);
  --border: rgba(255,255,255,.07);
  --radius: 16px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(110,168,254,.2); border-radius: 10px; }
::selection { background: rgba(110,168,254,.3); color: #fff; }

/* --- Particles --- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all .3s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(6,12,24,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--accent);
}
.nav-logo span { color: var(--text); font-weight: 700; }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width .3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 8px 20px;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(110,168,254,.3);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
}
.nav-cta:hover { background: rgba(110,168,254,.25); transform: translateY(-1px); }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all .3s;
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 9px; }
.nav-burger span:nth-child(3) { top: 18px; }
.nav-burger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(6,12,24,.95);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--text); }

/* --- Buttons --- */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .3s;
  box-shadow: 0 4px 24px rgba(110,168,254,.25);
  position: relative;
  overflow: hidden;
}
.btn-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(110,168,254,.35); }
.btn-main:hover::before { opacity: 1; }
.btn-main:active { transform: translateY(0) scale(.98); }
.btn-wide { width: 100%; max-width: 320px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
}
.btn-outline:hover { border-color: rgba(110,168,254,.4); background: rgba(110,168,254,.06); transform: translateY(-2px); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; max-width: 580px; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-glow);
  border: 1px solid rgba(57,217,138,.25);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 50%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-visual {
  flex: 1;
  max-width: 540px;
}
.hero-img-wrapper {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(16,31,58,.4);
  position: relative;
  overflow: hidden;
}
.hero-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
.hero-img-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(110,168,254,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* --- Sections --- */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}
.section-dark {
  background: rgba(11,18,32,.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(110,168,254,.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- About Grid --- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(16,31,58,.35);
  transition: all .4s ease;
}
.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110,168,254,.2);
  box-shadow: 0 16px 48px rgba(0,0,0,.25), 0 0 40px rgba(110,168,254,.05);
}
.about-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(110,168,254,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.about-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(16,31,58,.3);
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(110,168,254,.15); }
.feature-card:hover::before { opacity: 1; }
.feature-num {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(110,168,254,.3), rgba(110,168,254,.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* --- Showcase --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.showcase-text h2 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.showcase-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.showcase-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.check {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(16,31,58,.35);
  transition: all .4s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110,168,254,.2);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  display: inline;
  text-shadow: 0 0 24px rgba(110,168,254,.3);
}
.stat-suffix {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  display: inline;
}
.stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 500;
}

/* --- CTA --- */
.section-cta {
  padding: 100px 0;
}
.cta-card {
  text-align: center;
  padding: 60px 40px;
  border-radius: 20px;
  border: 1px solid rgba(110,168,254,.15);
  background: linear-gradient(180deg, rgba(16,31,58,.5) 0%, rgba(110,168,254,.04) 100%);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(110,168,254,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-card h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 14px;
  position: relative;
}
.cta-card p {
  color: var(--muted);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 36px;
  position: relative;
}
.cta-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}
.cta-form-row {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 560px;
}
.cta-input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(6,10,20,.6);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.cta-input::placeholder { color: rgba(138,149,176,.5); }
.cta-input:focus { border-color: rgba(110,168,254,.4); box-shadow: 0 0 0 3px rgba(110,168,254,.1); }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.6;
  max-width: 300px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 6px;
}
.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
  opacity: .7;
}

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 140px; gap: 40px; }
  .hero-content { max-width: 100%; }
  .hero-visual { max-width: 100%; }
  .hero h1 { font-size: 40px; }
  .hero-buttons { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 80px 0; }
  .section-header h2 { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-form-row { flex-direction: column; }
  .cta-card { padding: 40px 20px; }
  .cta-card h2 { font-size: 28px; }
  .showcase-text h2 { font-size: 28px; }
  .btn-main, .btn-outline { padding: 12px 24px; font-size: 14px; }
}
