/* ================================================
   KULDEVI FORGE & FITTINGS — GLOBAL DESIGN SYSTEM
   Electric Blue Industrial Theme
   ================================================ */

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

/* ── DESIGN TOKENS ── */
:root {
  /* Core colors */
  --bg: #020810;
  --bg-soft: #0a1020;
  --bg-card: rgba(8, 16, 32, 0.85);
  --bg-card-hover: rgba(14, 28, 56, 0.9);

  /* Accent - Electric Blue */
  --accent: #2563eb;
  --accent-bright: #3b82f6;
  --accent-soft: #60a5fa;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --accent-subtle: rgba(37, 99, 235, 0.12);

  /* Text */
  --text: #f0f4ff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Borders */
  --line: rgba(255, 255, 255, 0.08);
  --line-accent: rgba(37, 99, 235, 0.3);

  /* Spacing & Radius */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 8px 32px rgba(37, 99, 235, 0.2);
  --glow: 0 0 60px rgba(37, 99, 235, 0.15);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* ── UTILITY ── */
.container { width: min(1240px, calc(100% - 32px)); margin-inline: auto; }

/* ── SECTION KICKER ── */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--line-accent);
  border-radius: 999px;
  background: var(--accent-subtle);
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* ── SECTION TITLE ── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

/* ── PREMIUM TYPOGRAPHY ── */
.premium-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff, var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.4));
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}
.section-desc {
  color: var(--text-secondary);
  text-align: center;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ── HEADER / TOPBAR ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(2, 8, 16, 0.75);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-badge {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-accent);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #0f172a 70%);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
}
.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}
.brand-text { line-height: 1.2; }
.brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.brand-text small {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav a {
  position: relative;
  padding: 8px 0;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.nav a:hover, .nav a.active {
  color: var(--accent-soft);
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.3s;
}
.nav a:hover::after, .nav a.active::after {
  width: 100%;
}

/* Products dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after { display: none; }
.dropdown-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 8px;
  transition: transform 0.3s;
}

.call-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-soft);
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.call-chip:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.call-chip svg { width: 16px; height: 16px; fill: currentColor; }

/* Mobile menu */
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── BUTTONS ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.button-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}
.button-primary:hover {
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}
.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  color: var(--text);
}
.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ── PILL BADGE ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--line-accent);
  border-radius: 999px;
  background: var(--accent-subtle);
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

/* ── TRUST BADGES BAR ── */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  margin: 0 auto;
  max-width: 1240px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: var(--bg-card);
}
.trust-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-subtle);
  color: var(--accent-soft);
  font-size: 18px;
  flex-shrink: 0;
}
.trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.trust-item small {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
}

/* ── CTA FOOTER BAR ── */
.cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 36px;
  margin: 60px auto 0;
  max-width: 1240px;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(8, 16, 32, 0.9));
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}
.cta-bar-text {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cta-bar-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-subtle);
  color: var(--accent-soft);
  font-size: 22px;
  flex-shrink: 0;
}
.cta-bar-text h3 {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}
.cta-bar-text p {
  font-size: 13px;
  color: var(--text-secondary);
}
.cta-bar-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.cta-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.cta-btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  border-color: var(--accent);
  color: #fff;
}
.cta-btn svg, .cta-btn i { font-size: 16px; }

/* ── FOOTER ── */
.site-footer {
  margin-top: 60px;
  padding: 32px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: rgba(2, 8, 16, 0.9);
  text-align: center;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent-soft); }

/* ── SCROLL REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroTextReveal {
  0% {
    opacity: 0;
    transform: translateY(40px);
    clip-path: inset(0 0 100% 0);
  }
  30% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

.hero-reveal-text {
  opacity: 0;
  animation: heroTextReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  will-change: transform, opacity, clip-path;
}

/* ── SECTION SPACING ── */
.section {
  padding: clamp(50px, 8vw, 90px) clamp(16px, 4vw, 48px);
}

/* ── BACK LINK ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s;
  margin-bottom: 24px;
}
.back-link:hover {
  color: var(--accent-soft);
  border-color: var(--line-accent);
  background: var(--accent-subtle);
  transform: translateX(-4px);
}

/* ── RESPONSIVE — TABLET ── */
@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
  }
  .menu-button {
    display: flex;
    margin-left: auto;
  }
  .nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .call-chip { display: none; }

  .topbar.menu-open .nav {
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 10, 20, 0.96);
    backdrop-filter: blur(24px);
  }
  .topbar.menu-open .nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .topbar.menu-open .nav a:last-child { border: none; }

  .trust-bar { grid-template-columns: repeat(2, 1fr); }

  .cta-bar {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .cta-bar-text { flex-direction: column; }
  .cta-bar-actions { justify-content: center; }
}

/* ── RESPONSIVE — MOBILE ── */
@media (max-width: 640px) {
  .topbar { padding: 12px 16px; }
  .brand-text strong { font-size: 13px; }
  .section { padding: 40px 16px; }
  .section-title { font-size: clamp(24px, 7vw, 32px); }
  .trust-bar { grid-template-columns: 1fr; border-radius: var(--radius-sm); }
  .trust-item { padding: 16px 20px; }
  .cta-section { padding: 0 16px 40px; }
  .cta-bar { padding: 24px 20px; border-radius: var(--radius-sm); }
  .cta-bar-actions { flex-direction: column; width: 100%; gap: 10px; }
  .cta-btn { justify-content: center; width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .site-footer { padding: 24px 16px; }
}
