/* ============================================================
   GPU RADAR — Main Stylesheet
   Theme: Dark Tech / Terminal / Data Dashboard
   Fonts: IBM Plex Sans Arabic (UI) + Rajdhani (data/numbers)
   ============================================================ */

/* ─── VARIABLES ─── */
:root {
  --bg: #080C10;
  --bg2: #0D1117;
  --bg3: #111820;
  --bg4: #161E28;
  --surface: #1A2332;
  --surface2: #1F2B3E;
  --border: rgba(99, 179, 237, 0.12);
  --border2: rgba(99, 179, 237, 0.22);
  --accent: #38BDF8;
  --accent2: #0EA5E9;
  --accent-dim: rgba(56, 189, 248, 0.12);
  --green: #4ADE80;
  --green-dim: rgba(74, 222, 128, 0.12);
  --red: #F87171;
  --red-dim: rgba(248, 113, 113, 0.12);
  --amber: #FBBF24;
  --amber-dim: rgba(251, 191, 36, 0.12);
  --text: #E2E8F0;
  --text2: #94A3B8;
  --text3: #64748B;
  --white: #FFFFFF;

  --font-ui: 'IBM Plex Sans Arabic', sans-serif;
  --font-data: 'Rajdhani', sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --glow: 0 0 40px rgba(56, 189, 248, 0.08);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4 { line-height: 1.25; color: var(--white); }
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── UTILS ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.dark-section { background: var(--bg2); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: .6rem; }
.section-head p { color: var(--text2); font-size: 1rem; }
.section-head.light h2 { color: var(--white); }
.section-head.light p { color: var(--text2); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 2rem; background: var(--accent); color: #000;
  font-family: var(--font-ui); font-weight: 700; font-size: .95rem;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: var(--transition);
}
.btn-primary:hover { background: #7DD3FC; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(56,189,248,.3); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .7rem 1.6rem; border: 1px solid var(--border2); color: var(--accent);
  font-family: var(--font-ui); font-weight: 600; font-size: .9rem;
  border-radius: var(--radius); background: transparent; transition: var(--transition);
}
.btn-outline:hover { background: var(--accent-dim); border-color: var(--accent); }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; inset: 0 0 auto;
  z-index: 1000;
  background: rgba(8, 12, 16, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border2); box-shadow: 0 4px 30px rgba(0,0,0,.4); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: 64px; display: flex; align-items: center; gap: 1.5rem;
}

.logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.logo-mark { color: var(--accent); font-size: 1.4rem; }
.logo-text {
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.3rem;
  color: var(--white); letter-spacing: 1px; display: flex; align-items: center; gap: 2px;
}
.logo-text em { font-style: normal; color: var(--accent); }

.nav-menu { display: flex; align-items: center; gap: .25rem; margin-right: auto; }
.nav-link {
  padding: .4rem .85rem; font-size: .88rem; font-weight: 500; color: var(--text2);
  border-radius: 6px; transition: var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.06); }
.nav-link.active { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.btn-alert {
  position: relative; padding: .45rem 1rem;
  border: 1px solid var(--border2); border-radius: 6px;
  font-size: .82rem; font-weight: 600; color: var(--accent);
  background: var(--accent-dim); transition: var(--transition); white-space: nowrap;
}
.btn-alert:hover { background: rgba(56,189,248,.2); }
.bell-dot {
  display: inline-block; width: 7px; height: 7px;
  background: var(--green); border-radius: 50%; margin-left: .4rem;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .4rem;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: var(--transition); }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero-glow {
  position: absolute; top: 30%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(56,189,248,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 780px; margin: 0 auto; text-align: center; position: relative; z-index: 1;
  animation: fadeUp .8s ease both;
}
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--text2); font-weight: 500;
  border: 1px solid var(--border); border-radius: 50px;
  padding: .3rem 1rem; margin-bottom: 1.5rem;
  background: rgba(255,255,255,.03);
  animation: fadeUp .8s .1s ease both;
}
.live-dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--green); border-radius: 50%; animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700;
  color: var(--white); margin-bottom: 1.25rem; line-height: 1.15;
  animation: fadeUp .8s .2s ease both;
}
.accent-text {
  background: linear-gradient(90deg, var(--accent), #818CF8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-family: var(--font-data); letter-spacing: 2px;
}

.hero-sub {
  font-size: 1.05rem; color: var(--text2); max-width: 620px; margin: 0 auto 2rem;
  animation: fadeUp .8s .3s ease both;
}
.hero-sub strong { color: var(--accent); }

.hero-search { animation: fadeUp .8s .4s ease both; margin-bottom: 2rem; }
.search-box {
  display: flex; align-items: center;
  background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius-lg);
  padding: .3rem .4rem; max-width: 560px; margin: 0 auto 1rem;
  transition: var(--transition);
}
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(56,189,248,.1); }
.search-icon { font-size: 1.2rem; color: var(--text3); padding: 0 .6rem; }
.search-box input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--font-ui); font-size: .95rem; color: var(--text);
  padding: .55rem .4rem; direction: rtl;
}
.search-box input::placeholder { color: var(--text3); }
.search-btn {
  padding: .55rem 1.25rem; background: var(--accent); color: #000;
  border: none; border-radius: 10px; font-family: var(--font-ui);
  font-weight: 700; font-size: .88rem; cursor: pointer; transition: var(--transition);
}
.search-btn:hover { background: #7DD3FC; }

.search-clear {
  padding: .45rem .65rem;
  background: transparent;
  border: none;
  color: var(--text3);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  border-radius: 6px;
  transition: var(--transition);
  flex-shrink: 0;
}
.search-clear:hover { color: var(--red); background: var(--red-dim); }

.search-tags { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.search-tag {
  padding: .3rem .85rem; background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 50px; font-size: .8rem; color: var(--text2); cursor: pointer;
  font-family: var(--font-ui); transition: var(--transition);
}
.search-tag:hover { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 2.5rem;
  animation: fadeUp .8s .5s ease both; flex-wrap: wrap; gap: 1.5rem;
}
.hstat { text-align: center; }
.hstat strong { display: block; font-family: var(--font-data); font-size: 1.5rem; color: var(--accent); line-height: 1; }
.hstat span { font-size: .78rem; color: var(--text3); }
.hstat-sep { width: 1px; height: 32px; background: var(--border); }

/* ─── TICKER ─── */
.ticker-wrapper {
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; overflow: hidden; height: 40px;
}
.ticker-label {
  flex-shrink: 0; padding: 0 1rem; font-size: .78rem; font-weight: 700;
  color: var(--accent); border-left: 1px solid var(--border); height: 100%;
  display: flex; align-items: center; white-space: nowrap; background: var(--bg3);
}
.ticker-track { display: flex; gap: 2.5rem; padding: 0 1.5rem; overflow: hidden; animation: ticker 30s linear infinite; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item { display: flex; align-items: center; gap: .4rem; white-space: nowrap; font-size: .8rem; font-family: var(--font-data); }
.ticker-name { color: var(--text2); }
.ticker-price { color: var(--white); font-weight: 600; }
.ticker-change { font-size: .75rem; font-weight: 600; }
.t-up { color: var(--red); }
.t-down { color: var(--green); }

/* ─── OVERVIEW ─── */
.market-overview { background: var(--bg); }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }

.overview-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; transition: var(--transition);
}
.overview-card:hover { border-color: var(--border2); box-shadow: var(--glow); }

.ocard-head { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1.25rem; }
.ocard-icon { font-size: 1.5rem; flex-shrink: 0; }
.ocard-head h3 { font-size: 1rem; font-weight: 600; margin-bottom: .2rem; }
.ocard-sub { font-size: .78rem; color: var(--text3); }
.ocard-badge {
  margin-right: auto; flex-shrink: 0; padding: .2rem .6rem;
  border-radius: 4px; font-size: .78rem; font-weight: 700; font-family: var(--font-data);
}
.ocard-badge.up { background: var(--red-dim); color: var(--red); }
.ocard-badge.down { background: var(--green-dim); color: var(--green); }

.ocard-stat { margin-bottom: 1rem; }
.ostat-val { font-family: var(--font-data); font-size: 2rem; font-weight: 700; color: var(--accent); }
.ostat-lbl { display: block; font-size: .78rem; color: var(--text3); margin-top: .1rem; }

.ocard-bars { display: flex; align-items: flex-end; gap: 3px; height: 40px; margin-bottom: 1rem; }
.mini-bar { flex: 1; border-radius: 2px 2px 0 0; transition: var(--transition); min-width: 6px; }
.mini-bar:hover { opacity: .7; }

.deals-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.deal-item { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }
.deal-name { color: var(--text2); }
.deal-drop { color: var(--green); font-weight: 700; font-family: var(--font-data); font-size: .82rem; }

.ocard-link { font-size: .82rem; color: var(--accent); font-weight: 600; transition: var(--transition); }
.ocard-link:hover { color: #7DD3FC; }

/* ─── PRICE TRACKER ─── */
.price-tracker { background: var(--bg2); }
.filter-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 1rem; }
.filter-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.ftab {
  padding: .4rem .9rem; border: 1px solid var(--border); border-radius: 6px;
  font-size: .82rem; font-weight: 600; color: var(--text2);
  background: transparent; cursor: pointer; font-family: var(--font-ui); transition: var(--transition);
}
.ftab:hover { border-color: var(--accent); color: var(--accent); }
.ftab.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }

.filter-sort select {
  padding: .4rem .8rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text); font-family: var(--font-ui); font-size: .85rem;
  cursor: pointer; outline: none;
}
.filter-sort select:focus { border-color: var(--accent); }

.table-container { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.price-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.price-table thead tr { background: var(--bg3); border-bottom: 1px solid var(--border); }
.price-table th {
  padding: .85rem 1rem; text-align: right; font-size: .78rem;
  font-weight: 600; color: var(--text3); white-space: nowrap;
  text-transform: uppercase; letter-spacing: .5px;
}
.price-table tbody tr { border-bottom: 1px solid rgba(255,255,255,.04); transition: var(--transition); }
.price-table tbody tr:last-child { border-bottom: none; }
.price-table tbody tr:hover { background: rgba(56,189,248,.04); }
.price-table td { padding: .85rem 1rem; vertical-align: middle; }

.td-name { font-weight: 600; font-size: .92rem; color: var(--white); }
.td-name small { display: block; font-size: .75rem; color: var(--text3); font-weight: 400; margin-top: .1rem; }

.type-badge {
  padding: .2rem .6rem; border-radius: 4px; font-size: .72rem;
  font-weight: 700; font-family: var(--font-data); letter-spacing: .5px;
}
.type-gpu { background: rgba(129,140,248,.15); color: #818CF8; }
.type-cpu { background: rgba(251,191,36,.12); color: var(--amber); }

.brand-badge {
  padding: .15rem .5rem; border-radius: 4px; font-size: .72rem; font-weight: 700;
}
.brand-nvidia { background: rgba(118,185,0,.15); color: #76B900; }
.brand-amd { background: rgba(237,28,36,.15); color: #ED1C24; }
.brand-intel { background: rgba(0,113,197,.15); color: #0071C5; }

.td-price { font-family: var(--font-data); font-size: 1.05rem; font-weight: 700; color: var(--white); }
.td-prev { font-family: var(--font-data); font-size: .9rem; color: var(--text3); }

.change-badge {
  display: inline-flex; align-items: center; gap: .2rem;
  padding: .2rem .6rem; border-radius: 4px;
  font-size: .8rem; font-weight: 700; font-family: var(--font-data);
}
.change-up { background: var(--red-dim); color: var(--red); }
.change-down { background: var(--green-dim); color: var(--green); }
.change-flat { background: rgba(255,255,255,.05); color: var(--text3); }

.price-range { font-size: .78rem; color: var(--text3); white-space: nowrap; }
.price-range .high { color: var(--red); }
.price-range .low { color: var(--green); }

.mini-sparkline { width: 80px; height: 28px; }

.load-more-wrap { text-align: center; margin-top: 1.5rem; }
.btn-load {
  padding: .6rem 2rem; border: 1px solid var(--border2); border-radius: 6px;
  color: var(--accent); background: transparent; font-family: var(--font-ui);
  font-size: .88rem; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.btn-load:hover { background: var(--accent-dim); }

/* ─── CHART SECTION ─── */
.chart-section { background: var(--bg3); }
.chart-controls { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.chart-part-select { display: flex; gap: .5rem; flex-wrap: wrap; }
.cpart-btn {
  padding: .3rem .8rem; border: 1px solid var(--border); border-radius: 50px;
  font-size: .8rem; color: var(--text2); background: transparent;
  cursor: pointer; font-family: var(--font-ui); transition: var(--transition);
}
.cpart-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.period-btns { display: flex; gap: 4px; }
.pbtn {
  padding: .35rem .8rem; border: 1px solid var(--border); border-radius: 6px;
  font-size: .8rem; color: var(--text2); background: transparent;
  cursor: pointer; font-family: var(--font-ui); transition: var(--transition);
}
.pbtn:hover { border-color: var(--border2); color: var(--text); }
.pbtn.active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; }

.chart-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  position: relative; height: 320px;
}
.chart-box canvas { max-height: 100%; }

.chart-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; justify-content: center; }
.legend-item { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--text2); cursor: pointer; }
.legend-dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }

/* ─── HOW IT WORKS ─── */
.how-section { background: var(--bg); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.how-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; transition: var(--transition); position: relative;
}
.how-card::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 3px; height: 0; background: var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0; transition: var(--transition);
}
.how-card:hover { border-color: var(--border2); }
.how-card:hover::after { height: 60%; }
.how-num {
  font-family: var(--font-data); font-size: 2.5rem; font-weight: 700;
  color: rgba(56,189,248,.15); line-height: 1; margin-bottom: .75rem;
}
.how-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.how-card p { font-size: .87rem; color: var(--text2); line-height: 1.7; }

/* ─── CONTENT SECTION ─── */
.content-section { background: var(--bg2); }
.content-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.content-main h2 { font-size: clamp(1.5rem, 2.5vw, 1.9rem); margin-bottom: 1rem; }
.content-main h3 { font-size: 1.1rem; margin: 1.75rem 0 .5rem; color: var(--accent); }
.content-main p { color: var(--text2); margin-bottom: 1rem; font-size: .93rem; line-height: 1.8; }

.sidebar-widget {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.25rem;
}
.sidebar-widget h3 { font-size: .95rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border); }
.sidebar-widget ul { display: flex; flex-direction: column; gap: .5rem; }
.sidebar-widget li a { font-size: .85rem; color: var(--text2); display: block; padding: .3rem 0; border-bottom: 1px solid rgba(255,255,255,.04); transition: var(--transition); }
.sidebar-widget li a:hover { color: var(--accent); }

.alert-widget { background: linear-gradient(135deg, var(--bg3), var(--surface)); border-color: rgba(56,189,248,.2); }
.alert-widget p { font-size: .85rem; color: var(--text2); margin-bottom: .75rem; }
.alert-widget form { display: flex; flex-direction: column; gap: .5rem; }
.alert-widget input {
  padding: .6rem .85rem; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text); font-family: var(--font-ui); font-size: .88rem;
  outline: none; direction: rtl; transition: var(--transition);
}
.alert-widget input:focus { border-color: var(--accent); }
.alert-widget button {
  padding: .6rem 1rem; background: var(--accent); color: #000;
  border: none; border-radius: 6px; font-family: var(--font-ui);
  font-weight: 700; font-size: .88rem; cursor: pointer; transition: var(--transition);
}
.alert-widget button:hover { background: #7DD3FC; }

.market-stats { display: flex; flex-direction: column; gap: .6rem; }
.market-stats li { display: flex; flex-direction: column; gap: .1rem; font-size: .83rem; padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.market-stats li span { color: var(--text3); }
.market-stats li strong { color: var(--text); }

/* ─── BLOG PREVIEW ─── */
.blog-preview { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.blog-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; transition: var(--transition);
}
.blog-card:hover { border-color: var(--border2); box-shadow: var(--glow); transform: translateY(-3px); }
.blog-tag {
  display: inline-block; padding: .2rem .7rem; margin-bottom: .75rem;
  background: var(--accent-dim); border: 1px solid rgba(56,189,248,.2);
  border-radius: 4px; font-size: .72rem; font-weight: 700; color: var(--accent); letter-spacing: .5px;
}
.blog-card h3 { font-size: .95rem; margin-bottom: .5rem; line-height: 1.4; }
.blog-card h3 a { color: var(--white); transition: var(--transition); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: .85rem; color: var(--text2); margin-bottom: .75rem; line-height: 1.6; }
.blog-meta { font-size: .78rem; color: var(--text3); display: flex; gap: .75rem; }

/* ─── CTA ─── */
.cta-section {
  position: relative; padding: 5rem 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(56,189,248,.06), transparent);
  border-top: 1px solid var(--border); text-align: center; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, rgba(56,189,248,.1), transparent);
}
.cta-inner { position: relative; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: .75rem; }
.cta-inner p { color: var(--text2); margin-bottom: 2rem; font-size: 1rem; }

/* ─── FOOTER ─── */
.footer { background: var(--bg3); border-top: 1px solid var(--border); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 2fr;
  gap: 4rem; padding: 3.5rem 1.5rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .87rem; color: var(--text2); max-width: 280px; line-height: 1.7; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--text2); transition: var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.footer-nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.footer-col h4 { font-size: .78rem; font-weight: 700; color: var(--text3); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: .85rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-col a { font-size: .85rem; color: var(--text2); transition: var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.25rem 1.5rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .8rem; color: var(--text3); }
.footer-disclaimer { font-size: .75rem !important; }

/* ─── INNER PAGES ─── */
.page-hero {
  background: var(--bg2); padding: 7rem 0 3.5rem;
  border-bottom: 1px solid var(--border); text-align: center; position: relative;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(56,189,248,.06), transparent);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .6rem; }
.page-hero p { color: var(--text2); font-size: 1rem; }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--text2); margin-bottom: 1.5rem; }
.contact-items { display: flex; flex-direction: column; gap: .85rem; }
.ci-item {
  display: flex; gap: .75rem; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .85rem 1rem;
}
.ci-icon { font-size: 1.2rem; flex-shrink: 0; }
.ci-label { font-size: .75rem; color: var(--text3); }
.ci-val { font-size: .9rem; color: var(--text); font-weight: 500; }

.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: .83rem; font-weight: 600; margin-bottom: .4rem; color: var(--text2); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: .7rem .9rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-family: var(--font-ui); font-size: .92rem;
  outline: none; direction: rtl; transition: var(--transition);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56,189,248,.1); }
.form-field textarea { height: 130px; resize: vertical; }

/* Policy */
.policy-body { max-width: 780px; margin: 0 auto; }
.policy-body h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; color: var(--accent); }
.policy-body p, .policy-body li { font-size: .92rem; color: var(--text2); line-height: 1.8; margin-bottom: .6rem; }
.policy-body ul { padding-right: 1.25rem; }
.policy-body li { list-style: disc; }

/* 404 */
.e404 {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; background: var(--bg);
}
.e404-code { font-family: var(--font-data); font-size: 8rem; font-weight: 700; color: var(--accent); opacity: .15; line-height: 1; }
.e404 h1 { font-size: 2rem; margin: 1rem 0 .5rem; }
.e404 p { color: var(--text2); margin-bottom: 2rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .how-grid { grid-template-columns: repeat(2,1fr); }
  .overview-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; right: 0; left: 0;
    background: rgba(8,12,16,.97); padding: 1rem;
    border-bottom: 1px solid var(--border); z-index: 999; gap: .25rem;
  }
  .burger { display: flex; }
  .how-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(2,1fr); }
  .hero-stats { gap: 1rem; }
  .hstat-sep { display: none; }
  .chart-section .chart-box { height: 220px; }
  .overview-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .filter-tabs { gap: .3rem; }
  .ftab { padding: .3rem .65rem; font-size: .78rem; }
  .footer-nav { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
}
