/* Color Palette */
:root {
  --bg: #e5e5e5;
  --brand: #14213d;
  --primary: #fca311;
  --text: #000000;
  --muted: rgba(0, 0, 0, .62);
  --surface: #ffffff;
  --border: rgba(0, 0, 0, .12);
  --shadow: 0 16px 40px rgba(0, 0, 0, .10), 0 6px 16px rgba(0, 0, 0, .06);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Vazirmatn", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background:
    radial-gradient(1200px 300px at 70% -10%, rgba(252, 163, 17, .15), transparent 60%),
    linear-gradient(180deg, var(--bg), #fff 40%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(10px);
  background: rgba(20, 33, 61, .85);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .25s ease;
}

header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .2px;
}

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(252, 163, 17, .35);
  object-fit: cover;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a.link {
  opacity: .92;
  transition: .2s ease;
}

.nav a.link:hover {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #111;
  box-shadow: 0 10px 26px rgba(252, 163, 17, .28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(252, 163, 17, .35);
}

.btn-white {
  background: #ffffff;
  color: var(--brand); /* Dark Blue text */
  box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: #f2f2f2;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}

/* Hero Section */
.hero {
  background:
    radial-gradient(800px 240px at 10% 0%, rgba(252, 163, 17, .16), transparent 60%),
    linear-gradient(180deg, rgba(20, 33, 61, 1) 0%, rgba(20, 33, 61, .94) 55%, transparent 56%);
  padding: 68px 0 38px;
  color: #fff;
  border-bottom: 1px solid rgba(20, 33, 61, .12);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 38px;
  align-items: center;
}

h1 {
  font-size: clamp(28px, 4.1vw, 48px);
  line-height: 1.12;
  margin: 0 0 14px;
}

.lead {
  font-size: clamp(15px, 2.1vw, 19px);
  color: rgba(255, 255, 255, .87);
  margin-bottom: 22px;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  padding: 8px 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 20px;
  width: fit-content;
}

.availability-badge svg {
  color: #4ade80;
}

/* Phone Mockup */
.phone {
  width: min(430px, 95%);
  margin-inline: auto;
  border: 10px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  background: #0d1222;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  aspect-ratio: 412 / 918;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .6);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.phone::after {
  content: "";
  position: absolute;
  inset: -28% -18% auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at center, rgba(252, 163, 17, .35), transparent 70%);
  filter: blur(6px);
}

/* Features Section */
.features {
  padding: 56px 0;
  background: var(--surface);
}

.features .heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(252, 163, 17, .10), transparent 45%);
  opacity: .7;
}

.card:hover {
  transform: translateY(-3px);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(14px) scale(.98);
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
  background: #fafafa;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

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

/* Responsive Design */
@media (max-width: 1050px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 780px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .card,
  .reveal.in {
    transition: none !important;
  }
}