/* ========================================
   FrameShift AI Tools Guide — Product Page
   ======================================== */

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

:root {
  --bg: #0a0f1e;
  --bg2: #0f1629;
  --bg3: #141d33;
  --surface: #1a2540;
  --border: #22304d;
  --text: #e8eaf6;
  --text-muted: #7a86a8;
  --accent: #00d4ff;
  --accent2: #ff3cac;
  --green: #00c896;
  --yellow: #f5a623;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo:hover { color: var(--accent); }
.nav-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Hero ---- */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
}
.hero-inner { max-width: 760px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 6px 14px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-sub strong { color: var(--text); }

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 60px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), #00a8cc);
  color: #0a0f1e;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.45);
  filter: brightness(1.08);
}
.btn-primary:active { transform: translateY(0); }

.btn-large { font-size: 1.15rem; padding: 18px 36px; }

.cta-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cover-mockup {
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,212,255,0.15);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}
.cover-mockup:hover { transform: rotate(0deg) scale(1.02); }

.preview-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 300px;
}
.line {
  height: 10px;
  border-radius: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.l1 { width: 80%; background: linear-gradient(90deg, rgba(0,212,255,0.3), transparent); }
.l2 { width: 100%; }
.l3 { width: 60%; }
.l4 { width: 90%; }
.l5 { width: 75%; }
.l6 { width: 85%; }
.l7 { width: 55%; }
.l8 { width: 70%; }

/* ---- Social Proof ---- */
.proof {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
}
.proof-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}
.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ---- Shared Section Styles ---- */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 44px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---- What's Inside ---- */
.inside { padding: 80px 24px; }
.inside-inner { max-width: 900px; margin: 0 auto; }

.chapters {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chapter {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.chapter:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateX(4px);
}
.ch-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 36px;
  padding-top: 2px;
}
.chapter h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.chapter p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Scorecard ---- */
.scorecard {
  padding: 80px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.scorecard-inner { max-width: 900px; margin: 0 auto; }

.dimensions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.dim {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s;
}
.dim:hover { border-color: rgba(0,212,255,0.3); }
.dim-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--accent);
}
.dim h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.dim p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sample-scores { }
.sample-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.score-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr 1fr 1fr 1fr 60px;
  gap: 0;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.score-row.header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--surface);
  border-radius: 8px 8px 0 0;
}
.score-row:last-child { border-bottom: none; }
.tool-name { font-weight: 600; color: var(--text); }
.stars { color: var(--accent); font-size: 0.8rem; letter-spacing: 1px; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-align: center;
}
.badge.green { background: rgba(0, 200, 150, 0.15); color: var(--green); }
.badge.yellow { background: rgba(245, 166, 35, 0.15); color: var(--yellow); }
.dim-row { color: var(--text-muted); font-style: italic; }

/* ---- Testimonials ---- */
.testimonials { padding: 80px 24px; }
.testimonials-inner { max-width: 900px; margin: 0 auto; }

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.test-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s;
}
.test-card:hover { border-color: rgba(0, 212, 255, 0.2); }
.test-quote {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.4;
}
.test-answer {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.test-answer strong { color: var(--accent); }

/* ---- Upsell ---- */
.upsell {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border-top: 1px solid var(--border);
  text-align: center;
}
.upsell-inner { max-width: 660px; margin: 0 auto; }
.upsell-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  background: rgba(255, 60, 172, 0.1);
  border: 1px solid rgba(255, 60, 172, 0.25);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.upsell-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.upsell-body {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.upsell-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.upsell-note { font-size: 0.78rem; color: var(--text-muted); }

/* ---- FAQ ---- */
.faq { padding: 80px 24px; background: var(--bg2); border-top: 1px solid var(--border); }
.faq-inner { max-width: 720px; margin: 0 auto; }

.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(0, 212, 255, 0.2); }
.faq-item[open] { border-color: rgba(0, 212, 255, 0.3); }

summary {
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.15s;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.2s;
  flex-shrink: 0;
}
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { color: var(--accent); }

.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Final CTA ---- */
.final-cta {
  padding: 100px 24px;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
}
.final-cta-inner { max-width: 580px; margin: 0 auto; }

.final-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.final-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.final-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.price-tag {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.final-trust {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---- Email Opt-in ---- */
.optin {
  background: linear-gradient(135deg, #0d1528 0%, #0f2040 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}
.optin-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}
.optin-badge {
  display: inline-block;
  background: rgba(0, 200, 150, 0.15);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 200, 150, 0.3);
  margin-bottom: 20px;
}
.optin-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.25;
}
.optin-sub {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.optin-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 14px;
}
.optin-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.optin-input::placeholder { color: var(--text-muted); }
.optin-input:focus { border-color: var(--accent); }
.optin-btn {
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-body);
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.optin-btn:hover { opacity: 0.88; }
.optin-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .proof-inner { flex-direction: column; gap: 24px; }
  .proof-divider { width: 48px; height: 1px; }
  .hero-preview { flex-direction: column; }
  .score-row { grid-template-columns: 1fr; gap: 4px; }
  .score-row.header { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .final-price { flex-direction: column; align-items: center; gap: 4px; }
  .optin-form { flex-direction: column; }
  .optin-btn { width: 100%; }
}