:root {
  --wine: #5b0b24;
  --wine-dark: #2a0714;
  --orange: #f97316;
  --gold: #f8b84e;
  --ink: #101828;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.28);
  --glass: rgba(255, 255, 255, 0.72);
}
@font-face {
  font-family: "B7R Arabic";
  src: url("/fonts/SegoeUI.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "B7R Arabic";
  src: url("/fonts/SegoeUI-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "B7R Arabic", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: #fff7ed;
}
a { color: inherit; text-decoration: none; }
.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(249, 115, 22, 0.18), transparent 30rem),
    radial-gradient(circle at 82% 18%, rgba(91, 11, 36, 0.16), transparent 28rem),
    linear-gradient(135deg, #fff 0%, #fff7ed 48%, #f8fafc 100%);
}
.orb {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.75;
  animation: drift 9s ease-in-out infinite alternate;
}
.orb-one { left: 6%; top: 14%; width: 110px; height: 110px; background: rgba(249, 115, 22, 0.18); }
.orb-two { right: 8%; top: 42%; width: 150px; height: 150px; background: rgba(91, 11, 36, 0.12); animation-delay: -2s; }
.orb-three { left: 22%; bottom: 10%; width: 90px; height: 90px; background: rgba(248, 184, 78, 0.22); animation-delay: -4s; }
.nav, .hero, .section, .footer {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--glass);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}
.brand img {
  width: 68px;
  height: 48px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.brand span { display: grid; gap: 2px; }
.brand small { color: var(--muted); font-size: 11px; }
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #475569;
  font-weight: 800;
}
.nav-links a { padding: 10px 14px; border-radius: 999px; }
.nav-links a:hover { background: #fff; color: var(--wine); }
.nav-cta { background: var(--wine); color: #fff !important; box-shadow: 0 12px 30px rgba(91, 11, 36, 0.2); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 52px;
  align-items: center;
  padding: 72px 0 86px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--orange);
  font-weight: 900;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}
h1, h2 {
  margin: 0;
  color: var(--wine-dark);
  letter-spacing: -0.045em;
}
h1 {
  max-width: 790px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.04;
}
h2 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.1;
}
.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #475569;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.9;
  font-weight: 700;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.primary {
  background: linear-gradient(135deg, var(--wine), #7f1237);
  color: #fff;
  box-shadow: 0 18px 45px rgba(91, 11, 36, 0.26);
}
.secondary {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: var(--wine);
}
.primary:hover, .secondary:hover { transform: translateY(-2px); }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 34px;
}
.metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
}
.metrics strong { display: block; color: var(--wine); font-size: 22px; }
.metrics span { color: var(--muted); font-size: 13px; font-weight: 800; }
.showcase {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}
.phone {
  position: relative;
  width: min(360px, 88vw);
  min-height: 590px;
  border-radius: 48px;
  padding: 16px;
  background: linear-gradient(145deg, #111827, #2a0714);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.28);
  animation: phoneFloat 5.5s ease-in-out infinite;
}
.screen-shot {
  display: block;
  width: 100%;
  min-height: 558px;
  border-radius: 36px;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}
.float-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
  animation: cardFloat 4.6s ease-in-out infinite;
}
.float-card span { color: var(--muted); font-size: 12px; font-weight: 900; }
.float-card strong { color: var(--wine); font-size: 20px; }
.float-top { top: 86px; right: 0; }
.float-bottom { bottom: 98px; left: 0; animation-delay: -1.6s; }
.section { padding: 58px 0; }
.section-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 24px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  min-height: 230px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.07);
  transition: transform 180ms ease, border-color 180ms ease;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(249, 115, 22, 0.42); }
.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff7ed;
  color: var(--orange);
  font-weight: 900;
}
.feature h3 { margin: 22px 0 10px; color: var(--wine); font-size: 22px; }
.feature p { margin: 0; color: var(--muted); line-height: 1.8; font-weight: 700; }
.workflow {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  align-items: center;
}
.step {
  padding: 24px;
  border-radius: 28px;
  background: var(--wine);
  color: #fff;
  box-shadow: 0 22px 54px rgba(91, 11, 36, 0.2);
}
.step small {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
  font-weight: 900;
}
.step strong { display: block; margin-top: 16px; font-size: 22px; }
.step span { display: block; margin-top: 8px; color: rgba(255,255,255,0.78); font-weight: 700; line-height: 1.7; }
.line { height: 2px; background: linear-gradient(90deg, transparent, var(--orange), transparent); }
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at left, rgba(249, 115, 22, 0.24), transparent 18rem),
    #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}
.cta p { margin: 14px 0 0; color: var(--muted); font-weight: 800; line-height: 1.8; }
.footer {
  padding: 42px 0;
  color: var(--muted);
  font-weight: 800;
}
.reveal { animation: reveal 720ms ease both; }
.feature:nth-child(2), .step:nth-child(3) { animation-delay: 120ms; }
.feature:nth-child(3), .step:nth-child(5) { animation-delay: 240ms; }
.feature:nth-child(4) { animation-delay: 360ms; }
@keyframes reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, -18px, 0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .showcase { min-height: 580px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow { grid-template-columns: 1fr; gap: 14px; }
  .line { height: 36px; width: 2px; justify-self: center; background: linear-gradient(180deg, transparent, var(--orange), transparent); }
  .cta { align-items: stretch; flex-direction: column; }
}
@media (max-width: 640px) {
  .nav { align-items: flex-start; }
  .nav-links a:not(.nav-cta) { display: none; }
  .metrics { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .showcase { min-height: 500px; }
  .phone { min-height: 500px; }
  .screen-shot { min-height: 468px; }
  .float-card { display: none; }
}
