/* Fortiva International — brand styles */
:root {
  --purple: #6A2BD9;
  --purple-deep: #4E1BAA;
  --blue: #5468C8;
  --gold: #E0A526;
  --gold-soft: #F3D48A;
  --navy: #2A1B5C;
  --navy-deep: #1B1140;
  --cream: #FAF7F2;
  --lavender: #E6E0F7;
  --lilac: #C3B1FA;
  --ink: #1F1838;
  --muted: #5F5880;
  --line: rgba(42, 27, 92, 0.12);
  --card: #FFFFFF;
  --shadow: 0 20px 50px -24px rgba(42, 27, 92, 0.35);
  --radius: 20px;
  --font: "IBM Plex Sans Arabic", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; color: var(--navy); }
p { margin: 0; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--purple); background: var(--lavender);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 12px 28px -12px rgba(106, 43, 217, .7); }
.btn-primary:hover { background: var(--purple-deep); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--purple); }
.nav-links .only-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--line); color: var(--navy); background: #fff;
}
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px auto; width: 22px; border-radius: 2px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(84, 104, 200, .55), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(106, 43, 217, .55), transparent 60%),
              linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #35207a);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.6), transparent 70%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 110px 0 120px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 60px); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 36px; }
.hero .eyebrow { background: rgba(255,255,255,.1); color: var(--lilac); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .mark { width: min(360px, 80%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); animation: float 7s ease-in-out infinite; }
.hero-art .ring {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.18); animation: spin 60s linear infinite;
}
.hero-art .ring::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip { font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.8); background: rgba(255,255,255,.05); }

/* Stats */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; }
.stat { text-align: center; padding: 10px; }
.stat strong { display: block; font-size: 30px; color: var(--purple); line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(106,43,217,.35); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--purple), var(--blue)); color: #fff;
}
.card .icon.gold { background: linear-gradient(135deg, var(--gold), #c98d12); color: var(--navy-deep); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .tag { position: absolute; top: 20px; inset-inline-end: 20px; font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .08em; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.card ul li { padding: 6px 0; border-top: 1px dashed var(--line); display: flex; gap: 10px; align-items: center; }
.card ul li::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }

/* AI section (dark) */
.ai { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.ai::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(106,43,217,.5), transparent 65%); inset-inline-start: -200px; top: -200px;
}
.ai .container { position: relative; }
.ai h2, .ai h3 { color: #fff; }
.ai .section-head p { color: rgba(255,255,255,.7); }
.ai .eyebrow { background: rgba(255,255,255,.1); color: var(--lilac); }
.ai .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.ai .card p, .ai .card ul { color: rgba(255,255,255,.7); }
.ai .card ul li { border-color: rgba(255,255,255,.1); }

/* Process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: 40px; font-weight: 800; color: var(--lavender); line-height: 1; display: block; margin-bottom: 12px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* Trust */
.trust .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.trust-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.trust-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.trust-list .check { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--lavender); color: var(--purple); display: grid; place-items: center; }
.trust-list strong { display: block; color: var(--navy); font-size: 16px; }
.trust-list span { color: var(--muted); font-size: 14px; }
.trust-visual {
  background: linear-gradient(160deg, var(--purple), var(--blue)); border-radius: 28px; padding: 48px;
  color: #fff; position: relative; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
}
.trust-visual img { position: absolute; width: 260px; inset-inline-end: -40px; top: -40px; opacity: .25; }
.trust-visual blockquote { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.5; position: relative; }
.trust-visual cite { display: block; margin-top: 18px; font-style: normal; font-size: 14px; color: rgba(255,255,255,.75); }

/* About */
.about { background: #fff; }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { padding: 22px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.value strong { display: block; color: var(--navy); margin-bottom: 6px; }
.value span { font-size: 14px; color: var(--muted); }

/* Contact */
.contact {
  background: radial-gradient(800px 400px at 50% 120%, rgba(224,165,38,.3), transparent 60%),
              linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #fff; text-align: center;
}
.contact h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 16px; }
.contact p { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 36px; font-size: 17px; }
.mail {
  display: inline-flex; align-items: center; gap: 14px; direction: ltr;
  background: #fff; color: var(--navy); font-weight: 700; font-size: clamp(16px, 2.4vw, 22px);
  padding: 18px 30px; border-radius: 16px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  transition: transform .15s ease;
}
.mail:hover { transform: translateY(-2px); }
.mail .at { width: 40px; height: 40px; border-radius: 12px; background: var(--gold); display: grid; place-items: center; color: var(--navy-deep); }
.contact small { display: block; margin-top: 22px; color: rgba(255,255,255,.5); font-size: 13px; }

/* Footer */
footer { background: var(--navy-deep); color: rgba(255,255,255,.65); border-top: 1px solid rgba(255,255,255,.08); }
footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 34px 0; font-size: 14px; }
footer img { height: 40px; width: auto; }
footer .links { display: flex; gap: 22px; }
footer .links a:hover { color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; padding: 70px 0 80px; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-chips { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art .mark { width: 200px; }
  .hero-art .ring { width: 300px; height: 300px; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .trust .container, .about .container { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(1160px, 100% - 32px); }
  .section { padding: 68px 0; }
  .nav-links { display: none; position: absolute; top: 72px; inset-inline: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links { display: flex; }
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .nav-links .only-mobile { display: block; }
  .grid-3, .grid-2, .steps, .values { grid-template-columns: 1fr; }
  .trust-visual { padding: 32px; min-height: 320px; }
  .mail { padding: 14px 18px; }
}
