/* ── ISOBEAST Marketing Site — styles.css ── */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── Tokens ── */
:root {
  --bg-deep:        #060d18;
  --bg-base:        #0a0f1e;
  --bg-surface:     #0d1929;
  --bg-surface-2:   #111e33;
  --accent:         #22c55e;
  --accent-dim:     rgba(34,197,94,0.12);
  --text-on-accent: #0a0f1e;
  --text-primary:   #f0f4f8;
  --text-secondary: #94a3b8;
  --border:         #243444;
  --danger:         #ef4444;
  --blue:           #38bdf8;
  --violet:         #a78bfa;
  --amber:          #f59e0b;

  --font-heading: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  --max-w: 1140px;
  --nav-h: 64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(34,197,94,0.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(6,13,24,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img.logo-mark {
  height: 32px;
  width: 32px;
}
.nav-logo .wordmark {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
}
.nav-logo .wordmark em {
  color: var(--accent);
  font-style: normal;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.15s, background-color 0.15s;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-on-accent);
  background: var(--accent);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.15s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── App Store badge button ── */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-appstore:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.btn-appstore:active {
  transform: scale(0.98) translateY(0);
}
.btn-appstore svg { flex-shrink: 0; }
.btn-appstore-text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-appstore-text small {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.2px;
}
.btn-appstore-text strong {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  color: #fff;
}

/* ── Hero ── */
.hero {
  background: var(--bg-deep);
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  top: 25%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  filter: blur(40px);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.hero-content { padding-bottom: 80px; }
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ── Phone mockup row ── */
.phone-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding-bottom: 48px;
}
.phone {
  border-radius: 44px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,0,0,0.4);
  position: relative;
  flex-shrink: 0;
}
.phone::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 42px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
}
.phone-side { width: 170px; transform: translateY(40px); }
.phone-hero { width: 210px; transform: translateY(-12px); }

/* ── Features section ── */
.features { background: var(--bg-base); }
.features-header { text-align: center; margin-bottom: 56px; }
.features-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.features-header p { color: var(--text-secondary); max-width: 560px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.feature-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ── Screenshot row ── */
.screenshots { background: var(--bg-deep); padding: 80px 0; }
.screenshots-header { text-align: center; margin-bottom: 48px; }
.screenshots-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.screenshots-header p { color: var(--text-secondary); }
.screenshot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.screenshot-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.07);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.screenshot-frame img { width: 100%; height: auto; display: block; }

/* ── Privacy strip ── */
.privacy-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.privacy-strip-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.privacy-strip-text { flex: 1; }
.privacy-strip-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}
.privacy-strip-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 480px;
}
.privacy-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-base);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.privacy-pill::before { content: '✓'; color: var(--accent); font-weight: 700; }
.privacy-link {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}
.privacy-link:hover { text-decoration: underline; }
.privacy-strip-shield {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: var(--accent-dim);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}

/* ── CTA section ── */
.cta-section {
  background: var(--bg-deep);
  padding: 96px 0;
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.cta-section h2 em { color: var(--accent); font-style: normal; }
.cta-section p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
}
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo img.logo-mark {
  height: 24px;
  width: 24px;
}
.footer-logo .wordmark {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
}
.footer-logo .wordmark em {
  color: var(--accent);
  font-style: normal;
}
.footer-nav {
  display: flex;
  gap: 28px;
}
.footer-nav a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--text-primary); }
.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Inner page hero ── */
.page-hero {
  background: var(--bg-deep);
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ── Support / FAQ ── */
.support-section { background: var(--bg-base); padding: 72px 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
details[open] { border-color: rgba(34,197,94,0.3); }
details summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
details[open] summary::after {
  content: '×';
}
@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  animation: slideFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clean Keyboard Focus Styles */
a:focus-visible, button:focus-visible, details summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.faq-answer a { color: var(--accent); }
.faq-answer a:hover { text-decoration: underline; }
.contact-box {
  max-width: 760px;
  margin: 48px auto 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-box h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-box p { color: var(--text-secondary); margin-bottom: 24px; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.form-row input { flex: 1; min-width: 200px; }
.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-base);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-secondary); opacity: 0.7; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}
.contact-form button { align-self: flex-start; border: none; cursor: pointer; }
.form-success {
  padding: 20px 24px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.form-error {
  color: var(--danger);
  font-size: 14px;
  margin-top: 4px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-on-accent);
  background: var(--accent);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Privacy policy ── */
.privacy-section { background: var(--bg-base); padding: 72px 0; }
.privacy-prose {
  max-width: 760px;
  margin: 0 auto;
}
.last-updated {
  display: inline-block;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 48px;
}
.privacy-prose h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  color: var(--text-primary);
}
.privacy-prose h2:first-of-type { border-top: none; margin-top: 0; }
.privacy-prose p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}
.privacy-prose ul {
  margin: 0 0 14px 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.privacy-prose ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}
.privacy-prose ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.privacy-prose a { color: var(--accent); }
.privacy-prose a:hover { text-decoration: underline; }
.privacy-prose strong { color: var(--text-primary); font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-content { padding-bottom: 0; text-align: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-ctas { justify-content: center; }
  .phone-row { justify-content: center; }
  .phone-side { width: 130px; }
  .phone-hero { width: 160px; }
  .screenshot-row { grid-template-columns: repeat(2, 1fr); }
  .privacy-strip-inner { flex-direction: column; text-align: center; }
  .privacy-pillars { justify-content: center; }
  .hero::after {
    top: auto;
    bottom: -10%;
    right: 50%;
    transform: translateX(50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  }
}

@media (max-width: 680px) {
  .nav-links {
    gap: 4px;
  }
  .nav-links a {
    font-size: 13px;
    padding: 6px 8px;
  }
  .nav-cta {
    padding: 8px 16px;
    font-size: 12px;
  }
  .nav-logo .wordmark {
    font-size: 18px;
    letter-spacing: 1px;
  }
  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .screenshot-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .privacy-strip-shield { display: none; }
}

@media (max-width: 480px) {
  .screenshot-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .phone-side { width: 110px; }
  .phone-hero { width: 140px; }
}
