/* ===================================================================
   ClawAir — Official Website Stylesheet
   Design System: Space Black × Neural Green × Titanium Gray
   Inspired by Apple Pro aesthetic with Teenage Engineering tactility
   =================================================================== */

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

:root {
  --black: #0A0A0A;
  --black-light: #111111;
  --black-card: #141414;
  --gray-900: #1A1A1A;
  --gray-800: #2C2C2E;
  --gray-700: #3A3A3C;
  --gray-600: #48484A;
  --gray-500: #636366;
  --gray-400: #8E8E93;
  --gray-300: #AEAEB2;
  --gray-200: #C7C7CC;
  --gray-100: #E5E5EA;
  --white: #F5F5F7;
  --green: #39FF14;
  --green-dim: #2bcc10;
  --green-glow: rgba(57, 255, 20, 0.15);
  --green-glow-strong: rgba(57, 255, 20, 0.3);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --nav-h: 64px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--gray-300);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--green);
  color: var(--black);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 140px 0;
  position: relative;
}

.hide-mobile { display: inline; }

/* ----- Text Utilities ----- */
.text-glow {
  color: var(--green);
  text-shadow: 0 0 40px var(--green-glow-strong), 0 0 80px var(--green-glow);
}

/* ----- Section Headers ----- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-glow);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(57, 255, 20, 0.15);
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo-icon { flex-shrink: 0; filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.3)); transition: filter 0.3s ease; }
.nav-logo:hover .nav-logo-icon { filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.6)); }

.nav-links {
  display: flex;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.25s ease;
  letter-spacing: -0.01em;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  background: var(--green);
  padding: 8px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px var(--green-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: conic-gradient(from 0deg, var(--green), transparent 60%, var(--green));
  z-index: -1;
  opacity: 0;
  animation: glowRotate 3s linear infinite;
  transition: opacity 0.3s ease;
}

.nav-cta:hover::before { opacity: 1; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 30px var(--green-glow-strong); }

@keyframes glowRotate { to { transform: rotate(360deg); } }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}

.nav-mobile-toggle span {
  display: block;
  height: 1.5px;
  background: var(--gray-300);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--green-glow) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
  animation: heroGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes heroGlowPulse {
  0% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  100% { opacity: 0.5; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  padding: 8px 18px;
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 24px;
  background: rgba(57, 255, 20, 0.05);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--green-glow-strong); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  transition: all 0.3s var(--ease);
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--green);
  color: var(--black);
  box-shadow: 0 0 30px var(--green-glow), 0 4px 15px rgba(0,0,0,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--green-glow-strong), 0 8px 25px rgba(0,0,0,0.4);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Hero Product Visual — Real Photo + OLED Overlay */
.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  animation: fadeInUp 1s var(--ease-out) 0.5s both;
}

.product-photo-wrapper {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

.product-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  filter: brightness(1.05) contrast(1.05);
}

.product-photo-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 120px;
  background: radial-gradient(ellipse, rgba(57, 255, 20, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlowPulse 6s ease-in-out infinite alternate;
}

/* ---- OLED Screen Overlay ---- */
.oled-overlay {
  position: absolute;
  /* Position over the OLED screen in the photo */
  bottom: 14.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 52%;
  height: 16%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  border-radius: 6px;
}

.oled-screen-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6% 8%;
  gap: 2px;
  position: relative;
  z-index: 2;
}

.oled-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 1.2em;
  overflow: hidden;
  white-space: nowrap;
}

.oled-icon {
  font-family: var(--font-mono);
  font-size: clamp(6px, 1.2vw, 11px);
  color: var(--green);
  text-shadow: 0 0 6px var(--green-glow-strong);
  opacity: 0;
  animation: oledFadeIn 0.3s ease forwards;
  animation-delay: 0.5s;
}

.oled-text-type {
  font-family: var(--font-mono);
  font-size: clamp(6px, 1.2vw, 11px);
  font-weight: 500;
  color: var(--green);
  text-shadow: 0 0 4px var(--green-glow);
  letter-spacing: 0.5px;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  border-right: 2px solid var(--green);
}

/* Typing animation for each line with staggered delays */
.oled-line-logo .oled-text-type {
  animation: oledType 1.2s steps(11) 0.8s forwards, oledCursorBlink 0.6s step-end 0.8s 3;
}

.oled-line-task .oled-text-type {
  animation: oledTypeTask 1.8s steps(29) 2.2s forwards, oledCursorBlink 0.6s step-end 2.2s 4;
}

.oled-line-agent .oled-text-type {
  animation: oledTypeShort 0.5s steps(4) 4.3s forwards, oledCursorBlink 0.6s step-end 4.3s infinite;
}

.oled-line-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.oled-progress-bar {
  width: 55%;
  height: clamp(2px, 0.4vw, 4px);
  background: rgba(57, 255, 20, 0.15);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: oledFadeIn 0.3s ease forwards;
  animation-delay: 5s;
}

.oled-progress-fill-bar {
  height: 100%;
  width: 0%;
  background: var(--green);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--green-glow-strong);
  animation: oledProgressGrow 3s ease-in-out 5.2s forwards, oledProgressLoop 4s ease-in-out 8.2s infinite;
}

.oled-mem {
  font-family: var(--font-mono);
  font-size: clamp(5px, 0.9vw, 9px);
  color: var(--green);
  text-shadow: 0 0 4px var(--green-glow);
  opacity: 0;
  animation: oledFadeIn 0.3s ease forwards;
  animation-delay: 5s;
  letter-spacing: 0.5px;
}

/* Scanline effect */
.oled-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(57, 255, 20, 0.12) 50%, transparent 100%);
  animation: scanlineMove 3s linear infinite;
  z-index: 3;
  pointer-events: none;
}

/* Keyframes */
@keyframes oledType {
  from { width: 0; }
  to { width: 11ch; border-right-color: transparent; }
}

@keyframes oledTypeTask {
  from { width: 0; }
  to { width: 29ch; border-right-color: transparent; }
}

@keyframes oledTypeShort {
  from { width: 0; }
  to { width: 4ch; border-right-color: transparent; }
}

@keyframes oledFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes oledCursorBlink {
  50% { border-right-color: transparent; }
}

@keyframes oledProgressGrow {
  from { width: 0%; }
  to { width: 68%; }
}

@keyframes oledProgressLoop {
  0% { width: 68%; opacity: 1; }
  45% { width: 95%; }
  50% { width: 0%; opacity: 0.3; }
  55% { width: 0%; opacity: 1; }
  100% { width: 68%; }
}

@keyframes scanlineMove {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInUp 1s var(--ease-out) 0.8s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-600), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===================================================================
   FEATURES
   =================================================================== */
.features { background: var(--black); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-glow-strong), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  border-color: rgba(57, 255, 20, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px var(--green-glow);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-glow);
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(57, 255, 20, 0.1);
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.feature-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.feature-desc {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.spec {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-300);
  padding: 4px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* ===================================================================
   CROWDFUNDING
   =================================================================== */
.crowdfund {
  background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 50%, var(--black) 100%);
}

.cf-progress-wrapper {
  max-width: 700px;
  margin: 0 auto 64px;
  padding: 32px;
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
}

.cf-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.cf-raised {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.cf-goal {
  font-size: 15px;
  color: var(--gray-500);
  margin-left: 8px;
}

.cf-progress-meta {
  display: flex;
  gap: 20px;
}

.cf-backers, .cf-days {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--gray-400);
}

.cf-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--gray-800);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.cf-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-dim), var(--green));
  border-radius: 4px;
  transition: width 1.5s var(--ease-out);
  box-shadow: 0 0 20px var(--green-glow-strong);
  position: relative;
}

.cf-progress-fill.animated {
  width: var(--progress-width, 65%);
}

.cf-progress-percent {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
}

/* Tiers */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.tier-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
}

.tier-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.tier-featured {
  border-color: rgba(57, 255, 20, 0.2);
  background: linear-gradient(180deg, rgba(57, 255, 20, 0.03) 0%, var(--black-card) 40%);
}

.tier-featured:hover {
  border-color: rgba(57, 255, 20, 0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--green-glow);
}

.tier-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--green);
  padding: 4px 16px;
  border-radius: 12px;
  box-shadow: 0 0 20px var(--green-glow);
}

.tier-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tier-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.tier-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-400);
  margin-top: 8px;
}

.tier-amount {
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}

.tier-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.tier-edition {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.tier-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-300);
}

.tier-features li svg { flex-shrink: 0; }

.tier-cta {
  display: block;
  width: 100%;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.tier-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.tier-cta-primary {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
  box-shadow: 0 0 20px var(--green-glow);
}

.tier-cta-primary:hover {
  background: #44ff22;
  box-shadow: 0 0 30px var(--green-glow-strong);
}

/* ===================================================================
   OPEN SOURCE
   =================================================================== */
.opensource {
  background: var(--black);
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.os-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.os-card:hover {
  border-color: rgba(57, 255, 20, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.os-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-glow);
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(57, 255, 20, 0.1);
}

.os-card-icon svg { width: 24px; height: 24px; }

.os-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.os-card-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.os-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  transition: gap 0.3s ease;
}

.os-card:hover .os-card-link { gap: 10px; }

/* Code Block */
.os-code-block {
  max-width: 680px;
  margin: 0 auto;
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.code-dots { display: flex; gap: 6px; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.code-filename {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-500);
}

.code-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
  color: var(--gray-300);
}

.code-body code { display: block; }

.c-keyword { color: #c792ea; }
.c-string { color: #c3e88d; }
.c-comment { color: var(--gray-600); }
.c-variable { color: #82aaff; }
.c-number { color: #f78c6c; }

/* ===================================================================
   SUPPORT / FAQ
   =================================================================== */
.support { background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%); }

.support-search {
  max-width: 560px;
  margin: 0 auto 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  color: var(--gray-500);
  transition: border-color 0.3s ease;
}

.support-search:focus-within {
  border-color: rgba(57, 255, 20, 0.3);
  box-shadow: 0 0 30px var(--green-glow);
}

.support-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--white);
  font-family: var(--font-sans);
}

.support-search-input::placeholder { color: var(--gray-600); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.faq-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* Quick Links */
.quicklink-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.quicklink-card:hover {
  border-color: rgba(57, 255, 20, 0.12);
  transform: translateX(4px);
}

.quicklink-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}

.quicklink-icon svg { width: 20px; height: 20px; }

.quicklink-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.quicklink-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--green); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  color: var(--gray-500);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.8;
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand { max-width: 280px; }

.footer-tagline {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--gray-600);
}

.footer-legal a { transition: color 0.25s ease; }
.footer-legal a:hover { color: var(--gray-300); }

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  color: var(--gray-500);
  transition: all 0.3s ease;
}

.social-link:hover {
  color: var(--green);
  border-color: rgba(57, 255, 20, 0.2);
  background: var(--green-glow);
}

/* ===================================================================
   REVEAL ANIMATION
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid .tier-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .os-grid { grid-template-columns: repeat(2, 1fr); }
  .os-grid .os-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section { padding: 100px 0; }
  .section-header { margin-bottom: 48px; }
  .hide-mobile { display: none; }

  /* Nav */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 0;
    transform: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

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

  .nav-link {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }

  .nav-mobile-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-mobile-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Hero */
  .hero { padding: 100px 24px 60px; min-height: auto; }
  .hero-title { font-size: clamp(40px, 10vw, 64px); }
  .hero-sub { font-size: 16px; }
  .product-photo-wrapper { max-width: 100%; }
  .hero-scroll-hint { display: none; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 30px; }

  /* Crowdfund */
  .tiers-grid { grid-template-columns: 1fr; }
  .tiers-grid .tier-card:last-child { max-width: 100%; }
  .cf-raised { font-size: 28px; }
  .tier-amount { font-size: 44px; }

  /* Open Source */
  .os-grid { grid-template-columns: 1fr; }
  .os-grid .os-card:last-child { max-width: 100%; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links-group { flex-wrap: wrap; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .section-title { font-size: 32px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .cf-progress-header { flex-direction: column; align-items: flex-start; }
}
