@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --teal: #3BB8A8;
  --bg: #0f1117;
  --bg-raised: #161822;
  --bg-card: #1a1d2b;
  --border: #222538;
  --text: #c8cad0;
  --text-dim: #6b7084;
  --text-bright: #e8eaf0;
  --slash: #555;
  --font-mono: 'Fira Code', 'JetBrains Mono', 'Source Code Pro', monospace;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --max-w: 960px;
  --max-w-narrow: 700px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- HEADER / NAV ---- */
.site-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.15em;
  color: var(--teal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
}
.logo:hover { text-decoration: none; opacity: 0.85; }
.logo .sl { color: var(--slash); margin-right: 6px; font-size: 0.85em; }

nav { display: flex; gap: 24px; align-items: center; }
nav a {
  font-family: var(--font-mono);
  font-size: 0.78em;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.3px;
}
nav a:hover { color: var(--teal); text-decoration: none; }
nav a.active { color: var(--teal); }

/* ---- MOBILE NAV ---- */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dim);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
    z-index: 100;
  }
  nav.open { display: flex; }
  .site-header { position: relative; }
}

/* ---- HERO ---- */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 2.4em;
  color: var(--text-bright);
  margin-bottom: 16px;
  line-height: 1.3;
}
.hero h1 .teal { color: var(--teal); }

.hero .subtitle {
  font-size: 1.1em;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ---- PHONE SCREENSHOTS ---- */
.phone-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  max-width: var(--max-w);
  margin: 0 auto 80px;
  flex-wrap: wrap;
}

.phone-frame {
  width: 200px;
  flex-shrink: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
  transition: transform 0.3s ease;
}
.phone-frame:hover { transform: translateY(-6px); }
.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  .phone-row { gap: 12px; }
  .phone-frame { width: 150px; border-radius: 18px; }
  .hero h1 { font-size: 1.6em; }
}

/* ---- FEATURE CARDS ---- */
.features {
  max-width: var(--max-w);
  margin: 0 auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}
.feature-card .icon {
  font-family: var(--font-mono);
  font-size: 1.4em;
  color: var(--teal);
  margin-bottom: 12px;
}
.feature-card h3 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95em;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.88em;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---- "MORE COMING" SECTION ---- */
.more-coming {
  max-width: var(--max-w);
  margin: 0 auto 80px;
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.more-coming h2 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.3em;
  color: var(--text-bright);
  margin-bottom: 12px;
}
.more-coming p {
  font-size: 0.95em;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- CTA BUTTON ---- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #0f1117;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9em;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.cta:hover { opacity: 0.88; text-decoration: none; }

/* ---- CONTENT PAGE (legal, support, product) ---- */
.content-page {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.content-page h1 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.8em;
  color: var(--text-bright);
  margin-bottom: 8px;
  line-height: 1.3;
}
.content-page .updated {
  font-family: var(--font-mono);
  font-size: 0.75em;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.content-page h2 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05em;
  color: var(--teal);
  margin-top: 36px;
  margin-bottom: 12px;
}
.content-page p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.8;
}
.content-page ul {
  margin: 0 0 16px 24px;
  color: var(--text);
}
.content-page li {
  margin-bottom: 6px;
  line-height: 1.7;
}
.content-page strong { color: var(--text-bright); }

/* Product page extras */
.product-hero {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.product-hero .phones {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.product-hero .phones .phone-frame { width: 160px; }
.product-hero .info { flex: 1; }
.product-hero .info h1 { margin-bottom: 16px; }
.product-hero .info p { color: var(--text-dim); margin-bottom: 20px; }

@media (max-width: 720px) {
  .product-hero {
    flex-direction: column;
    text-align: center;
  }
  .product-hero .phones { justify-content: center; }
}

/* Links list on product page */
.page-links {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-links a {
  font-family: var(--font-mono);
  font-size: 0.85em;
}
.page-links a::before {
  content: '→ ';
  color: var(--text-dim);
}

/* ---- FOOTER ---- */
.site-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer .copyright {
  font-family: var(--font-mono);
  font-size: 0.7em;
  color: var(--text-dim);
}
.site-footer nav { gap: 16px; }
.site-footer nav a { font-size: 0.7em; }
