/* ===================================================
   OrbisLoop — Landing Page Styles
   Modern, responsive, climate-tech theme
   =================================================== */

/* ----- CSS Custom Properties ----- */
:root {
  --primary-50: #ecfdf5;
  --primary-100: #d1fae5;
  --primary-200: #a7f3d0;
  --primary-300: #6ee7b7;
  --primary-400: #34d399;
  --primary-500: #10b981;
  --primary-600: #059669;
  --primary-700: #047857;
  --primary-800: #065f46;
  --primary-900: #064e3b;
  --primary-950: #022c22;

  --blue-50: #f0f9ff;
  --blue-100: #e0f2fe;
  --blue-400: #38bdf8;
  --blue-500: #0ea5e9;
  --blue-600: #0284c7;
  --blue-700: #0369a1;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --gray-950: #020617;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-800);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  color: var(--gray-900);
  line-height: 1.25;
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-white {
  background: #fff;
}

.section-light {
  background: var(--gray-50);
}

.section-dark {
  background: var(--primary-950);
}

.section-gradient {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-950) 100%);
}

/* ----- Navigation ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-900);
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--primary-900);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary-700);
}

.nav-cta {
  background: var(--primary-600);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  transition: background 0.2s, transform 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  padding-top: 72px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #fff 0%, var(--primary-50) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-950);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-credibility {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.badge:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow);
}

.badge svg {
  display: inline;
  flex-shrink: 0;
  color: var(--primary-500);
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary-600);
  color: #fff;
  border-color: var(--primary-600);
}

.btn-primary:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary-700);
  border-color: var(--primary-300);
}

.btn-outline:hover {
  background: var(--primary-50);
  border-color: var(--primary-500);
  color: var(--primary-800);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-form {
  width: 100%;
  justify-content: center;
  padding: 0.875rem 1.5rem;
}

/* ----- Social Proof ----- */
.social-proof {
  padding: 3rem 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
}

.social-proof-inner {
  text-align: center;
}

.social-proof-text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--gray-600);
  font-weight: 500;
}

.counter {
  font-weight: 800;
  color: var(--primary-600);
  font-size: 1.5em;
}

/* ----- Section Headers ----- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-600);
  background: var(--primary-50);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-tag-light {
  color: var(--primary-300);
  background: rgba(255, 255, 255, 0.1);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title-light {
  color: #fff;
}

/* ----- Problem Section ----- */
.problem-content {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.problem-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--gray-600);
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}

.stat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-600);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ----- Solution Section ----- */
.solution-content {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.solution-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.solution-content p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--gray-600);
}

.solution-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--primary-50);
  color: var(--primary-600);
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1);
}

.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ----- How It Works / Steps ----- */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 220px;
  position: relative;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  margin-bottom: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover .step-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-600);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.4;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-300);
  padding-top: 1.5rem;
  flex-shrink: 0;
}

/* ----- Features Grid ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-200);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--primary-50);
  color: var(--primary-600);
  margin-bottom: 1.25rem;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* ----- Platform Diagram ----- */
.diagram-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 2rem 0;
  -webkit-overflow-scrolling: touch;
}

.diagram-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 110px;
  padding: 1.25rem 1rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}

.diagram-node:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.node-primary {
  border-color: var(--primary-300);
  background: var(--primary-50);
}

.diagram-node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  margin-bottom: 0.75rem;
}

.node-primary .diagram-node-icon {
  background: var(--primary-100);
}

.diagram-node span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.3;
}

.diagram-arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ----- Tech Architecture ----- */
.tech-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.tech-intro p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
}

.arch-layer {
  width: 100%;
  max-width: 520px;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

.arch-layer:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.arch-top {
  border-color: var(--primary-300);
  background: var(--primary-50);
}

.arch-bottom {
  border-color: var(--primary-300);
  background: var(--primary-50);
}

.arch-layer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.arch-layer-content svg {
  color: var(--primary-600);
  flex-shrink: 0;
}

.arch-layer-content span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
}

.arch-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

.arch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 2px 0;
}

.arch-arrow-svg {
  margin-top: -1px;
}

.arch-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.arch-feature {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.arch-feature:hover {
  box-shadow: var(--shadow-md);
}

.arch-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-700);
  margin-bottom: 0.5rem;
}

.arch-feature p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ----- Industry Focus ----- */
.industry-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.industry-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.industry-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.industry-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.industry-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-600);
  flex-shrink: 0;
}

.industry-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.industry-item p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ----- Market Section (Dark) ----- */
.market-content {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}

.market-content p {
  font-size: 1.1rem;
  color: var(--gray-300);
  line-height: 1.7;
}

.market-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.market-stat {
  text-align: center;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s, transform 0.3s;
}

.market-stat:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.market-stat-number {
  display: block;
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--primary-400);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.market-stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ----- Partners ----- */
.partners-intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.partner-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}

.partner-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.partner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  margin-bottom: 1.25rem;
}

.partner-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.partner-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ----- Waitlist Section ----- */
.waitlist-content {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.waitlist-content p {
  font-size: 1.05rem;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
}

.waitlist-form-wrapper {
  max-width: 440px;
  margin: 0 auto;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-300);
}

.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--primary-950);
  color: #fff;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.12);
}

.btn-form {
  margin-top: 0.5rem;
  background: var(--primary-500);
  border-color: var(--primary-500);
}

.btn-form:hover {
  background: var(--primary-400);
  border-color: var(--primary-400);
}

.form-success {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-success svg {
  margin: 0 auto 1rem;
}

.form-success h3 {
  color: var(--primary-300);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray-400);
  font-size: 0.95rem;
}

/* ----- Pilot Program ----- */
.pilot-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.pilot-content p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.pilot-form-wrapper {
  max-width: 560px;
  margin: 1.5rem auto 0;
  animation: slideDown 0.4s ease-out;
}

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

.pilot-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pilot-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group-pilot {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  text-align: left;
}

.form-group-pilot label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group-pilot input,
.form-group-pilot select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--gray-800);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-group-pilot input::placeholder {
  color: var(--gray-400);
}

.form-group-pilot select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-group-pilot input:focus,
.form-group-pilot select:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.btn-pilot-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.pilot-form-success {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-200);
}

.pilot-form-success svg {
  margin: 0 auto 1rem;
}

.pilot-form-success h3 {
  color: var(--primary-700);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pilot-form-success p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .pilot-form-row {
    grid-template-columns: 1fr;
  }
}

/* ----- Founder Quote ----- */
.quote-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.quote-icon {
  margin: 0 auto 1rem;
  color: var(--primary-500);
}

blockquote {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.5;
  font-style: italic;
}

/* ----- Footer ----- */
.footer {
  background: var(--primary-950);
  color: var(--gray-300);
  padding: 4rem 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  flex-shrink: 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.625rem;
}

.footer-logo:hover {
  color: #fff;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  gap: 4rem;
}

.footer-nav-group h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0.875rem;
}

.footer-nav-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-group a {
  font-size: 0.875rem;
  color: var(--gray-300);
  transition: color 0.2s;
}

.footer-nav-group a:hover {
  color: var(--primary-400);
}

/* Footer Middle — Built With */
.footer-middle {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.built-with-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.built-with-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.built-with-item svg {
  color: var(--primary-600);
  flex-shrink: 0;
  display: inline;
}

.footer-dot {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1;
  user-select: none;
}

/* Footer Bottom */
.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-600);
}

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

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

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.spin-slow {
  animation: spin-slow 60s linear infinite;
  transform-origin: 240px 200px;
}

.spin-reverse {
  animation: spin-reverse 45s linear infinite;
  transform-origin: 240px 200px;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-illustration {
    order: -1;
  }

  .hero-svg {
    max-width: 360px;
  }

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

  .arch-features-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-nav {
    gap: 2.5rem;
  }
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }

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

  .nav-link {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-100);
    width: 100%;
    text-align: center;
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    display: block;
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-grid {
    padding: 2rem 0;
  }

  .problem-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .solution-pillars {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .step {
    max-width: 100%;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

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

  .diagram-flow {
    flex-direction: column;
    gap: 0.75rem;
  }

  .diagram-arrow {
    transform: rotate(90deg);
  }

  .arch-features-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .industry-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .market-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-dot {
    display: none;
  }

  .built-with-items {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

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

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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