/* ==========================================================================
   ALAIVE — Digital Flora / PLANTAR
   Layout: V2 Prototype Architecture
   Theme: Original ALAIVE Brand Palette (#ce0000 Red Accent, Light Neutral Paper, Deep Black Surfaces)
   ========================================================================== */

:root {
  --ink: #1a1a1a;
  --muted: #555555;
  --muted-light: #777777;
  --line: #e2e5e2;
  --line-dark: rgba(255, 255, 255, 0.12);
  --paper: #f9f9f9;
  --paper-subtle: #f1f3f0;
  --white: #ffffff;
  --accent: #ce0000;
  --accent-hover: #a80000;
  --accent-glow: rgba(206, 0, 0, 0.25);
  --accent-subtle: rgba(206, 0, 0, 0.08);
  --deep: #111111;
  --card-dark: #181818;
  --card-surface: #222222;
  --max: 1200px;
  
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 249, 249, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}

.brand .highlight {
  color: var(--accent);
  text-shadow: 0 0 15px rgba(206, 0, 0, 0.35);
}

.brand span.dot {
  color: var(--accent);
  margin-left: 2px;
  font-size: 32px;
  line-height: 0;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 20px;
}

.nav-links a {
  color: var(--muted);
  position: relative;
  padding: 4px 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Button Component */
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--ink);
  color: var(--white);
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.button.compact {
  padding: 9px 18px;
  font-size: 12.5px;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
  box-shadow: none;
}

.button b {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.button:hover b {
  transform: translateX(3px);
}

.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 24px;
  color: var(--ink);
  cursor: pointer;
}

/* Language Dropdown in Header */
.v2-lang-switcher {
  position: relative;
  font-size: 12px;
  font-weight: 600;
}

.v2-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}

.v2-lang-btn:hover {
  border-color: var(--ink);
}

.v2-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  min-width: 110px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: none;
  flex-direction: column;
  z-index: 105;
}

.v2-lang-switcher:hover .v2-lang-dropdown,
.v2-lang-switcher:focus-within .v2-lang-dropdown {
  display: flex;
}

.v2-lang-dropdown a {
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}

.v2-lang-dropdown a:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink);
}

.v2-lang-dropdown a.active {
  color: var(--accent);
  font-weight: 700;
}

/* Back Link to Dashboard */
.back-link-tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.back-link-tag:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY & UTILITIES
   -------------------------------------------------------------------------- */
.kicker {
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kicker::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 600;
}

.underlined {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.underlined:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, var(--paper) 60%, var(--paper-subtle) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.hero h1 {
  font-size: clamp(48px, 6.5vw, 86px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -2px;
  margin: 0 0 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}

.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 36px;
}

.hero-art {
  position: relative;
  height: 520px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.orb-one {
  width: 380px;
  height: 380px;
  background: rgba(206, 0, 0, 0.09);
  right: -20px;
  top: 10px;
}

.orb-two {
  width: 260px;
  height: 260px;
  background: rgba(78, 128, 70, 0.12);
  left: -20px;
  bottom: 20px;
}

/* Hero Image Card Visualization */
.hero-image-card {
  width: min(100%, 480px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  background: var(--card-dark);
  line-height: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(206, 0, 0, 0.25);
}

.hero-diagram-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

/* Model Card Visualization */
.model-card {
  width: min(100%, 460px);
  border-radius: 24px;
  background: var(--card-dark);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  color: #e0e0e0;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-top, .card-bottom {
  display: flex;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #888888;
  background: rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.card-top span:last-child {
  color: var(--accent);
}

.model-scene {
  height: 360px;
  position: relative;
  background: radial-gradient(circle at 75% 20%, rgba(206, 0, 0, 0.15), transparent 35%),
              linear-gradient(160deg, #1f1f1f 0%, #111111 100%);
  overflow: hidden;
}

.ring {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: border-color 0.3s ease;
}

.ring-a { width: 300px; height: 300px; animation: rotateRing 30s linear infinite; }
.ring-b { width: 210px; height: 210px; animation: rotateRingRev 24s linear infinite; }
.ring-c { width: 130px; height: 130px; }

@keyframes rotateRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateRingRev {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

.model-plant {
  position: absolute;
  left: 50%;
  bottom: 35px;
  width: 140px;
  height: 270px;
  transform: translateX(-50%);
}

.model-plant b {
  position: absolute;
  left: 67px;
  bottom: 0;
  width: 6px;
  height: 240px;
  background: linear-gradient(to top, #486638, #86ad52);
  border-radius: 10px;
}

.model-plant i {
  position: absolute;
  width: 90px;
  height: 38px;
  background: linear-gradient(135deg, #5b8744, #3a5c29);
  border-radius: 100% 0;
  transform: rotate(25deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.model-plant i:nth-child(1) { left: -6px; top: 110px; }
.model-plant i:nth-child(2) { left: 52px; top: 70px; transform: scaleX(-1) rotate(25deg); }
.model-plant i:nth-child(3) { left: -16px; top: 175px; }
.model-plant i:nth-child(4) { left: 56px; top: 150px; transform: scaleX(-1) rotate(30deg); }

.label {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: #111111;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--accent);
}

.label-a { left: 16px; top: 65px; }
.label-b { right: 16px; top: 180px; border-left-color: #5b8744; }
.label-c { left: 24px; bottom: 30px; }

/* --------------------------------------------------------------------------
   DIGITAL FLORA CORE SECTION (PRESERVED CONTENT)
   -------------------------------------------------------------------------- */
.intro {
  background: var(--white);
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 90px;
  align-items: start;
}

.intro h2, .section-title h2, .technology h2, .proof h2, .pilot h2 {
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 0;
}

.large {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 24px;
  font-weight: 300;
}

.intro p:not(.kicker), .technology p:not(.kicker), .proof p:not(.kicker) {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.intro strong {
  color: var(--accent);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   PLANTAR COMMERCIAL PRODUCT SECTION
   -------------------------------------------------------------------------- */
.plantar-section {
  padding: 120px 0;
  background: var(--paper-subtle);
  border-bottom: 1px solid var(--line);
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-title > p:last-child {
  font-size: 20px;
  color: var(--muted);
  margin-top: 14px;
}

.plantar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.plantar-visual {
  background: var(--card-dark);
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
  line-height: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.plantar-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(206, 0, 0, 0.2);
}

.plantar-product-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 24px;
}

.screen {
  background: var(--card-dark);
  border-radius: 18px;
  color: #dbe0db;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-head {
  padding: 16px 20px;
  font-size: 10px;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.status {
  color: var(--accent);
  font-weight: 700;
}

.chart {
  height: 240px;
  position: relative;
  background: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  margin: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 55%;
  height: 90px;
  border-top: 3px solid var(--accent);
  transform: skewY(-16deg) rotate(-3deg);
}

.chart-line.second {
  top: 68%;
  border-color: #608c4a;
  transform: skewY(12deg) rotate(2deg);
}

.axis {
  position: absolute;
  font-size: 9px;
  letter-spacing: 1px;
  color: #777777;
}

.axis.x { right: 0; bottom: -20px; }
.axis.y { left: 0; top: 6px; }

.screen-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 22px 20px;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
}

.screen-stats small {
  display: block;
  color: #888888;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.screen-stats b {
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
}

.plantar-copy .large {
  font-size: 28px;
  color: var(--ink);
  line-height: 1.35;
}

.benefits {
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

.benefits div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.benefits span {
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
}

.benefits b {
  color: var(--ink);
  font-size: 16px;
}

.benefits p {
  grid-column: 2;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   EXPLORE MODELS SECTION
   -------------------------------------------------------------------------- */
.models {
  padding: 120px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.section-title.inline {
  text-align: left;
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
}

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

.crop-card {
  min-height: 350px;
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  color: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.crop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.crop-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, rgba(10, 10, 10, 0.85) 90%);
  z-index: 2;
}

.crop-card > * {
  position: relative;
  z-index: 3;
}

/* Background Media for Cards */
.crop-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.crop-card:hover .crop-card-video {
  opacity: 0.95;
  transform: scale(1.05);
}

.crop-card.lemon {
  background: #2b3a24;
}

.crop-card.citrus {
  background: #24352b;
}

.crop-card.custom {
  background: #262626;
}

.crop-tag {
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: auto;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.crop-card h3 {
  font-size: 32px;
  letter-spacing: -0.5px;
  margin: 12px 0 0;
  color: var(--white);
}

.crop-card p {
  font-size: 13.5px;
  margin: 6px 0 16px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.crop-card b {
  font-size: 13px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.crop-card:hover b {
  gap: 10px;
  color: #ff5555;
}

.models-footer-cta {
  margin-top: 40px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   APPLICATIONS GRID SECTION (WHAT CAN BE MODELLED?)
   -------------------------------------------------------------------------- */
.applications {
  background: var(--deep);
  color: var(--white);
  padding: 100px 0;
}

.applications .kicker {
  color: #ffffff;
}

.applications .kicker::before {
  background: var(--accent);
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  margin-top: 24px;
}

.application-grid div {
  padding: 35px 24px 35px 0;
  border-bottom: 1px solid var(--line-dark);
}

.application-grid strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 6px;
}

.application-grid span {
  font-size: 13.5px;
  color: #aaaaaa;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   TECHNOLOGY SECTION
   -------------------------------------------------------------------------- */
.technology {
  padding: 120px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 90px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill-list span {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 100px;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  transition: all 0.2s ease;
}

.pill-list span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   COMMERCIAL PROOF SECTION
   -------------------------------------------------------------------------- */
.proof {
  padding: 120px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.proof-image {
  height: 440px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.proof-video,
.proof-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.proof-image span {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.proof-image b {
  font-size: 16px;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
}

.proof-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}

.proof-image > * {
  position: relative;
  z-index: 3;
}

.proof h2 {
  font-size: 46px;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   PILOT / CONTACT INQUIRY SECTION
   -------------------------------------------------------------------------- */
.pilot {
  padding: 110px 0;
  background: var(--paper-subtle);
  border-bottom: 1px solid var(--line);
}

.pilot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.pilot h2 {
  font-size: 54px;
  margin-bottom: 20px;
}

.pilot form {
  background: var(--white);
  padding: 36px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.pilot label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin-bottom: 16px;
}

.pilot input, .pilot textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.pilot input:focus, .pilot textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pilot small {
  display: block;
  color: var(--muted-light);
  font-size: 11px;
  margin-top: 14px;
}

.pilot-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 500;
  display: none;
  animation: fadeInStatus 0.3s ease forwards;
}

.pilot-status.success {
  display: block !important;
  background: #edf7ee;
  color: #1b5e20;
  border: 1px solid #c8e6c9;
}

.pilot-status.error {
  display: block !important;
  background: #fdf2f2;
  color: #b71c1c;
  border: 1px solid #ffcdd2;
}

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

.button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   SITE FOOTER
   -------------------------------------------------------------------------- */
footer {
  background: var(--deep);
  color: #c5c9c5;
  padding: 65px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
}

.footer-grid .brand {
  color: var(--white);
  margin-bottom: 6px;
}

.footer-grid .brand .highlight {
  color: var(--accent);
  text-shadow: 0 0 16px rgba(206, 0, 0, 0.5);
}

.footer-grid p {
  color: #888888;
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
}

.footer-grid b {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-grid a {
  color: #999999;
}

.footer-grid a:hover {
  color: var(--accent);
}

.copyright {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  color: #666666;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 990px) {
  .nav-links, .nav-actions > .button {
    display: none;
  }

  .menu {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    gap: 16px;
    margin: 0;
  }

  .hero-grid, .intro-grid, .tech-grid, .plantar-grid, .proof-grid, .pilot-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .hero-art {
    height: auto;
    min-height: 440px;
  }

  .section-title.inline {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

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

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: 46px;
    letter-spacing: -1px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .hero-actions .button {
    justify-content: center;
  }

  .hero-art {
    height: auto;
    min-height: auto;
  }

  .model-scene {
    height: 300px;
  }

  .model-card {
    width: 100%;
  }

  .intro, .plantar-section, .models, .technology, .proof, .pilot {
    padding: 70px 0;
  }

  .model-grid, .application-grid, .two, .footer-grid {
    grid-template-columns: 1fr;
  }

  .pilot h2 {
    font-size: 38px;
  }

  .proof h2 {
    font-size: 36px;
  }

  .copyright {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
