/* =============================================
   Inzta.app — Shared Stylesheet
   ============================================= */

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

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

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface2: #1a1a1a;
  --border: rgba(255,255,255,0.08);
  --orange: #f97316;
  --orange-dim: rgba(249,115,22,0.12);
  --orange-hover: #ea580c;
  --text: #ffffff;
  --text-muted: #a3a3a3;
  --text-faint: rgba(255,255,255,0.3);
  --radius: 14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-hover); }

/* ── HEADER ─────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 32px;
  height: 22px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
}
nav { display: flex; align-items: center; gap: 28px; }
nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--text); }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: #000;
}
.btn-primary:hover {
  background: var(--orange-hover);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(249,115,22,0.3);
}
.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 1px solid rgba(249,115,22,0.4);
}
.btn-outline:hover {
  background: var(--orange-dim);
  color: var(--orange);
}

/* ── LAYOUT ──────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 80px 0; }

/* ── HERO ─────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(249,115,22,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--orange-dim);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-faint);
}

/* ── FEATURE SECTION ─────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 60px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(249,115,22,0.25); }
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--orange-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--orange);
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── PRICING SECTION ─────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.pricing-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }
.pricing-card.featured {
  border-color: rgba(249,115,22,0.4);
  background: linear-gradient(135deg, rgba(249,115,22,0.07), transparent);
}
.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 var(--radius) 0 var(--radius-sm);
}
.badge-active { background: var(--orange); color: #000; }
.badge-popular { background: rgba(255,255,255,0.1); color: var(--text-muted); }
.badge-pro { background: linear-gradient(90deg, var(--orange), #f59e0b); color: #000; }
.pricing-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.pricing-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.pricing-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.pricing-price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.pricing-features li svg { flex-shrink: 0; margin-top: 2px; }
.pricing-features li strong { color: var(--text); }

/* ── DIVIDER ─────────────────────────────────── */
hr {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── FOOTER ─────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-faint); }

/* ── PROSE (legal pages) ─────────────────────── */
.prose { max-width: 720px; margin: 0 auto; padding: 60px 24px 80px; }
.prose h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.prose .meta { font-size: 13px; color: var(--text-muted); margin-bottom: 48px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 40px 0 12px; }
.prose h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.prose p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.prose ul { margin: 12px 0 16px 20px; }
.prose ul li { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 6px; }

/* ── AUTH / ACCOUNT ─────────────────────────── */
.auth-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.auth-logo svg { width: 36px; height: 24px; }
.auth-logo span { font-size: 18px; font-weight: 700; letter-spacing: 0.1em; color: var(--orange); }
.auth-title { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.auth-subtitle { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 28px; }
.auth-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.18s;
  margin-bottom: 10px;
  text-decoration: none;
}
.auth-btn:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); color: var(--text); }
.auth-btn img, .auth-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-faint);
  font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-footer { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 24px; }
.auth-footer a { color: var(--orange); }

/* ── TABS ────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
}
.tab-btn {
  flex: 1;
  padding: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.tab-btn.active { background: var(--surface); color: var(--text); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── UTILITIES ───────────────────────────────── */
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); font-size: 13px; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 640px) {
  nav { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .hero { padding: 80px 20px 60px; }
  .prose { padding: 40px 20px 60px; }
}
