/* ============================================================
   DESIGN TOKENS - PURPLE + LIME + WHITE
   ============================================================ */
:root {
  --purple:       #7C3AED;
  --purple-dark:  #6D28D9;
  --purple-light: #A78BFA;
  --lime:         #84CC16;
  --lime-dark:    #65A30D;
  --white:        #FFFFFF;
  --gray-light:   #F3F4F6;
  --gray-medium:  #E5E7EB;
  --gray-dark:    #374151;
  --text:         #111827;
  --text-muted:   #6B7280;
}

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

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

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: 'Poppins', sans-serif; cursor: pointer; border: none; }

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.5px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h1 em { font-style: italic; color: var(--lime); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { line-height: 1.75; color: var(--text-muted); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 14px 38px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(124,58,237,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(124,58,237,0.4); }
.btn-primary.btn-large { padding: 16px 48px; font-size: 16px; }
.btn-primary.btn-full { width: 100%; text-align: center; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--purple);
  padding: 14px 38px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--purple);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: var(--purple); color: var(--white); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-medium);
  height: 76px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.navbar-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple) 0%, var(--lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 44px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-links a:hover { color: var(--purple); }
.nav-cta {
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-dark) 100%);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(132,204,22,0.3);
  transition: transform 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); }

.burger { display: none; flex-direction: column; gap: 6px; background: none; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 120px 0;
  background: var(--white);
  margin-top: 76px;
}
.features-header {
  text-align: center;
  margin-bottom: 68px;
}
.features-header h2 { margin-bottom: 16px; color: var(--text); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.feature-card {
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(124,58,237,0.05) 0%, rgba(132,204,22,0.05) 100%);
  border: 2px solid var(--gray-medium);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
  text-align: center;
}
.feature-card:hover {
  border-color: var(--purple);
  transform: translateY(-6px);
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--lime) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--text); }
.feature-card p { font-size: 15px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 100px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content {
  max-width: 600px;
}
.hero-badge {
  display: inline-block;
  background: rgba(132,204,22,0.15);
  border: 2px solid var(--lime);
  color: var(--lime-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-content h1 { margin-bottom: 20px; color: var(--text); }
.hero-content > p { font-size: 17px; margin-bottom: 32px; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(124,58,237,0.15);
}
.hero-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.fade-in { opacity: 0; transform: translateY(20px); animation: fadeUp 0.6s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--purple) 0%, var(--lime) 100%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-item { text-align: center; color: var(--white); }
.stat-number { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1px; }
.stat-label { font-size: 14px; font-weight: 600; opacity: 0.95; margin-top: 8px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 120px 0;
  background: var(--gray-light);
}
.pricing-header {
  text-align: center;
  margin-bottom: 68px;
}
.pricing-header h2 { margin-bottom: 16px; color: var(--text); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.pricing-card {
  padding: 48px 40px;
  background: var(--white);
  border: 2px solid var(--gray-medium);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.pricing-card:hover {
  border-color: var(--purple);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(124,58,237,0.15);
}
.pricing-card.featured {
  border-color: var(--lime);
  box-shadow: 0 16px 48px rgba(132,204,22,0.15);
}
.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-dark) 100%);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.pricing-card h3 { font-size: 20px; margin-bottom: 12px; }
.price { font-size: 32px; font-weight: 800; color: var(--purple); margin-bottom: 24px; }
.price span { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.pricing-card ul { margin-bottom: 32px; }
.pricing-card li {
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-medium);
  color: var(--text);
}
.pricing-card li::before { content: '✓ '; color: var(--lime); font-weight: 700; }
.pricing-card button { width: 100%; }

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: 120px 0;
  background: var(--white);
}
.process-header {
  text-align: center;
  margin-bottom: 68px;
}
.process-header h2 { margin-bottom: 16px; color: var(--text); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step {
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(132,204,22,0.08) 100%);
  border: 2px solid var(--gray-medium);
  border-radius: 14px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.step:hover {
  border-color: var(--lime);
  transform: translateY(-6px);
}
.step-number {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple) 0%, var(--lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 12px; color: var(--text); }
.step p { font-size: 14px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 50%, var(--lime) 100%);
  text-align: center;
  color: var(--white);
}
.contact-header {
  margin-bottom: 52px;
}
.contact-header .section-label { color: var(--lime); }
.contact-header h2 { color: var(--white); margin-bottom: 12px; }
.contact-header p { color: rgba(255,255,255,0.95); font-size: 17px; }
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 52px;
}
.contact-item { }
.contact-item h4 { color: var(--lime); font-size: 15px; margin-bottom: 8px; text-transform: uppercase; }
.contact-item p { color: rgba(255,255,255,0.95); }
.contact-item a { color: var(--white); font-weight: 700; }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-content {
  background: var(--white);
  border-radius: 14px;
  padding: 52px 48px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 32px 64px rgba(124,58,237,0.2);
  position: relative;
}
.modal-content h3 { font-size: 24px; margin-bottom: 12px; }
.modal-content > p { margin-bottom: 28px; }
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-content input,
.modal-content select {
  padding: 12px 16px;
  border: 2px solid var(--gray-medium);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s;
}
.modal-content input:focus,
.modal-content select:focus {
  outline: none;
  border-color: var(--purple);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text);
  color: var(--gray-medium);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col ul { }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--gray-medium); transition: color 0.2s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 40px;
  font-size: 13px;
  text-align: center;
  color: var(--gray-medium);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-info { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  body { font-size: 15px; }
  h1 { font-size: 1.8rem; }
  .navbar { height: 70px; }
  .navbar-content { padding: 0 20px; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--gray-medium); padding: 12px 0; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 28px; }
  .burger { display: flex; }
  .features { padding: 80px 0; margin-top: 70px; }
  .features-grid { grid-template-columns: 1fr; gap: 24px; }
  .feature-card { padding: 32px 24px; }
  .hero { padding: 80px 0; }
  .hero-img img { height: 300px; }
  .stats { padding: 60px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .pricing { padding: 80px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process { padding: 80px 0; }
  .process-steps { grid-template-columns: 1fr; }
  .contact { padding: 80px 0; }
  .contact-info { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .modal-content { padding: 40px 32px; }
}
