/* Shared styles for SEO landing pages (apps/landing) */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent: #4a9eff;
  --accent-hover: #6db1ff;
  --accent-dark: #2d6fc7;
  --border: #2a2a2a;
  --radius: 16px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Brand mark */
.arp-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}
.arp-brand-apex { color: #ffffff; }
.arp-brand-rp {
  background: linear-gradient(to right, #A7A7A7, #E6E6E6, #A7A7A7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 24px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand { display: flex; align-items: baseline; gap: 0.3em; text-decoration: none; }
.nav-brand .arp-brand { font-size: 0.95rem; }
.nav-brand .arp-brand-rp { font-size: 0.65rem; }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark); }
@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* Page shell */
.page { padding-top: 96px; }

/* Breadcrumbs */
.breadcrumbs {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.55; }

/* Hero */
.lp-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  text-align: center;
}
.lp-hero .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.lp-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff 0%, #4a9eff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-hero .lede {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 760px;
  margin: 0 auto 24px;
}
.lp-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Product preview */
.lp-product-visual {
  max-width: 980px;
  margin: 8px auto 36px;
  padding: 0 24px;
}
.lp-visual-frame {
  background: #0f1724;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}
.lp-visual-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}
.lp-product-visual figcaption {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: transparent;
  color: var(--text-primary) !important;
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent) !important; }

/* Sections */
.lp-section {
  max-width: 1100px;
  margin: 32px auto;
  padding: 32px 24px;
}
.lp-section.alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: none;
  margin: 32px 0;
}
.lp-section.alt > .lp-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.lp-section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.lp-section p { color: var(--text-secondary); margin-bottom: 14px; font-size: 1rem; }
.lp-section p:last-child { margin-bottom: 0; }

/* Feature grid */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.lp-grid .card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.lp-grid .card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.lp-grid .card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin: 0;
}

/* Bullet list */
.lp-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 24px;
  margin-top: 14px;
}
.lp-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}
.lp-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Related links */
.lp-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
}
.lp-related a {
  background: rgba(74,158,255,0.10);
  border: 1px solid rgba(74,158,255,0.25);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}
.lp-related a:hover { background: rgba(74,158,255,0.18); }

/* FAQ */
.lp-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.lp-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.lp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 650;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
}
.lp-faq-item[open] summary::after { content: "−"; }
.lp-faq-item .lp-faq-a {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Closer CTA */
.lp-cta {
  max-width: 1100px;
  margin: 48px auto 64px;
  padding: 40px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(74,158,255,0.10), rgba(168,85,247,0.08));
  border: 1px solid rgba(74,158,255,0.25);
  border-radius: var(--radius-lg);
}
.lp-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.lp-cta p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 22px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.lp-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
}
.footer-brand { display: inline-block; margin-bottom: 12px; }
.footer-brand .arp-brand { font-size: 1rem; }
.footer-brand .arp-brand-rp { font-size: 0.7rem; }
.footer p { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 14px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  max-width: 900px;
  margin: 0 auto;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 650;
}
.footer-links a:hover { color: var(--accent); }
