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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #FAFAFA;
  color: #1A1A2E;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  color: #4A4A5A;
  max-width: 640px;
}

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

/* ========================================
   KEYBOARD FOCUS
   ======================================== */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #0A0F1C;
  outline-offset: 3px;
  border-radius: 4px;
}

.hero a:focus-visible,
.site-footer a:focus-visible,
.not-found a:focus-visible {
  outline-color: #C8F526;
}

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

section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0A0F1C;
  opacity: 0.4;
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.125rem;
  color: #5A5A6A;
  max-width: 560px;
  margin-bottom: 56px;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
/* Content is hidden for the fade-in only when the inline script in <head> has put
   the "js" class on <html>. Without scripting everything is simply visible. */
.js .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.15s; }
.stagger-3 { transition-delay: 0.25s; }
.stagger-4 { transition-delay: 0.35s; }

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 15, 28, 0.06);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 24px rgba(10, 15, 28, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0A0F1C;
  letter-spacing: -0.02em;
}

.logo span {
  color: #C8F526;
  display: inline-block;
}

.logo img {
  display: block;
  height: 28px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4A4A5A;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #0A0F1C;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: #0A0F1C;
  color: #fff !important;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: #1a2040;
  transform: translateY(-1px);
}

/* Mobile nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0A0F1C;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid rgba(10, 15, 28, 0.06);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding: 120px 0 100px;
  background: #0A0F1C;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 245, 38, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 245, 38, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(200, 245, 38, 0.1);
  border: 1px solid rgba(200, 245, 38, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #C8F526;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #C8F526;
  border-radius: 50%;
}

.hero h1 {
  color: #fff;
  max-width: 700px;
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: #C8F526;
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #C8F526;
  color: #0A0F1C;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 245, 38, 0.25);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 72px;
  }
}

/* ========================================
   PROBLEM
   ======================================== */
.problem {
  background: #fff;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.problem-card {
  padding: 36px 32px;
  background: #FAFAFA;
  border-radius: 12px;
  border: 1px solid rgba(10, 15, 28, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 15, 28, 0.06);
}

.problem-icon {
  width: 48px;
  height: 48px;
  background: #0A0F1C;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-icon svg {
  width: 22px;
  height: 22px;
  stroke: #C8F526;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ========================================
   PROCESS
   ======================================== */
.process {
  background: #FAFAFA;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, #C8F526, rgba(200, 245, 38, 0.3));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  background: #0A0F1C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #C8F526;
  border: 3px solid #FAFAFA;
  box-shadow: 0 4px 20px rgba(10, 15, 28, 0.1);
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.95rem;
  margin: 0 auto;
  max-width: 280px;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-steps::before {
    top: 0;
    bottom: 0;
    left: 35px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .process-step {
    text-align: left;
    padding-left: 96px;
  }

  .step-number {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
}

/* ========================================
   CASE STUDY
   ======================================== */
.work {
  background: #0A0F1C;
  position: relative;
  overflow: hidden;
}

.work h2,
.work .section-label,
.work .section-intro {
  color: #fff;
}

.work .section-label {
  opacity: 0.35;
}

.work .section-intro {
  color: rgba(255, 255, 255, 0.5);
}

.case-study {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 48px;
  position: relative;
}

.case-study-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.case-study-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.case-study-logo {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #FF6B35, #FF4444);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.case-study-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.case-study-type {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(200, 245, 38, 0.1);
  border: 1px solid rgba(200, 245, 38, 0.25);
  border-radius: 8px;
  color: #C8F526;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.case-study-link:hover {
  background: rgba(200, 245, 38, 0.18);
  transform: translateY(-1px);
}

.case-study-link svg {
  width: 14px;
  height: 14px;
}

.improvements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.improvement {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 28px;
  transition: border-color 0.3s;
}

.improvement:hover {
  border-color: rgba(200, 245, 38, 0.2);
}

.improvement-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C8F526;
  margin-bottom: 10px;
}

.improvement h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 600;
}

.improvement p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.case-study-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

@media (max-width: 768px) {
  .case-study {
    padding: 28px 24px;
  }

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

/* ========================================
   DELIVERABLES
   ======================================== */
.deliverables {
  background: #fff;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  background: #FAFAFA;
  border-radius: 10px;
  border: 1px solid rgba(10, 15, 28, 0.04);
  transition: border-color 0.3s, transform 0.2s;
}

.deliverable-item:hover {
  border-color: rgba(200, 245, 38, 0.4);
  transform: translateY(-2px);
}

.deliverable-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #0A0F1C;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.deliverable-check svg {
  width: 14px;
  height: 14px;
  stroke: #C8F526;
  fill: none;
  stroke-width: 2.5;
}

.deliverable-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #0A0F1C;
}

.deliverable-item p {
  font-size: 0.85rem;
  color: #6A6A7A;
  line-height: 1.5;
}

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

/* ========================================
   PRICING
   ======================================== */
.pricing {
  background: #FAFAFA;
}

.pricing-card {
  max-width: 640px;
  background: #0A0F1C;
  border-radius: 16px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 245, 38, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pricing-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #C8F526;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.pricing-amount span {
  font-size: 0.5em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.pricing-range {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.pricing-details {
  list-style: none;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.pricing-details li {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-details li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #C8F526;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 40px 28px;
  }
}

/* ========================================
   FAQ
   ======================================== */
.faq {
  background: #fff;
}

.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid rgba(10, 15, 28, 0.08);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0A0F1C;
  transition: color 0.2s;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #999;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: #C8F526;
}

.faq-item summary:hover {
  color: #2A2A4E;
}

.faq-answer {
  padding-bottom: 24px;
  font-size: 0.95rem;
  color: #5A5A6A;
  line-height: 1.7;
  max-width: 600px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  background: #FAFAFA;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-text h2 {
  margin-bottom: 16px;
}

.contact-text p {
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #0A0F1C;
  padding: 12px 0;
  border-bottom: 2px solid #C8F526;
  transition: gap 0.2s;
}

.contact-email:hover {
  gap: 14px;
}

.contact-email svg {
  width: 18px;
  height: 18px;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(10, 15, 28, 0.06);
  box-shadow: 0 4px 24px rgba(10, 15, 28, 0.04);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0A0F1C;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #FAFAFA;
  border: 1px solid rgba(10, 15, 28, 0.1);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1A1A2E;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0A0F1C;
  outline: 2px solid #0A0F1C;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(200, 245, 38, 0.45);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #AAAABC;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: #0A0F1C;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.form-submit:hover {
  background: #1a2040;
  transform: translateY(-1px);
}

.form-submit:disabled {
  cursor: default;
  opacity: 0.7;
  transform: none;
}

/* Bot trap: off screen for people, still in the form for scripts that fill everything. */
.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-status:empty {
  margin-top: 0;
}

.form-status.is-success {
  color: #17692E;
}

.form-status.is-error {
  color: #B42318;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 28px 24px;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: #0A0F1C;
  padding: 48px 0;
  text-align: center;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-logo span {
  color: #C8F526;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #A9ABB3;
  margin-bottom: 24px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #9A9CA5;
}

/* ========================================
   404 PAGE
   ======================================== */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0A0F1C;
  padding: 72px 0;
}

.not-found-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C8F526;
  margin-bottom: 16px;
}

.not-found h1 {
  color: #fff;
  margin-bottom: 20px;
}

.not-found p {
  font-size: 1.125rem;
  color: #A9ABB3;
  max-width: 480px;
  margin-bottom: 40px;
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .fade-up,
  .js .fade-up.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq-answer {
    animation: none;
  }

  .nav-links,
  .mobile-toggle span,
  .btn-primary,
  .btn-primary svg,
  .problem-card,
  .deliverable-item,
  .nav-cta,
  .form-submit {
    transition: none;
  }
}
