/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080b12;
  --bg-2: #0d1117;
  --bg-card: #111827;
  --fg: #e8eaf0;
  --fg-dim: #6b7280;
  --accent: #00f5c4;
  --accent-dim: rgba(0, 245, 196, 0.12);
  --orange: #ff6b35;
  --orange-dim: rgba(255, 107, 53, 0.12);
  --border: rgba(255,255,255,0.07);
  --font-head: 'Space Grotesk', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-head);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === LAYOUT === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === HERO GCP BADGE === */
.hero-gcp-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(66,133,244,0.1);
  border: 1px solid rgba(66,133,244,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #8ab4f8;
  margin-bottom: 28px;
}

/* === HERO CTA GROUP === */
.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #080b12;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  letter-spacing: -0.01em;
}

.cta-primary:hover {
  background: #00dfb4;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,245,196,0.25);
}

.cta-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  color: var(--fg);
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  letter-spacing: -0.01em;
}

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

/* === HERO IMAGE === */
.hero-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,245,196,0.05);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(8,11,18,0.85);
  border: 1px solid rgba(0,245,196,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  backdrop-filter: blur(8px);
  letter-spacing: 0.05em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,245,196,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,245,196,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero h1 br { display: none; }

.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-dim);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-metrics {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.metric { display: flex; flex-direction: column; gap: 4px; }

.metric-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
}

.metric-label {
  font-size: 12px;
  color: var(--fg-dim);
  line-height: 1.4;
  max-width: 100px;
}

/* === TERMINAL === */
.terminal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,245,196,0.05);
}

.terminal-bar {
  background: rgba(255,255,255,0.04);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.terminal-title {
  margin-left: 8px;
  font-size: 11px;
  color: var(--fg-dim);
  opacity: 0.6;
}

.terminal-body {
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t-line { color: rgba(255,255,255,0.5); }
.t-dim { color: rgba(255,255,255,0.25); }
.t-teal { color: var(--accent); }
.t-orange { color: var(--orange); }
.t-green { color: #28c840; font-weight: 500; }
.t-blink { color: var(--accent); animation: blink 1s step-end infinite; }

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

.terminal-footer {
  padding: 10px 20px;
  background: rgba(0,245,196,0.05);
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 120px 24px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.howitworks h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 72px;
  max-width: 600px;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 0 40px 0 0;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  margin-bottom: 16px;
  opacity: 0.5;
}

.step-icon { margin-bottom: 20px; }

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-dim);
}

.step-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  margin-top: 40px;
  flex-shrink: 0;
}

.hiw-cta {
  margin-top: 64px;
  text-align: center;
}

.hiw-cta-btn {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  color: var(--fg);
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  letter-spacing: -0.01em;
}

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

/* === WASTE SCAN === */
.wastescan {
  padding: 120px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.wastescan h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.scan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.scan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color 0.2s;
}

.scan-card:hover { border-color: rgba(255,107,53,0.3); }

.scan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  border-radius: 10px 10px 0 0;
  opacity: 0.6;
}

.scan-resource {
  display: flex;
  align-items: center;
  gap: 10px;
}

.resource-type {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scan-name {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
}

.scan-wasterate {
  font-size: 12px;
  color: var(--orange);
  font-family: var(--font-mono);
}

.scan-savings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.savings-label {
  font-size: 12px;
  color: var(--fg-dim);
}

.savings-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
}

.scan-total {
  background: var(--orange-dim);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--fg-dim);
  text-align: center;
}

.scan-total strong { color: var(--orange); font-weight: 600; }

/* === MANIFESTO === */
.manifesto {
  padding: 120px 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.manifesto-quote { padding-top: 8px; }

.quote-text {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  font-style: italic;
  color: var(--fg);
  margin-bottom: 16px;
}

.quote-context {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-dim);
}

.manifesto-body h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.manifesto-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin-bottom: 16px;
}

.manifesto-body strong { color: var(--fg); font-weight: 600; }

.manifesto-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-dim);
}

.pillar-icon { flex-shrink: 0; }

/* === CLOSING === */
.closing {
  padding: 140px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,245,196,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}

.closing h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.closing p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin-bottom: 20px;
}

.closing-statement {
  font-size: 18px !important;
  color: var(--accent) !important;
  font-weight: 500;
  opacity: 0.8;
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-dim);
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  opacity: 0.5;
}

/* === PRICING === */
.pricing {
  padding: 120px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.pricing-subtitle {
  font-size: 17px;
  color: var(--fg-dim);
  margin-bottom: 56px;
  line-height: 1.6;
}

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

.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.plan:hover { border-color: rgba(0,245,196,0.25); }

.plan--pro {
  border-color: rgba(0,245,196,0.35);
  box-shadow: 0 0 0 1px rgba(0,245,196,0.15), 0 24px 64px rgba(0,0,0,0.4);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #080b12;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-header { margin-bottom: 24px; }

.plan-name {
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.price-amount {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.price-period {
  font-size: 16px;
  color: var(--fg-dim);
}

.plan-desc {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.5;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-dim);
}

.feature.included { color: var(--fg); }
.feature.excluded { opacity: 0.4; }

.feature strong { font-weight: 600; color: var(--fg); }

.feature-icon {
  font-family: var(--font-mono);
  font-size: 13px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.feature.included .feature-icon { color: var(--accent); }
.feature.excluded .feature-icon { color: var(--fg-dim); }

.plan-cta {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  letter-spacing: -0.01em;
}

.plan-cta--primary {
  background: var(--accent);
  color: #080b12;
}

.plan-cta--primary:hover {
  background: #00dfb4;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,245,196,0.25);
}

.plan-cta--secondary {
  background: rgba(255,255,255,0.06);
  color: var(--fg);
  border: 1px solid var(--border);
}

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

.pricing-note {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--fg-dim);
}

/* === CLOSING CTA === */
.closing-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-left { order: 1; }
  .hero-right { order: 2; }
  .hero h1 br { display: block; }
  .hero { padding: 60px 24px; min-height: auto; }
  .steps { flex-direction: column; gap: 40px; }
  .step-connector { display: none; }
  .step { padding: 0; }
  .scan-grid { grid-template-columns: 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-pillars { grid-template-columns: 1fr; }
  .hero-metrics { gap: 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan--pro { box-shadow: none; border-color: var(--border); }
}

@media (max-width: 480px) {
  .hero-metrics { flex-direction: column; gap: 16px; }
  .metric-value { font-size: 24px; }
}