:root {
  --bg-primary: #09111b;
  --bg-secondary: #0c1521;
  --surface-card: #0f1926;
  --surface-card-hover: #152234;
  --card-border: #1e293b;
  --card-border-hover: rgba(245, 158, 11, 0.4);
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.25);
  --accent-amber-gradient: linear-gradient(135deg, #fcd34d, #f59e0b, #d97706);
  --accent-blue: #0284c7;
  --accent-sky: #38bdf8;
  --accent-emerald: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-slate: #cbd5e1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utilities */
.text-amber { color: var(--accent-amber); }
.text-emerald { color: var(--accent-emerald); }
.text-sky { color: var(--accent-sky); }
.text-muted { color: var(--text-muted); }
.text-slate { color: var(--text-slate); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-surface { background-color: var(--surface-card); }

/* Top bar */
.top-notice-bar {
  background: #070d15;
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
  font-size: 0.75rem;
  color: #cbd5e1;
  padding: 0.5rem 0;
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge-tag {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-open {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 25, 38, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-amber-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--accent-amber-glow);
}

.brand-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-tag {
  font-size: 0.65rem;
  background: #1e293b;
  color: var(--accent-amber);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-slate);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.btn-primary {
  background: var(--accent-amber-gradient);
  color: #09111b;
  box-shadow: 0 4px 15px var(--accent-amber-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: rgba(30, 41, 59, 0.6);
  color: #fff;
  border: 1px solid var(--card-border);
}

.btn-outline:hover {
  background: #1e293b;
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--accent-amber);
}

.btn-phone {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-family: ui-monospace, monospace;
}

.btn-phone:hover {
  background: rgba(245, 158, 11, 0.2);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 6rem 0;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.15), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.1), transparent 40%),
              var(--bg-primary);
  border-bottom: 1px solid var(--card-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-highlight {
  background: var(--accent-amber-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-slate);
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--card-border);
  padding-top: 1.5rem;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-slate);
}

/* Hero Card */
.hero-card {
  background: linear-gradient(180deg, #131e2d, #0d1522);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.card-division-item {
  background: rgba(9, 17, 27, 0.7);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: border-color 0.2s;
}

.card-division-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.card-division-icon {
  background: #1e293b;
  color: var(--accent-amber);
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 1rem;
}

/* Stats Bar */
.stats-bar {
  background: #070d15;
  border-bottom: 1px solid var(--card-border);
  padding: 2.5rem 0;
}

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

.stat-item {
  background: rgba(15, 25, 38, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  font-size: 1.25rem;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  font-family: ui-monospace, monospace;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.stat-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Capabilities Section */
.capabilities-section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

.tab-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  background: #070d15;
  padding: 0.5rem;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  margin-bottom: 2.5rem;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-slate);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tab-btn.active {
  background: var(--accent-amber);
  color: #09111b;
  box-shadow: 0 4px 15px var(--accent-amber-glow);
}

.capability-card {
  background: var(--surface-card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.cap-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.cap-feature-box {
  background: rgba(9, 17, 27, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem;
}

.cap-image-wrap {
  position: relative;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.cap-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cap-image-wrap:hover img {
  transform: scale(1.03);
}

/* Estimator Section */
.estimator-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.estimator-form-card {
  background: var(--bg-primary);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
}

.estimator-result-card {
  background: linear-gradient(180deg, #142336, #0d1825);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-amber);
  text-transform: uppercase;
  font-family: ui-monospace, monospace;
  margin-bottom: 0.5rem;
}

.form-select, .form-input, .form-textarea {
  width: 100%;
  background: #09111b;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-amber);
}

.symptom-btn {
  width: 100%;
  text-align: left;
  background: rgba(15, 25, 38, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-slate);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.symptom-btn.selected {
  background: #1e293b;
  border-color: var(--accent-amber);
  color: #fff;
}

/* Surplus Grid */
.surplus-section {
  padding: 6rem 0;
  border-top: 1px solid var(--card-border);
}

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

.surplus-card {
  background: var(--surface-card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-col: column;
  transition: all 0.3s;
}

.surplus-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-4px);
}

.surplus-img {
  height: 220px;
  position: relative;
  background: #000;
}

.surplus-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surplus-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.surplus-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-amber);
  font-family: ui-monospace, monospace;
  margin: 0.5rem 0;
}

/* Heritage Block */
.heritage-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.milestone-box {
  background: var(--bg-primary);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
}

.milestone-year {
  background: var(--accent-amber);
  color: #09111b;
  font-weight: 800;
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

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

.sponsorship-item {
  background: rgba(9, 17, 27, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--text-slate);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Contact & Footer */
.contact-section {
  padding: 6rem 0;
  border-top: 1px solid var(--card-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.footer-section {
  background: #050a10;
  border-top: 1px solid var(--card-border);
  padding: 4rem 0 6rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* NetZero Fixed Wrapper */
.netzero-fixed-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 1.5rem;
  pointer-events: none;
}

.netzero-banner {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(12, 21, 33, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 16px;
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  pointer-events: auto;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid, .capability-card, .estimator-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid, .milestones-grid, .surplus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tab-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .stats-grid, .milestones-grid, .surplus-grid, .sponsorship-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-badges-row {
    grid-template-columns: 1fr;
  }
}
