:root {
  --bg-base: #0a0a0a;
  --bg-surface: #111111;
  --bg-elevated: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #777777;
  --text-dim: #555555;
  --accent: #4f46e5;
  --accent-light: #6366f1;
  --accent-soft: #818cf8;
  --success: #52b788;
  --warning: #f59e0b;
  --error: #e63946;
  --border: #1a1a1a;
  --divider: rgba(255, 255, 255, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

::selection {
  background: var(--accent);
  color: var(--text-primary);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid var(--divider);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

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

.brand-link img {
  width: 86px;
  opacity: 0.92;
  filter: brightness(2.2);
}

.nav-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.nav-actions {
  gap: 24px;
}

.nav-links {
  gap: 28px;
}

.nav-links a {
  color: #666666;
  font-size: 13px;
  font-weight: 500;
  transition: color 150ms ease, opacity 150ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-secondary);
}

.nav-links .portal-link {
  margin-left: 4px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 150ms ease, border-color 150ms ease, opacity 150ms ease;
}

.button-primary {
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-light);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.26);
}

.button-small {
  min-height: 40px;
  padding: 0 17px;
  border-radius: 10px;
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: 592px;
  margin-top: 72px;
  background:
    linear-gradient(0deg, rgba(10, 10, 10, 0.3) 0%, transparent 40%, rgba(10, 10, 10, 0.2) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.55) 50%, rgba(10, 10, 10, 0.7) 100%),
    radial-gradient(ellipse at 70% 50%, rgba(79, 70, 229, 0.08), transparent 60%),
    url("weld_2025_NEW2.jpg") center center / cover no-repeat;
}

.hero-shell {
  display: flex;
  min-height: 592px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.section-kicker {
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
.metric-value {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
}

h1 {
  max-width: 640px;
  margin-top: 18px;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-copy {
  max-width: 610px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.65;
}

.button-row {
  display: flex;
  margin-top: 30px;
  gap: 12px;
}

.social-proof {
  display: flex;
  max-width: 650px;
  margin-top: 32px;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.5;
}

.proof-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--accent-soft);
  filter: drop-shadow(0 0 4px rgba(129, 140, 248, 0.6));
}

.proof-separator {
  color: rgba(255, 255, 255, 0.3);
}

.metrics {
  display: grid;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  grid-template-columns: repeat(3, 1fr);
}

.metric {
  padding: 28px 24px;
  text-align: center;
}

.metric + .metric {
  border-left: 1px solid var(--divider);
}

.metric-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.metric-value span {
  color: var(--accent-soft);
}

.metric-label {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: uppercase;
}

.section {
  padding: 104px 24px;
}

.section-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2 {
  margin-top: 15px;
}

.problem-grid {
  display: grid;
  margin-top: 42px;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.problem-card {
  min-height: 144px;
  padding: 24px;
  border: 1px solid var(--border);
  border-left: 3px solid rgba(79, 70, 229, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.problem-card h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.problem-card p {
  margin-top: 12px;
  color: #888888;
  font-size: 13px;
  line-height: 1.65;
}

.image-divider {
  display: flex;
  height: 300px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.75)),
    url("gallery_rebar_NEW2.jpg") center center / cover no-repeat;
  align-items: center;
  justify-content: center;
}

.image-divider p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.image-divider span {
  color: var(--accent-soft);
}

.products-section {
  background: var(--bg-base);
}

.section-heading-wide {
  max-width: 760px;
}

.section-copy {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

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

.product-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: background-color 150ms ease, border-color 150ms ease;
}

.product-card:hover {
  border-color: #292929;
  background: rgba(255, 255, 255, 0.03);
}

.product-icon {
  display: flex;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(79, 70, 229, 0.12);
  align-items: center;
  justify-content: center;
}

.product-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.product-label {
  margin-top: 22px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.product-card h3 {
  margin-top: 7px;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.product-card h4 {
  margin-top: 20px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.product-card > p:last-child {
  margin-top: 9px;
  color: #999999;
  font-size: 13.5px;
  line-height: 1.65;
}

.final-cta {
  padding: 104px 24px;
  border-top: 1px solid var(--divider);
  background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.04), transparent 68%);
}

.final-cta-content {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.final-cta p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 15px;
}

.final-cta .button {
  margin-top: 28px;
}

.site-footer {
  border-top: 1px solid var(--divider);
}

.footer-shell {
  display: flex;
  max-width: 1200px;
  min-height: 96px;
  margin: 0 auto;
  padding: 24px;
  align-items: center;
  gap: 22px;
  color: var(--text-dim);
  font-size: 12px;
}

.footer-shell img {
  width: 78px;
  margin-right: auto;
  opacity: 0.76;
  filter: brightness(1.8);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero,
  .hero-shell {
    min-height: 560px;
  }

  .hero {
    background:
      linear-gradient(0deg, rgba(10, 10, 10, 0.3) 0%, transparent 40%, rgba(10, 10, 10, 0.2) 100%),
      linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.72) 65%, rgba(10, 10, 10, 0.72) 100%),
      radial-gradient(ellipse at 70% 50%, rgba(79, 70, 229, 0.08), transparent 60%),
      url("weld_2025_NEW2.jpg") center center / cover no-repeat;
  }
}

@media (max-width: 680px) {
  .nav-shell {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand-link img {
    width: 76px;
  }

  .hero {
    min-height: 640px;
    margin-top: 64px;
    background:
      linear-gradient(0deg, rgba(10, 10, 10, 0.38) 0%, transparent 40%, rgba(10, 10, 10, 0.2) 100%),
      linear-gradient(90deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.79) 100%),
      radial-gradient(ellipse at 70% 50%, rgba(79, 70, 229, 0.08), transparent 60%),
      url("weld_2025_NEW2.jpg") 58% center / cover no-repeat;
  }

  .hero-shell {
    min-height: 640px;
    padding: 56px 18px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .social-proof {
    padding: 16px 18px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .proof-dot {
    margin-top: 7px;
  }

  .proof-separator {
    display: none;
  }

  .metrics,
  .problem-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .metric + .metric {
    border-top: 1px solid var(--divider);
    border-left: 0;
  }

  .section,
  .final-cta {
    padding: 78px 18px;
  }

  .image-divider {
    height: 260px;
  }

  .product-card {
    padding: 28px;
  }

  .footer-shell {
    min-height: 124px;
    padding: 26px 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .footer-shell img {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

@media (max-width: 420px) {
  .button-small {
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  h1 {
    font-size: 35px;
  }
}
