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

:root {
  --navy: #0d1117;
  --navy-light: #161b22;
  --charcoal: #1c2128;
  --charcoal-light: #242a33;
  --slate: #8b949e;
  --silver: #c9d1d9;
  --white: #f0f2f5;
  --white-pure: #ffffff;
  --accent: #c8a24e;
  --accent-light: #d4b462;
  --accent-dim: rgba(200, 162, 78, 0.12);
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1120px;
  --section-padding: 120px 0;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--navy);
  color: var(--silver);
  line-height: 1.7;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

p {
  max-width: 640px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-padding);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
  background-color: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(200, 162, 78, 0.08);
  padding: 0.85rem 0;
}

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

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo span {
  color: var(--accent);
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

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

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy) !important;
  background: var(--accent);
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--silver);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 1px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(200, 162, 78, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 78, 0.15), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--accent);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 162, 78, 0.2);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

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

/* ===== PROBLEM ===== */
.problem {
  background: var(--navy-light);
  position: relative;
}

.problem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 78, 0.1), transparent);
}

.problem-content {
  max-width: 680px;
}

.problem-content p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--silver);
  max-width: 100%;
}

.problem-content p + p {
  margin-top: 1.5rem;
  color: var(--slate);
}

.problem-highlight {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white) !important;
  line-height: 1.5 !important;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2.5rem 0 !important;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.step {
  position: relative;
  padding: 2.5rem;
  background: var(--navy-light);
  border: 1px solid rgba(200, 162, 78, 0.08);
  border-radius: 12px;
  transition: border-color var(--transition), transform var(--transition);
}

.step:hover {
  border-color: rgba(200, 162, 78, 0.2);
  transform: translateY(-4px);
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-number::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(200, 162, 78, 0.15);
}

.step h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.step p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 100%;
}

/* ===== WHO WE HELP ===== */
.who-we-help {
  background: var(--navy-light);
  position: relative;
}

.who-we-help::before,
.who-we-help::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 78, 0.1), transparent);
}

.who-we-help::before { top: 0; }
.who-we-help::after { bottom: 0; }

.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 720px;
}

.who-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--charcoal);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition);
}

.who-item:hover {
  border-color: rgba(200, 162, 78, 0.15);
}

.who-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 8px;
  flex-shrink: 0;
}

.who-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.who-item span {
  font-weight: 500;
  color: var(--white);
  font-size: 0.95rem;
}

.who-note {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--slate);
  font-size: 1rem;
  font-style: italic;
  max-width: 560px;
}

/* ===== WHY IT WORKS ===== */
.why-it-works {
  position: relative;
}

.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.why-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--silver);
  max-width: 100%;
}

.why-text p + p {
  margin-top: 1.25rem;
  color: var(--slate);
}

/* Search results visualisation */
.search-visual {
  padding: 2rem;
  background: var(--navy-light);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--charcoal);
  border-radius: 8px;
  margin-bottom: 1.75rem;
}

.search-bar svg {
  width: 16px;
  height: 16px;
  stroke: var(--slate);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.search-bar span {
  font-size: 0.85rem;
  color: var(--slate);
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.search-result.positive {
  background: rgba(200, 162, 78, 0.06);
  border: 1px solid rgba(200, 162, 78, 0.12);
}

.search-result.negative {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0.5;
}

.result-rank {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.search-result.positive .result-rank {
  color: var(--accent);
}

.result-content {
  flex: 1;
  min-width: 0;
}

.result-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result.negative .result-title {
  color: var(--slate);
}

.result-url {
  font-size: 0.7rem;
  color: var(--slate);
  margin-top: 0.15rem;
}

.search-result.positive .result-url {
  color: rgba(200, 162, 78, 0.6);
}

.search-visual-label {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}

/* ===== AI SEARCH ===== */
.ai-search {
  background: var(--navy-light);
  position: relative;
}

.ai-search::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 78, 0.1), transparent);
}

.ai-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.ai-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--silver);
  max-width: 100%;
}

.ai-text p + p {
  margin-top: 1.25rem;
  color: var(--slate);
}

.ai-text em {
  color: var(--white);
  font-style: italic;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ai-feature {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--charcoal);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition);
}

.ai-feature:hover {
  border-color: rgba(200, 162, 78, 0.15);
}

.ai-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 8px;
  flex-shrink: 0;
}

.ai-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.ai-feature p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
  max-width: 100%;
}

@media (max-width: 968px) {
  .ai-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ===== CONTACT ===== */
.contact {
  background: var(--navy-light);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 78, 0.1), transparent);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--silver);
  max-width: 100%;
}

.contact-text .confidential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--accent-dim);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

.contact-text .confidential svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--slate);
  text-transform: uppercase;
}

.form-group label .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(139, 148, 158, 0.6);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--white);
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(139, 148, 158, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 162, 78, 0.1);
}

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

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
}

.footer-brand span {
  color: var(--accent);
}

.footer-note {
  font-size: 0.8rem;
  color: rgba(139, 148, 158, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  :root {
    --section-padding: 80px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
  }

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

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

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

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

  .container {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
  }

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

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

  .nav-links .nav-cta {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }

  .nav-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .step {
    padding: 2rem;
  }

  .footer .container {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .why-content {
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .problem-highlight {
    font-size: 1.2rem;
  }
}
