/* ===========================
   GREEN SPARK MEDIA — STYLES
   Light theme: white, soft green, purple, black
   =========================== */

:root {
  --green: #1b998b;
  --green-light: #e0f5f3;
  --green-dark: #0d6e63;
  --purple: #6c3fc5;
  --purple-light: #ede8fb;
  --black: #111827;
  --gray: #6b7280;
  --gray-light: #f8f9fa;
  --white: #ffffff;
  --border: #e5e7eb;
  --font: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

/* ---- SECTIONS ---- */
.section-white { background: var(--white); padding: 80px 0; }
.section-light { background: var(--gray-light); padding: 80px 0; }
.section-green { background: linear-gradient(135deg, var(--green-dark), var(--green)); padding: 80px 0; color: white; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--black);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 16px 0;
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--black);
  letter-spacing: -0.02em;
}
.logo-teal { color: var(--green); }
.logo-dark { color: var(--black); }

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

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--black);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

.btn-primary {
  background: var(--green);
  color: white;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-ghost {
  color: var(--black);
  border-color: var(--border);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.btn-outline {
  color: var(--green);
  border-color: var(--green);
  background: transparent;
}
.btn-outline:hover { background: var(--green); color: white; }

.btn-white {
  background: white;
  color: var(--green-dark);
  font-weight: 700;
}
.btn-white:hover { background: var(--green-light); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

/* ---- HERO ---- */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, #f0fbf5 0%, #ffffff 100%);
}

.hero-inner { text-align: center; }

.badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--black);
}

.highlight {
  color: var(--green);
  position: relative;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 36px;
  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;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 4px;
}

/* ---- PAIN SECTION ---- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.pain-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--purple);
  box-shadow: var(--shadow);
}

.pain-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.pain-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
}

.pain-close {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
}

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

.service-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  border: 2px solid var(--border);
  transition: all 0.2s;
}

.service-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card-featured {
  background: white;
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
}

.featured-label {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--purple);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.service-icon { font-size: 2rem; margin-bottom: 16px; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.service-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card ul li {
  font-size: 0.875rem;
  color: var(--gray);
  padding-left: 16px;
  position: relative;
}

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

/* ---- RESULTS ---- */
.case-study {
  background: white;
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.case-study-label {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 36px;
}

.case-study-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.case-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.metric-before {
  font-size: 1.1rem;
  color: var(--gray);
  font-weight: 500;
  text-decoration: line-through;
  opacity: 0.6;
}

.metric-arrow {
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 700;
}

.metric-after {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
}

.metric-label {
  font-size: 0.875rem;
  color: var(--gray);
  text-align: center;
  max-width: 140px;
}

.case-note {
  font-size: 0.875rem;
  color: var(--gray);
  font-style: italic;
}

/* ---- HOW IT WORKS ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}

.step { text-align: center; }

.step-num {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.875rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.pricing-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  border: 2px solid var(--border);
  position: relative;
  transition: all 0.2s;
}

.pricing-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.pricing-card-featured {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 16px;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray);
}

.price-desc {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 24px;
  min-height: 40px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card ul li {
  font-size: 0.875rem;
  color: var(--gray);
}

/* ---- ADD-ON ---- */
.addon {
  background: linear-gradient(135deg, var(--purple-light), #e8f5ee);
  border-radius: var(--radius);
  border: 2px solid var(--purple);
  padding: 36px;
  max-width: 900px;
  margin: 0 auto;
}

.addon-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.addon-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
}

.addon-text p {
  font-size: 0.9rem;
  color: var(--gray);
  max-width: 500px;
  line-height: 1.65;
}

.addon-price {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.addon-standalone, .addon-bundle {
  text-align: center;
}

.addon-amount {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
}

.addon-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 2px;
}

/* ---- WHY ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.why-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: all 0.2s;
}

.why-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.why-icon { font-size: 2rem; margin-bottom: 16px; }

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ---- CONTACT ---- */
.contact-inner {
  text-align: center;
}

.contact-inner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
}

.contact-inner p {
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 36px;
  opacity: 0.9;
  line-height: 1.7;
}

.contact-note {
  margin-top: 20px !important;
  font-size: 0.9rem !important;
  opacity: 0.8;
}

.contact-note a {
  color: white;
  font-weight: 600;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  color: white;
  padding: 48px 0;
  text-align: center;
}

.footer .logo { display: block; margin-bottom: 12px; font-size: 1.1rem; }
.footer .logo span { color: white; }
.footer .logo-teal { color: var(--green); }

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

.footer-legal {
  font-size: 0.8rem;
  opacity: 0.4;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 28px; }

  .section-white, .section-light, .section-green { padding: 56px 0; }

  .case-study { padding: 32px 20px; }
  .case-study-grid { gap: 28px; }

  .addon-inner { flex-direction: column; }
  .addon-price { justify-content: center; }

  .steps { gap: 28px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 20px; }
}
