@font-face {
  font-family: "Yekan Bakh";
  src: url("/landing/fonts/YekanBakhFaNum-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("/landing/fonts/YekanBakhFaNum-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("/landing/fonts/YekanBakhFaNum-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #2b4dd0;
  --blue-deep: #1a2f8f;
  --blue-soft: #e8edff;
  --ink: #101828;
  --muted: #475467;
  --line: #d0d5dd;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --sand: #d2c1b6;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
  --font: "Yekan Bakh", Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.9rem;
  z-index: 100;
  border-radius: 8px;
}
.skip-link:focus {
  top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.2rem;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:focus-visible {
  outline: 3px solid rgba(43, 77, 208, 0.35);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-deep);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-lg {
  min-height: 3.15rem;
  padding-inline: 1.45rem;
  font-size: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(245, 247, 251, 0.86);
  border-bottom: 1px solid rgba(208, 213, 221, 0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 40px;
}
.nav {
  display: flex;
  gap: 1.25rem;
}
.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.nav a:hover {
  color: var(--blue);
}
.header-cta {
  display: flex;
  gap: 0.55rem;
}

/* Hero — one composition, brand-first, full-bleed photo */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.82) contrast(1.05);
  transform: scale(1.02);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 14, 36, 0.88) 0%, rgba(12, 24, 64, 0.72) 42%, rgba(16, 28, 72, 0.45) 100%),
    linear-gradient(180deg, rgba(8, 14, 36, 0.35), rgba(8, 14, 36, 0.72));
}
@keyframes heroDrift {
  from { transform: scale(1.02); }
  to { transform: scale(1.06); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photo {
    animation: heroDrift 22s ease-in-out infinite alternate;
  }
}
.hero-inner {
  padding: 5.5rem 0 4.5rem;
  color: #fff;
  max-width: 760px;
}
.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.hero-brand img {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.25));
}
.hero-brand-name {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.25;
  font-weight: 700;
  max-width: 16ch;
}
.hero-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}
.hero .btn-primary {
  background: #fff;
  color: var(--blue-deep);
}
.hero .btn-primary:hover {
  background: var(--sand);
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 700ms ease forwards;
}
.delay-1 { animation-delay: 120ms; }
.delay-2 { animation-delay: 220ms; }
.delay-3 { animation-delay: 320ms; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-photo,
  .solution-media img {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Answer-first SEO */
.answer {
  padding: 2.75rem 0 1rem;
}
.answer-text {
  margin: 0;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border-inline-start: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-size: 1.05rem;
  box-shadow: var(--shadow);
}

/* Solutions */
.solutions {
  padding: 3.5rem 0 2rem;
}
.section-head {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}
.section-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.35;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.solution {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}
.solution:hover {
  border-color: #98a2b3;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.solution-media {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1d2939;
}
.solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
  transition: transform 320ms ease, filter 320ms ease;
}
.solution:hover .solution-media img {
  transform: scale(1.03);
  filter: saturate(0.88) contrast(1.05);
}
.solution-body {
  padding: 1.15rem 1.2rem 1.35rem;
}
.solution-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}
.solution-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Features */
.features {
  padding: 3.25rem 0;
  background:
    linear-gradient(180deg, transparent, rgba(43, 77, 208, 0.03)),
    var(--bg);
}
.features-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.features-media {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #101828;
}
.features-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  filter: saturate(0.8) contrast(1.04);
}
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.feature-list li {
  padding-top: 0.35rem;
  border-top: 2px solid var(--blue-soft);
}
.feature-list h3 {
  margin: 0.7rem 0 0.35rem;
  font-size: 1.1rem;
}
.feature-list p {
  margin: 0;
  color: var(--muted);
}

/* FAQ */
.faq {
  padding: 3.5rem 0;
}
.faq-list {
  display: grid;
  gap: 0.75rem;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  float: left;
  color: var(--blue);
  font-weight: 700;
}
.faq-list details[open] summary::after {
  content: "–";
}
.faq-list p {
  margin: 0.65rem 0 0.2rem;
  color: var(--muted);
}

/* Contact */
.contact {
  padding: 4rem 0;
  background: linear-gradient(145deg, #15275f, #2b4dd0 55%, #4d6de0);
  color: #fff;
}
.contact-inner {
  text-align: center;
  max-width: 40rem;
}
.contact h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.contact p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.88);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}
.contact .btn-primary {
  background: #fff;
  color: var(--blue-deep);
}
.contact .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.contact .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.78);
  padding: 1.75rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand strong {
  display: block;
  color: #fff;
}
.footer-brand p,
.footer-copy {
  margin: 0;
  font-size: 0.9rem;
}
.footer-copy a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-copy a:hover {
  color: var(--sand);
}

.bbb-error {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  background: #fef3f2;
  color: #912018;
  border: 1px solid #fecdca;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  z-index: 50;
  box-shadow: var(--shadow);
}
.bbb-error p {
  margin: 0.2rem 0;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .solution-grid,
  .features-layout {
    grid-template-columns: 1fr;
  }
  .features-media {
    order: -1;
  }
  .hero-inner {
    padding-top: 4.5rem;
  }
  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .header-cta .btn-ghost {
    display: none;
  }
  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
