/* ── Freed Official Website Design System ────────────────────────────────── */
:root {
  --bg-primary: #07090E;
  --bg-secondary: #0C1019;
  --bg-surface: #111724;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 35, 54, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(37, 99, 235, 0.35);
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-glow: rgba(37, 99, 235, 0.35);
  --primary-light: #60A5FA;
  --accent-mint: #10B981;
  --accent-mint-glow: rgba(16, 185, 129, 0.25);
  --accent-coral: #F4512C;
  --accent-amber: #F59E0B;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
  position: relative;
}

/* Background Ambient Lighting Glows */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-circle-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 70%);
  border-radius: 50%;
  filter: blur(80px);
}

.glow-circle-2 {
  position: absolute;
  top: 35%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0) 70%);
  border-radius: 50%;
  filter: blur(90px);
}

.glow-circle-3 {
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0) 70%);
  border-radius: 50%;
  filter: blur(90px);
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 700;
}

/* Hero Section */
.hero {
  padding: 160px 0 90px;
  text-align: center;
  position: relative;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeIn 0.8s ease;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero h1 span.gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #2563EB 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.store-badge-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.store-badge-btn svg {
  width: 26px;
  height: 26px;
}

.store-badge-btn .badge-text {
  text-align: left;
  line-height: 1.2;
}

.store-badge-btn .badge-text span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.store-badge-btn .badge-text strong {
  font-size: 15px;
  font-weight: 700;
}

/* App Mockup Showcase */
.mockup-wrapper {
  margin-top: 40px;
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 320px;
  height: 640px;
  background: #0B0E17;
  border: 8px solid #232938;
  border-radius: 48px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(37, 99, 235, 0.2);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  flex: 1;
  background: #F4F4F8;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #16162E;
}

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

.mockup-streak-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mockup-gauge-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  margin: 20px 0;
}

.mockup-gauge-title {
  font-size: 12px;
  font-weight: 700;
  color: #6E6E85;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mockup-gauge-number {
  font-size: 44px;
  font-weight: 800;
  color: #16162E;
  margin: 10px 0 4px;
  line-height: 1;
}

.mockup-gauge-sub {
  font-size: 13px;
  color: #2563EB;
  font-weight: 700;
}

.mockup-btn-row {
  display: flex;
  gap: 12px;
}

.mockup-puff-btn {
  flex: 1;
  background: #2563EB;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

/* Interactive Calculator */
.calculator-section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 17px;
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.slider-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.slider-val {
  color: var(--primary-light);
  font-weight: 800;
  font-size: 18px;
}

.slider-input {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: #1E293B;
  border-radius: 4px;
  outline: none;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 12px var(--primary-glow);
  transition: transform 0.15s ease;
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-results {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.result-metric .amount {
  font-size: 54px;
  font-weight: 800;
  color: var(--accent-mint);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.result-metric .label {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 600;
}

.result-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.split-item .val {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}

.split-item .sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Features Grid */
.features-section {
  padding: 90px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Science & Method Comparison */
.method-section {
  padding: 90px 0;
}

.comparison-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.comp-row {
  display: grid;
  grid-template-columns: 2fr 3fr 3fr;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.comp-row.head {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-secondary);
}

.comp-row.highlight {
  background: rgba(37, 99, 235, 0.08);
}

.comp-pill-cold {
  color: #EF4444;
  font-weight: 600;
}

.comp-pill-freed {
  color: var(--accent-mint);
  font-weight: 700;
}

/* Testimonials */
.testimonials-section {
  padding: 90px 0;
}

.test-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.test-stars {
  color: #F59E0B;
  margin-bottom: 14px;
  font-size: 16px;
}

.test-quote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.test-author h4 {
  font-size: 14px;
  font-weight: 700;
}

.test-author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-section {
  padding: 90px 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  user-select: none;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

/* Legal & Static Content Pages */
.legal-page {
  padding: 140px 0 90px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text-primary);
}

.legal-content p, .legal-content li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

/* CTA Footer Banner */
.cta-banner {
  padding: 90px 0;
  text-align: center;
}

.cta-box {
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.2) 0%, rgba(18, 24, 38, 0.9) 70%);
  border: 1px solid rgba(37, 99, 235, 0.4);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

.cta-box h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 32px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-disclaimer {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .calc-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .comp-row {
    grid-template-columns: 1fr 1fr 1fr;
    font-size: 13px;
    padding: 14px 16px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
