@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800;900&display=swap');

:root {
  --navy: #0b1224;
  --navy2: #101d35;
  --navy3: #162042;
  --blue: #1d4ed8;
  --blue-l: #3b82f6;
  --red: #c22a2a;
  --red-l: #ef4444;
  --white: #fff;
  --max: 1080px;
  --r: 12px;
  --r2: 8px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body { font-family: 'Outfit', system-ui, sans-serif; background: var(--navy); color: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden }
a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
.w { max-width: var(--max); margin: 0 auto; padding: 0 24px }

/* Noise overlay */
body::after { content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.022; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 150px }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 200; background: rgba(11,18,36,0.94); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid rgba(255,255,255,0.04) }
.topbar-in { height: 64px; display: flex; align-items: center; justify-content: space-between }
.logo-link { display: flex; align-items: center; gap: 10px }
.logo-mark { width: 36px; height: 36px; background: var(--red); border-radius: 6px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(194,42,42,0.35) }
.logo-mark span { color: #fff; font-size: 18px; line-height: 1 }
.logo-text { font-weight: 800; font-size: 15px; letter-spacing: 2px; text-transform: uppercase }
.logo-text em { font-style: normal; color: var(--red-l) }
nav.links { display: flex; gap: 20px; align-items: center }
nav.links a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.45); transition: color 0.2s; letter-spacing: 0.2px }
nav.links a:hover { color: #fff }

/* Buttons */
.b { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: var(--r2); border: none; font-family: inherit; font-weight: 700; font-size: 13px; letter-spacing: 0.3px; cursor: pointer; transition: all 0.2s }
.br { background: var(--red); color: #fff; box-shadow: 0 4px 20px rgba(194,42,42,0.3) }
.br:hover { background: var(--red-l); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(239,68,68,0.35) }
.bb { background: var(--blue); color: #fff; box-shadow: 0 4px 20px rgba(29,78,216,0.25) }
.bb:hover { background: var(--blue-l); transform: translateY(-1px) }
.bo { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.15) }
.bo:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.03) }
.bs { padding: 8px 16px; font-size: 12px }

/* Flag */
.flag { height: 3px; display: flex }
.flag span:nth-child(1) { flex: 1; background: var(--red) }
.flag span:nth-child(2) { flex: 1; background: var(--white) }
.flag span:nth-child(3) { flex: 1; background: var(--blue) }

/* Hero */
.hero { position: relative; padding: 80px 0 64px; overflow: hidden }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; border-radius: 50% }
.hero::before { top: -30%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(29,78,216,0.08), transparent 70%) }
.hero::after { bottom: -20%; left: -5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(194,42,42,0.06), transparent 70%) }
.hero-c { position: relative; z-index: 1 }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center }
.hero-full { max-width: 720px }

/* Chip */
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 100px; font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 16px }
.chip-r { border: 1px solid rgba(194,42,42,0.3); background: rgba(194,42,42,0.06) }
.chip-b { border: 1px solid rgba(29,78,216,0.3); background: rgba(29,78,216,0.06) }
.chip-dot { width: 5px; height: 5px; border-radius: 50%; animation: blink 2s infinite }
.chip-dot-r { background: var(--red-l) }
.chip-dot-b { background: var(--blue-l) }
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }

/* Typography */
h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(36px, 4.8vw, 58px); font-weight: 800; line-height: 1.05; letter-spacing: -0.5px; margin-bottom: 18px }
.t-r { color: var(--red-l) }
.t-b { color: var(--blue-l) }
.hero-p { font-size: 16px; color: rgba(255,255,255,0.55); max-width: 560px; margin-bottom: 8px; font-weight: 400 }
.hero-p strong { color: rgba(255,255,255,0.85); font-weight: 600 }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px }

/* Image panels */
.img-panel { border-radius: var(--r); overflow: hidden; position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy2), var(--navy3)); border: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center }
.img-panel svg { width: 60%; height: 60%; opacity: 0.12 }
.img-panel .img-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 18px; background: linear-gradient(0deg, rgba(11,18,36,0.9), transparent); font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5); letter-spacing: 0.5px }
.img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px }
.img-row .img-panel { aspect-ratio: 16/9 }
.img-wide { aspect-ratio: 21/9 }
/* Image panel with real photos */
.img-panel img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0 }

/* Sections */
.sec { position: relative; z-index: 1; padding: 72px 0 }
.sec-alt { background: rgba(0,0,0,0.2); border-top: 1px solid rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.03) }
.label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; display: block }
.label-r { color: var(--red-l) }
.label-b { color: var(--blue-l) }
h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -0.3px; margin-bottom: 12px; max-width: 700px }
.lead { font-size: 15px; color: rgba(255,255,255,0.45); max-width: 620px; margin-bottom: 32px; font-weight: 400 }

/* Cards */
.c { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--r); padding: 24px; transition: border-color 0.25s, transform 0.25s }
.c:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-1px) }
.c-t { font-weight: 700; font-size: 17px; margin-bottom: 10px }
.c p, .c li { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.65 }
.c ul { list-style: none }
.c li { padding: 6px 0 6px 16px; position: relative }
.c li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 1px }
.c li strong { color: rgba(255,255,255,0.85); font-weight: 600 }
.dot-r li::before { background: var(--red-l); transform: rotate(45deg) }
.dot-b li::before { background: var(--blue-l); transform: rotate(45deg) }
.dot-w li::before { background: rgba(255,255,255,0.25); transform: rotate(45deg) }

/* Grids */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px }

/* Notification box */
.nb { margin-top: 24px; padding: 16px 20px; border-left: 3px solid var(--red); background: rgba(255,255,255,0.015); border-radius: 0 var(--r2) var(--r2) 0; color: rgba(255,255,255,0.45); font-size: 14px }
.nb strong { color: rgba(255,255,255,0.85) }
.nb.nbb { border-left-color: var(--blue) }

/* Pillar icons */
.pil { text-align: center; padding: 28px 18px }
.pil-icon { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1 }
.pi-r { background: rgba(194,42,42,0.1); border: 1px solid rgba(194,42,42,0.2) }
.pi-b { background: rgba(29,78,216,0.1); border: 1px solid rgba(29,78,216,0.2) }
.pi-w { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08) }

/* Linked cards */
.lc { position: relative; overflow: hidden }
.lc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px }
.lc-r::before { background: var(--red) }
.lc-b::before { background: var(--blue) }
.lc h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 800; margin-bottom: 4px }
.lc .sub { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 14px }
.lc .btns { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap }

/* Compare boxes */
.cmp { padding: 22px; border-radius: var(--r) }
.cmp-a { background: rgba(255,255,255,0.015); border: 1px solid rgba(255,255,255,0.04) }
.cmp-b { background: rgba(29,78,216,0.04); border: 1px solid rgba(29,78,216,0.15) }
.cmp h4 { font-weight: 700; font-size: 16px; margin-bottom: 12px }
.cmp-b h4 { color: var(--blue-l) }
.cmp ul { list-style: none }
.cmp li { padding: 6px 0; color: rgba(255,255,255,0.45); font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.03) }
.cmp li:last-child { border: none }

/* Timeline */
.tl { position: relative; padding-left: 32px }
.tl::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px }
.tl-r::before { background: linear-gradient(180deg, var(--red), var(--blue)) }
.tl-b::before { background: linear-gradient(180deg, var(--blue), var(--red)) }
.tl-s { position: relative; padding: 16px 0 16px 16px }
.tl-d { position: absolute; left: -28px; top: 20px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--navy) }
.tl-r .tl-d { background: var(--red-l); box-shadow: 0 0 0 3px rgba(194,42,42,0.15) }
.tl-b .tl-d { background: var(--blue-l); box-shadow: 0 0 0 3px rgba(29,78,216,0.15) }
.tl-n { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 2px }
.tl-r .tl-n { color: var(--red-l) }
.tl-b .tl-n { color: var(--blue-l) }
.tl-s h3 { font-weight: 700; font-size: 16px; margin-bottom: 3px }
.tl-s p { color: rgba(255,255,255,0.42); font-size: 13.5px; max-width: 560px }

/* CTA section */
.cta-sec { text-align: center; padding: 80px 0; position: relative; overflow: hidden }
.cta-sec::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px 300px at 40% 50%, rgba(194,42,42,0.06), transparent), radial-gradient(350px 250px at 60% 50%, rgba(29,78,216,0.05), transparent) }
.cta-sec h2, .cta-sec .lead { margin-left: auto; margin-right: auto; text-align: center }
.cta-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap }

/* Product cards */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.prod { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--r); overflow: hidden; transition: border-color 0.25s, transform 0.25s }
.prod:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px) }
.prod-img { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy2), var(--navy3)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden }
.prod-img svg { width: 50%; height: 50%; opacity: 0.1 }
.prod-img img { width: 100%; height: 100%; object-fit: cover }
.prod-body { padding: 20px }
.prod-body h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 800; margin-bottom: 6px }
.prod-body p { color: rgba(255,255,255,0.45); font-size: 13px; line-height: 1.55; margin-bottom: 14px }

/* Grade badges */
.grades { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 14px }
.grade { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; background: rgba(29,78,216,0.08); border: 1px solid rgba(29,78,216,0.2); color: var(--blue-l); letter-spacing: 0.5px }

/* Footer */
.ft { border-top: 1px solid rgba(255,255,255,0.04); padding: 32px 0; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.22); font-size: 12px }
.ft a { color: rgba(255,255,255,0.28); transition: color 0.2s }
.ft a:hover { color: rgba(255,255,255,0.6) }
.ft-r { display: flex; gap: 18px; flex-wrap: wrap }

/* ================================================
   NEW COMPONENTS
   ================================================ */

/* Dropdown navigation for Tool Steel */
.nav-dropdown { position: relative }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px }
.nav-dropdown > a::after { content: "\25BE"; font-size: 10px; opacity: 0.5 }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: rgba(11,18,36,0.97); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r2);
  padding: 8px 0; min-width: 160px; opacity: 0; visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s; margin-top: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4)
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible }
.nav-dropdown-menu a {
  display: block; padding: 8px 18px; font-size: 12px;
  color: rgba(255,255,255,0.5); transition: all 0.15s; white-space: nowrap
}
.nav-dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.04) }

/* Hamburger button */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; margin-left: 8px }
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.7); margin: 5px 0; transition: all 0.3s; border-radius: 2px }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 300; background: rgba(11,18,36,0.98); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; padding: 24px;
  transform: translateX(100%); transition: transform 0.3s ease;
  overflow-y: auto
}
.mobile-nav.open { transform: translateX(0) }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px }
.mobile-nav-close { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; padding: 8px }
.mobile-nav a {
  display: block; padding: 14px 0; font-size: 16px; font-weight: 500;
  color: rgba(255,255,255,0.55); border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s
}
.mobile-nav a:hover { color: #fff }
.mobile-nav .sub-link { padding-left: 20px; font-size: 14px; color: rgba(255,255,255,0.4) }
.mobile-nav .b { margin-top: 24px; justify-content: center; width: 100% }

/* Contact form */
.form-group { margin-bottom: 16px }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 6px; letter-spacing: 0.3px }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r2);
  color: #fff; font-family: inherit; font-size: 14px; transition: border-color 0.2s;
  outline: none
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue-l) }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25) }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center }
.form-select option { background: var(--navy2); color: #fff }
.form-textarea { resize: vertical; min-height: 120px }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.form-note { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 12px }

/* Animations */
@keyframes up { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: translateY(0) } }
.anim { animation: up 0.6s ease both }
.ad1 { animation-delay: 0.08s }

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1080px) {
  .g3 { grid-template-columns: 1fr 1fr }
  .g4 { grid-template-columns: 1fr 1fr }
  .prod-grid { grid-template-columns: 1fr 1fr }
}

@media (max-width: 768px) {
  .hero-split, .g2, .g3, .g4, .prod-grid { grid-template-columns: 1fr }
  nav.links a:not(.b) { display: none }
  .nav-dropdown { display: none }
  .hamburger { display: block }
  .ft { flex-direction: column; gap: 12px; text-align: center }
  .ft-r { justify-content: center }
  .img-row { grid-template-columns: 1fr }
  .hero { padding: 48px 0 40px }
  h1 { font-size: clamp(28px, 7vw, 42px) }
  .sec { padding: 48px 0 }
  .cta-sec { padding: 56px 0 }
  .form-row { grid-template-columns: 1fr }
}

@media (max-width: 480px) {
  .w { padding: 0 16px }
  .topbar-in { height: 56px }
  .logo-text { font-size: 13px; letter-spacing: 1.5px }
  h2 { font-size: clamp(20px, 5vw, 28px) }
  .hero-p { font-size: 14px }
  .c { padding: 18px }
  .grades { gap: 4px }
  .grade { font-size: 10px; padding: 3px 8px }
}
