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

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --navy-light: #1e3a5f;
  --cyan: #00d4ff;
  --cyan-dim: #00a8cc;
  --gold: #f0c060;
  --white: #f0f4f8;
  --gray: #8899aa;
  --card-bg: rgba(17, 34, 64, 0.85);
  --border: rgba(0, 212, 255, 0.15);
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  background: var(--navy);
  color: var(--white);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(0,212,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(30,58,95,0.5) 0%, transparent 60%),
    linear-gradient(160deg, #0a1628 0%, #0d1f3c 50%, #0a1628 100%);
  z-index: -1;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
}

.nav-cta {
  background: var(--cyan) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 0.4rem 1.2rem !important;
  border-radius: 20px !important;
}
.nav-cta:hover { background: #00bde0 !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── PAGE WRAPPER ── */
main { padding-top: 70px; }

/* ── HERO ── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero h1 .accent { color: var(--cyan); }

.hero p {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.btn-primary {
  display: inline-block;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 2.2rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(0,212,255,0.3);
}
.btn-primary:hover {
  background: #00bde0;
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0,212,255,0.45);
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(0,212,255,0.4);
  color: var(--cyan);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2.2rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
  margin-right: 1rem;
}
.btn-outline:hover {
  background: rgba(0,212,255,0.08);
  border-color: var(--cyan);
}

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
  font-weight: 300;
  margin-bottom: 3rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  border-color: rgba(0,212,255,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.card:hover::before { opacity: 1; }

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--white);
}
.card p {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ── PRODUCT HERO (inner pages) ── */
.page-hero {
  padding: 7rem 2rem 4rem;
  text-align: center;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

/* ── FEATURES LIST ── */
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  font-size: 0.97rem;
  transition: border-color 0.2s;
}
.features-list li:hover { border-color: rgba(0,212,255,0.3); }
.features-list li::before {
  content: '✦';
  color: var(--cyan);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── TWO-COL LAYOUT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin: 3rem 0;
}
.stat-item {
  background: var(--card-bg);
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--gray);
  font-weight: 500;
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 140%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.07), transparent 60%);
}
.cta-band h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.8rem; }
.cta-band p { color: var(--gray); margin-bottom: 2rem; font-size: 1.05rem; }

/* ── CONTACT FORM ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; color: var(--gray); font-weight: 500; }

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: 'Heebo', sans-serif;
  font-size: 0.97rem;
  transition: border-color 0.2s;
  direction: rtl;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--navy-mid); }

.btn-submit {
  background: var(--cyan);
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 2.5rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(0,212,255,0.3);
}
.btn-submit:hover {
  background: #00bde0;
  transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
}
footer a { color: var(--cyan); text-decoration: none; }

/* ── MOBILE NAV ── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; padding: 0.7rem 1rem; }
  .hamburger { display: flex; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-2 { animation: fadeUp 0.7s 0.15s ease both; }
.fade-up-3 { animation: fadeUp 0.7s 0.3s ease both; }
.fade-up-4 { animation: fadeUp 0.7s 0.45s ease both; }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
  max-width: 600px;
}

/* product link cards on homepage */
.product-link-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-link-card .card { height: 100%; }
.product-link-card .card-arrow {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.85rem;
  margin-top: 1rem;
  font-weight: 600;
  transition: gap 0.2s;
}
.product-link-card:hover .card-arrow { letter-spacing: 1px; }

/* highlight box */
.highlight-box {
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.highlight-box p { color: var(--white); font-weight: 500; margin: 0; }
