/* ============================================================
   NxtCircuit Labs — style.css
   Premium 3D Printing & Design Services
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --bg:          #FFFFFF;
  --bg-off:      #F7F7F7;
  --bg-dark:     #080808;
  --text:        #000000;
  --text-sec:    #555555;
  --text-muted:  #999999;
  --accent:      #0066FF;
  --accent-dark: #0050CC;
  --accent-glow: rgba(0, 102, 255, 0.15);
  --border:      #E8E8E8;
  --border-dark: #1A1A1A;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --radius:       4px;
  --radius-lg:    12px;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.14);
  --transition:   0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── Selection ── */
::selection { background: var(--accent); color: #fff; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-sec);
  max-width: 520px;
  line-height: 1.7;
  margin-top: 16px;
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.25s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,102,255,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 10px 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
}
.btn-ghost:hover {
  border-bottom-color: var(--accent);
}
.btn-ghost .arrow { transition: transform 0.3s ease; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
              background 0.3s ease,
              box-shadow 0.3s ease;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.navbar.scrolled {
  box-shadow: 0 1px 0 var(--border);
}
.navbar.hidden {
  transform: translateY(-100%);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--text);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.nav-logo-mark::before {
  content: 'N';
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--bg);
}
.nav-logo-mark::after {
  content: '';
  position: absolute;
  top: -4px; right: -4px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px !important;
  letter-spacing: -0.01em;
}
.nav-logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-sec);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px 32px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  position: relative;
}

/* Subtle grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  padding: 80px 32px 80px 0;
  padding-left: max(32px, calc((100vw - 1200px) / 2 + 32px));
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(0,102,255,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 32px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
.hero-eyebrow span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner {
  display: block;
  animation: slideUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-title .line:nth-child(2) .line-inner { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) .line-inner { animation-delay: 0.24s; }
.hero-title .accent-word { color: var(--accent); }

@keyframes slideUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-sec);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 40px;
  animation: fadeIn 1s 0.5s both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeIn 1s 0.65s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeIn 1s 0.8s both;
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.stat-number span { color: var(--accent); }
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Hero visual */
.hero-visual {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--bg-off);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroImageIn 1.4s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}
@keyframes heroImageIn {
  from { transform: scale(1.12); opacity: 0.6; }
  to   { transform: scale(1.05); opacity: 1; }
}

/* Parallax controlled via JS */
.hero-visual[data-parallax] .hero-image { transform-origin: center center; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.15) 0%, transparent 40%);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  bottom: 48px;
  left: 40px;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeIn 1s 1s both;
}
.hero-badge-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hero-badge-text { color: #fff; }
.hero-badge-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.hero-badge-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
}

/* ══════════════════════════════════════════
   TICKER / MARQUEE
══════════════════════════════════════════ */
.ticker {
  background: var(--text);
  color: var(--bg);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 28s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-right: 48px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.ticker-dot {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.services {
  padding: 120px 0;
  background: var(--bg);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 72px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--bg);
  padding: 40px 36px;
  position: relative;
  transition: background var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--bg-off); }

.service-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.service-icon-wrap {
  width: 52px; height: 52px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: border-color 0.3s, background 0.3s;
  background: var(--bg);
}
.service-card:hover .service-icon-wrap {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text);
}
.service-desc {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.7;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.service-card:hover .service-link { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════ */
.products {
  padding: 120px 0;
  background: var(--bg-off);
  position: relative;
}
.products::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}

/* Filter tabs */
.product-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
}
.product-tab {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-sec);
  transition: var(--transition);
  cursor: pointer;
}
.product-tab.active,
.product-tab:hover {
  background: var(--text);
  color: var(--bg);
}
.product-tab.active {
  background: var(--accent);
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(0,102,255,0.2);
}

.product-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  z-index: 1;
}
.product-badge.accent { background: var(--accent); }

.product-img-wrap {
  height: 220px;
  overflow: hidden;
  background: var(--bg-off);
  position: relative;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-body {
  padding: 24px;
}
.product-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.3;
}
.product-desc {
  font-size: 0.825rem;
  color: var(--text-sec);
  line-height: 1.65;
  margin-bottom: 20px;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.product-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
}
.product-price small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  font-family: var(--font-body);
  display: block;
  margin-bottom: 2px;
}
.product-actions {
  display: flex;
  gap: 8px;
}
.btn-buy {
  padding: 9px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.775rem;
  font-weight: 600;
  font-family: var(--font-display);
  transition: var(--transition);
}
.btn-buy:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.btn-quote {
  padding: 9px 16px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.775rem;
  font-weight: 600;
  font-family: var(--font-display);
  transition: var(--transition);
}
.btn-quote:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════ */
.why {
  padding: 120px 0;
  background: var(--bg-dark);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
/* Animated grid */
.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridDrift 20s linear infinite;
  pointer-events: none;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 80px 80px; }
}

.why .section-label { color: var(--accent); }
.why .section-label::before { background: var(--accent); }
.why .section-title { color: var(--bg); }
.why .section-subtitle { color: rgba(255,255,255,0.5); }

.why-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}

.why-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.why-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}
.why-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,0.2) 0%, transparent 60%);
}

/* Floating accent card on image */
.why-float-card {
  position: absolute;
  bottom: 32px; right: -20px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  z-index: 1;
  box-shadow: 0 16px 40px rgba(0,102,255,0.4);
}
.why-float-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}
.why-float-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.why-feature {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: padding-left var(--transition);
}
.why-feature:first-child { padding-top: 0; }
.why-feature:last-child { border-bottom: none; padding-bottom: 0; }
.why-feature:hover { padding-left: 8px; }

.why-feature-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.3s, background 0.3s;
}
.why-feature:hover .why-feature-icon {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.why-feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg);
  margin-bottom: 6px;
}
.why-feature-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about {
  padding: 120px 0;
  background: var(--bg);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-img-accent {
  position: absolute;
  bottom: -32px; right: -32px;
  width: 45%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
}
.about-img-accent img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-content {}
.about-values {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}
.about-value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.about-value:last-child { border-bottom: none; }
.about-value-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 3px;
  letter-spacing: 0.08em;
}
.about-value-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--text);
}
.about-value-desc {
  font-size: 0.825rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact {
  padding: 120px 0;
  background: var(--bg-off);
  border-top: 1px solid var(--border);
}
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.contact-info { }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 0;
}
.contact-detail + .contact-detail { margin-top: 24px; }
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-detail-value {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}

/* WhatsApp button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 24px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}
.whatsapp-btn svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* Contact form */
.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.contact-form-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text);
}
.contact-form-sub {
  font-size: 0.875rem;
  color: var(--text-sec);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group:last-child { margin-bottom: 0; }
.form-label {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}
.form-control {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 15px 28px;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(0,102,255,0.06);
  border: 1px solid rgba(0,102,255,0.2);
  margin-top: 16px;
}
.form-success.show { display: block; }
.form-success-icon { font-size: 2rem; margin-bottom: 8px; }
.form-success p { font-size: 0.875rem; color: var(--text-sec); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-logo-mark {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}
.footer-brand-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 300px;
  margin-bottom: 28px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-link:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-links a {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-col-links a:hover { color: #fff; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.25);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
  font-family: var(--font-mono);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content {
    padding: 120px 32px 60px;
    padding-left: 32px;
  }
  .hero-visual { height: 60vw; min-height: 320px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-header { grid-template-columns: 1fr; }
  .services-header .btn { align-self: flex-start; }

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

  .why-layout { grid-template-columns: 1fr; gap: 48px; }
  .why-image-wrap { aspect-ratio: 16/9; }
  .why-float-card { right: 24px; }

  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-img-accent { width: 40%; }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 100px 20px 48px; }
  .hero-stats { gap: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }

  .products-grid { grid-template-columns: 1fr; }
  .products-header { flex-direction: column; align-items: flex-start; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .about-img-accent { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}
