/* ============== RESET & BASE ============== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --deep-navy: #0a1628;
  --dark-blue: #0f1e36;
  --mid-blue: #1e3a5f;
  --steel-blue: #2c5282;
  --ice-blue: #7dd3fc;
  --electric-blue: #3b82f6;
  --amber: #fbbf24;
  --amber-glow: #f59e0b;
  --soft-white: #f8fafc;
  --off-white: #e2e8f0;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --glass-bg: rgba(30, 58, 95, 0.15);
  --glass-border: rgba(125, 211, 252, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #0f1e36 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #7dd3fc 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--deep-navy);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(125, 211, 252, 0.05) 0%, transparent 50%);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============== PROGRESS BAR ============== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

/* ============== STICKY NAV ============== */
.sticky-nav {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1280px;
  z-index: 1000;
  background: rgba(15, 30, 54, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 0.75rem 2rem;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.sticky-nav.visible {
  opacity: 1;
}

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

.nav-logo {
  font-weight: 800;
  font-size: 1.25rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--soft-white);
  transition: all 0.3s;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s;
}

.nav-menu a:hover {
  color: var(--ice-blue);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ============== HERO ============== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(125, 211, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ice-blue);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #7dd3fc 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
}

.btn-magnetic, .btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--gradient-accent);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-magnetic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-magnetic:hover::before {
  opacity: 1;
}

.btn-magnetic span {
  position: relative;
  z-index: 1;
  display: inline-block;
  transition: transform 0.3s;
}

.btn-magnetic:hover span {
  transform: translateY(3px);
}

.btn-primary {
  background: var(--gradient-accent);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--glass-border);
  color: var(--text-primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(125, 211, 252, 0.1);
  border-color: var(--ice-blue);
}

.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.house-wireframe svg {
  width: 100%;
  height: 100%;
  animation: wireframeRotate 30s linear infinite;
}

@keyframes wireframeRotate {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.wire-lines path, .wire-lines polygon, .wire-lines rect, .wire-lines line, .wire-lines circle {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLines 3s ease-out forwards;
}

@keyframes drawLines {
  to { stroke-dashoffset: 0; }
}

.issue-glow {
  animation: glowPulse 2s ease-in-out infinite;
}

.glow-1 { animation-delay: 0s; }
.glow-2 { animation-delay: 0.5s; }
.glow-3 { animation-delay: 1s; }
.glow-4 { animation-delay: 1.5s; }

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); filter: blur(0px); }
  50% { opacity: 1; transform: scale(1.5); filter: blur(2px); }
}

.magnifier-ring {
  animation: magnifierMove 6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes magnifierMove {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(60px, 20px); }
  50% { transform: translate(30px, -30px); }
  75% { transform: translate(-40px, 10px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.6;
  animation: floatUp 2s ease-in-out infinite;
}

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

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--ice-blue);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--ice-blue);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ice-blue);
}

/* ============== SECTIONS ============== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 40px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--amber);
  transform: translateY(-50%);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

/* ============== INTRO ============== */
.intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.anchor-link {
  color: var(--ice-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
  font-weight: 600;
}

.anchor-link:hover {
  border-bottom-color: var(--ice-blue);
  color: var(--amber);
}

.intro-visual {
  position: relative;
  height: 400px;
  perspective: 1000px;
}

.layer-stack {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.layer {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  transform-style: preserve-3d;
  animation: layerReveal 1.5s ease-out forwards;
}

.layer-1 {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.15) 0%, rgba(226, 232, 240, 0.1) 100%);
  transform: translateZ(0px) rotateX(0deg);
  animation-delay: 0s;
}

.layer-2 {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
  transform: translateZ(30px) rotateX(0deg);
  animation-delay: 0.2s;
  inset: 20px;
}

.layer-3 {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
  transform: translateZ(60px) rotateX(0deg);
  animation-delay: 0.4s;
  inset: 40px;
}

.layer-4 {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(30, 58, 95, 0.15) 100%);
  border: 1px solid var(--glass-border);
  transform: translateZ(90px) rotateX(0deg);
  animation-delay: 0.6s;
  inset: 60px;
  backdrop-filter: blur(10px);
}

@keyframes layerReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.layer-label {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.label-2 { top: 30px; }
.label-3 { top: 50px; }
.label-4 { top: 70px; }

/* ============== WHAT IS IT ============== */
.what-is {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 30, 54, 0.5) 100%);
}

.definition-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s ease;
}

.glass:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 211, 252, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.1);
}

.definition-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--soft-white);
}

.definition-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.definition-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tool-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s;
}

.tool-item:hover {
  background: rgba(59, 130, 246, 0.15);
  transform: scale(1.05);
}

.tool-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.5));
}

.tool-item h4 {
  font-size: 0.85rem;
  color: var(--ice-blue);
  font-weight: 600;
}

/* ============== WHY IT MATTERS ============== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(125, 211, 252, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 10px rgba(125, 211, 252, 0.5));
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--soft-white);
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============== MAIN FACTORS ============== */
.main-factors {
  background: linear-gradient(180deg, rgba(15, 30, 54, 0.5) 0%, transparent 100%);
}

.factors-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.factor-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.factor-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease;
}

.factor-item:hover::after {
  transform: scaleY(1);
}

.factor-item:hover {
  transform: translateX(10px);
  border-color: rgba(125, 211, 252, 0.4);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.factor-number {
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.8;
}

.factor-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--soft-white);
}

.factor-content p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============== PROCESS / HOW IT WORKS ============== */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--ice-blue) 10%, var(--ice-blue) 90%, transparent 100%);
  opacity: 0.3;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.step-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
  position: relative;
  z-index: 2;
  animation: pulseMarker 3s ease-in-out infinite;
}

@keyframes pulseMarker {
  0%, 100% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.5); }
  50% { box-shadow: 0 0 50px rgba(59, 130, 246, 0.8); }
}

.step-content {
  padding: 2rem;
}

.step-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--soft-white);
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============== BENEFITS ============== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.benefit-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: float 6s ease-in-out infinite;
}

.benefit-card:nth-child(1) { animation-delay: 0s; }
.benefit-card:nth-child(2) { animation-delay: 1s; }
.benefit-card:nth-child(3) { animation-delay: 2s; }
.benefit-card:nth-child(4) { animation-delay: 3s; }
.benefit-card:nth-child(5) { animation-delay: 4s; }
.benefit-card:nth-child(6) { animation-delay: 5s; }

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

.benefit-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

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

.benefit-card:hover {
  transform: translateY(-10px);
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(59, 130, 246, 0.2);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 12px rgba(125, 211, 252, 0.6));
  display: inline-block;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--soft-white);
}

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

/* ============== TIPS ============== */
.tips {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 30, 54, 0.5) 100%);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.flip-card {
  background: transparent;
  perspective: 1000px;
  height: 260px;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.flip-front .tip-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.flip-front h3 {
  font-size: 1.25rem;
  color: var(--soft-white);
}

.flip-back {
  transform: rotateY(180deg);
  padding: 1.5rem;
}

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

/* ============== PROBLEMS ============== */
.problems-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.problem-item:hover {
  border-color: rgba(251, 191, 36, 0.3);
}

.problem-header {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  transition: background 0.3s;
}

.problem-header:hover {
  background: rgba(251, 191, 36, 0.05);
}

.problem-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

.problem-title {
  flex: 1;
}

.problem-toggle {
  font-size: 1.5rem;
  color: var(--amber);
  transition: transform 0.3s;
  font-weight: 300;
}

.problem-item.active .problem-toggle {
  transform: rotate(45deg);
}

.problem-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 2rem;
}

.problem-item.active .problem-content {
  max-height: 400px;
  padding: 0 2rem 1.5rem;
}

.problem-content p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============== COST / TIME ============== */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cost-card {
  text-align: center;
  transition: all 0.4s;
}

.cost-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.cost-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(125, 211, 252, 0.5));
}

.cost-card h3 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.cost-value {
  font-size: 1.75rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

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

.maintenance-note {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--amber);
}

.maintenance-note p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============== FAQ ============== */
.faq {
  background: linear-gradient(180deg, rgba(15, 30, 54, 0.5) 0%, transparent 100%);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item.active {
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  gap: 1rem;
  transition: all 0.3s;
}

.faq-question:hover {
  background: rgba(59, 130, 246, 0.05);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--ice-blue);
  transition: transform 0.3s;
  font-weight: 300;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============== FINAL TAKEAWAY ============== */
.final-takeaway {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.final-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 3rem;
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.final-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--gradient-gold);
  color: var(--deep-navy);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.final-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.final-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.magnetic-btn {
  transition: all 0.3s ease;
}

.magnetic-btn:hover {
  transform: translateY(-3px);
}

.final-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.geometric-shapes {
  position: absolute;
  inset: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: shapeFloat 10s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--electric-blue);
  top: 10%;
  left: -10%;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: var(--amber);
  bottom: -20%;
  right: -15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--ice-blue);
  top: 50%;
  right: 10%;
  animation-delay: 4s;
}

.shape-4 {
  width: 350px;
  height: 350px;
  background: #a78bfa;
  bottom: 10%;
  left: 20%;
  animation-delay: 6s;
}

@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ============== FOOTER ============== */
.premium-footer {
  background: linear-gradient(180deg, var(--deep-navy) 0%, #050d1a 100%);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
}

.footer-visual-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}

.footer-wireframe {
  width: 100%;
  height: 100%;
}

.wire-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawPath 8s ease-in-out infinite;
}

@keyframes drawPath {
  0%, 100% { stroke-dashoffset: 2000; }
  50% { stroke-dashoffset: 0; }
}

.wire-node {
  animation: nodePulse 3s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { r: 4; opacity: 0.6; }
  50% { r: 8; opacity: 1; }
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-desc {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-contact h4, .footer-nav h4, .footer-toc h4 {
  color: var(--soft-white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-contact h4::after, .footer-nav h4::after, .footer-toc h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-accent);
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-icon {
  font-size: 1.25rem;
  filter: drop-shadow(0 0 5px rgba(125, 211, 252, 0.5));
  flex-shrink: 0;
}

.footer-nav ul, .footer-toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a, .footer-toc a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav a:hover, .footer-toc a:hover {
  color: var(--ice-blue);
  transform: translateX(4px);
}

.faq-shortcut {
  color: var(--amber) !important;
  font-weight: 600;
}

.faq-shortcut:hover {
  color: var(--ice-blue) !important;
}

.footer-middle {
  padding: 2rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.footer-middle h4 {
  color: var(--soft-white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.related-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topic-chip {
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all 0.3s;
  cursor: default;
}

.topic-chip:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--ice-blue);
  color: var(--ice-blue);
  transform: translateY(-2px);
}

.footer-map-visual {
  padding: 2rem 0;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

.location-map {
  max-width: 400px;
  width: 100%;
  opacity: 0.7;
}

.map-pin {
  animation: mapPulse 2s ease-in-out infinite;
}

@keyframes mapPulse {
  0%, 100% { r: 8; opacity: 0.8; }
  50% { r: 15; opacity: 0.4; }
}

.map-marker {
  animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
  0%, 100% { r: 3; }
  50% { r: 5; }
}

.map-route {
  stroke-dasharray: 5, 5;
  animation: routeMove 3s linear infinite;
}

@keyframes routeMove {
  to { stroke-dashoffset: -20; }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 2;
}

.footer-legal {
  flex: 1;
}

.footer-legal p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: var(--ice-blue);
}

.separator {
  color: var(--text-muted);
  font-size: 0.6rem;
}

.back-to-top {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.footer-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
}

/* ============== SCROLL REVEAL ANIMATIONS ============== */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale, 
.reveal-card, .reveal-float, .reveal-step, .reveal-slide, .reveal-fade {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  transform: scale(0.9);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.reveal-card {
  transform: translateY(40px) rotate(2deg);
}

.reveal-card.revealed {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.reveal-float {
  transform: translateY(30px);
}

.reveal-float.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-step {
  transform: translateX(-40px);
}

.reveal-step.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide {
  transform: translateX(-30px);
}

.reveal-slide.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-fade {
  opacity: 0;
}

.reveal-fade.revealed {
  opacity: 1;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .intro-grid, .definition-content {
    grid-template-columns: 1fr;
  }
  
  .why-grid, .benefits-grid, .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cost-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-visual {
    opacity: 0.15;
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    flex-direction: column;
    background: rgba(15, 30, 54, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    width: calc(100% - 40px);
    max-width: 400px;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
  }
  
  .nav-menu.open {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
  }
  
  .nav-menu a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
  }
  
  .why-grid, .benefits-grid, .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .cost-grid {
    grid-template-columns: 1fr;
  }
  
  .factor-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .process-step {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .process-timeline::before {
    left: 20px;
  }
  
  .step-marker {
    flex-direction: row;
    justify-content: flex-start;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  .hero {
    padding: 5rem 1.25rem 3rem;
  }
  
  .hero-visual {
    opacity: 0.1;
    width: 300px;
    height: 300px;
    right: -10%;
  }
  
  .final-content {
    padding: 2.5rem 1.5rem;
  }
  
  .final-actions {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
  }
  
  .sticky-nav {
    width: calc(100% - 20px);
    padding: 0.6rem 1.25rem;
  }
  
  .glass, .step-content, .definition-card, .final-content {
    padding: 1.75rem;
  }
  
  .problem-header, .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .problem-content {
    padding: 0 1.5rem;
  }
  
  .problem-item.active .problem-content {
    padding: 0 1.5rem 1.25rem;
  }
  
  .faq-answer p {
    padding: 0 1.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .definition-tools {
    grid-template-columns: 1fr 1fr;
  }
  
  .btn-magnetic, .btn-primary, .btn-secondary {
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
  }
}

/* ============== ACCESSIBILITY ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

:focus-visible {
  outline: 2px solid var(--ice-blue);
  outline-offset: 4px;
  border-radius: 4px;
}