/* ===================================================================
   تشطيب تك — Landing Page Styles
   Palette: Dark Navy background, White text, Gold accents only.
   =================================================================== */

:root {
  --navy-950: #071A35;
  --navy-900: #0B2345;
  --navy-800: #102D52;
  --navy-700: #16386760;
  --white: #FFFFFF;
  --white-soft: rgba(255, 255, 255, 0.82);
  --white-muted: rgba(255, 255, 255, 0.6);
  --white-faint: rgba(255, 255, 255, 0.12);
  --gold-deep: #D9A72E;
  --gold-light: #E8C15A;
  --gold-glow: rgba(232, 193, 90, 0.35);

  --font-main: 'Cairo', 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;

  --container: 1180px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-soft: 0 20px 60px rgba(3, 12, 28, 0.45);
  --shadow-gold: 0 0 0 1px rgba(217, 167, 46, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--navy-950);
  color: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.gold {
  color: var(--gold-light);
}

section {
  position: relative;
  padding: 96px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--gold-light);
  border: 1px solid rgba(232, 193, 90, 0.4);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--white-muted);
  font-size: 17px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--navy-950);
  box-shadow: 0 12px 30px rgba(217, 167, 46, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(217, 167, 46, 0.4);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(7, 26, 53, 0.92);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(232, 193, 90, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand img {
  height: 42px;
  width: auto;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  color: var(--white-soft);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold-light);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta .btn {
  padding: 11px 26px;
  font-size: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 6px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 20px;
  font-weight: 700;
}

.mobile-menu .close-menu {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 28px;
  color: var(--white);
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(232, 193, 90, 0.10), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(16, 45, 82, 0.9), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-950));
}

.hero-architectural {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

.hero-architectural svg {
  width: 100%;
  height: 100%;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gold-light);
  border: 1px solid rgba(232, 193, 90, 0.35);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero-tag span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-light);
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero p.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--white-soft);
  max-width: 540px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white-muted);
  font-size: 15px;
}

.hero-note svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold-light);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .ring {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border: 1px solid rgba(232, 193, 90, 0.25);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.hero-visual .ring::before {
  content: '';
  position: absolute;
  top: -1px;
  right: 18%;
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--gold-light);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-visual .logo-plate {
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(232, 193, 90, 0.3);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
  width: min(380px, 80%);
}

.hero-visual .logo-plate img {
  width: 100%;
  border-radius: var(--radius-md);
}

/* ---------- Trust bar ---------- */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--white-faint);
  border-bottom: 1px solid var(--white-faint);
  background: var(--navy-900);
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  text-align: center;
  font-size: 14.5px;
  color: var(--white-soft);
}

.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold-light);
  flex-shrink: 0;
}

/* ---------- About ---------- */
.about .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual svg {
  width: 100%;
  max-width: 380px;
}

.about-text p {
  color: var(--white-soft);
  font-size: 17px;
  margin-bottom: 20px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ---------- Problem cards ---------- */
.problem {
  background: var(--navy-900);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--navy-950);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 193, 90, 0.4);
}

.problem-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232, 193, 90, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.problem-card .icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-light);
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 14.5px;
  color: var(--white-muted);
}

/* ---------- Solution steps ---------- */
.steps {
  counter-reset: step;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  position: relative;
}

.step {
  position: relative;
  padding: 30px 22px;
  text-align: center;
}

.step::before {
  content: '';
  position: absolute;
  top: 44px;
  right: -2px;
  width: calc(100% + 4px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 193, 90, 0.35), transparent);
}

.step:first-child::before {
  display: none;
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid rgba(232, 193, 90, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--gold-light);
  background: var(--navy-950);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
}

/* ---------- Trust section (framed) ---------- */
.trust-section {
  background: var(--navy-900);
}

.trust-frame {
  border: 1px solid rgba(232, 193, 90, 0.35);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  background: linear-gradient(180deg, rgba(232, 193, 90, 0.04), transparent);
}

.trust-frame .section-head {
  margin-bottom: 44px;
}

.trust-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-pillar h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gold-light);
}

.trust-pillar p {
  color: var(--white-muted);
  font-size: 14.5px;
}

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.why-item {
  padding: 28px 20px;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  border: 1px solid var(--white-faint);
  text-align: center;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.why-item:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 193, 90, 0.4);
}

.why-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gold-light);
}

.why-item p {
  font-size: 13.5px;
  color: var(--white-muted);
}

/* ---------- B2B ---------- */
.b2b {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.b2b .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.b2b-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 32px;
}

.b2b-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--white-soft);
  font-size: 15.5px;
}

.b2b-list svg {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.b2b-note {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: rgba(232, 193, 90, 0.08);
  border: 1px solid rgba(232, 193, 90, 0.3);
  color: var(--gold-light);
  font-size: 14px;
}

.b2b-card {
  background: var(--navy-800);
  border: 1px solid rgba(232, 193, 90, 0.25);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-soft);
}

.b2b-card ul {
  display: grid;
  gap: 18px;
}

.b2b-card li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.b2b-card .num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(232, 193, 90, 0.12);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- Launch phase ---------- */
.launch {
  text-align: center;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232, 193, 90, 0.08);
  border: 1px solid rgba(232, 193, 90, 0.3);
  padding: 8px 20px;
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 14px;
  margin-bottom: 24px;
}

.launch-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 0 rgba(232, 193, 90, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 193, 90, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(232, 193, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 193, 90, 0); }
}

.launch p {
  max-width: 620px;
  margin: 0 auto 14px;
  color: var(--white-soft);
  font-size: 17px;
}

/* ---------- Form ---------- */
.form-section {
  background: var(--navy-900);
}

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--navy-950);
  border: 1px solid rgba(232, 193, 90, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--white-soft);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--navy-900);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(232, 193, 90, 0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23E8C15A' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 40px;
}

.form-error {
  color: #f0a5a5;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #d96a6a;
}

.form-group.has-error .form-error {
  display: block;
}

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.error {
  background: rgba(217, 106, 106, 0.1);
  border: 1px solid rgba(217, 106, 106, 0.35);
  color: #f0a5a5;
}

.success-state {
  text-align: center;
  padding: 24px 0;
}

.success-state .check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(232, 193, 90, 0.1);
  border: 1px solid rgba(232, 193, 90, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-state .check svg {
  width: 32px;
  height: 32px;
  color: var(--gold-light);
}

.success-state h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.success-state p {
  color: var(--white-muted);
  font-size: 15px;
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy-950);
  border-top: 1px solid var(--white-faint);
  padding: 64px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--white-faint);
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 38px;
  border-radius: 6px;
}

.footer-brand span {
  font-weight: 800;
  font-size: 17px;
}

.footer-tagline {
  color: var(--white-muted);
  font-size: 14.5px;
  max-width: 420px;
  margin-bottom: 10px;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12.5px;
  max-width: 480px;
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 14px;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-links ul {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--white-muted);
  font-size: 14.5px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.social-placeholder {
  display: flex;
  gap: 10px;
}

.social-placeholder span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--white-faint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-placeholder svg {
  width: 15px;
  height: 15px;
  color: var(--white-muted);
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p.lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-note {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .about .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-visual {
    order: -1;
  }

  .problem-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .step::before {
    display: none;
  }

  .b2b .container {
    grid-template-columns: 1fr;
  }

  .trust-pillars {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .trust-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-cta .btn-outline {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 72px 0;
  }

  .brand span {
    display: none;
  }

  .nav-cta .btn-primary {
    padding: 10px 18px;
    font-size: 13.5px;
  }
}

@media (max-width: 400px) {
  .navbar .container {
    gap: 12px;
  }

  .brand img {
    height: 36px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding-top: 110px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .problem-grid,
  .why-grid,
  .steps-grid,
  .trust-bar .container {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }

  .form-wrap {
    padding: 30px 22px;
  }

  .trust-frame {
    padding: 40px 22px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .b2b-card {
    padding: 30px 24px;
  }
}
