:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a25;
  --fg: #e8e8ef;
  --fg-muted: #8888a0;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-glow: rgba(0, 229, 160, 0.3);
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === HEADER / NAV === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-mark {
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0, 229, 160, 0.4));
  transition: filter 0.3s ease;
}

.logo:hover .logo-mark {
  filter: drop-shadow(0 0 14px rgba(0, 229, 160, 0.6));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  margin-left: 0.5rem;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  background: #00c98a;
  box-shadow: 0 0 20px rgba(0, 229, 160, 0.35);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--fg-muted);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

/* === HERO === */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 5rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.hero h1 .highlight {
  color: var(--accent);
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* Flow Diagram */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.flow-node {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1.2rem 2.5rem;
  border-radius: 12px;
  text-align: center;
  min-width: 200px;
  transition: transform 0.3s ease;
}

.flow-node:hover {
  transform: scale(1.03);
}

.node-input {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.25);
  color: #ff6b6b;
}

.node-process {
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  font-size: 1.1rem;
  padding: 1.5rem 3rem;
}

.node-output {
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.2);
  color: var(--accent);
}

.flow-arrow {
  color: var(--fg-muted);
  font-size: 1.5rem;
  opacity: 0.5;
}

/* === PROOF / STATS === */
.proof {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* === SECTION HEADERS === */
.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* === SERVICES === */
.services {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: rgba(0, 229, 160, 0.25);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === HOW IT WORKS === */
.how {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.step-content p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* === CLOSING === */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-surface) 100%);
}

.closing-content {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1rem;
}

.closing-sub {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 2rem;
}

.closing-detail {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* === FOOTER === */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.3rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 4rem 1.5rem 3rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

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

  .step {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .step-number {
    font-size: 2.2rem;
  }

  .services,
  .how {
    padding: 4rem 1.5rem;
  }

  .closing {
    padding: 5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* === PRICING === */
.pricing {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

.pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s ease;
}

.pricing-card:hover {
  border-color: rgba(0, 229, 160, 0.2);
}

.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(0, 229, 160, 0.06) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 40px rgba(0, 229, 160, 0.08);
}

.pricing-popular {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--bg);
  background: var(--accent);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  align-self: flex-start;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pricing-price {
  margin-bottom: 1rem;
  line-height: 1;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-left: 0.25rem;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding: 0.45rem 0;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.pricing-cta:hover {
  background: var(--accent-dim);
}

.pricing-cta--featured {
  background: var(--accent);
  color: var(--bg);
}

.pricing-cta--featured:hover {
  background: #00c98a;
}

.pricing-cta--paypal {
  background: #0070BA;
  color: #fff;
  border-color: #0070BA;
}

.pricing-cta--paypal:hover {
  background: #005ea6;
  border-color: #005ea6;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* === CONTACT === */
.contact {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 400px;
}

.contact-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.perk-icon {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease;
  outline: none;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(136, 136, 160, 0.45);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(0, 229, 160, 0.4);
}

.form-field select {
  cursor: pointer;
  /* Custom dropdown arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238888a0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-field select option {
  background: var(--bg-card);
  color: var(--fg);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  align-self: flex-start;
  letter-spacing: 0.02em;
}

.form-submit:hover {
  background: #00c98a;
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.success-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.form-error {
  font-size: 0.875rem;
  color: #ff6b6b;
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.form-divider {
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  padding: 0.5rem 0;
}

.paypal-direct-btn {
  display: block;
  text-align: center;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  background: #0070BA;
  color: #fff;
  border: 1px solid #0070BA;
  transition: background 0.2s ease;
  letter-spacing: 0.02em;
}

.paypal-direct-btn:hover {
  background: #005ea6;
  border-color: #005ea6;
}

/* === RESPONSIVE: Pricing & Contact === */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-sub {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .pricing,
  .contact {
    padding: 4rem 1.5rem;
  }

  .price-amount {
    font-size: 2.3rem;
  }
}

/* === HEADER MOBILE === */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0.25rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 229, 160, 0.2); }
  50% { box-shadow: 0 0 35px rgba(0, 229, 160, 0.4); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Enhanced card glow on hover */
.service-card {
  box-shadow: none;
  transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  border-color: rgba(0, 229, 160, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0, 229, 160, 0.08), 0 0 0 1px rgba(0, 229, 160, 0.08);
}

/* Pricing card subtle glow */
.pricing-card--featured {
  animation: pulse-glow 4s ease-in-out infinite;
}

/* Logo animation */
.logo-mark {
  transition: transform 0.4s ease;
}

.logo:hover .logo-mark {
  transform: rotate(5deg) scale(1.05);
}

/* Flow diagram enhanced animation */
.flow-node {
  animation: float 4s ease-in-out infinite;
}

.flow-node:nth-child(1) { animation-delay: 0s; }
.flow-node:nth-child(3) { animation-delay: 0.5s; }
.flow-node:nth-child(5) { animation-delay: 1s; }

/* Section fade-in on scroll (JS adds .visible class) */
.service-card,
.pricing-card,
.step {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-card.visible,
.pricing-card.visible,
.step.visible {
  opacity: 1;
  transform: translateY(0);
}