/* ============================================
   ANTON CHEREVKO — Fractional CCO Website
   Tech-Futurism Design System
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --bg: #030305;
  --surface-1: #0A0A0F;
  --surface-2: #101018;
  --surface-3: #161622;
  --gold: #D4AF37;
  --blue: #00B4D8;
  --text: #F0F0F5;
  --text-secondary: #8A8F98;
  --text-tertiary: #5B6069;
  --success: #27AE60;
  --error: #E74C3C;
  --nav-height: 72px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--blue);
  color: var(--bg);
  padding: 8px 16px;
  z-index: 1000;
  transition: top 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; color: var(--text); }
.gradient-text {
  background: linear-gradient(135deg, var(--gold), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Term explanation ---- */
.term-explanation {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
  line-height: 1.4;
  max-width: 400px;
}

/* ---- Glassmorphism ---- */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}
.glass-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-hover:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 175, 55, 0.1);
}

/* ---- Glow Effects ---- */
.glow-gold { box-shadow: 0 0 40px rgba(212, 175, 55, 0.15), 0 0 80px rgba(212, 175, 55, 0.05); }
.glow-blue { box-shadow: 0 0 40px rgba(0, 180, 216, 0.15); }
.glow-gold-strong { box-shadow: 0 0 60px rgba(212, 175, 55, 0.25), 0 0 120px rgba(212, 175, 55, 0.1); }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(3, 3, 5, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transition: width 0.25s ease;
}
.nav-link:hover { color: var(--blue); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--gold); }
.nav-cta {
  padding: 10px 24px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  transition: all 0.3s ease;
}
.nav-cta:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
  transform: scale(1.03);
}
.lang-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.lang-btn {
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: none;
  border: none;
  color: var(--text-tertiary);
}
.lang-btn.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ---- Mobile Menu ---- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
#particles-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.2);
  border-radius: 100px;
  font-size: 13px;
  color: var(--success);
  margin-bottom: 24px;
  width: fit-content;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}
.hero-stat h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}
.hero-stat p {
  font-size: 13px;
  color: var(--text-tertiary);
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(0, 180, 216, 0.1));
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.2), 0 0 80px rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image {
  width: 380px;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  filter: brightness(0.95) contrast(1.05);
}
.hero-image-border {
  position: absolute;
  width: 380px;
  height: 480px;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold), var(--blue));
  z-index: 2;
  pointer-events: none;
}
.hero-image-border::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--bg);
  border-radius: 18px;
}
.hero-image-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

/* ---- Section Base ---- */
.section {
  padding: 100px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Packages Section ---- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.package-card {
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}
.package-card.popular {
  border-color: rgba(212, 175, 55, 0.25);
}
.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0 0 12px 12px;
}
.package-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}
.package-price {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.package-period {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}
.package-setup {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.package-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.package-features .check {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}
.package-features .dash {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* ---- How It Works ---- */
.steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 40px;
}
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  opacity: 0.3;
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 24px;
  background: var(--bg);
}
.step h4 {
  font-size: 18px;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---- Cases Preview ---- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  padding: 32px;
  cursor: pointer;
}
.case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 6px;
  font-size: 12px;
  color: var(--blue);
  margin-bottom: 16px;
}
.case-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}
.case-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.case-metrics {
  display: flex;
  gap: 20px;
}
.case-metric h5 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
}
.case-metric span {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  padding: 120px 40px;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05), transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.footer-left span { color: var(--gold); }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-tertiary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue); }
.footer-copy {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ---- Services Page ---- */
.services-hero {
  padding: 140px 40px 60px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.services-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
}
.services-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
.tools-showcase {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 60px 40px;
}
.tool-item {
  text-align: center;
  padding: 40px 32px;
  width: 240px;
}
.tool-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.tool-item h4 {
  font-size: 20px;
  margin-bottom: 8px;
}
.tool-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Comparison Table */
.compare-table-wrapper {
  overflow-x: auto;
  margin: 0 40px 100px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.02);
}
.compare-table th:first-child { border-radius: 12px 0 0 0; }
.compare-table th:last-child { border-radius: 0 12px 0 0; }
.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}
.compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.compare-table .yes { color: var(--success); font-weight: 600; }
.compare-table .no { color: var(--text-tertiary); }
.compare-table .highlight { color: var(--gold); font-weight: 600; }

/* ---- Cases Page ---- */
.case-full {
  padding: 40px;
  margin-bottom: 40px;
}
.case-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.case-before, .case-after {
  padding: 40px;
}
.case-before { border-left: 3px solid var(--error); }
.case-after { border-left: 3px solid var(--success); }
.case-before h4, .case-after h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.case-before h4 { color: var(--error); }
.case-after h4 { color: var(--success); }
.case-after ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}
.case-after ul li .check { color: var(--success); width: 16px; }
.case-result-metrics {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.case-result-metrics h3 {
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
}
.case-result-metrics p {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ---- About Page ---- */
.about-hero {
  padding: 140px 40px 80px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}
.about-images {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-images img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.about-images .about-img-main,
.about-images .about-img-expert {
  height: auto;
  max-height: 420px;
}
.about-text h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 24px;
}
.about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 100px;
}
.about-stat-card {
  padding: 32px 24px;
  text-align: center;
}
.about-stat-card h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.about-stat-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px 100px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--blue));
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}
.timeline-item:nth-child(even) .timeline-content { grid-column: 2; }
.timeline-item:nth-child(even) .timeline-year { grid-column: 1; text-align: right; }
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
.timeline-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}
.timeline-content h4 {
  font-size: 18px;
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---- Contact Page ---- */
.contact-section {
  padding: 140px 40px 80px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-section h1 {
  font-size: clamp(36px, 5vw, 56px);
  text-align: center;
  margin-bottom: 16px;
}
.contact-section > p {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 60px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-form-wrapper { padding: 40px; }
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card {
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-card:hover {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.15);
}
.contact-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.05);
}
.contact-card:hover .icon.tg { box-shadow: 0 0 20px rgba(0, 180, 216, 0.3); }
.contact-card:hover .icon.ig { box-shadow: 0 0 20px rgba(225, 48, 108, 0.3); }
.contact-card:hover .icon.phone { box-shadow: 0 0 20px rgba(39, 174, 96, 0.3); }
.contact-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 14px;
  color: var(--text-tertiary);
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-image-wrapper { display: none; }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-images { display: none; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .case-header { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .steps::before { display: none; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 50px; }
  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(even) .timeline-year { grid-column: auto; text-align: left; }
  .timeline-dot { left: 20px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 60px 20px; }
  .hero { padding-top: 80px; min-height: auto; padding-bottom: 60px; }
  .hero-container { padding: 0 20px; }
  .packages-grid { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px 60px; }
  .footer { flex-direction: column; gap: 20px; text-align: center; }
  .contact-section { padding: 100px 20px 60px; }
  .services-hero { padding: 100px 20px 40px; }
  .tools-showcase { flex-direction: column; align-items: center; gap: 30px; }
  .case-full { padding: 20px; }
  .case-result-metrics { flex-direction: column; gap: 20px; }
  .compare-table-wrapper { margin: 0 20px 60px; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(3, 3, 5, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}
.mobile-menu a:hover { color: var(--gold); }

/* Glass shimmer effect */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

/* Exit-intent popup */
.exit-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.exit-popup.active {
  opacity: 1;
  pointer-events: all;
}
.exit-popup-content {
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}
.exit-popup-content h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 22px;
  color: var(--text);
}
.exit-popup-content p {
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 15px;
}
.exit-popup .exit-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.exit-popup .exit-form input {
  flex: 1 1 200px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
.exit-popup .exit-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}
.exit-popup .exit-form input::placeholder {
  color: var(--text-tertiary);
}
.exit-popup .exit-form button {
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(0, 180, 216, 0.1));
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.exit-popup .exit-form button:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
}
.exit-popup .privacy-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Dropdown menu for industry solutions */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-link {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dropdown-link::after {
  content: '▾';
  font-size: 10px;
  line-height: 1;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 0;
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: block;
  padding: 12px 20px;
  color: var(--text-secondary);
  font-size: 15px;
}
.dropdown-item:hover {
  background: rgba(255,255,255,0.03);
  color: var(--text);
}

/* Mobile dropdown - same as desktop but hidden by default, we'll use JS or keep same? We'll keep same for simplicity, but mobile menu is separate.
   We'll handle mobile menu separately: we can duplicate the dropdown in mobile menu and hide/show via JS.
   For now, we'll just add the same dropdown to mobile menu and rely on the same hover? Not ideal.
   Better to make it click-to-toggle on mobile. We'll add a simple JS later.
   For now, we'll leave as hover which works on touch? Not great.
   We'll add a simple toggle via adding a class on click for mobile.

   We'll add a script later to handle mobile dropdown toggle.

   For now, we'll add the dropdown to both menus and later add JS to make it work on mobile.
*/
