/* ================================
   Home Page Sections
   ================================ */

/* ================================
   Hero Section
   ================================ */

.site-header {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 4rem;
  overflow: hidden;
  background:
    radial-gradient(
      80% 60% at 10% 10%,
      rgba(255, 255, 255, 0.06),
      transparent 60%
    ),
    linear-gradient(180deg, #071a24 0%, #050f16 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/noise.png");
  opacity: 0.035;
  pointer-events: none;
}

.hero-grid {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  height: 100%;
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin: 0;
}

.hero-content h1 .focus {
  color: #ffffff;
  font-weight: 600;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.7);
}

.hero-note {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.65);
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 2rem 0 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    height: auto;
  }

  .hero-content {
    justify-content: flex-start;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 7vw, 2.6rem);
    max-width: 16ch;
  }

  .hero-sub {
    font-size: 1rem;
    margin-top: 1.25rem;
    max-width: 100%;
  }

  .hero-note {
    font-size: 0.9rem;
    margin-top: 0.75rem;
    max-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    align-items: center;
  }

  .hero-cta .btn {
    width: 85%;
  }

  .hero-visual {
    order: 2;
    opacity: 0.85;
  }

  .system-visual {
    transform: scale(0.9);
  }
}

/* ================================
   Problem Section
   ================================ */

.problem {
  padding: clamp(7.25rem, 5vh, 120px) 0;
  background: radial-gradient(
    1200px 600px at 50% 0%,
    rgba(255, 255, 255, 0.03),
    transparent 60%
  );
}

.problem-inner {
  max-width: 1100px;
  margin-inline: auto;
}

.problem-heading {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 4px;
  margin-top: 4px;
}

.problem-sub {
  max-width: 720px;
  font-size: 1.1rem;
  opacity: 0.75;
  margin-top: 4px;
  margin-bottom: 0;
}

.problem-grid {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: start;
}

.problem-block {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
  transform: translateY(6px);
}

.problem-list {
  list-style: disc;
  padding-top: 24px;
  padding-left: 1.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.problem-list::before {
  content: attr(data-label);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.4;
}

.problem-list li {
  margin-bottom: 6px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.problem-bridge {
  margin-top: 12px;
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 720px;
}

.problem-bridge::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .problem {
    padding-block: 4.5rem;
  }

  .problem-heading {
    font-size: clamp(1.9rem, 7vw, 2.2rem);
    margin-bottom: 0.75rem;
  }

  .problem-sub {
    font-size: 0.95rem;
    margin-bottom: 2.25rem;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    margin-top: 0;
  }

  .problem-list {
    padding-top: 1.25rem;
    padding-left: 1rem;
  }

  .problem-list::before {
    font-size: 0.7rem;
    opacity: 0.35;
  }

  .problem-list li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .problem-bridge {
    margin-top: 3.25rem;
    font-size: 1.05rem;
  }
}

/* ================================
   Solution Section
   ================================ */

.solution {
  background-color: var(--color-bg-soft);
  padding-block: clamp(7.25rem, 7vh, 6rem);
}

.solution-inner {
  max-width: 1240px;
  margin-inline: auto;
}

.solution-heading {
  margin-top: 6px;
  margin-bottom: var(--space-md);
}

.solution-intro {
  max-width: 720px;
  margin-bottom: 2rem;
}

.flow-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.flow-node {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 3rem;
  transition: transform var(--motion-medium) var(--ease-standard), border-color var(--motion-medium) var(--ease-standard);
}

.flow-node:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.flow-node:nth-child(2) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.flow-node h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.flow-node p {
  line-height: 1.55;
  opacity: 0.85;
}

.flow-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -1.6rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.15;
  font-size: 1.25rem;
}

.solution-clarifier {
  max-width: 760px;
  opacity: 0.75;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .solution {
    padding-block: 4.75rem;
  }

  .solution-heading {
    font-size: clamp(1.9rem, 7vw, 2.25rem);
    margin-bottom: 1rem;
  }

  .solution-intro {
    font-size: 0.95rem;
    margin-bottom: 2.75rem;
  }

  .flow-diagram {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .flow-node {
    padding: 1.75rem 1.5rem;
    border-radius: 14px;
    position: relative;
  }

  .flow-node::after {
    content: none !important;
  }

  .flow-node:not(:last-child)::before {
    content: "";
    position: absolute;
    bottom: -1.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 1.75rem;
    background: rgba(255, 255, 255, 0.18);
  }

  .solution-clarifier {
    font-size: 0.95rem;
    max-width: 100%;
  }
}

/* ================================
   Proof Section
   ================================ */

.proof {
  padding-block: clamp(8.5rem, 6vh, 5.5rem);
  margin-bottom: 0.75rem;
}

.proof-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-block: 0;
}

.proof-heading {
  margin-bottom: 3.25rem;
  margin-top: 1rem;
  max-width: 720px;
  line-height: 1.15;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.proof-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.proof-item:nth-child(1),
.proof-item:nth-child(3) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.proof-item h3 {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.proof-metric {
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  color: var(--color-accent-alt);
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  white-space: nowrap;
}

.proof-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.75;
}

.proof-note {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .proof {
    padding-block: 4.75rem;
    margin-bottom: 0;
  }

  .proof-heading {
    font-size: clamp(1.85rem, 7vw, 2.2rem);
    margin-bottom: 2rem;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .proof-item {
    padding: 1.4rem 1.25rem;
    box-shadow: none;
  }

  .proof-metric {
    font-size: 2rem;
    margin-bottom: 1.1rem;
  }

  .proof-item h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
  }

  .proof-note {
    margin-top: 2.25rem;
    font-size: 0.85rem;
    opacity: 0.7;
    text-transform: uppercase;
  }
}

/* ================================
   Offer Section
   ================================ */

.offer {
  padding-block: clamp(5.5rem, 6vh, 5.5rem);
  padding-bottom: 7.5rem;
}

.offer-inner {
  max-width: 1100px;
  margin-inline: auto;
}

.offer-heading {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 5rem;
  letter-spacing: -0.02em;
}

.offer-columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}

.offer-primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.offer-secondary {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  opacity: 0.85;
}

.offer-primary h3,
.offer-secondary h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.offer-secondary h3 {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.offer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offer-columns li {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.offer-primary li::before {
  content: "•";
  margin-right: 0.75rem;
  color: var(--color-accent-alt);
}

.offer-positioning {
  margin-top: 2.5rem;
  max-width: 720px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .offer {
    padding-block: 4.5rem;
    padding-bottom: 5.25rem;
  }

  .offer-heading {
    font-size: clamp(1.85rem, 7vw, 2.2rem);
    margin-bottom: 2.5rem;
  }

  .offer-columns {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .offer-primary {
    padding: 1.75rem 1.5rem;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-color: rgba(120, 220, 255, 0.25);
    box-shadow: 0 0 0 1px rgba(110, 231, 255, 0.25);
  }

  .offer-primary h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .offer-columns li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
  }

  .offer-secondary {
    padding: 1.5rem 1.4rem;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0.75;
  }

  .offer-secondary h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
    margin-bottom: 1rem;
  }

  .offer-positioning {
    margin-top: 2rem;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
  }
}

/* ================================
   Process Section
   ================================ */

#process {
  padding-block: clamp(5rem, 6vh, 5.5rem);
  padding-top: 8rem;
}

.process-inner {
  max-width: 1200px;
  margin-inline: auto;
}

.process-heading {
  margin-bottom: 7.75rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-top: 4.5rem;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.process-step {
  opacity: 0.85;
}

.process-step:nth-child(1),
.process-step:nth-child(2) {
  opacity: 1;
}

.process-step h3 {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.process-step:nth-child(1) h3,
.process-step:nth-child(2) h3 {
  font-weight: 600;
}

.process-step p {
  max-width: none;
  line-height: 1.6;
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 1.5rem;
}

.step-number {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 2rem;
  color: rgba(120, 220, 255, 0.9);
}

.process-note {
  margin-top: 5rem;
  padding-top: 2rem;
  font-size: 0.95rem;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.75);
}

.process-note::before {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  #process {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .process-heading {
    margin-bottom: 3rem;
    line-height: 1.25;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-left: 0;
    border-left: none;
  }

  .process-step {
    padding-left: 1.25rem;
    position: relative;
  }

  .process-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(120, 220, 255, 0.5), rgba(120, 220, 255, 0.05));
    opacity: 0.4;
  }

  .step-number {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    opacity: 0.85;
  }

  .process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .process-step p {
    margin-top: 0;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .process-step:nth-child(3),
  .process-step:nth-child(4) {
    opacity: 0.7;
  }

  .process-note {
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.9rem;
    max-width: 100%;
  }

  .process-note::before {
    width: 64px;
    margin-bottom: 1rem;
  }
}

/* ================================
   AI-First SEO Section
   ================================ */

.ai-seo {
  background-color: #0c161c;
  padding: var(--space-xxl) var(--space-md);
  padding-top: 8rem;
}

.ai-seo-heading {
  margin-bottom: 3rem;
}

.qa-block {
  max-width: 75ch;
  margin-bottom: var(--space-lg);
}

.qa-block h3 {
  font-size: var(--fs-600);
  margin-bottom: var(--space-xs);
}

.qa-block p {
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .ai-seo {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .ai-seo-heading {
    margin-bottom: 2.25rem;
    max-width: 20ch;
    font-size: 2rem;
  }

  .qa-block {
    max-width: 100%;
    margin-bottom: 2.25rem;
  }

  .qa-block h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.85;
  }

  .qa-block p {
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0.85;
  }
}

/* ================================
   Final CTA Section
   ================================ */

.cta {
  background-color: var(--color-bg-soft);
  text-align: center;
  padding: 1.75rem;
  padding-top: 4.75rem;
}

.cta-heading {
  margin-top: 1.5rem;
  margin-bottom: 2.75rem;
}

.cta-text {
  margin: var(--space-md) auto;
}

.cta-button {
  margin-top: 4rem;
}

.cta-footnote {
  margin-top: 2rem;
  font-size: var(--fs-400);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .cta {
    padding-top: 5.5rem;
    padding-bottom: 5rem;
  }

  .cta-heading {
    margin-bottom: 2rem;
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-text {
    margin-top: 0;
    margin-bottom: 2.5rem;
    max-width: 28ch;
  }

  .cta-button {
    margin-top: 1.75rem;
  }

  .cta-footnote {
    margin-top: 1.75rem;
    opacity: 0.75;
  }
}
