/* Stealth Launch — site styles */

:root {
  --ink: #0b1220;
  --ink-mid: #152033;
  --paper: #eef1f5;
  --paper-deep: #e2e7ee;
  --surface: rgba(255, 255, 255, 0.72);
  --text: #161d2b;
  --muted: #5a6578;
  --line: rgba(11, 18, 32, 0.1);
  --accent: #1f6f78;
  --accent-soft: #d7ecee;
  --ayat: #0e96f6;
  --mmc: #085460;
  --radius: 4px;
  --max: 1120px;
  --nav-h: 4.25rem;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(31, 111, 120, 0.16), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(14, 150, 246, 0.08), transparent 50%),
    linear-gradient(180deg, #f7f8fa 0%, var(--paper) 40%, var(--paper-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(238, 241, 245, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: cover;
  border-radius: 6px;
}

.brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--muted);
  text-decoration: none;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.3rem;
  height: 2px;
  background: var(--accent);
  transition: right 0.35s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  right: 0;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ayat {
  background: var(--ayat);
  color: #fff;
}

.btn-ayat:hover {
  background: #0b7fd4;
  color: #fff;
}

.btn-mmc {
  background: var(--mmc);
  color: #fff;
}

.btn-mmc:hover {
  background: #064049;
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-badge img {
  height: 3.15rem;
  width: auto;
  display: block;
}

.store-badge-google img {
  height: 4.55rem;
  margin: -0.7rem -0.55rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: end;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(32, 5, 86, 0.15) 0%, rgba(32, 5, 86, 0.2) 45%, rgba(11, 8, 28, 0.88) 100%),
    url("../img/brand/stealth-launch-cover.jpg") center / cover no-repeat;
  z-index: 0;
  transform: scale(1.02);
  animation: hero-drift 22s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.hero .container {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 40rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(100% - 2.5rem, 40rem);
}

.hero .brand-word {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: #fff;
}

.hero .lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
}

.hero .btn-primary {
  background: #fff;
  color: var(--ink);
}

.hero .btn-primary:hover {
  background: var(--accent-soft);
  color: var(--ink);
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.muted {
  color: var(--muted);
}

/* —— Product teasers / portfolio —— */
.product-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.product-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 18, 32, 0.1);
  text-decoration: none;
  color: inherit;
}

.product-tile .media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--ink-mid);
}

.product-tile .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease);
}

.product-tile:hover .media img {
  transform: scale(1.04);
}

.product-tile .body {
  padding: 1.35rem 1.4rem 1.6rem;
}

.product-tile .tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.product-tile h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

/* —— Services —— */
.service-list {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.service-item {
  padding: 0;
  border: none;
  background: none;
}

.service-item::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1rem;
}

/* —— About —— */
.about-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.values {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .values {
    grid-template-columns: 1fr 1fr;
  }
}

.value dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.value dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-aside {
  padding: 1.75rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}

.about-aside h3 {
  color: #fff;
  font-size: 1.3rem;
}

.about-aside strong {
  color: #fff;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: #fff;
  letter-spacing: -0.03em;
}

.stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* —— Contact —— */
.contact-block {
  max-width: 34rem;
}

.contact-block a.email,
a.email {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}

.contact-block a.email:hover,
a.email:hover {
  color: var(--accent);
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: 3.5rem 0 2.5rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
}

.page-hero .lede {
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--muted);
}

/* —— Product detail —— */
.product-hero {
  padding: 2.5rem 0 3rem;
}

.product-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .product-hero-grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.product-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

.status-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.status-pill.soon {
  background: #f3e6d8;
  color: #8a4b1a;
}

.phone-frame {
  margin: 0 auto;
  width: min(100%, 280px);
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 0 24px 50px rgba(11, 18, 32, 0.2);
  background: #000;
}

.phone-frame img {
  width: 100%;
  display: block;
}

.web-shot {
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 48px rgba(11, 18, 32, 0.12);
}

.web-shot img {
  width: 100%;
  display: block;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .feature-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .feature-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.detail-blocks {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .detail-blocks {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
}

.detail-block h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.mode-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.mode-list li {
  margin-bottom: 0.45rem;
}

.mode-list strong {
  color: var(--text);
}

.support-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: end;
}

.support-phones .phone-frame {
  width: 100%;
}

.support-phone-offset {
  transform: translateY(1.5rem);
}

.support-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .support-layout {
    grid-template-columns: 1.35fr 0.75fr;
    align-items: start;
    gap: 3rem;
  }
}

.support-aside .phone-frame {
  width: min(100%, 240px);
  margin: 0;
}

.faq-list {
  margin: 0;
}

.faq-item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.faq-item dd {
  margin: 0;
  color: var(--muted);
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.98rem;
}

.gallery {
  display: grid;
  gap: 1rem;
}

.gallery.phones {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.gallery.phones .phone-frame {
  width: 100%;
  border-radius: 18px;
  border-width: 2px;
}

.gallery.phones.mmc-gallery {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .gallery.phones.mmc-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery.phones.mmc-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery.web {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .gallery.web {
    grid-template-columns: 1fr 1fr;
  }
}

.gallery figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.callout {
  padding: 1.75rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 2rem;
}

.callout h3 {
  color: #fff;
}

.callout a {
  color: #9fd7dd;
}

/* —— Privacy —— */
.legal {
  padding: 2.5rem 0 5rem;
  max-width: 44rem;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal .meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.summary-box {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.35rem;
  margin: 1.5rem 0;
}

.summary-box ul {
  margin: 0.5rem 0 0;
  color: var(--text);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  background: rgba(11, 18, 32, 0.03);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--ink);
}

.copyright {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 1.5rem;
}

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* —— Mobile nav —— */
@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(238, 241, 245, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  body.nav-open .nav {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: calc(92vh - var(--nav-h));
    padding: 3rem 0 3.5rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(32, 5, 86, 0.25) 0%, rgba(11, 8, 28, 0.9) 78%),
      url("../img/brand/stealth-launch-cover.jpg") center / cover no-repeat;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
