/* ============================================================
   Lumina AI — Main Stylesheet
   www.luminaai.ae
   ============================================================ */

:root {
  --navy:   #050D1A;
  --navy2:  #0D2137;
  --navy3:  #0A1929;
  --teal:   #0ABCD4;
  --tealdk: #0A3A3A;
  --amber:  #F59E0B;
  --green:  #22C55E;
  --blue:   #2979FF;
  --red:    #EF4444;
  --white:  #FFFFFF;
  --mid:    #90A4AE;
  --dim:    #546E7A;
  --light:  #E3F2FD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--navy); color: var(--white); font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; overflow-x: hidden; }

/* ── NAV ── */
nav.lumina-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(5,13,26,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10,188,212,0.15);
  transition: background 0.3s;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--teal), var(--blue)); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--white); }
.logo-text span { color: var(--teal); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--mid); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { background: var(--teal); color: var(--navy); padding: 9px 22px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background 0.2s, transform 0.15s; }
.nav-cta:hover { background: #0ed4ef; transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* ── HERO ── */
#hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 5% 80px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(10,188,212,0.08) 0%, transparent 70%), radial-gradient(ellipse 50% 40% at 10% 80%, rgba(41,121,255,0.06) 0%, transparent 60%), var(--navy); }
.grid-overlay { position: absolute; inset: 0; z-index: 0; opacity: 0.04; background-image: linear-gradient(rgba(10,188,212,1) 1px, transparent 1px), linear-gradient(90deg, rgba(10,188,212,1) 1px, transparent 1px); background-size: 60px 60px; }
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(10,188,212,0.1); border: 1px solid rgba(10,188,212,0.3); border-radius: 20px; padding: 6px 16px; margin-bottom: 28px; font-size: 12px; font-weight: 600; color: var(--teal); letter-spacing: 0.05em; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }
h1.hero-h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
h1.hero-h1 span { color: var(--teal); }
.hero-sub { font-size: 18px; color: var(--mid); line-height: 1.7; margin-bottom: 40px; max-width: 560px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.btn-primary { background: var(--teal); color: var(--navy); padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; box-shadow: 0 0 30px rgba(10,188,212,0.3); }
.btn-primary:hover { background: #0ed4ef; transform: translateY(-2px); box-shadow: 0 0 40px rgba(10,188,212,0.5); }
.btn-secondary { background: transparent; color: var(--white); padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid rgba(255,255,255,0.2); display: inline-flex; align-items: center; gap: 8px; transition: border-color 0.2s, background 0.2s; }
.btn-secondary:hover { border-color: var(--teal); background: rgba(10,188,212,0.05); }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-num { font-size: 28px; font-weight: 800; color: var(--teal); }
.stat-lbl { font-size: 12px; color: var(--dim); font-weight: 500; margin-top: 2px; }
.hero-visual { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); z-index: 1; width: 42%; max-width: 580px; }
.dashboard-card { background: var(--navy2); border: 1px solid rgba(10,188,212,0.2); border-radius: 16px; padding: 24px; position: relative; box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(10,188,212,0.05); }
.db-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.db-title { font-size: 13px; font-weight: 600; color: var(--mid); }
.db-live { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--green); font-weight: 600; }
.db-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.5s infinite; }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.kpi-box { background: var(--navy3); border-radius: 10px; padding: 14px; border: 1px solid rgba(255,255,255,0.05); }
.kpi-val { font-size: 22px; font-weight: 800; }
.kpi-lbl { font-size: 10px; color: var(--mid); margin-top: 3px; }
.kpi-chg { font-size: 11px; font-weight: 600; margin-top: 4px; }
.up { color: var(--green); } .dn { color: var(--red); }
.alert-list { display: flex; flex-direction: column; gap: 8px; }
.alert-row { display: flex; align-items: center; gap: 10px; background: var(--navy3); border-radius: 8px; padding: 10px 14px; border-left: 3px solid transparent; font-size: 12px; }
.alert-row.high { border-color: var(--red); } .alert-row.med { border-color: var(--amber); } .alert-row.low { border-color: var(--teal); }
.alert-icon { font-size: 14px; }
.alert-info { flex: 1; }
.alert-name { font-weight: 600; color: var(--white); }
.alert-sub  { color: var(--dim); font-size: 10px; margin-top: 1px; }
.alert-badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.badge-h { background: rgba(239,68,68,0.15); color: var(--red); }
.badge-m { background: rgba(245,158,11,0.15); color: var(--amber); }
.badge-l { background: rgba(10,188,212,0.15); color: var(--teal); }
.float-chip { position: absolute; background: var(--navy); border: 1px solid rgba(10,188,212,0.3); border-radius: 10px; padding: 10px 16px; font-size: 12px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.chip1 { top: -18px; right: 20px; color: var(--green); }
.chip2 { bottom: -14px; left: 10px; color: var(--amber); }

/* ── SECTIONS ── */
section.lumina-section { padding: 100px 5%; }
.section-label { font-size: 12px; font-weight: 700; color: var(--teal); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
h2.section-h2 { font-size: clamp(28px, 3.5vw, 48px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
h2.section-h2 span { color: var(--teal); }
.section-sub { font-size: 17px; color: var(--mid); line-height: 1.7; max-width: 600px; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ── PROBLEM ── */
#problem { background: var(--navy3); }
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }
.problem-card { background: var(--navy2); border-radius: 16px; padding: 36px 28px; border: 1px solid rgba(255,255,255,0.06); position: relative; overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.problem-card:hover { transform: translateY(-4px); border-color: rgba(10,188,212,0.3); }
.problem-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--teal), transparent); }
.problem-card:nth-child(2)::before { background: linear-gradient(90deg, transparent, var(--amber), transparent); }
.problem-card:nth-child(3)::before { background: linear-gradient(90deg, transparent, var(--red), transparent); }
.problem-num { font-size: 52px; font-weight: 900; color: var(--teal); line-height: 1; margin-bottom: 12px; }
.problem-card:nth-child(2) .problem-num { color: var(--amber); }
.problem-card:nth-child(3) .problem-num { color: var(--red); }
.problem-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.problem-desc  { font-size: 14px; color: var(--mid); line-height: 1.6; }
.gcc-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 60px; padding: 28px 36px; background: var(--navy2); border-radius: 12px; border: 1px solid rgba(10,188,212,0.15); }
.gcc-item { text-align: center; }
.gcc-val { font-size: 20px; font-weight: 800; }
.gcc-lbl { font-size: 11px; color: var(--dim); margin-top: 4px; }

/* ── FEATURES ── */
#features { background: var(--navy); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 60px; }
.feat-card { background: var(--navy2); border-radius: 16px; padding: 32px 26px; border: 1px solid rgba(255,255,255,0.06); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.feat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); border-color: rgba(10,188,212,0.25); }
.feat-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.f1{background:rgba(10,188,212,0.12);} .f2{background:rgba(239,68,68,0.12);} .f3{background:rgba(41,121,255,0.12);}
.f4{background:rgba(245,158,11,0.12);} .f5{background:rgba(34,197,94,0.12);} .f6{background:rgba(156,89,182,0.12);}
.feat-num { font-size: 11px; font-weight: 700; color: var(--dim); letter-spacing: 0.08em; margin-bottom: 8px; }
.feat-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.feat-desc { font-size: 13px; color: var(--mid); line-height: 1.65; margin-bottom: 20px; }
.feat-kpis { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.feat-kpi { display: flex; align-items: center; justify-content: space-between; background: var(--navy3); border-radius: 8px; padding: 8px 12px; font-size: 12px; }
.feat-kpi-lbl { color: var(--dim); }
.feat-kpi-val { font-weight: 700; color: var(--green); }
.feat-tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 4px; background: rgba(10,188,212,0.1); color: var(--teal); border: 1px solid rgba(10,188,212,0.2); }

/* ── MARKET ── */
#market { background: var(--navy3); }
.market-tiers { display: flex; flex-direction: column; gap: 16px; margin-top: 60px; }
.market-tier { display: grid; grid-template-columns: 220px 1fr; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.07); }
.tier-val { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 20px; text-align: center; }
.tier-num { font-size: 32px; font-weight: 900; line-height: 1; }
.tier-scope { font-size: 10px; font-weight: 700; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.6); }
.tier-info { background: var(--navy2); padding: 24px 28px; }
.tier-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.tier-desc { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 8px; }
.tier-cagr { font-size: 11px; font-weight: 700; }
.tier-src { font-size: 10px; color: var(--dim); margin-top: 4px; font-style: italic; }
.t-tam { background: #081840; } .t-sam { background: #0A3A3A; } .t-som { background: #2A1800; }
.market-drivers { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.driver-card { background: var(--navy2); border-radius: 12px; padding: 20px 22px; border-left: 4px solid var(--teal); }
.driver-card:nth-child(2) { border-color: var(--amber); }
.driver-card:nth-child(3) { border-color: var(--green); }
.driver-card:nth-child(4) { border-color: var(--blue); }
.driver-icon { font-size: 20px; margin-bottom: 8px; }
.driver-title { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.driver-desc  { font-size: 12px; color: var(--mid); line-height: 1.6; }
.gcc-flags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; justify-content: center; }
.gcc-flag { background: var(--navy2); border-radius: 10px; padding: 14px 20px; text-align: center; border: 1px solid rgba(255,255,255,0.06); transition: border-color 0.2s; min-width: 90px; }
.gcc-flag:hover { border-color: rgba(10,188,212,0.3); }
.gcc-emoji { font-size: 24px; display: block; margin-bottom: 6px; }
.gcc-name { font-size: 11px; color: var(--mid); font-weight: 600; }

/* ── HOW IT WORKS ── */
#how { background: var(--navy); }
.how-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 60px; }
.how-step { background: var(--navy2); border-radius: 14px; padding: 28px 20px; text-align: center; border: 1px solid rgba(255,255,255,0.06); }
.step-num { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; border: 2px solid var(--teal); background: var(--navy3); box-shadow: 0 0 20px rgba(10,188,212,0.15); }
.step-label { font-size: 10px; font-weight: 700; color: var(--teal); letter-spacing: 0.08em; margin-bottom: 6px; }
.step-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.step-desc  { font-size: 12px; color: var(--mid); line-height: 1.6; }
.int-strip { margin-top: 48px; background: var(--navy2); border-radius: 12px; padding: 20px 28px; border: 1px solid rgba(255,255,255,0.06); text-align: center; }
.int-strip-label { font-size: 11px; color: var(--dim); font-weight: 600; letter-spacing: 0.08em; margin-bottom: 16px; }
.int-logos { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.int-chip { background: var(--navy3); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 8px 16px; font-size: 12px; font-weight: 600; color: var(--mid); transition: border-color 0.2s, color 0.2s; }
.int-chip:hover { border-color: rgba(10,188,212,0.3); color: var(--white); }

/* ── CASE STUDIES ── */
#cases { background: linear-gradient(180deg, var(--navy3) 0%, var(--navy) 100%); }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 60px; }
.case-card { background: var(--navy2); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.case-hdr { padding: 22px 26px; display: flex; align-items: center; gap: 14px; border-top: 4px solid var(--teal); }
.case-card:nth-child(2) .case-hdr { border-color: var(--amber); }
.case-logo { font-size: 30px; }
.case-co   { font-size: 15px; font-weight: 800; }
.case-type { font-size: 11px; color: var(--mid); margin-top: 2px; }
.case-body { padding: 20px 26px 26px; }
.case-challenge { font-size: 12px; color: var(--dim); margin-bottom: 18px; font-style: italic; line-height: 1.6; border-left: 3px solid rgba(10,188,212,0.3); padding-left: 12px; }
.case-results { display: flex; flex-direction: column; gap: 10px; }
.case-result { display: flex; align-items: center; justify-content: space-between; background: var(--navy3); border-radius: 8px; padding: 10px 14px; }
.cr-lbl { font-size: 12px; color: var(--mid); }
.cr-val { font-size: 14px; font-weight: 800; color: var(--green); }

/* ── COMPETITIVE ── */
#competitive { background: var(--navy3); }
.comp-table { margin-top: 56px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.comp-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; }
.comp-cell { padding: 13px 14px; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.04); display: flex; align-items: center; }
.comp-row.hdr .comp-cell { background: var(--navy2); font-weight: 700; font-size: 11px; color: var(--mid); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 2px solid rgba(10,188,212,0.2); }
.comp-row:not(.hdr):nth-child(even) .comp-cell { background: rgba(255,255,255,0.015); }
.comp-row:not(.hdr) .comp-cell:first-child { font-weight: 600; }
.comp-row.lumina .comp-cell { background: rgba(10,188,212,0.06) !important; }
.comp-row.lumina .comp-cell:first-child { color: var(--teal); font-weight: 800; }
.chk { color: var(--green); font-size: 16px; } .crs { color: var(--red); font-size: 16px; } .part { color: var(--amber); font-size: 14px; }
.comp-legend { margin-top: 14px; font-size: 12px; color: var(--dim); font-style: italic; text-align: right; }

/* ── TEAM ── */
#team { background: var(--navy); }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 56px; }
.team-card { background: var(--navy2); border-radius: 16px; padding: 28px 20px; text-align: center; border: 1px solid rgba(255,255,255,0.06); transition: transform 0.2s, border-color 0.2s; }
.team-card:hover { transform: translateY(-4px); border-color: rgba(10,188,212,0.25); }
.team-avatar { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: var(--navy); background: linear-gradient(135deg, var(--teal), var(--blue)); }
.team-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 11px; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
.team-bio  { font-size: 12px; color: var(--mid); line-height: 1.6; }

/* ── RAISE / INVESTORS ── */
#raise { background: var(--navy3); }
.raise-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 60px; }
.raise-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rm-box { background: var(--navy2); border-radius: 12px; padding: 20px; border: 1px solid rgba(255,255,255,0.06); }
.rm-val { font-size: 24px; font-weight: 800; color: var(--teal); }
.rm-lbl { font-size: 11px; color: var(--dim); margin-top: 4px; }
.raise-funds h3 { font-size: 15px; font-weight: 700; color: var(--mid); margin-bottom: 22px; }
.fund-bars { display: flex; flex-direction: column; gap: 14px; }
.fund-row { display: flex; align-items: center; gap: 14px; }
.fund-pct { width: 40px; font-size: 15px; font-weight: 800; text-align: right; }
.fund-bar-wrap { flex: 1; height: 8px; background: var(--navy2); border-radius: 4px; overflow: hidden; }
.fund-bar { height: 100%; border-radius: 4px; }
.fund-lbl { font-size: 12px; color: var(--mid); min-width: 150px; }
.milestone-box { margin-top: 32px; padding: 20px 24px; background: var(--navy2); border-radius: 12px; border: 1px solid rgba(10,188,212,0.2); }
.ms-tag { font-size: 10px; font-weight: 700; color: var(--dim); letter-spacing: 0.08em; margin-bottom: 6px; }
.ms-val { font-size: 18px; font-weight: 800; color: var(--teal); margin-bottom: 4px; }
.ms-sub { font-size: 12px; color: var(--dim); }

/* ── CONTACT ── */
#contact { background: linear-gradient(180deg, var(--navy) 0%, #020810 100%); padding: 100px 5%; }
.contact-inner { max-width: 680px; margin: 0 auto; text-align: center; background: var(--navy2); border-radius: 24px; padding: 60px 48px; border: 1px solid rgba(10,188,212,0.2); box-shadow: 0 0 80px rgba(10,188,212,0.05); }
.contact-inner h2 { font-size: 34px; font-weight: 800; margin-bottom: 16px; }
.contact-inner h2 span { color: var(--teal); }
.contact-inner p  { color: var(--mid); margin-bottom: 36px; line-height: 1.7; font-size: 15px; }
.contact-details { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.contact-detail { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; }
.contact-detail .icon { color: var(--teal); }
.contact-detail a { color: var(--white); text-decoration: none; }
.contact-detail a:hover { color: var(--teal); }

/* ── FOOTER ── */
.lumina-footer { background: #020810; border-top: 1px solid rgba(255,255,255,0.05); padding: 26px 5%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-left  { font-size: 13px; color: var(--dim); }
.foot-left a { color: var(--teal); text-decoration: none; }
.foot-right { font-size: 11px; color: var(--dim); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) { .hero-visual { display: none; } }
@media (max-width: 900px) {
  .problem-grid, .features-grid { grid-template-columns: 1fr 1fr; }
  .how-steps, .team-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid, .raise-layout, .market-tier { grid-template-columns: 1fr; }
  .comp-row { min-width: 700px; } .comp-table { overflow-x: auto; }
  .market-drivers { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .problem-grid, .features-grid, .how-steps, .team-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  section.lumina-section { padding: 70px 5%; }
  .contact-inner { padding: 40px 24px; }
}
