/* ==========================================================================
   Search Traffic & Local SEO Portfolio CSS | Dark Mode Premium
   ========================================================================== */

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

:root {
  /* Colors */
  --color-bg: #030712;
  --color-text: #F3F4F6;
  --color-text-muted: #9CA3AF;
  --color-accent: #10B981; /* Emerald Green - Represents positive ROI */
  --color-accent-glow: rgba(16, 185, 129, 0.2);
  --color-accent-blue: #3B82F6; /* Electric Blue - Represents search channels */
  --color-accent-blue-glow: rgba(59, 130, 246, 0.24);
  --color-accent-purple: #8B5CF6; /* Purple - Franchise structural color */
  
  /* Panel / Glassmorphism Variables */
  --panel-bg: rgba(17, 24, 39, 0.65);
  --panel-border: rgba(75, 85, 99, 0.3);
  --panel-hover: rgba(31, 41, 55, 0.8);
  --panel-radius: 20px;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Utilities */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --section-spacing: 140px;
}

/* --- Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 15px; }
body { 
  background-color: var(--color-bg); 
  color: var(--color-text); 
  font-family: var(--font-body); 
  line-height: 1.6; 
  overflow-x: hidden; 
  -webkit-font-smoothing: antialiased; 
}
body.no-scroll { overflow: hidden; }

/* --- Interactive Grid & Mesh Background --- */
.gradient-mesh {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1; overflow: hidden; background: var(--color-bg);
}
.grid-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(31, 41, 55, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 41, 55, 0.25) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.8;
}
.mesh-blob {
  position: absolute; border-radius: 50%; filter: blur(140px);
  animation: floatMesh 25s infinite alternate ease-in-out;
  opacity: 0.15;
}
.mesh-blob-1 {
  width: 50vw; height: 50vw; background: var(--color-accent); top: -10%; left: -10%;
}
.mesh-blob-2 {
  width: 45vw; height: 45vw; background: var(--color-accent-blue); bottom: -10%; right: -5%; animation-delay: -6s;
}
.mesh-blob-3 {
  width: 30vw; height: 30vw; background: var(--color-accent-purple); top: 40%; left: 50%; animation-delay: -12s;
}
@keyframes floatMesh {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vw, 6vh) scale(1.15); }
}

/* --- Typography --- */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.section-header {
  margin-bottom: 4rem;
}
.section-overline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent-blue);
  margin-bottom: 0.75rem;
  display: block;
  font-weight: 600;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* --- Layout --- */
.container { max-width: 1300px; margin: 0 auto; padding: 0 4vw; }
.section { padding: var(--section-spacing) 0; scroll-margin-top: 100px; }

/* --- Panel Utility --- */
.panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- Preloader --- */
.preloader {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-color: var(--color-bg);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: background-color 1s ease;
}
.preloader.fade-bg { background-color: transparent; pointer-events: none; }
.preloader__logo {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em; color: #FFFFFF;
  opacity: 0; transform: scale(1.1);
  will-change: transform, opacity; white-space: nowrap;
}
.preloader__logo .logo-icon {
  width: clamp(40px, 8vw, 70px);
  height: clamp(40px, 8vw, 70px);
}

/* --- Header --- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; padding: 1.5rem 0; z-index: 1000;
  opacity: 0; transform: translateY(-20px); transition: opacity 1s ease, transform 1s ease;
  pointer-events: none;
}
.header.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.header__container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 2.5rem;
  margin: 0 3vw;
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: 100px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.header__logo { 
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading); font-weight: 800; font-size: 1rem; color: #FFFFFF; text-decoration: none;
}
.header__logo .logo-icon { width: 28px; height: 28px; }
.logo-text { letter-spacing: -0.03em; }
.header__nav-list { display: flex; list-style: none; gap: 2.2rem; }
.header__nav-link {
  font-size: 0.9rem; font-weight: 500; color: var(--color-text-muted);
  text-decoration: none; position: relative; padding: 0.25rem 0;
  transition: color 0.3s ease;
}
.header__nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
  background: var(--color-accent); transition: width 0.3s ease, left 0.3s ease;
}
.header__nav-link:hover { color: #FFFFFF; }
.header__nav-link:hover::after { width: 100%; left: 0; }
.header__hamburger { display: none; }

/* --- Main Content State --- */
.main-content { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s cubic-bezier(0.19, 1, 0.22, 1); }
.main-content.visible { opacity: 1; transform: translateY(0); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.85rem; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none;
  border-radius: 100px; transition: var(--transition-smooth); cursor: pointer;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
  border: 1px solid var(--color-accent);
}
.btn--primary:hover {
  background: transparent;
  color: var(--color-accent);
  box-shadow: 0 0 20px var(--color-accent-glow);
}
.btn--outline {
  background: transparent; color: #FFFFFF; border: 1px solid var(--panel-border);
}
.btn--outline:hover {
  background: #FFFFFF; color: var(--color-bg); border-color: #FFFFFF;
}
.magnetic { display: inline-block; }

/* --- Hero Section --- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 120px; }
.hero__content { max-width: 950px; }
.hero__badge {
  font-size: 0.8rem; font-weight: 700; color: var(--color-accent); background: var(--color-accent-glow);
  padding: 0.5rem 1.25rem; border-radius: 50px; letter-spacing: 0.1em; display: inline-block; margin-bottom: 1.5rem;
}
.hero__headline {
  font-size: clamp(2.4rem, 5.5vw, 4rem); margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #FFFFFF 30%, var(--color-text-muted) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.15; letter-spacing: -0.03em;
}
.hero__sub-headline { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 750px; color: var(--color-text-muted); margin-bottom: 2.5rem; font-weight: 400; }
.hero__actions { display: flex; gap: 1.25rem; margin-bottom: 4rem; flex-wrap: wrap; }

/* KPI Blocks */
.hero__kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--panel-border); padding-top: 2.5rem;
}
.kpi-card { display: flex; flex-direction: column; }
.kpi-number { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: #FFFFFF; line-height: 1; }
.kpi-suffix { font-family: var(--font-heading); font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 700; color: var(--color-accent-blue); }
.kpi-label { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.25rem; }

/* --- Capabilities Section --- */
.capabilities__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 992px) { .capabilities__grid { grid-template-columns: repeat(3, 1fr); } }

.capability {
  padding: 3rem 2.5rem;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.capability::after {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--color-accent-blue); opacity: 0; transition: opacity 0.3s;
}
.capability:hover { 
  transform: translateY(-5px); 
  background: var(--panel-hover); 
  border-color: rgba(59, 130, 246, 0.4); 
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.08);
}
.capability:hover::after { opacity: 1; }
.capability__number { font-size: 0.9rem; font-weight: 700; color: var(--color-accent-blue); margin-bottom: 2rem; display: block; letter-spacing: 0.1em; }
.capability__title { font-size: 1.6rem; margin-bottom: 1rem; font-weight: 600; }
.capability__desc { font-size: 0.95rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }
.capability__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.capability__tags span {
  font-size: 0.75rem; font-weight: 600; color: #FFFFFF; background: rgba(255, 255, 255, 0.07);
  padding: 0.25rem 0.65rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.05);
}

/* --- About Me Section --- */
.about-me__grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem;
}
@media (min-width: 992px) {
  .about-me__grid { grid-template-columns: 4fr 7fr; gap: 5rem; align-items: start; }
}

/* Profile Card */
.profile-card {
  padding: 2.5rem; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.profile-img-container {
  width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin-bottom: 1.5rem;
  border: 3px solid var(--panel-border);
}
.profile-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: var(--transition-smooth); }
.profile-card:hover .profile-img { filter: grayscale(0%); transform: scale(1.05); }
.profile-name { font-size: 1.4rem; margin-bottom: 0.25rem; font-weight: 700; }
.profile-title { font-size: 0.85rem; color: var(--color-accent); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2rem; }
.profile-details { width: 100%; border-top: 1px solid var(--panel-border); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.p-detail { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.p-label { color: var(--color-text-muted); }
.p-val { color: #FFFFFF; font-weight: 500; }
.p-val.status-green { color: var(--color-accent); font-weight: 600; }

/* Narrative */
.narrative-headline { font-size: clamp(2rem, 3.5vw, 2.6rem); margin-bottom: 1.5rem; line-height: 1.2; }
.narrative-p { font-size: 1.05rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 1.5rem; }

/* Timeline */
.timeline-title { font-size: 1.4rem; margin: 3rem 0 2rem 0; border-bottom: 1px solid var(--panel-border); padding-bottom: 0.75rem; }
.experience-timeline { position: relative; border-left: 2px solid var(--panel-border); padding-left: 2rem; margin-left: 0.5rem; }
.timeline-item { position: relative; margin-bottom: 3rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
  position: absolute; left: calc(-2rem - 6px); top: 6px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-accent-blue); border: 2px solid var(--color-bg);
  box-shadow: 0 0 10px var(--color-accent-blue-glow); transition: var(--transition-smooth);
}
.timeline-item:hover .timeline-marker { background: var(--color-accent); box-shadow: 0 0 10px var(--color-accent-glow); }
.timeline-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; margin-bottom: 0.5rem; gap: 0.5rem; }
.timeline-header h4 { font-size: 1.15rem; font-weight: 600; color: #FFFFFF; }
.timeline-date { font-size: 0.85rem; color: var(--color-accent-blue); font-weight: 600; }
.timeline-role { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 0.75rem; font-style: italic; }
.timeline-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.timeline-bullets li { font-size: 0.95rem; color: var(--color-text-muted); position: relative; padding-left: 1.25rem; }
.timeline-bullets li::before { content: "•"; position: absolute; left: 0; color: var(--color-accent); font-weight: bold; }

/* --- Work Section & Mock Dashboards --- */
.work__list { display: flex; flex-direction: column; gap: 6rem; }
.case-study { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 992px) {
  .case-study { grid-template-columns: 1.3fr 1fr; gap: 5rem; }
  .case-study:nth-child(even) { grid-template-columns: 1fr 1.3fr; }
  .case-study:nth-child(even) .case-study__visual { order: 2; }
  .case-study:nth-child(even) .case-study__content { order: 1; }
}

/* Visualization Container */
.case-study__visual {
  aspect-ratio: 16/10;
  border-radius: var(--panel-radius);
  border: 1px solid var(--panel-border);
  overflow: hidden; position: relative;
  background: #0B0F19;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.case-study__category { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); display: block; margin-bottom: 0.75rem; }
.case-study__title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.25rem; font-weight: 600; }
.case-study__desc { font-size: 1.05rem; color: var(--color-text-muted); margin-bottom: 2rem; line-height: 1.6; }

/* Pure CSS Dashboard Style definitions */
.dashboard-widget {
  width: 100%; height: 100%; padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; justify-content: space-between; font-family: monospace;
}
.dash-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 0.75rem; }
.dash-title { font-size: 0.95rem; font-weight: bold; color: #FFFFFF; }
.dash-status { font-size: 0.75rem; font-weight: bold; padding: 0.25rem 0.5rem; border-radius: 4px; }
.status-green { background: rgba(16, 185, 129, 0.15); color: var(--color-accent); }
.status-blue { background: rgba(59, 130, 246, 0.15); color: var(--color-accent-blue); }
.status-purple { background: rgba(139, 92, 246, 0.15); color: var(--color-accent-purple); }

.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.dash-stat { display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.03); padding: 0.75rem; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.05); }
.d-label { font-size: 0.7rem; color: var(--color-text-muted); }
.d-value { font-size: 1.1rem; font-weight: bold; margin-top: 0.25rem; color: #FFFFFF; }
.text-green { color: var(--color-accent) !important; }
.text-blue { color: var(--color-accent-blue) !important; }
.text-emerald { color: var(--color-accent) !important; }
.text-purple { color: var(--color-accent-purple) !important; }

/* Sparkline/Bar Chart */
.dash-chart { display: flex; flex-direction: column; gap: 0.5rem; background: rgba(255, 255, 255, 0.02); padding: 0.75rem; border-radius: 6px; border: 1px solid rgba(255,255,255,0.04); }
.chart-header { font-size: 0.7rem; color: var(--color-text-muted); }
.chart-bars { display: flex; justify-content: space-around; align-items: flex-end; height: 80px; padding-top: 0.5rem; }
.chart-bar-group { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; width: 15%; }
.bar { width: 8px; border-radius: 4px; }
.bar-rpc { background: var(--color-accent-blue); }
.bar-cpc { background: var(--color-accent); margin-top: 2px; }
.bar-label { font-size: 0.6rem; color: var(--color-text-muted); }

/* Map Grid Visual */
.dash-map-area { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: center; }
.map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; background: rgba(255,255,255,0.03); padding: 0.75rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); aspect-ratio: 1; }
.map-cell { background: rgba(255, 255, 255, 0.05); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: bold; color: var(--color-text-muted); position: relative; cursor: pointer; }
.map-cell.active-rank { background: var(--color-accent-blue-glow); color: var(--color-accent-blue); border: 1px solid var(--color-accent-blue); }
.map-cell .tooltip { visibility: hidden; position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%); background: #1F2937; color: #FFFFFF; font-size: 0.65rem; padding: 0.25rem 0.5rem; border-radius: 4px; white-space: nowrap; z-index: 5; }
.map-cell:hover .tooltip { visibility: visible; }
.map-sidebar { display: flex; flex-direction: column; gap: 0.75rem; }
.map-metric { display: flex; flex-direction: column; }
.m-label { font-size: 0.7rem; color: var(--color-text-muted); }
.m-value { font-size: 1rem; font-weight: bold; }

.citation-audit-box { display: flex; flex-direction: column; gap: 0.4rem; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 0.5rem; }
.audit-title { font-size: 0.7rem; color: var(--color-text-muted); }
.audit-list { display: flex; justify-content: space-between; gap: 0.5rem; }
.audit-item { display: flex; justify-content: space-between; width: 30%; background: rgba(255,255,255,0.02); padding: 0.35rem 0.5rem; border-radius: 4px; font-size: 0.65rem; border: 1px solid rgba(255,255,255,0.04); }
.audit-source { color: #FFFFFF; }
.status-check { color: var(--color-accent); font-weight: bold; }

/* Node Tree Visual */
.node-tree { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.node-root { background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3); border-radius: 6px; padding: 0.5rem 1rem; text-align: center; }
.n-name { font-size: 0.85rem; font-weight: bold; color: #FFFFFF; display: block; }
.n-desc { font-size: 0.65rem; color: var(--color-text-muted); display: block; }
.node-connectors { display: flex; justify-content: space-around; width: 60%; height: 20px; position: relative; }
.connector-line { width: 2px; height: 100%; background: rgba(255, 255, 255, 0.1); }
.node-leaves { display: flex; justify-content: space-between; width: 100%; gap: 1rem; }
.node-leaf { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; padding: 0.5rem; text-align: center; width: 48%; }
.n-status { font-size: 0.65rem; font-weight: bold; display: block; margin-top: 0.25rem; }
.node-performance-summary { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.dash-stat-row { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--color-text-muted); }

/* --- Value Props Section --- */
.value-props__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 576px) { .value-props__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .value-props__grid { grid-template-columns: repeat(4, 1fr); } }
.v-card {
  padding: 2.5rem 2rem; background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: var(--panel-radius); transition: var(--transition-smooth);
}
.v-card:hover { transform: translateY(-3px); border-color: var(--color-accent); background: var(--panel-hover); }
.v-icon { font-size: 2rem; display: block; margin-bottom: 1.5rem; }
.v-title { font-size: 1.25rem; margin-bottom: 0.75rem; font-weight: 600; color: #FFFFFF; }
.v-desc { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; }

/* --- Pricing Section --- */
.pricing__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 992px) { .pricing__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.price-card {
  padding: 3rem 2.5rem; background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: var(--panel-radius); transition: var(--transition-smooth); display: flex; flex-direction: column; justify-content: space-between; position: relative;
}
.price-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.popular-plan {
  border: 2px solid var(--color-accent-blue) !important;
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.12);
  transform: scale(1.03);
}
.popular-plan:hover { transform: translateY(-5px) scale(1.03); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--color-accent-blue); color: #FFFFFF; font-size: 0.7rem; font-weight: 700; padding: 0.35rem 1rem; border-radius: 50px; letter-spacing: 0.1em;
}

.price-header { margin-bottom: 2.5rem; }
.p-plan-name { font-size: 1.3rem; margin-bottom: 1rem; font-weight: 600; color: #FFFFFF; }
.p-amount-box { display: flex; align-items: baseline; }
.p-currency { font-size: 1.8rem; font-weight: 700; color: var(--color-accent-blue); margin-right: 0.15rem; }
.p-amount { font-size: 3.5rem; font-weight: 800; color: #FFFFFF; line-height: 1; font-family: var(--font-heading); }
.p-duration { font-size: 0.95rem; color: var(--color-text-muted); margin-left: 0.25rem; }

.p-features { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.p-features li { font-size: 0.95rem; color: var(--color-text-muted); position: relative; padding-left: 1.5rem; }
.p-features li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent);
}
.price-btn { width: 100%; text-align: center; }

/* --- Footer & Discovery Form --- */
.footer { padding-top: var(--section-spacing); padding-bottom: 3rem; }
.footer__headline { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 0.75rem; }
.footer__sub-headline { font-size: 1.15rem; color: var(--color-text-muted); }

.discovery-wrapper {
  background: var(--panel-bg); border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius); padding: 3rem; margin-top: 3.5rem; max-width: 800px; overflow: hidden;
  scroll-margin-top: 120px;
}
.discovery-header { display: flex; align-items: center; margin-bottom: 3rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.discovery-progress { flex: 1; height: 6px; background: rgba(255, 255, 255, 0.05); border-radius: 3px; margin-right: 2rem; overflow: hidden; }
.discovery-progress-fill { height: 100%; background: var(--color-accent-blue); width: 33.33%; transition: width 0.5s ease; box-shadow: 0 0 10px rgba(59, 130, 246, 0.4); }
.discovery-step-indicator { font-size: 0.85rem; font-weight: 600; color: var(--color-accent-blue); letter-spacing: 0.1em; }

.discovery-form { position: relative; min-height: 380px; }
.discovery-step { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; transform: translateX(50px); transition: all 0.5s ease; pointer-events: none; }
.discovery-step.active { position: relative; opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; }
.discovery-step.exit-left { transform: translateX(-50px); opacity: 0; visibility: hidden; }

.discovery-question { font-size: 1.6rem; margin-bottom: 2rem; font-weight: 600; }
.discovery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .discovery-grid { grid-template-columns: 1fr 1fr; } }
.discovery-card input { display: none; }
.discovery-card-content {
  background: rgba(255, 255, 255, 0.02); border: 1px solid var(--panel-border); border-radius: 12px;
  padding: 1.5rem; cursor: pointer; transition: var(--transition-smooth); height: 100%;
}
.discovery-card-title { font-size: 0.95rem; font-weight: 600; color: #FFFFFF; display: block; }
.discovery-card-desc { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.5rem; display: block; }
.discovery-card:hover .discovery-card-content { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); }
.discovery-card input:checked + .discovery-card-content { border-color: var(--color-accent-blue); background: rgba(59, 130, 246, 0.08); box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.05); }

.discovery-inputs { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .discovery-inputs { grid-template-columns: 1fr 1fr; } .input-group--full { grid-column: 1 / -1; } }
.input-group label { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.5rem; display: block; font-weight: 500; }
.input-group input, .input-group textarea {
  width: 100%; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--panel-border); color: #FFFFFF;
  padding: 1rem; border-radius: 8px; transition: 0.3s ease; font-family: var(--font-body); font-size: 0.9rem;
}
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--color-accent-blue); background: rgba(255,255,255,0.04); }

.discovery-actions { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; }
.discovery-step[data-step="1"] .discovery-actions { justify-content: flex-end; }
.discovery-actions-right { display: flex; align-items: center; gap: 1.5rem; }
.discovery-error { color: #EF4444; font-size: 0.85rem; opacity: 0; transition: 0.3s; }
.discovery-error.visible { opacity: 1; }

/* Footer bottom */
.footer__bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2.5rem; margin-top: 5rem; flex-wrap: wrap; gap: 1.5rem; }
.footer__contacts { display: flex; gap: 2rem; }
.contact-link { font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: var(--transition-smooth); }
.contact-link:hover { opacity: 0.8; }
.social-icon { color: var(--color-text-muted); transition: 0.3s; display: flex; align-items: center; }
.social-icon:hover { color: var(--color-accent-blue); filter: drop-shadow(0 0 8px rgba(59,130,246,0.3)); }
.footer__copy { font-size: 0.85rem; color: var(--color-text-muted); width: 100%; border-top: 1px solid rgba(255,255,255,0.04); padding-top: 1.5rem; margin-top: 1rem; }

/* --- Modal --- */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; visibility: hidden; transition: 0.4s ease; }
.modal.modal--open { opacity: 1; pointer-events: auto; visibility: visible; }
.modal__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(3, 7, 18, 0.85); cursor: pointer; }
.modal__container {
  position: relative; width: 90%; max-width: 800px; max-height: 90vh;
  background: rgba(17, 24, 39, 0.95); backdrop-filter: blur(40px); border: 1px solid var(--panel-border); border-radius: var(--panel-radius);
  display: flex; flex-direction: column; transform: translateY(20px); transition: 0.4s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.modal.modal--open .modal__container { transform: translateY(0); }
.modal__header { display: flex; justify-content: space-between; padding: 1.5rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.modal__title { font-size: 1.4rem; color: #FFFFFF; font-weight: 600; }
.modal__close { background: none; border: none; color: var(--color-text-muted); cursor: pointer; transition: 0.3s; display: flex; align-items: center; }
.modal__close:hover { color: #EF4444; }
.modal__body { padding: 2rem; overflow-y: auto; }
.modal__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; }
.modal__subtitle { color: var(--color-accent-blue); margin-bottom: 0.75rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.modal__text { color: var(--color-text-muted); margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.6; }
.modal__list { list-style: none; margin-bottom: 2rem; }
.modal__list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; color: #FFFFFF; font-size: 0.9rem; }
.modal__list li::before { content: ''; position: absolute; left: 0; top: 0.5rem; width: 6px; height: 6px; background: var(--color-accent); border-radius: 50%; box-shadow: 0 0 8px var(--color-accent-glow); }
.modal__footer { padding: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: flex-end; }

/* --- Reveal Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* --- Mobile Nav --- */
@media (max-width: 768px) {
  .header__nav-list {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(3, 7, 18, 0.98); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem;
    opacity: 0; pointer-events: none; transition: 0.4s ease; z-index: -1;
  }
  .header__nav-list.nav-open { opacity: 1; pointer-events: auto; }
  .header__nav-link { font-size: 1.6rem; color: #FFFFFF; font-weight: 600; }
  
  .header__hamburger { display: flex; flex-direction: column; justify-content: space-between; width: 26px; height: 14px; border: none; background: transparent; cursor: pointer; z-index: 10; }
  .header__hamburger span { width: 100%; height: 2px; background: #FFFFFF; transition: 0.3s ease; }
  .header__hamburger.active span:first-child { transform: translateY(6px) rotate(45deg); }
  .header__hamburger.active span:last-child { transform: translateY(-6px) rotate(-45deg); }
  
  .hero__kpis { grid-template-columns: 1fr; gap: 1.5rem; }
  .modal__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__contacts { flex-direction: column; gap: 0.75rem; }
}
