/* ============================================
   SITE 1 — FLUX SIGNAL REVIEW
   Theme: Dark Navy + Gold/Amber Accents
   Style: Editorial Magazine Review
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1a2035;
  --bg-card-hover: #1f2847;
  --surface: #151b2e;
  --border: rgba(255, 193, 68, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.06);
  
  --text-primary: #f0f0f5;
  --text-secondary: #a0a8c0;
  --text-muted: #6b7394;
  
  --accent: #ffc144;
  --accent-hover: #ffce6b;
  --accent-glow: rgba(255, 193, 68, 0.15);
  --accent-dark: #b8891f;
  
  --success: #34d399;
  --warning: #fb923c;
  --danger: #f87171;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(255, 193, 68, 0.1);
  
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section--alt {
  background: var(--bg-secondary);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  transition: var(--transition);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.nav__badge {
  font-size: 0.65rem;
  padding: 3px 8px;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__cta:hover {
  background: var(--accent-hover);
  color: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* --- Hero Section --- */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.hero__content {
  max-width: 800px;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease;
}

.hero__rating-stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.hero__rating-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero__title span {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 640px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__meta-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 50px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
}

.trust-bar__icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.trust-bar__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.trust-bar__check {
  color: var(--success);
  font-weight: 600;
  font-size: 0.75rem;
}

/* --- Content Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Intro Section --- */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro__text p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.intro__highlight {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.intro__highlight p {
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
}

/* --- Score Box --- */
.score-box {
  background: linear-gradient(135deg, var(--bg-card), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.score-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}

.score-box__number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.score-box__out-of {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
}

.score-box__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.score-box__breakdown {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.score-row__label {
  color: var(--text-secondary);
}

.score-row__bar {
  flex: 1;
  height: 6px;
  background: var(--bg-primary);
  border-radius: 3px;
  margin: 0 16px;
  overflow: hidden;
}

.score-row__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 3px;
  transition: width 1s ease;
}

.score-row__value {
  color: var(--accent);
  font-weight: 700;
  min-width: 40px;
  text-align: right;
}

/* --- Benefits / Likes Section --- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.benefit-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.benefit-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-card__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Timeline / How It Works --- */
.timeline {
  position: relative;
  padding-left: 60px;
  margin-top: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-glow), transparent);
}

.timeline__item {
  position: relative;
  margin-bottom: 48px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.timeline__item:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.timeline__dot {
  position: absolute;
  left: -48px;
  top: 32px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline__day {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.timeline__text {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Who It's For --- */
.audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.audience-card {
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.audience-card--yes {
  background: rgba(52, 211, 153, 0.05);
  border-color: rgba(52, 211, 153, 0.2);
}

.audience-card--no {
  background: rgba(248, 113, 113, 0.05);
  border-color: rgba(248, 113, 113, 0.2);
}

.audience-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.audience-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audience-card__list li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.audience-card__list li::before {
  flex-shrink: 0;
  margin-top: 2px;
}

.audience-card--yes .audience-card__list li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

.audience-card--no .audience-card__list li::before {
  content: '✗';
  color: var(--danger);
  font-weight: 700;
}

/* --- Downsides Section --- */
.downsides__list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
}

.downside-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(248, 113, 113, 0.15);
  border-radius: var(--radius-md);
}

.downside-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(248, 113, 113, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  font-size: 1.1rem;
}

.downside-item__text {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- FAQ Section --- */
.faq__list {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border);
}

.faq-item__question {
  width: 100%;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.faq-item__question:hover {
  background: var(--bg-card-hover);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  transition: var(--transition);
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer-inner {
  padding: 0 28px 22px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- Testimonials --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}

.testimonial-card__quote {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-card__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bg-primary);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-card__location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.cta-section__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 1.05rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 193, 68, 0.25);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 193, 68, 0.35);
  color: var(--bg-primary);
}

.cta-btn--outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
  margin-left: 16px;
}

.cta-btn--outline:hover {
  background: var(--accent-glow);
  color: var(--accent);
  box-shadow: none;
}

/* --- Risk Disclosure --- */
.risk-disclosure {
  background: rgba(248, 113, 113, 0.05);
  border: 1px solid rgba(248, 113, 113, 0.15);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-top: 48px;
}

.risk-disclosure__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--danger);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.risk-disclosure__text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

/* --- Footer --- */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.site-footer__text {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.site-footer__links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__link {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: var(--transition);
}

.site-footer__link:hover {
  color: var(--accent);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .audience__grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 120px 0 60px;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    padding-left: 40px;
  }
  
  .timeline::before {
    left: 10px;
  }
  
  .timeline__dot {
    left: -38px;
  }
  
  .cta-btn--outline {
    margin-left: 0;
    margin-top: 12px;
  }

  .nav__badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero__meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-btn {
    width: 100%;
    justify-content: center;
  }
  
  .cta-btn--outline {
    width: 100%;
    justify-content: center;
  }
}
