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

:root {
  --ink: #071525;
  --ink-2: #0B1E32;
  --ink-3: #102A42;
  --green: #27CC8D;
  --green-bright: #57E5AF;
  --green-deep: #0C8A63;
  --green-soft: #DDF8EC;
  --paper: #F4F8F6;
  --surface: #FFFFFF;
  --surface-muted: #ECF2EF;
  --border: #D6E1DC;
  --text: #11202F;
  --muted: #627181;
  --muted-dark: #9FB0C1;
  --white: #F8FBFA;
  --shadow: 0 18px 55px rgba(3, 18, 32, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Archivo', Arial, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(820px, 100%); }
section { position: relative; padding: 86px 0; }

/* Header */
header.site {
  position: relative;
  z-index: 50;
  background: rgba(4, 18, 34, .98);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.home header.site {
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(180deg, rgba(2, 12, 25, .82) 0%, rgba(2, 12, 25, .38) 64%, rgba(2, 12, 25, 0) 100%);
  border-bottom-color: rgba(255,255,255,.05);
  backdrop-filter: blur(2px);
}
.header-inner {
  width: min(1230px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; padding: 0; background: transparent; }
.logo img { width: 228px; height: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,.16)); }
nav.mainnav { display: flex; align-items: center; gap: 3px; }
nav.mainnav > a {
  color: #C4D0DD;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 13px;
  transition: color .2s ease, background .2s ease;
}
nav.mainnav > a:hover { color: #fff; }
nav.mainnav > a.active { color: #fff; }
nav.mainnav > a.active::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--green);
  margin: 6px auto -8px;
}
.nav-login {
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 5px;
  margin-left: 7px;
  color: #fff !important;
}
.btn-nav {
  margin-left: 8px;
  background: var(--green);
  color: #062033 !important;
  padding: 11px 17px !important;
  border-radius: 5px;
  box-shadow: 0 9px 28px rgba(39,204,141,.18);
}
.btn-nav:hover { background: var(--green-bright); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.04);
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
}

/* Type */
.eyebrow,
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 17px;
}
.eyebrow::before,
.hero-kicker::before { content: ''; width: 32px; height: 2px; background: var(--green); flex: 0 0 auto; }
.section-dark .eyebrow,
.page-hero .eyebrow,
.hero-riyadh .hero-kicker { color: #72E9B8; }
h1, h2, h3 { letter-spacing: -.03em; }
h1 { font-size: clamp(42px, 5.2vw, 72px); line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.12; font-weight: 700; }
h3 { font-size: 18px; line-height: 1.28; font-weight: 600; }
p.lede { font-size: 17px; line-height: 1.75; color: var(--muted); max-width: 690px; }
.section-intro { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 38px; }
.section-intro .lede { max-width: 560px; }
.subtext { color: var(--muted); font-size: 14px; }

/* Buttons */
.btn {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #062033; box-shadow: 0 10px 28px rgba(39,204,141,.20); }
.btn-primary:hover { background: var(--green-bright); }
.btn-secondary { border-color: #A8B5C0; color: var(--ink-2); background: transparent; }
.btn-secondary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(7,21,37,.22); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Home hero */
.hero-riyadh {
  position: relative;
  isolation: isolate;
  min-height: 808px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 170px 0 78px;
  background: url('assets/riyadh-night-full.jpg') center center / cover no-repeat;
}
.hero-riyadh::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 22% 44%, rgba(39,204,141,.10), transparent 31%),
    linear-gradient(90deg, rgba(2,13,27,.91) 0%, rgba(2,13,27,.84) 22%, rgba(2,13,27,.66) 39%, rgba(2,13,27,.30) 58%, rgba(2,13,27,.08) 78%, rgba(2,13,27,.02) 100%),
    linear-gradient(180deg, rgba(1,9,20,.14) 0%, rgba(1,9,20,.02) 42%, rgba(1,10,22,.82) 100%);
}
.hero-riyadh .hero-copy { max-width: 700px; position: relative; z-index: 1; }
.hero-riyadh h1 { color: #fff; text-shadow: 0 3px 32px rgba(0,0,0,.24); }
.hero-riyadh h1 em { color: #51E0A9; font-style: normal; }
.hero-riyadh p.lede { margin-top: 24px; color: #D8E3EE; font-size: 18px; text-shadow: 0 2px 20px rgba(0,0,0,.24); }
.hero-riyadh .actions { margin-top: 34px; display: flex; gap: 13px; flex-wrap: wrap; }
.hero-meta {
  max-width: 790px;
  margin-top: 65px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero-meta > div { padding: 17px 18px 0 0; }
.hero-meta strong, .hero-meta span { display: block; }
.hero-meta strong { color: #fff; font-size: 12px; }
.hero-meta span { margin-top: 5px; color: #9FB1C4; font-size: 11px; }
.hero-location { position: absolute; right: 28px; bottom: 20px; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* Subpage heroes */
.page-hero {
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  padding: 88px 0 78px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,18,34,.96) 0%, rgba(4,18,34,.90) 46%, rgba(4,18,34,.36) 100%),
    url('assets/riyadh-night-full.jpg') right 42% center / cover no-repeat;
  opacity: .94;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 860px; font-size: clamp(40px, 4.5vw, 62px); }
.page-hero p.lede { margin-top: 20px; color: #BBC9D6; max-width: 720px; }

/* Section surfaces */
.section-light { background: var(--paper); }
.section-white { background: #fff; }
.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(39,204,141,.09), transparent 27%),
    linear-gradient(150deg, #061526 0%, #0A2137 100%);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lede, .section-dark .subtext { color: #AFC0CF; }

/* Product panel */
.product-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 52px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 24px 60px rgba(0,0,0,.18);
}
.product-panel .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #80EDBF;
  border: 1px solid rgba(87,229,175,.28);
  background: rgba(39,204,141,.08);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.product-panel p { margin: 14px 0 21px; color: #B8C7D4; font-size: 14px; }
.product-panel ul { list-style: none; margin-bottom: 26px; }
.product-panel li { position: relative; padding: 8px 0 8px 24px; color: #DCE6EF; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.product-panel li::before { content: '✓'; position: absolute; left: 0; color: var(--green-bright); font-weight: 700; }
.product-mock {
  color: var(--text);
  background: #F7FAF8;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 9px;
  padding: 24px;
  box-shadow: 0 24px 55px rgba(0,0,0,.22);
}
.product-mock .mock-top { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: #12825F; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(39,204,141,.12); }
.product-mock .stat-row { display: grid; grid-template-columns: repeat(3,1fr); margin: 18px 0 16px; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.product-mock .stat { padding: 13px 14px; border-right: 1px solid var(--border); background: #fff; }
.product-mock .stat:last-child { border-right: 0; }
.product-mock .stat .n { font-size: 24px; font-weight: 700; line-height: 1; }
.product-mock .stat .n.accent { color: #CA5E38; }
.product-mock .stat .l { margin-top: 5px; font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.product-mock .mock-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 11px 0; border-bottom: 1px solid #E4EBE7; font-size: 11px; }
.product-mock .mock-row:last-child { border-bottom: 0; }
.product-mock .state { color: var(--green-deep); font-weight: 700; }

/* Cards */
.grid3, .grid2 { display: grid; gap: 18px; }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cell,
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 35px rgba(6,26,42,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cell:hover,
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #B8C8C0; }
.cell .card-num { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 7px; background: var(--green-soft); color: #0F825F; font-size: 11px; font-weight: 700; margin-bottom: 26px; }
.cell h3 { margin-bottom: 9px; }
.cell p { font-size: 14px; color: var(--muted); }
.section-dark .cell { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.10); box-shadow: none; }
.section-dark .cell p { color: #AFC0CF; }

/* Row list */
.rowlist { border-top: 1px solid var(--border); }
.rowlist .row { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 26px; padding: 27px 0; border-bottom: 1px solid var(--border); }
.rowlist .num { color: var(--green-deep); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.rowlist h3 { margin-bottom: 5px; }
.rowlist p { max-width: 720px; color: var(--muted); font-size: 14px; }
.status-tag { display: inline-flex; margin-left: 9px; vertical-align: middle; border-radius: 999px; padding: 4px 8px; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.status-live { background: var(--green-soft); color: #0F825F; }
.status-dev { background: #E9EEF1; color: #687782; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.045);
}
.price-card.featured { border-color: rgba(87,229,175,.56); background: linear-gradient(180deg, rgba(39,204,141,.09), rgba(255,255,255,.04)); }
.price-card .badge { position: absolute; top: -12px; left: 24px; background: var(--green); color: #082034; padding: 5px 10px; border-radius: 999px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.price-card h3 { color: #fff; margin-bottom: 10px; }
.price-card .price { color: #fff; font-size: 38px; font-weight: 700; line-height: 1; }
.price-card .price-note, .price-card .price-desc { color: #9FB1C3; font-size: 12px; }
.price-card .price-note { margin-top: 4px; }
.price-card .price-desc { margin: 16px 0 18px; min-height: 38px; }
.price-card ul { list-style: none; flex: 1; margin-bottom: 23px; }
.price-card li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #D8E3EC; font-size: 12px; }
.price-card li .val { color: #91A5B7; text-align: right; }
.price-card li.included .val { color: #68E2B0; font-weight: 600; }
.price-card .btn { width: 100%; }
.price-card .btn-secondary { color: #fff; border-color: rgba(255,255,255,.34); }
.price-card .btn-secondary:hover { background: #fff; color: var(--ink); }
.pricing-note { color: #8FA3B5; text-align: center; font-size: 11px; margin-top: 18px; }

/* Story / copy blocks */
.copy-card {
  padding: 38px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(5,24,39,.05);
}
.copy-card h2 { margin-bottom: 18px; }
.copy-card p { color: var(--muted); margin-bottom: 15px; }
.copy-card p:last-child { margin-bottom: 0; }

/* CTA */
.cta-band {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(255,255,255,.14), transparent 28%),
    linear-gradient(105deg, #087657 0%, #16AE7C 55%, #27CC8D 100%);
  padding: 66px 0;
}
.cta-band .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { max-width: 700px; color: #E7FFF5; }
.cta-band .btn { flex: 0 0 auto; border-color: rgba(255,255,255,.70); color: #fff; }
.cta-band .btn:hover { background: #fff; color: var(--ink); }

/* Forms */
.contact-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); gap: 28px; align-items: start; }
.form-panel { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: #596977; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; border: 1px solid #D3DED8; border-radius: 6px; background: #F7FAF8; padding: 12px 13px; color: var(--text); font-size: 14px; }
.field input:focus, .field textarea:focus { outline: 2px solid rgba(39,204,141,.28); border-color: var(--green); }
.field textarea { min-height: 135px; resize: vertical; }
.contact-card { color: #fff; background: linear-gradient(160deg, #081A2B 0%, #0D2C45 100%); border-radius: 10px; padding: 32px; box-shadow: var(--shadow); }
.contact-card h3 { margin-bottom: 22px; }
.contact-item { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.10); }
.contact-item:first-of-type { border-top: 0; padding-top: 0; }
.contact-item small { display: block; margin-bottom: 5px; color: #83A0B7; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-item a, .contact-item div { color: #E9F0F5; font-size: 13px; }

/* Footer */
footer.site {
  position: relative;
  color: #AAB8C5;
  background:
    radial-gradient(circle at 17% 0%, rgba(39,204,141,.08), transparent 30%),
    #020E1B;
  border-top: 1px solid rgba(87,229,175,.18);
  padding: 60px 0 28px;
}
footer.site::before { content: ''; position: absolute; top: 0; left: 0; width: 28%; max-width: 430px; height: 2px; background: linear-gradient(90deg, var(--green), transparent); }
.foot-grid { display: grid; grid-template-columns: 1.6fr .7fr .8fr 1fr; gap: 46px; }
.foot-brand img { width: 265px; height: auto; margin-bottom: 20px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.18)); }
.foot-brand p { max-width: 360px; color: #93A6B7; font-size: 12px; line-height: 1.75; }
footer h4 { margin-bottom: 15px; color: #71899E; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; font-size: 12px; }
footer a { color: #B6C3CE; }
footer a:hover { color: #fff; }
.footer-location { color: #D8E4EC; font-size: 12px; line-height: 1.7; }
.copyright { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #687D90; font-size: 10px; }

@media (max-width: 1050px) {
  .logo img { width: 200px; }
  nav.mainnav > a { padding-left: 9px; padding-right: 9px; }
  .product-panel { grid-template-columns: 1fr; }
  .product-mock { max-width: 760px; width: 100%; }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .foot-grid > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  nav.mainnav {
    position: absolute;
    top: 82px;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 14px;
    background: rgba(4,18,34,.98);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
  }
  nav.mainnav.open { display: flex; }
  nav.mainnav > a { padding: 12px 13px; }
  nav.mainnav > a.active::after { display: none; }
  .nav-login, .btn-nav { margin-left: 0; }
  .hero-riyadh { background-position: 57% center; }
  .hero-riyadh::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,16,31,.30), rgba(2,16,31,.12) 58%, rgba(2,16,31,.02)); }
  .grid3, .pricing-grid { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .section-intro, .cta-band .cta-inner { align-items: flex-start; flex-direction: column; }
  .contact-layout { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .wrap, .header-inner { width: min(100% - 32px, 1180px); }
  section { padding: 66px 0; }
  .header-inner { min-height: 78px; }
  .logo img { width: 170px; }
  nav.mainnav { top: 72px; right: 16px; left: 16px; }
  .hero-riyadh { min-height: 780px; padding: 132px 0 56px; align-items: flex-end; background-position: 62% center; }
  .hero-riyadh::after { background: linear-gradient(180deg, rgba(2,16,31,.22) 0%, rgba(2,16,31,.60) 36%, rgba(2,16,31,.97) 72%, #020E1B 100%); }
  .hero-riyadh h1 { font-size: 43px; }
  .hero-riyadh p.lede { font-size: 15px; line-height: 1.65; }
  .hero-riyadh .actions { flex-direction: column; }
  .hero-riyadh .btn { width: 100%; }
  .hero-meta { grid-template-columns: 1fr; margin-top: 34px; }
  .hero-meta > div { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
  .hero-location { display: none; }
  .page-hero { padding: 68px 0 60px; }
  .page-hero::before { background: linear-gradient(180deg, rgba(4,18,34,.93), rgba(4,18,34,.88)), url('assets/riyadh-night-full.jpg') 72% center / cover no-repeat; }
  .product-panel { padding: 28px 22px; gap: 34px; }
  .product-mock { padding: 18px; }
  .product-mock .stat-row { grid-template-columns: 1fr; }
  .product-mock .stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .product-mock .stat:last-child { border-bottom: 0; }
  .rowlist .row { grid-template-columns: 36px 1fr; gap: 14px; }
  .cell, .copy-card, .form-panel, .contact-card, .price-card { padding: 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-brand img { width: 240px; }
  .copyright { flex-direction: column; }
}
