:root {
  --bg: #050505;
  --bg-soft: #0b0b0c;
  --surface: #141416;
  --border: rgba(255, 255, 255, 0.09);
  --text: #fffdf1;
  --text-dim: rgba(255, 253, 241, 0.66);
  --accent: #9c0001;
  --accent-2: #c30002;
  --gold: #d4af37;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p { color: var(--text-dim); }

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

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

.center { text-align: center; }

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: auto;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}

.brand-name { font-size: 17px; }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-dim);
}

.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Language switcher */

.lang-switch { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.lang-btn:hover { border-color: rgba(255,255,255,0.25); }

.lang-btn svg { color: var(--gold); transition: transform 0.15s ease; }

.lang-switch.open .lang-btn svg { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  display: none;
  z-index: 60;
}

.lang-switch.open .lang-menu { display: block; }

.lang-menu li {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dim);
  cursor: pointer;
}

.lang-menu li:hover { background: rgba(255,255,255,0.06); color: var(--text); }

.lang-menu li[aria-selected="true"] { color: var(--gold); font-weight: 600; }

/* Download switcher */

.dl-switch { position: relative; }

.dl-btn { gap: 8px; cursor: pointer; border: none; }

.dl-btn svg { transition: transform 0.15s ease; }

.dl-switch.open .dl-btn svg { transform: rotate(180deg); }

.dl-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  display: none;
  z-index: 60;
}

.dl-switch.open .dl-menu { display: block; }

.dl-menu li a,
.dl-menu li.dl-disabled {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.dl-menu .platform-icon { width: 14px; height: 14px; }

.dl-menu li a { color: var(--text-dim); }

.dl-menu li a:hover { background: rgba(255,255,255,0.06); color: var(--text); }

.dl-menu li.dl-disabled { color: rgba(255,253,241,0.35); cursor: not-allowed; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.platform-icon { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

/* Hero */

.hero { padding: 72px 24px 40px; }

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.hero-sub {
  font-size: 17px;
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { display: flex; justify-content: center; }

/* Phone mockups */

.phone {
  position: relative;
  width: 260px;
  height: 540px;
  border-radius: 40px;
  background: var(--surface);
  border: 8px solid #1c1c1e;
  box-shadow: 0 30px 60px -20px rgba(156, 0, 1, 0.35), 0 10px 30px rgba(0,0,0,0.5);
  overflow: hidden;
}

.phone-sm { width: 180px; height: 374px; border-radius: 30px; border-width: 6px; }

.phone-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-soft);
}

/* Sections */

.section { padding: 88px 24px; }

.section-alt { background: var(--bg-soft); }

.section-inner { max-width: var(--max); margin: 0 auto; }

.section-narrow { max-width: 720px; }

.section h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 44px; }

.grid { display: grid; gap: 22px; }

.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease;
}

.card:hover { border-color: rgba(212, 175, 55, 0.35); }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--text);
  margin-bottom: 16px;
  transition: transform 0.25s ease;
}

.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }

.card-icon svg { display: block; }

.card h3 { font-size: 17px; margin-bottom: 8px; }

.card p { font-size: 14.5px; margin: 0; }

/* Gallery */

.gallery {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.gallery-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-item {
  margin: 0;
  text-align: center;
}

.plain-shot {
  width: 180px;
  height: auto;
  border-radius: 18px;
  display: block;
}

.gallery-item figcaption {
  margin-top: 14px;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-dim);
}

.note {
  text-align: center;
  font-size: 13px;
  margin-top: 32px;
  color: rgba(255,253,241,0.4);
}

/* FAQ */

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-size: 18px;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p { margin: 12px 0 0; font-size: 14.5px; }

/* Contact */

.contact-actions { margin: 24px 0 18px; }

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding: 26px 24px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,253,241,0.45);
}

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

/* Responsive */

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .phone-hero { width: 220px; height: 460px; }
  .gallery { gap: 16px; }
}
