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

:root {
  /* Color Palette */
  --bg-primary: #0E1116;
  --bg-secondary: #161B22;
  --bg-card: #1D242E;
  --text-primary: #FFFFFF;
  --text-secondary: #C7CDD6;
  --text-muted: #8892A0;
  --accent-primary: #4CAF50;
  --accent-secondary: #A3E635;
  --cta-gradient: linear-gradient(135deg, #4CAF50, #7ED957);
  --success: #22C55E;
  --border: rgba(255, 255, 255, 0.08);
  --divider: rgba(255, 255, 255, 0.05);
  --btn-hover: #43A047;
  --danger: #EF4444;

  /* Typography */
  --font-headings: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout & Spacing */
  --spacing-unit: 8px;
  --radius-large: 18px;
  --radius-medium: 12px;
  --radius-small: 8px;
  --max-width: 1280px;
  --section-spacing: 160px;

  /* Shadows */
  --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px -10px rgba(76, 175, 80, 0.15);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Background Grid & Ambient Blur Effects */
.bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.decor-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2000px;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
}

.decor-glow-1 {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.06) 0%, transparent 70%);
  filter: blur(80px);
}

.decor-glow-2 {
  position: absolute;
  top: 1200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.04) 0%, transparent 70%);
  filter: blur(100px);
}

.decor-glow-3 {
  position: absolute;
  top: 2600px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.04) 0%, transparent 70%);
  filter: blur(100px);
}

/* Common Layout Containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 4);
  width: 100%;
}

.section {
  padding: var(--section-spacing) 0 0 0;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto calc(var(--spacing-unit) * 8);
}

p {
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-large);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--cta-gradient);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--btn-hover);
  box-shadow: 0 6px 24px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(14, 17, 22, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1.5);
  text-decoration: none;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--cta-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--bg-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 4);
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 2);
}

.nav-stat-badge {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.2);
  color: var(--accent-primary);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Fade-in Scroll Animations (Framer Motion style) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Hero Section */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: calc(var(--spacing-unit) * 8);
  align-items: center;
  padding-top: calc(var(--spacing-unit) * 8);
  min-height: calc(100vh - 80px - var(--section-spacing));
}

.hero-content h1 {
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.gradient-text {
  background: linear-gradient(135deg, #FFF 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: calc(var(--spacing-unit) * 6);
  max-width: 580px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
  margin-bottom: calc(var(--spacing-unit) * 6);
}

.hero-bullets {
  display: flex;
  gap: calc(var(--spacing-unit) * 4);
  list-style: none;
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-bullet-icon {
  color: var(--accent-primary);
  width: 14px;
  height: 14px;
}

/* Paycheck Dashboard Widget */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  width: 100%;
  max-width: 520px;
  padding: calc(var(--spacing-unit) * 4);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(var(--spacing-unit) * 4);
  border-bottom: 1px solid var(--divider);
  padding-bottom: calc(var(--spacing-unit) * 2);
}

.dashboard-title-group {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1.5);
}

.dashboard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.dashboard-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.dashboard-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.dashboard-slider-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  padding: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.slider-label-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.slider-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.slider-value {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.dashboard-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  margin: calc(var(--spacing-unit) * 1) 0;
}

.dashboard-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  border: 2px solid var(--bg-card);
  transition: transform 0.1s ease;
}

.dashboard-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.dashboard-flow {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 2.5);
}

.flow-node {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.flow-node:hover {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.node-info {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 2);
}

.node-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.node-bills .node-icon-wrapper { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.node-emergency .node-icon-wrapper { background: rgba(163, 230, 53, 0.1); color: var(--accent-secondary); }
.node-etf .node-icon-wrapper { background: rgba(76, 175, 80, 0.1); color: var(--accent-primary); }
.node-savings .node-icon-wrapper { background: rgba(255, 255, 255, 0.05); color: var(--text-secondary); }
.node-remaining .node-icon-wrapper { background: rgba(34, 197, 94, 0.1); color: var(--success); }

.node-label {
  font-weight: 500;
  font-size: 0.85rem;
}

.node-pct {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: calc(var(--spacing-unit) * 1);
}

.node-value {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Floating Card decoration */
.floating-badge {
  position: absolute;
  background: rgba(29, 36, 46, 0.8);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-medium);
  padding: calc(var(--spacing-unit) * 2);
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1.5);
  box-shadow: var(--shadow-premium);
  animation: float 4s ease-in-out infinite;
}

.fb-1 {
  bottom: -20px;
  left: -30px;
  animation-delay: 0s;
}

.fb-2 {
  top: 40px;
  right: -40px;
  animation-delay: 2s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.fb-icon {
  font-size: 1.25rem;
}

.fb-text h4 {
  font-size: 0.75rem;
  font-weight: 600;
}

.fb-text p {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: calc(var(--spacing-unit) * 3);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: calc(var(--spacing-unit) * 5);
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  background: var(--cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: calc(var(--spacing-unit) * 1);
  display: inline-block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Problem Section */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--spacing-unit) * 4);
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: calc(var(--spacing-unit) * 6);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.2);
}

.pain-icon {
  width: 48px;
  height: 48px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border-radius: var(--radius-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.pain-title {
  font-size: 1.15rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.pain-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Solution / System Map */
.solution-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solution-diagram {
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--spacing-unit) * 4);
  position: relative;
  margin-bottom: calc(var(--spacing-unit) * 8);
}

.solution-diagram::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--divider);
  z-index: -1;
}

.system-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: calc(var(--spacing-unit) * 5);
  text-align: center;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.system-card:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 175, 80, 0.3);
  box-shadow: 0 10px 30px -10px rgba(76, 175, 80, 0.15);
}

.system-icon {
  width: 56px;
  height: 56px;
  background: rgba(76, 175, 80, 0.1);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto calc(var(--spacing-unit) * 3);
}

.system-card h3 {
  font-size: 1.25rem;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.system-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Videos Section */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(var(--spacing-unit) * 4);
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 175, 80, 0.3);
}

.video-thumbnail {
  height: 200px;
  background: linear-gradient(135deg, rgba(22, 27, 34, 0.8) 0%, rgba(29, 36, 46, 0.9) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.video-card:hover .video-thumb-img {
  transform: scale(1.04);
}

.video-thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.4;
}

.video-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cta-gradient);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  padding-left: 4px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
  z-index: 2;
}

.video-card:hover .video-play-btn {
  transform: scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: calc(var(--spacing-unit) * 2);
  right: calc(var(--spacing-unit) * 2);
  background: rgba(14, 17, 22, 0.85);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.video-info {
  padding: calc(var(--spacing-unit) * 4);
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 1.5);
  flex-grow: 1;
}

.video-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-title {
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.video-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Resources Section */
.resource-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: calc(var(--spacing-unit) * 6);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.resource-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--divider);
  padding-bottom: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.resource-title {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1.5);
}

.resource-badge {
  background: var(--cta-gradient);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
}

.resource-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: calc(var(--spacing-unit) * 4);
}

.resource-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  padding: calc(var(--spacing-unit) * 4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-main-meta {
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.resource-main-label {
  font-size: 0.75rem;
  color: var(--accent-secondary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.resource-main-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.resource-main-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 2);
}

.resource-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.resource-item:hover {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.resource-item-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.resource-item-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.resource-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.resource-item:hover .resource-arrow {
  color: var(--text-primary);
  transform: translateX(2px);
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(var(--spacing-unit) * 4);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: calc(var(--spacing-unit) * 6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.product-tag {
  align-self: flex-start;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.2);
  color: var(--accent-primary);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.product-desc {
  font-size: 0.95rem;
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 1.5);
  margin-bottom: calc(var(--spacing-unit) * 6);
}

.product-feature-item {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1.5);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.product-feature-icon {
  color: var(--accent-primary);
  flex-shrink: 0;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--divider);
  padding-top: calc(var(--spacing-unit) * 3);
  margin-top: auto;
}

.product-price h4 {
  font-size: 1.5rem;
  font-weight: 800;
}

.product-price p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Portfolio Preview */
.portfolio-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: calc(var(--spacing-unit) * 6);
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: calc(var(--spacing-unit) * 6);
  align-items: center;
}

.portfolio-chart-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.donut-chart {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-segment {
  fill: none;
  stroke-width: 24;
  transition: stroke-dasharray 0.3s ease;
}

.donut-segment-1 { stroke: var(--accent-primary); }
.donut-segment-2 { stroke: var(--accent-secondary); }
.donut-segment-3 { stroke: var(--text-muted); }
.donut-segment-4 { stroke: #FFF; }

.donut-center {
  position: absolute;
  text-align: center;
}

.donut-center h4 {
  font-size: 1.5rem;
  font-weight: 800;
}

.donut-center p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.portfolio-breakdown {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 2);
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2);
  border-radius: var(--radius-medium);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.breakdown-label {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1.5);
  font-weight: 500;
  font-size: 0.85rem;
}

.breakdown-color-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.bi-1 { background: var(--accent-primary); }
.bi-2 { background: var(--accent-secondary); }
.bi-3 { background: var(--text-muted); }
.bi-4 { background: #FFF; }

.breakdown-ticker {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.breakdown-value {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Roadmap */
.roadmap-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--spacing-unit) * 4) 0;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 2px;
  background: var(--divider);
}

.roadmap-step {
  position: relative;
  display: flex;
  gap: calc(var(--spacing-unit) * 4);
  margin-bottom: calc(var(--spacing-unit) * 6);
}

.roadmap-step:last-child {
  margin-bottom: 0;
}

.roadmap-node {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 800;
  color: var(--accent-primary);
  font-size: 1.15rem;
  flex-shrink: 0;
  z-index: 2;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.roadmap-step:hover .roadmap-node {
  border-color: var(--accent-primary);
  background-color: var(--bg-secondary);
}

.roadmap-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: calc(var(--spacing-unit) * 4);
  width: 100%;
}

.roadmap-content h3 {
  font-size: 1.1rem;
  margin-bottom: calc(var(--spacing-unit) * 1);
}

.roadmap-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--spacing-unit) * 3);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: calc(var(--spacing-unit) * 4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: calc(var(--spacing-unit) * 3);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1.5);
  border-top: 1px solid var(--divider);
  padding-top: calc(var(--spacing-unit) * 2);
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-secondary);
}

.author-details h4 {
  font-size: 0.85rem;
  font-weight: 600;
}

.author-details p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 2);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

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

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
}

.faq-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 4);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Active Open State */
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-item.open .faq-answer {
  max-height: 200px; /* arbitrary height to slide down */
}

/* Email CTA / Subscription */
.cta-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 6);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.cta-box p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto calc(var(--spacing-unit) * 5);
}

.cta-form {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 3);
  border-radius: var(--radius-large);
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.cta-form-status {
  margin-top: calc(var(--spacing-unit) * 2);
  font-size: 0.8rem;
  height: 20px;
}

.status-success { color: var(--success); }
.status-error { color: var(--danger); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 6) 0;
  margin-top: var(--section-spacing);
  background: #0B0D11;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: calc(var(--spacing-unit) * 6);
  flex-wrap: wrap;
  gap: calc(var(--spacing-unit) * 4);
}

.footer-brand {
  max-width: 320px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: calc(var(--spacing-unit) * 2);
}

.footer-links-group {
  display: flex;
  gap: calc(var(--spacing-unit) * 8);
}

.footer-list {
  list-style: none;
}

.footer-list-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: calc(var(--spacing-unit) * 2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-item {
  margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.footer-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

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

.footer-disclaimer {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
  border-top: 1px solid var(--divider);
  padding-top: calc(var(--spacing-unit) * 4);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: calc(var(--spacing-unit) * 4);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
}

.social-icon-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.social-icon-link:hover {
  color: var(--text-primary);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 120px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 6);
    padding-top: calc(var(--spacing-unit) * 4);
    text-align: center;
  }
  .hero-content h1 {
    margin: 0 auto calc(var(--spacing-unit) * 3);
  }
  .hero-subtitle {
    margin: 0 auto calc(var(--spacing-unit) * 5);
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-bullets {
    justify-content: center;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .solution-diagram {
    grid-template-columns: 1fr;
  }
  .solution-diagram::after {
    display: none;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-box {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 96px;
  }
  .nav-links {
    display: none; /* simple responsive hide link logic for micro-site */
  }
  .nav-container {
    justify-content: space-between;
  }
  .roadmap-timeline::before {
    left: 16px;
  }
  .roadmap-step {
    gap: calc(var(--spacing-unit) * 2);
  }
  .roadmap-node {
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
  }
  .cta-form {
    flex-direction: column;
  }
  .cta-input {
    width: 100%;
  }
}
