

:root {
  --bg: #171412;
  --bg-card: #221d18;
  --text: #f2ece1;
  --muted: #a3988a;
  --accent: #d99e5a;
  --accent2: #cf7f55;
  --accent-rgb: 217, 158, 90;
  --btn-text: #221608;
  --grad: linear-gradient(135deg, #d99e5a, #cf7f55);
  --radius: 16px;
  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body: 'Figtree', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }


[hidden] { display: none !important; }

body {
  font-family: var(--font-body);
  
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(var(--accent-rgb), 0.09), transparent 65%),
    radial-gradient(ellipse 55% 45% at 95% 25%, rgba(207, 127, 85, 0.06), transparent 65%),
    radial-gradient(ellipse 55% 45% at 5% 75%, rgba(var(--accent-rgb), 0.05), transparent 65%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 26px),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.01em; }


body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.2s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }


.icon {
  width: 24px; height: 24px;
  display: block;
  flex-shrink: 0;
}
.icon-inline { display: inline; width: 15px; height: 15px; vertical-align: -2px; }


.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.hero-content { max-width: 520px; position: relative; z-index: 2; }

.logo { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 32px; }
.logo-img { border-radius: 18px; }
.logo-text { font-size: 24px; font-weight: 800; letter-spacing: 0.5px; font-family: var(--font-display); }

.hero h1 { font-size: clamp(34px, 8vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.subtitle { font-size: 18px; color: #c9bfae; margin-bottom: 32px; max-width: 420px; margin-left: auto; margin-right: auto; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad);
  color: var(--btn-text);
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary .icon { width: 20px; height: 20px; transition: transform 0.2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.btn-primary:hover .icon { transform: translateY(2px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.15s;
}
.btn-ghost .icon { width: 17px; height: 17px; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); text-decoration: none; }


.social-proof { margin-top: 36px; }
.avatars { display: flex; justify-content: center; margin-bottom: 8px; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--bg);
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.social-proof p { color: #c9bfae; font-size: 14px; }
.social-proof strong { color: var(--text); }


footer { text-align: center; padding: 40px 20px; border-top: 1px solid rgba(255,255,255,0.08); }
footer nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 12px; }
footer nav a { color: var(--muted); font-size: 14px; }
footer p { color: var(--muted); font-size: 13px; }


.site-footer {
  text-align: center;
  padding: 6px 16px calc(6px + env(safe-area-inset-bottom));
  background: rgba(18, 16, 26, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.site-footer nav a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s;
}
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }
.footer-copy { color: rgba(155, 147, 173, 0.7); font-size: 11px; line-height: 1.4; }

.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.site-footer .lang-select {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0 5px;
  font-size: 11px;
  cursor: pointer;
  height: 19px;
}
.site-footer .lang-select option { background: #12101a; color: #fff; }


@media (max-width: 480px) {
  .site-footer { padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); }
  .site-footer nav { gap: 4px 10px; }
  .site-footer nav a { font-size: 11.5px; }
  .footer-meta { flex-basis: 100%; justify-content: center; gap: 8px; }
  .site-footer .lang-select { font-size: 10.5px; height: 18px; }
  .footer-copy { font-size: 10px; opacity: 0.85; }
}


@media (max-width: 340px) {
  .site-footer { padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .site-footer nav a { font-size: 10.5px; }
  .footer-meta { gap: 6px; }
  .footer-copy { font-size: 9.5px; }
  .site-footer .lang-select { font-size: 10px; height: 17px; padding: 0 3px; }
}


.preview {
  padding: 40px 20px 72px;
  display: flex;
  justify-content: center;
}
.preview-inner {
  width: 100%;
  max-width: 1060px;
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.phone-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  height: min(680px, 78vh);
}

.phone-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 16%);
}
.phone-frame .app-topbar { padding-top: calc(14px + env(safe-area-inset-top)); }
.phone-frame .deck { flex: 1; min-height: 0; }
.phone-frame .deck .card { inset: 12px 16px; }
.phone-frame .bottom-nav { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.phone-frame .actions { padding: 12px 0 16px; }

@media (max-width: 640px) {
  .phone-frame {
    height: 74vh;
    border-radius: 24px;
  }
}


.preview-offer { max-width: 480px; }
.offer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.offer-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.preview-offer h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
}
.offer-lead { color: var(--muted); font-size: 17px; margin-bottom: 30px; }

.offer-features { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 34px; }
.offer-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 10px 8px 0;
  border-radius: 14px;
  transition: transform 0.2s ease;
}
.offer-features li:hover { transform: translateX(6px); }
.of-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.of-icon .icon { width: 20px; height: 20px; }
.offer-features li:hover .of-icon { background: rgba(var(--accent-rgb), 0.18); transform: rotate(-6deg) scale(1.06); }
.offer-features strong { display: block; font-size: 17px; margin-bottom: 2px; font-family: var(--font-display); }
.offer-features small { color: var(--muted); font-size: 14px; line-height: 1.5; }

.preview-offer .btn-primary { margin-top: 6px; }


.preview-offer > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.55s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.preview-offer.in > * { opacity: 1; transform: none; }
.preview-offer.in > *:nth-child(1) { transition-delay: 0.05s; }
.preview-offer.in > *:nth-child(2) { transition-delay: 0.12s; }
.preview-offer.in > *:nth-child(3) { transition-delay: 0.19s; }
.preview-offer.in > *:nth-child(4) { transition-delay: 0.26s; }
.preview-offer.in > *:nth-child(5) { transition-delay: 0.33s; }
.preview-offer.in > *:nth-child(6) { transition-delay: 0.4s; }

@media (max-width: 900px) {
  .preview-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .phone-frame {
    width: 100%;
    max-width: 420px;
    justify-self: center;
  }
  .preview-offer {
    text-align: center;
    justify-self: center;
  }
  .offer-features li { text-align: left; }
}


.install-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 999;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.5);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.install-banner img { border-radius: 12px; }
.ib-text { flex: 1; display: flex; flex-direction: column; }
.ib-text strong { font-size: 15px; }
.ib-text span { font-size: 13px; color: var(--muted); }
.ib-btn {
  background: var(--grad);
  color: var(--btn-text);
  border: none;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}
.ib-x {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  transition: color 0.15s;
}
.ib-x:hover { color: var(--text); }
.ib-x .icon { width: 18px; height: 18px; }


.push-permission {
  position: fixed;
  bottom: 90px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  z-index: 998;
  width: min(340px, 90vw);
  box-shadow: 0 16px 50px rgba(0,0,0,0.6);
}
.push-permission p { margin-bottom: 16px; font-size: 15px; }
.push-permission .btn-primary { padding: 12px 32px; font-size: 15px; display: block; width: 100%; margin-bottom: 8px; }
.push-permission .btn-ghost { margin-top: 0; padding: 10px 20px; font-size: 14px; width: 100%; }


.hero-phones { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.phone-card {
  position: absolute;
  width: 160px; height: 280px;
  border-radius: 24px;
  background: linear-gradient(160deg, #2b231b, #221d18);
  border: 1px solid rgba(255,255,255,0.07);
  opacity: 0.8;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: sepia(0.22) saturate(1.05) brightness(0.94);
}
.pc1 { left: 8%; top: 18%; transform: rotate(-12deg); }
.pc2 { right: 8%; top: 22%; transform: rotate(10deg); }
.pc3 { left: 14%; bottom: 12%; transform: rotate(6deg); }
.pc4 { right: 6%; bottom: 14%; transform: rotate(-8deg); }

@media (max-width: 640px) {
  .phone-card { display: none; }
}
