/* ══════════════════════════════════════
   TRANSLY — CSS
   Dark green tech · Outfit + JetBrains Mono
══════════════════════════════════════ */

:root {
  --green:       #25d366;
  --green-dark:  #128c7e;
  --green-glow:  rgba(37, 211, 102, 0.15);
  --bg:          #090f0d;
  --bg2:         #0d1712;
  --surface:     #111c18;
  --surface2:    #162219;
  --border:      rgba(37, 211, 102, 0.12);
  --border2:     rgba(255, 255, 255, 0.06);
  --text:        #e2ede8;
  --text-muted:  #7a9a89;
  --text-dim:    #4a6a58;
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION ── */
.section { padding: 96px 0; }
.section-dark { background: var(--bg2); }
.section-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px; color: var(--text-muted);
  max-width: 560px; margin-bottom: 56px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: 50px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  white-space: nowrap; font-family: 'Outfit', sans-serif;
  border: none; text-decoration: none;
}
.btn-primary {
  background: var(--green);
  color: #061209;
  padding: 14px 28px;
  font-size: 15px;
  flex-direction: column; gap: 2px;
}
.btn-primary:hover {
  background: #2de870;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
}
.btn-price {
  font-size: 12px; font-weight: 500; opacity: 0.75;
}
.btn-large { padding: 18px 36px; font-size: 17px; }
.btn-xlarge { padding: 22px 48px; font-size: 19px; min-width: 320px; }
.btn-xlarge .btn-sub { font-size: 13px; opacity: .7; font-weight: 400; }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 14px 24px; font-size: 15px;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-nav {
  background: var(--green); color: #061209;
  padding: 10px 20px; font-size: 14px;
}
.btn-nav:hover { background: #2de870; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(9,15,13,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border2);
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(9,15,13,0.95);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: var(--text);
}
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: #061209;
}
.logo-mark.sm { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--text-muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--green); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 68px; overflow: hidden;
  position: relative;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -200px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,211,102,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,211,102,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,211,102,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-glow);
  border: 1px solid var(--border);
  border-radius: 50px; padding: 6px 16px;
  font-size: 13px; font-weight: 500; color: var(--green);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-headline {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 900; line-height: 1.05;
  margin-bottom: 20px; letter-spacing: -2px;
}
.accent { color: var(--green); }
.hero-sub {
  font-size: 18px; color: var(--text-muted);
  line-height: 1.65; max-width: 460px; margin-bottom: 36px;
}
.hero-cta-group { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 44px; }
.hero-proof { display: flex; align-items: center; gap: 20px; }
.proof-item { display: flex; flex-direction: column; }
.proof-num { font-size: 28px; font-weight: 800; color: var(--green); line-height: 1; }
.proof-label { font-size: 13px; color: var(--text-muted); }
.proof-divider { width: 1px; height: 36px; background: var(--border2); }

/* Phone frame */
.hero-video-wrap { display: flex; justify-content: center; align-items: center; }
.phone-frame {
  width: 280px; height: 560px;
  background: #111;
  border-radius: 44px;
  box-shadow:
    0 0 0 2px #2a2a2a,
    0 0 0 10px #0d0d0d,
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(37,211,102,0.08);
  overflow: hidden;
  position: relative;
}
.demo-video {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ══════════════════════════════════════
   TICKER
══════════════════════════════════════ */
.ticker-wrap {
  background: var(--surface);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  padding: 14px 0; overflow: hidden;
}
.ticker {
  display: inline-flex; gap: 32px; align-items: center;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.sep { color: var(--green); opacity: 0.5; }

/* ══════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════ */
.steps-grid {
  display: flex; align-items: flex-start; gap: 0;
  margin-bottom: 60px;
}
.step-card {
  flex: 1; background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
}
.step-card:hover { border-color: var(--green); transform: translateY(-4px); }
.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600;
  color: var(--green); letter-spacing: 1px;
  margin-bottom: 16px;
}
.step-icon { font-size: 32px; margin-bottom: 14px; }
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.step-connector {
  font-size: 24px; color: var(--green); opacity: .4;
  padding: 0 12px; flex-shrink: 0;
  margin-top: 60px;
}
.how-detail img {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  max-width: 640px; margin: 0 auto;
}

/* ══════════════════════════════════════
   FEATURES GRID
══════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--border); transform: translateY(-4px); }
.feature-card.feature-large { grid-column: span 2; }
.feature-card img {
  width: 100%; height: 220px; object-fit: cover;
}
.feature-card.feature-large img { height: 260px; }
.feature-text { padding: 24px; }
.feature-text h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-text p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════
   LANGUAGES
══════════════════════════════════════ */
.lang-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 48px;
}
.lang-pill {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.lang-pill:hover { border-color: var(--green); color: var(--green); }
.lang-pill.hot {
  background: var(--green-glow);
  border-color: var(--border);
  color: var(--green);
}
.lang-note img {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  max-width: 700px; margin: 0 auto;
}

/* ══════════════════════════════════════
   INSTALLATION
══════════════════════════════════════ */
.install-grid {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 60px; align-items: start;
}
.install-steps { display: flex; flex-direction: column; gap: 0; }
.install-step {
  display: flex; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--border2);
}
.install-step:last-child { border-bottom: none; }
.istep-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--green-glow);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--green);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}
.istep-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.istep-content p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.istep-content strong { color: var(--text); font-weight: 600; }
.istep-content code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--green);
  background: var(--green-glow);
  padding: 2px 6px; border-radius: 4px;
}
.key-fmt { font-size: 11px; letter-spacing: 0.5px; }
.install-note {
  margin-top: 10px; padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px; line-height: 1.5;
}
.install-note.warning {
  background: rgba(255, 150, 50, 0.08);
  border: 1px solid rgba(255, 150, 50, 0.2);
  color: #c87830;
}
.install-side img {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  position: sticky; top: 90px;
}

/* ══════════════════════════════════════
   RESTRICTED SETTINGS
══════════════════════════════════════ */
.restricted-box {
  background: var(--surface);
  border: 1px solid rgba(255,150,50,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 780px; margin: 0 auto;
}
.restricted-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,150,50,.1);
  border: 1px solid rgba(255,150,50,.25);
  border-radius: 50px; padding: 5px 14px;
  font-size: 12px; font-weight: 700; color: #d4802a;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.restricted-header h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.restricted-header p  { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; }
.restricted-steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
.rs {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border2);
}
.rs:last-child { border-bottom: none; }
.rs-num {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(255,150,50,.1);
  border: 1.5px solid rgba(255,150,50,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #d4802a;
  margin-top: 2px;
}
.rs-body { display: flex; flex-direction: column; gap: 3px; }
.rs-body strong { font-size: 15px; color: var(--text); }
.rs-body span   { font-size: 13px; color: var(--text-muted); }
.restricted-footer {
  font-size: 13px; color: var(--green); text-align: center;
  padding-top: 16px; border-top: 1px solid var(--border2);
}

/* ══════════════════════════════════════
   SETTINGS GUIDE
══════════════════════════════════════ */
.settings-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.setting-item {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: border-color var(--transition);
}
.setting-item:hover { border-color: var(--border); }
.setting-icon {
  font-size: 28px; flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--green-glow);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.setting-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.setting-info p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border2);
}
.faq-item summary {
  font-size: 17px; font-weight: 600;
  padding: 22px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none; gap: 16px;
}
.faq-item summary::after {
  content: '+'; color: var(--green);
  font-size: 22px; font-weight: 400; flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-body {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.7; padding-bottom: 22px;
}

/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
.section-cta {
  background: var(--bg2); position: relative; overflow: hidden;
  text-align: center; padding: 120px 0;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,211,102,.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-logo {
  width: 80px; height: 80px; margin: 0 auto 28px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 900; color: #061209;
  box-shadow: 0 8px 32px rgba(37,211,102,.3);
}
.cta-headline {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900; line-height: 1.1; margin-bottom: 16px;
}
.cta-sub {
  font-size: 18px; color: var(--text-muted); margin-bottom: 40px;
}
.btn-xlarge { margin: 0 auto; display: flex; flex-direction: column; }
.cta-reassure {
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: center; margin-top: 28px;
  font-size: 14px; color: var(--text-muted);
}
.cta-reassure span::before { content: ''; }
.cta-not-iphone {
  margin-top: 16px; font-size: 12px;
  color: var(--text-dim); letter-spacing: 0.5px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--bg); border-top: 1px solid var(--border2);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800; margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--green); margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--green); }
.footer-buy {
  font-size: 16px !important; font-weight: 700 !important;
  color: var(--green) !important;
}
.footer-note { font-size: 12px; color: var(--text-dim); line-height: 1.6; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border2); padding-top: 24px;
  font-size: 12px; color: var(--text-dim);
}

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-img {
  opacity: 0; transform: scale(0.97);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-img.visible { opacity: 1; transform: scale(1); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-video-wrap { order: -1; }
  .hero-cta-group { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-badge { display: inline-flex; }

  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); margin: 0 auto; padding: 8px 0; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card.feature-large { grid-column: span 1; }

  .install-grid { grid-template-columns: 1fr; }
  .install-side { display: none; }

  .settings-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }

  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .settings-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .restricted-box { padding: 28px 20px; }
  .btn-xlarge { min-width: unset; padding: 18px 32px; }
  .phone-frame { width: 220px; height: 440px; border-radius: 36px; }
}
