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

:root {
  --primary: #6C5CE7;
  --primary-light: #A29BFE;
  --primary-dark: #5A4BD1;
  --accent: #00D2FF;
  --accent2: #7C3AED;
  --bg-dark: #0A0A1A;
  --bg-card: #12122A;
  --bg-card-hover: #1A1A3A;
  --bg-section: #080818;
  --text: #E8E8F0;
  --text-muted: #9999BB;
  --text-dark: #666688;
  --border: rgba(108, 92, 231, 0.2);
  --gradient: linear-gradient(135deg, #6C5CE7 0%, #00D2FF 100%);
  --gradient2: linear-gradient(135deg, #7C3AED 0%, #6C5CE7 50%, #00D2FF 100%);
  --shadow: 0 4px 30px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  padding: 12px 0;
}

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

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 28px;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn-nav {
  background: var(--gradient) !important;
  color: white !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

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

.btn-ghost:hover {
  border-color: var(--primary-light);
  background: rgba(108, 92, 231, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-lg { padding: 18px 40px; font-size: 18px; }
.btn-full { width: 100%; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(108, 92, 231, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 210, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(108, 92, 231, 0.15);
  border: 1px solid var(--border);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat { text-align: center; }
.stat-num { display: block; font-size: 32px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-muted); }
.stat-divider { width: 1px; height: 50px; background: var(--border); }

/* ========== SECTIONS ========== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-section);
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary-light);
  text-align: center;
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.2;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: -40px auto 60px;
}

/* ========== PROBLEM CARDS ========== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.problem-icon { font-size: 48px; margin-bottom: 20px; }
.problem-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.problem-card p { color: var(--text-muted); font-size: 15px; }

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.service-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gradient);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.service-icon { font-size: 48px; margin-bottom: 20px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ========== STEPS ========== */
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.step-number {
  font-size: 48px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.step-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; }
.step-time { font-size: 13px; color: var(--accent); font-weight: 600; }

.step-connector {
  font-size: 24px;
  color: var(--primary-light);
  font-weight: 700;
}

/* ========== RESULTS ========== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.3s ease;
}

.result-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.result-industry {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.result-metric {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.result-before { font-size: 28px; font-weight: 700; color: var(--text-dark); text-decoration: line-through; }
.result-arrow { font-size: 24px; color: var(--accent); }
.result-after { font-size: 36px; font-weight: 900; color: var(--accent); }

.result-label { font-size: 14px; color: var(--text-muted); font-weight: 600; margin-bottom: 16px; }
.result-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

.result-roi {
  font-size: 14px;
  font-weight: 700;
  color: #4ADE80;
  padding: 8px 16px;
  background: rgba(74, 222, 128, 0.1);
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ========== INDUSTRIES ========== */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.industry-tag {
  padding: 16px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: default;
}

.industry-tag:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* ========== PRICING ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.pricing-name { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.pricing-price { font-size: 48px; font-weight: 900; margin-bottom: 4px; }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.pricing-desc { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; }

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 14px;
  padding-left: 28px;
  position: relative;
}

.pricing-features li.included { color: var(--text); }
.pricing-features li.excluded { color: var(--text-dark); }

.pricing-features li.included::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-features li.excluded::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--text-dark);
}

.pricing-guarantee {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 15px;
}

.pricing-guarantee span { font-size: 24px; }

/* ========== FAQ ========== */
.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-toggle {
  font-size: 24px;
  color: var(--primary-light);
  transition: transform 0.3s;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

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

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

.faq-answer p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-dark);
  margin-top: 12px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 20px;
}

.contact-benefit {
  display: flex;
  gap: 16px;
  align-items: start;
}

.cb-icon { font-size: 32px; flex-shrink: 0; }
.contact-benefit h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-benefit p { font-size: 14px; color: var(--text-muted); }

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

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

.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 16px; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }

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

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p { font-size: 13px; color: var(--text-dark); }

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 400px;
}

.modal-icon { font-size: 64px; margin-bottom: 20px; }
.modal h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.modal p { color: var(--text-muted); margin-bottom: 24px; }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
  }

  .nav-links.open { display: flex; }
  .mobile-toggle { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-divider { width: 50px; height: 1px; }

  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .pricing-card.popular { transform: none; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .section h2 { font-size: 28px; }
  .contact-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
