/* ===========================================
   CSS Custom Properties & Reset
   =========================================== */
:root {
  --black:       #000000;
  --white:       #FFFFFF;
  --lime:        #C9F31E;
  --blue:        #2A67B8;
  --gray:        #6B7280;
  --dark:        #0d0d0d;
  --dark-alt:    #050505;
  --border:      #1a1a1a;
  --border-soft: #2a2a2a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

ul { list-style: none; }

/* ===========================================
   Layout Utilities
   =========================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.centered { text-align: center; }

.section-heading {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================
   Buttons
   =========================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  border: none;
  text-align: center;
  letter-spacing: 0.3px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.btn-lime {
  background: var(--lime);
  color: var(--black);
}

.btn-lime:hover {
  opacity: 0.92;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-full {
  display: block;
  width: 100%;
}

/* ===========================================
   Navigation
   =========================================== */
#navbar {
  position: sticky;
  top: 0;
  z-index: 10005;
  background: var(--black);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo img {
  display: block;
  height: 40px;
  width: auto;
}

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

.nav-links a {
  color: var(--gray);
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--lime) !important;
  color: var(--black) !important;
  padding: 10px 20px !important;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: opacity 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  color: var(--black) !important;
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================================
   Hero Section
   =========================================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Vignette overlay */
.hero-grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
}

.hero-content h1 {
  font-size: 80px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray);
  max-width: 680px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 16px 36px;
  font-size: 17px;
}

/* ===========================================
   Animation Section
   =========================================== */
#animation-section {
  padding: 60px 0 80px;
  overflow: visible;
}

#animation-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}

#base-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ===========================================
   Problem Section
   =========================================== */
#problem {
  padding: 100px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.problem-card {
  padding: 44px;
  border-radius: 12px;
}

.without-card {
  background: #120000;
  border: 1px solid #3a0000;
}

.with-card {
  background: #001200;
  border: 1px solid #003a00;
}

.card-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 28px;
}

.card-title.red  { color: #ff4444; }
.card-title.lime { color: var(--lime); }

.problem-card li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: #d0d0d0;
}

.x-mark, .check-mark {
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 1px;
}

.x-mark     { color: #ff4444; }
.check-mark { color: var(--lime); }

/* ===========================================
   Services Section
   =========================================== */
#services {
  padding: 100px 0;
  background: var(--dark-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.service-card.lime-top { border-top: 3px solid var(--lime); }
.service-card.blue-top { border-top: 3px solid var(--blue); }

/* Diagonal ribbon */
.popular-ribbon {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--lime);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  padding: 5px 40px;
  transform: rotate(45deg);
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.service-icon {
  font-size: 42px;
  margin-bottom: 18px;
  line-height: 1;
}

.service-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 14px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.badge-lime { background: var(--lime); color: var(--black); }
.badge-blue { background: var(--blue); color: var(--white); }

.service-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
  margin-top: 4px;
}

/* ===========================================
   Stats Section
   =========================================== */
#stats {
  padding: 100px 0;
  background: var(--black);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.stat-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover { transform: translateY(-3px); }

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.lime-text { color: var(--lime); }
.blue-text { color: var(--blue); }

.stat-label {
  color: var(--gray);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Pipeline */
.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.pipeline-stage {
  background: var(--dark);
  border: 1px solid var(--border);
  padding: 10px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.pipeline-stage.active {
  background: rgba(201,243,30,0.08);
  border-color: var(--lime);
  color: var(--lime);
}

.pipeline-arrow {
  color: var(--gray);
  font-size: 22px;
  line-height: 1;
}

/* ===========================================
   Pricing Section
   =========================================== */
#pricing {
  padding: 100px 0;
  background: var(--dark-alt);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 48px;
}

.pricing-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.pricing-card.popular-pricing {
  border-color: var(--lime);
  transform: scale(1.05);
  padding: 52px 36px;
  z-index: 2;
}

.pricing-card.popular-pricing:hover {
  transform: scale(1.05) translateY(-4px);
}

.most-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: 100px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.plan-name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 28px;
}

.plan-price span {
  font-size: 20px;
  color: var(--gray);
  font-weight: 400;
}

.plan-features {
  margin-bottom: 32px;
}

.plan-features li {
  padding: 11px 0 11px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: #cccccc;
  position: relative;
  line-height: 1.5;
}

.plan-features li:first-child {
  border-top: 1px solid var(--border);
}

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

/* ===========================================
   Free Website Section
   =========================================== */
#free-website {
  padding: 100px 24px;
  background: var(--lime);
  text-align: center;
}

.fw-heading {
  font-size: 52px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 20px;
}

.fw-body {
  font-size: 18px;
  color: #2a2a2a;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

#free-website .btn-dark {
  padding: 16px 44px;
  font-size: 17px;
  border: 2px solid var(--black);
}

#free-website .btn-dark:hover {
  background: #111;
}

/* ===========================================
   Industries Section
   =========================================== */
#industries {
  padding: 100px 0;
  background: var(--black);
}

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
}

.industry-pill {
  padding: 10px 22px;
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  cursor: default;
  /* initial hidden state for wave animation */
  opacity: 0;
  transform: translateY(12px);
  /* all transitions in one declaration */
  transition:
    opacity    0.4s ease,
    transform  0.4s ease,
    color      0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.industry-pill:hover {
  color: var(--lime);
  border-color: var(--lime);
  background: rgba(201,243,30,0.06);
}

.industry-pill.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   Contact Section
   =========================================== */
#contact {
  padding: 100px 0;
  background: var(--dark-alt);
}

.phone-cta {
  display: block;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 60px;
  font-weight: 800;
  color: var(--lime);
  margin: 12px 0 48px;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: -1px;
}

.phone-cta:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
}

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

#contact-form input,
#contact-form select,
#contact-form textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid var(--border-soft);
  color: var(--white);
  padding: 14px 16px;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #555;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  border-color: var(--lime);
  background: #0d0d0d;
}

#contact-form select {
  cursor: pointer;
  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='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

#contact-form select option {
  background: #111;
  color: var(--white);
}

#contact-form textarea {
  margin-bottom: 16px;
  resize: vertical;
  min-height: 110px;
}

#contact-form .btn-lime {
  margin-top: 4px;
  padding: 16px;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.form-success {
  text-align: center;
  padding: 48px 0;
}

.form-success h3 {
  font-size: 36px;
  color: var(--lime);
  margin-bottom: 14px;
}

.form-success p {
  color: var(--gray);
  font-size: 16px;
}

/* ===========================================
   Footer
   =========================================== */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-left img {
  display: block;
  margin-bottom: 14px;
}

.footer-tagline {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray);
  font-size: 14px;
  transition: color 0.2s;
}

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

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

.footer-bottom p {
  color: #444;
  font-size: 13px;
}

/* ===========================================
   Scroll Reveal Animations
   =========================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   Mobile — max-width 768px
   =========================================== */
@media (max-width: 768px) {

  /* Nav */
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #080808;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    z-index: 9998;
  }

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

  .nav-links a {
    padding: 16px 24px;
    width: 100%;
    border-bottom: 1px solid var(--border);
    color: #ccc;
  }

  .nav-cta {
    margin: 14px 20px !important;
    width: calc(100% - 40px) !important;
    text-align: center !important;
    border-radius: 6px !important;
    display: block !important;
  }

  /* Hero */
  .hero-content { padding: 80px 24px 60px; }

  .hero-content h1 {
    font-size: 42px;
    letter-spacing: 0;
  }

  .hero-sub { font-size: 16px; }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    padding: 15px 28px;
  }

  /* Section headings */
  .section-heading { font-size: 36px; }

  .section-sub { font-size: 16px; }

  /* Sections padding */
  #problem,
  #services,
  #stats,
  #pricing,
  #industries,
  #contact {
    padding: 64px 0;
  }

  #animation-section { padding: 32px 0 48px; }

  /* Problem */
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 28px 24px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 28px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-number { font-size: 46px; }
  .stat-card { padding: 28px 16px; }

  /* Pipeline */
  .pipeline { gap: 6px; }
  .pipeline-stage { padding: 8px 16px; font-size: 12px; }
  .pipeline-arrow { font-size: 16px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular-pricing {
    transform: none;
    padding: 52px 32px;
  }
  .pricing-card.popular-pricing:hover {
    transform: translateY(-4px);
  }

  /* Free website */
  .fw-heading { font-size: 38px; }
  #free-website { padding: 72px 24px; }

  /* Contact */
  .phone-cta { font-size: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 20px; }

  /* Footer */
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }
  .footer-links { justify-content: center; }
}

/* Tablet tweaks */
@media (max-width: 960px) and (min-width: 769px) {
  .hero-content h1 { font-size: 62px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.popular-pricing { transform: none; }
}
