/* ============================================
   VIBESOFT BY FORTURIO — Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--white);
  background-color: var(--deep-navy);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Custom Properties --- */
:root {
  --deep-navy: #0A1628;
  --deep-navy-rgb: 10, 22, 40;
  --slate: #1E293B;
  --slate-light: #273548;
  --white: #F8FAFC;
  --white-rgb: 248, 250, 252;
  --soft-gray: #94A3B8;
  --soft-gray-light: #CBD5E1;
  --signal-blue: #3B82F6;
  --signal-blue-rgb: 59, 130, 246;
  --signal-blue-light: #60A5FA;
  --electric-teal: #06B6D4;
  --electric-teal-rgb: 6, 182, 212;
  --success-green: #22C55E;
  --warm-amber: #F59E0B;
  --light-bg: #F1F5F9;
  --light-bg-alt: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.06);
  --border-dark-hover: rgba(255, 255, 255, 0.12);
  --card-bg: rgba(255, 255, 255, 0.02);
  --card-bg-hover: rgba(255, 255, 255, 0.05);
  --nav-height: 72px;
  --section-padding: 120px;
  --container-max: 1200px;
  --container-padding: 24px;
}

@media (min-width: 768px) {
  :root {
    --container-padding: 48px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-padding: 80px;
    --section-padding: 140px;
  }
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 {
  color: var(--deep-navy);
}

.section-light {
  color: var(--slate);
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); letter-spacing: -0.01em; }

p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--soft-gray);
}

.section-light p {
  color: #475569;
}

a {
  color: var(--signal-blue-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--signal-blue);
}

strong {
  font-weight: 600;
}

code, .mono {
  font-family: 'JetBrains Mono', monospace;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-dark {
  background-color: var(--deep-navy);
}

.section-slate {
  background-color: var(--slate);
}

.section-light {
  background-color: var(--light-bg);
}

.section-light-alt {
  background-color: #fff;
}

/* --- Section Labels --- */
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--signal-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.section-light .section-label {
  color: var(--signal-blue);
}

.section-title {
  margin-bottom: 20px;
  max-width: 720px;
}

.section-subtitle {
  font-size: 1.25rem;
  max-width: 640px;
  margin-bottom: 60px;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--signal-blue), var(--electric-teal));
  color: #fff;
  box-shadow: 0 4px 20px rgba(var(--signal-blue-rgb), 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--signal-blue-rgb), 0.4);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--soft-gray-light);
  border: 1px solid var(--border-dark-hover);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-light .btn-secondary {
  color: var(--slate);
  border-color: var(--light-bg-alt);
}

.section-light .btn-secondary:hover {
  background: var(--light-bg-alt);
  color: var(--deep-navy);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(var(--deep-navy-rgb), 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.nav-logo-main {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  color: var(--soft-gray);
  font-weight: 400;
  margin-top: 2px;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.9375rem;
  color: var(--soft-gray);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav-cta {
    display: inline-flex;
  }
}

.nav-cta .btn {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Mobile menu toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.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);
}

/* Mobile menu overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(var(--deep-navy-rgb), 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile a {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--soft-gray);
  text-decoration: none;
  padding: 12px 0;
  transition: color 0.2s ease;
  border-bottom: 1px solid var(--border-dark);
}

.nav-mobile a:hover,
.nav-mobile a:focus {
  color: var(--white);
}

.nav-mobile .btn {
  margin-top: 24px;
  text-align: center;
  justify-content: center;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Dot grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(var(--white-rgb), 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Gradient overlay at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--deep-navy), transparent);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.hero-content {
  max-width: 580px;
}

.hero-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--signal-blue);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  display: block;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--signal-blue-light), var(--electric-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--soft-gray);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-microcopy {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--soft-gray);
}

/* Hero visual — animated UI layers */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: none;
}


@media (min-width: 1024px) {
  .hero-visual {
    display: block;
  }
}

.hero-visual .layer {
  position: absolute;
  border-radius: 12px;
  border: 1px solid;
  background: rgba(var(--white-rgb), 0.01);
  transition: border-color 0.6s ease, background 0.6s ease;
}

.hero-visual .layer-1 {
  width: 70%;
  height: 65%;
  top: 15%;
  left: 0;
  border-color: rgba(var(--white-rgb), 0.06);
  border-style: dashed;
}

.hero-visual .layer-2 {
  width: 75%;
  height: 70%;
  top: 8%;
  left: 12%;
  border-color: rgba(var(--signal-blue-rgb), 0.15);
  background: rgba(var(--signal-blue-rgb), 0.02);
}

.hero-visual .layer-3 {
  width: 80%;
  height: 75%;
  top: 0;
  right: 0;
  border-color: rgba(var(--electric-teal-rgb), 0.2);
  background: rgba(var(--electric-teal-rgb), 0.03);
  overflow: hidden;
}

/* Simulated UI inside the top layer */
.layer-3 .ui-bar {
  height: 32px;
  border-bottom: 1px solid rgba(var(--white-rgb), 0.06);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.layer-3 .ui-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(var(--white-rgb), 0.1);
}

.layer-3 .ui-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.layer-3 .ui-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(var(--white-rgb), 0.04);
}

.layer-3 .ui-line:nth-child(1) { width: 60%; }
.layer-3 .ui-line:nth-child(2) { width: 85%; }
.layer-3 .ui-line:nth-child(3) { width: 45%; }

.layer-3 .ui-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px 16px;
}

.layer-3 .ui-block {
  height: 48px;
  border-radius: 8px;
  background: rgba(var(--signal-blue-rgb), 0.06);
  border: 1px solid rgba(var(--signal-blue-rgb), 0.1);
}

/* Floating labels on hero visual */
.hero-visual .float-label {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--soft-gray);
  background: var(--slate);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-dark);
  white-space: nowrap;
  will-change: transform;
}

.float-label-1 {
  bottom: 5%;
  left: -5%;
  animation: labelPulse 4s ease-in-out infinite;
}

.float-label-2 {
  top: -5%;
  right: 10%;
  animation: labelPulse 4s ease-in-out 1.5s infinite;
}

.float-label-3 {
  bottom: 25%;
  right: -8%;
  animation: labelPulse 4s ease-in-out 3s infinite;
}

@keyframes labelPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  position: relative;
  z-index: 1;
}

.trust-bar-inner {
  text-align: center;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.trust-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: var(--soft-gray);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  background: var(--card-bg);
}

.trust-text {
  font-size: 0.9375rem;
  color: var(--soft-gray);
}

/* ============================================
   CARDS (shared)
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  padding: 32px;
  border-radius: 14px;
  border: 1px solid var(--border-dark);
  background: var(--card-bg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--signal-blue-rgb), 0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  border-color: var(--border-dark-hover);
  transform: translateY(-2px);
}

/* Light section cards */
.section-light .card {
  background: #fff;
  border-color: var(--light-bg-alt);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.section-light .card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(var(--signal-blue-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--signal-blue-light);
}

.section-light .card-icon {
  background: rgba(var(--signal-blue-rgb), 0.08);
  color: var(--signal-blue);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.card h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--electric-teal);
  margin-bottom: 14px;
  display: block;
}

.section-light .card-tag {
  color: var(--signal-blue);
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.card ul {
  list-style: none;
  margin-top: 12px;
}

.card ul li {
  font-size: 0.9375rem;
  color: var(--soft-gray);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.section-light .card ul li {
  color: #475569;
}

.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-blue);
}

/* ============================================
   PROCESS / TIMELINE
   ============================================ */
.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.process-step {
  position: relative;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .process-step {
    padding: 0 24px;
  }

  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    right: 0;
    width: calc(100% - 68px);
    height: 1px;
    background: var(--border-dark-hover);
    left: 68px;
  }
}

.step-number {
  font-family: 'Satoshi', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(var(--signal-blue-rgb), 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.section-light .step-number {
  color: rgba(var(--signal-blue-rgb), 0.15);
}

.process-step h3 {
  margin-bottom: 4px;
  font-size: 1.125rem;
}

.step-duration {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--electric-teal);
  margin-bottom: 12px;
  display: block;
}

.process-step p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.process-note {
  font-size: 1.125rem;
  color: var(--soft-gray-light);
  max-width: 640px;
}

.section-light .process-note {
  color: var(--slate);
}

/* ============================================
   AI SECTION — Split Layout
   ============================================ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 1024px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.check-list {
  list-style: none;
  margin-top: 32px;
}

.check-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(var(--signal-blue-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.check-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--signal-blue-light);
  stroke-width: 2;
  fill: none;
}

.section-light .check-icon {
  background: rgba(var(--signal-blue-rgb), 0.08);
}

.section-light .check-icon svg {
  stroke: var(--signal-blue);
}

.check-item strong {
  display: block;
  font-size: 1.0625rem;
  color: var(--white);
  margin-bottom: 4px;
}

.section-light .check-item strong {
  color: var(--deep-navy);
}

.check-item p {
  font-size: 0.9375rem;
  margin: 0;
}

/* AI visual diagram */
.ai-visual {
  position: relative;
  padding: 40px;
}

.ai-diagram {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  gap: 12px 8px;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .ai-diagram {
    gap: 16px;
    max-width: 520px;
  }
}

.ai-diagram .diagram-box-ai {
  text-align: center;
}

.ai-diagram .diagram-box-human {
  text-align: center;
}

.ai-diagram .diagram-arrow {
  justify-self: center;
}

.diagram-arrow-down {
  grid-column: 1 / -1;
  text-align: center;
}

.ai-diagram .diagram-box-output {
  grid-column: 1 / -1;
  text-align: center;
  justify-self: center;
}

.diagram-box {
  padding: 12px 14px;
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .diagram-box {
    padding: 14px 20px;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
}

.diagram-box-ai {
  background: rgba(var(--electric-teal-rgb), 0.1);
  border: 1px solid rgba(var(--electric-teal-rgb), 0.2);
  color: var(--electric-teal);
}

.diagram-box-human {
  background: rgba(var(--signal-blue-rgb), 0.1);
  border: 1px solid rgba(var(--signal-blue-rgb), 0.2);
  color: var(--signal-blue-light);
}

.diagram-box-output {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--success-green);
}

.diagram-arrow {
  color: var(--soft-gray);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ai-disclaimer {
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--soft-gray);
  font-style: italic;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
}

.section-light .ai-disclaimer {
  border-top-color: var(--light-bg-alt);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .comparison {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.comparison-col {
  padding: 36px;
  border-radius: 14px;
}

.comparison-classic {
  background: rgba(var(--white-rgb), 0.02);
  border: 1px solid var(--border-dark);
}

.comparison-vibesoft {
  background: rgba(var(--signal-blue-rgb), 0.05);
  border: 1px solid rgba(var(--signal-blue-rgb), 0.15);
}

.section-light .comparison-classic {
  background: #fff;
  border-color: var(--light-bg-alt);
}

.section-light .comparison-vibesoft {
  background: rgba(var(--signal-blue-rgb), 0.04);
  border-color: rgba(var(--signal-blue-rgb), 0.12);
}

.comparison-col h3 {
  margin-bottom: 24px;
  font-size: 1.125rem;
}

.comparison-classic h3 {
  color: var(--soft-gray);
}

.comparison-vibesoft h3 {
  color: var(--signal-blue-light);
}

.section-light .comparison-classic h3 {
  color: #64748B;
}

.section-light .comparison-vibesoft h3 {
  color: var(--signal-blue);
}

.comparison-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.9375rem;
}

.section-light .comparison-row {
  border-bottom-color: var(--light-bg-alt);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-classic .comparison-icon {
  color: var(--soft-gray);
}

.comparison-vibesoft .comparison-icon {
  color: var(--success-green);
}

/* ============================================
   PRICING / PHASES
   ============================================ */
.phases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}

@media (min-width: 768px) {
  .phases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.phase-card {
  padding: 36px;
  border-radius: 14px;
  border: 1px solid var(--border-dark);
  background: var(--card-bg);
  position: relative;
  transition: all 0.3s ease;
}

.phase-card:hover {
  border-color: var(--border-dark-hover);
}

.section-light .phase-card {
  background: #fff;
  border-color: var(--light-bg-alt);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.section-light .phase-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.phase-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--signal-blue), var(--electric-teal));
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  display: inline-block;
  letter-spacing: 0.03em;
}

.phase-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.phase-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--electric-teal);
  margin-bottom: 16px;
  display: block;
}

.phase-card p {
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.phase-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.phase-card ul li {
  font-size: 0.875rem;
  color: var(--soft-gray);
  padding: 4px 0 4px 18px;
  position: relative;
}

.section-light .phase-card ul li {
  color: #475569;
}

.phase-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal-blue);
}

.phase-note {
  font-size: 0.875rem;
  color: var(--signal-blue-light);
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
  margin: 0;
}

.section-light .phase-note {
  border-top-color: var(--light-bg-alt);
  color: var(--signal-blue);
}

.pricing-note {
  margin-top: 48px;
  font-size: 1rem;
  max-width: 640px;
  line-height: 1.7;
}

/* Phase arrows between cards */
@media (min-width: 768px) {
  .phase-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--signal-blue), var(--electric-teal));
    z-index: 2;
    box-shadow: 0 0 16px rgba(var(--signal-blue-rgb), 0.3);
  }

  .phase-card:not(:last-child)::before {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2.5px solid #fff;
    border-right: 2.5px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    z-index: 3;
  }

  /* Checkmark circle on the last phase card */
  .phase-card-done::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--signal-blue), var(--electric-teal));
    z-index: 2;
    box-shadow: 0 0 16px rgba(var(--signal-blue-rgb), 0.3);
  }

  .phase-card-done::before {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    width: 10px;
    height: 6px;
    border-bottom: 2.5px solid #fff;
    border-left: 2.5px solid #fff;
    transform: translateY(-60%) rotate(-45deg);
    z-index: 3;
  }
}

/* ============================================
   PROJECTS / TAGS
   ============================================ */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .tag-cloud {
    gap: 12px;
  }
}

.project-tag {
  font-size: 0.8125rem;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-dark);
  color: var(--soft-gray-light);
  background: var(--card-bg);
  transition: all 0.2s ease;
}

@media (min-width: 768px) {
  .project-tag {
    font-size: 0.9375rem;
    padding: 10px 20px;
  }
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: inline-block;
  }
}

.project-tag:hover {
  border-color: var(--border-dark-hover);
  color: var(--white);
  background: var(--card-bg-hover);
}

.section-light .project-tag {
  border-color: var(--light-bg-alt);
  color: var(--slate);
  background: #fff;
}

.section-light .project-tag:hover {
  border-color: #CBD5E1;
  color: var(--deep-navy);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border-dark);
}

.section-light .faq-item {
  border-bottom-color: var(--light-bg-alt);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s ease;
}

.section-light .faq-question {
  color: var(--deep-navy);
}

.faq-question:hover {
  color: var(--signal-blue-light);
}

.section-light .faq-question:hover {
  color: var(--signal-blue);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--soft-gray);
}

.section-light .faq-icon {
  border-color: var(--light-bg-alt);
}

.faq-item.active .faq-icon {
  background: rgba(var(--signal-blue-rgb), 0.1);
  border-color: rgba(var(--signal-blue-rgb), 0.2);
  color: var(--signal-blue-light);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 680px;
}

/* ============================================
   CTA FOOTER
   ============================================ */
.cta-footer {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--signal-blue-rgb), 0.08), transparent 70%);
  pointer-events: none;
}

.cta-footer h2 {
  position: relative;
  z-index: 1;
}

.cta-footer .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-footer .btn {
  position: relative;
  z-index: 1;
}

.cta-contact {
  margin-top: 40px;
  font-size: 0.9375rem;
  color: var(--soft-gray);
  position: relative;
  z-index: 1;
}

.cta-contact a {
  color: var(--soft-gray-light);
  font-weight: 500;
}

.cta-contact span {
  margin: 0 12px;
  color: var(--border-dark-hover);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-dark);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--soft-gray);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--soft-gray);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 60px;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  section {
    padding: 80px 0;
  }
}

@media (max-width: 639px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }

  section {
    padding: 64px 0;
  }

  .card {
    padding: 24px;
  }

  .phase-card {
    padding: 28px;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    justify-content: center;
  }

  .comparison-col {
    padding: 24px;
  }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-title.text-center,
.section-subtitle.text-center {
  margin-left: auto;
  margin-right: auto;
}

/* Selection color */
::selection {
  background: rgba(var(--signal-blue-rgb), 0.3);
  color: var(--white);
}

/* Scrollbar (webkit) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--deep-navy);
}

::-webkit-scrollbar-thumb {
  background: var(--slate-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--soft-gray);
}
