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

:root {
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --dark-950: #060609;
  --dark-900: #09090f;
  --dark-800: #0f0f1a;
  --dark-750: #141420;
  --dark-700: #1a1a2e;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --accent: var(--orange-500);
}

html {
  scroll-behavior: smooth; scroll-padding-top: 90px;
  /* Fluid scaling: 16px at 1920px viewport, scales down to ~14px at 1280px, up to ~17px at 2560px */
  font-size: clamp(14px, 0.625rem + 0.417vw, 17px);
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--dark-950);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh; display: flex; flex-direction: column;
}
body > section, body > .page-header { flex-shrink: 0; }
body > section:last-of-type { flex: 1; }
body > footer { flex-shrink: 0; }

/* ==================== SCROLL PROGRESS ==================== */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--orange-600), var(--orange-400), var(--orange-300));
  transform: scaleX(0); transform-origin: left center;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
  will-change: transform;
}

/* ==================== NAV ==================== */
#mainNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.5s var(--ease-out);
}
#mainNav.scrolled {
  padding: 0.7rem 3rem;
  background: rgba(6, 6, 9, 0.88);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border-bottom: 1px solid rgba(249, 115, 22, 0.07);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(249, 115, 22, 0.05);
}

.logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.logo-img {
  height: 36px; width: auto;
  filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.35));
  transition: filter 0.3s, transform 0.3s var(--ease-out);
}
.logo:hover .logo-img {
  filter: drop-shadow(0 0 14px rgba(249, 115, 22, 0.6));
  transform: translateX(-3px);
}
.logo-text { font-weight: 700; font-size: 1.1rem; color: var(--white); letter-spacing: -0.02em; }
.logo-text span { color: var(--orange-400); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: rgba(255,255,255,0.5);
  font-size: 0.93rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  transition: color 0.3s; position: relative; padding: 0.25rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-300));
  transition: width 0.4s var(--ease-out);
}
.nav-links a:hover { color: rgba(255,255,255,0.9); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: rgba(255,255,255,0.9); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 0.55rem 1.5rem;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white); border: none; border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em;
  cursor: pointer; text-decoration: none; transition: all 0.35s var(--ease-out);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.22);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(249, 115, 22, 0.4); }

.mobile-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 6px; z-index: 1001;
}
.mobile-toggle span {
  width: 22px; height: 2px; background: var(--white); border-radius: 2px;
  transition: all 0.35s var(--ease-out); transform-origin: center;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== BUTTONS ==================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2.2rem;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white); border: none; border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  cursor: pointer; text-decoration: none;
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.28);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity 0.35s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(249, 115, 22, 0.42); }
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent; color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1rem;
  cursor: pointer; text-decoration: none; transition: all 0.35s var(--ease-out);
}
.btn-ghost:hover {
  color: var(--white); border-color: rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.06);
  transform: translateY(-1px);
}

/* ==================== SECTION COMMONS ==================== */
section { position: relative; z-index: 5; }

.section-fade {
  opacity: 0; transform: translateY(44px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: opacity, transform;
}
.section-fade.visible { opacity: 1; transform: translateY(0); will-change: auto; }

.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-label {
  display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange-500); margin-bottom: 1rem; position: relative; padding: 0 1.5rem;
}
.section-label::before, .section-label::after {
  content: ''; position: absolute; top: 50%; width: 18px; height: 1px;
  background: rgba(249, 115, 22, 0.3);
}
.section-label::before { left: 0; }
.section-label::after { right: 0; }
.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 800; letter-spacing: -0.028em; margin-bottom: 1rem;
  line-height: 1.1;
}
.section-subtitle { font-size: 1.08rem; color: var(--gray-500); max-width: 37.5rem; margin: 0 auto; line-height: 1.78; font-weight: 300; }

/* ==================== PAGE HEADER (for inner pages) ==================== */
.page-header {
  padding: 10rem 3rem 4rem;
  background: var(--dark-900);
  text-align: center;
  position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.15), transparent);
}
.page-header .section-title { margin-bottom: 1.2rem; }

/* ==================== HERO ==================== */
#hero {
  position: relative; width: 100%; height: 100vh; min-height: 620px;
  overflow: hidden; display: flex; align-items: center;
}
.hero-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.hero-image {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; display: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg,
    rgba(6,6,9,0.93) 0%, rgba(6,6,9,0.7) 40%,
    rgba(6,6,9,0.3) 65%, rgba(6,6,9,0.05) 100%
  );
}
.hero-overlay-bottom {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 260px; z-index: 3;
  background: linear-gradient(0deg, var(--dark-950) 0%, transparent 100%);
}
.hero-overlay-top {
  position: absolute; top: 0; left: 0; width: 100%; height: 140px; z-index: 3;
  background: linear-gradient(180deg, rgba(6,6,9,0.6) 0%, transparent 100%);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at 30% 50%, transparent 40%, rgba(6,6,9,0.5) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 4; opacity: 0.025; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.hero-orb {
  position: absolute; z-index: 2; border-radius: 50%; pointer-events: none;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 70%);
  top: 20%; left: 5%; animation: orbFloat1 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(251,146,60,0.04) 0%, transparent 70%);
  top: 50%; left: 35%; animation: orbFloat2 16s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(30px, -20px); } 66% { transform: translate(-10px, 25px); } }
@keyframes orbFloat2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-20px, -30px); } }

.hero-content { position: relative; z-index: 10; width: 100%; max-width: 85rem; margin: 0 auto; padding: 0 3rem 0 0rem; }
.hero-text { max-width: 37.8rem; margin-left: -2rem; height: 600px;}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  background: rgba(249, 115, 22, 0.05);
  border: 1px solid rgba(249, 115, 22, 0.18); border-radius: 100px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; font-weight: 500;
  color: var(--orange-400); letter-spacing: 0.09em; text-transform: uppercase;
  margin-bottom: 1.8rem;
  opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s 0.3s var(--ease-out) forwards;
}
.hero-badge .dot {
  width: 6px; height: 6px; background: var(--orange-500); border-radius: 50%;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.8); animation: pulse 2.5s ease-in-out infinite;
}
.hero-h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 900;
  line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(30px); animation: fadeUp 0.75s 0.5s var(--ease-out) forwards;
}
.hero-h1 .gradient {
  background: linear-gradient(135deg, var(--orange-300) 0%, var(--orange-500) 50%, var(--orange-600) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  font-size: 1.18rem; line-height: 1.78; color: rgba(255,255,255,0.52);
  margin-bottom: 2.5rem; max-width: 32.5rem; font-weight: 300;
  opacity: 0; transform: translateY(30px); animation: fadeUp 0.75s 0.7s var(--ease-out) forwards;
}
.hero-buttons {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(30px); animation: fadeUp 0.75s 0.9s var(--ease-out) forwards;
}
.hero-meta {
  display: flex; align-items: center; gap: 2rem; margin-top: 3rem;
  opacity: 0; animation: fadeIn 1s 1.2s forwards;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-meta-item strong {
  font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--orange-300), var(--orange-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-meta-item span { font-size: 0.72rem; color: rgba(255,255,255,0.35); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-meta-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.08); }
.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeIn 1s 1.6s forwards;
}
.scroll-hint span { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.2); font-family: 'JetBrains Mono', monospace; }
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, rgba(249,115,22,0.6), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ==================== MARQUEE ==================== */
.marquee-section {
  background: var(--dark-800); border-top: 1px solid rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.03);
  padding: 1.2rem 0; overflow: hidden; position: relative; z-index: 5;
}
.marquee-section::before, .marquee-section::after {
  content: ''; position: absolute; top: 0; width: 200px; height: 100%; z-index: 2; pointer-events: none;
}
.marquee-section::before { left: 0; background: linear-gradient(90deg, var(--dark-800) 0%, transparent 100%); }
.marquee-section::after { right: 0; background: linear-gradient(270deg, var(--dark-800) 0%, transparent 100%); }
.marquee-track {
  display: flex; align-items: center; gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content; will-change: transform;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0 2.5rem; white-space: nowrap;
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500;
  color: rgba(255,255,255,0.22); letter-spacing: 0.08em; text-transform: uppercase;
}
.marquee-item .m-dot {
  width: 4px; height: 4px; background: var(--orange-500); border-radius: 50%;
  opacity: 0.5; flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==================== SERVICES ==================== */
#services { padding: 8rem 3rem 7rem; background: var(--dark-950); }
.services-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  max-width: 90rem; margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.045); border-radius: var(--radius-xl); overflow: hidden;
  background: rgba(255,255,255,0.018);
}
.service-card {
  padding: 2.8rem 2.2rem; background: var(--dark-950);
  transition: background 0.4s var(--ease-out); position: relative; cursor: pointer;
  border-right: 1px solid rgba(255,255,255,0.03);
  display: flex; flex-direction: column;
}
.service-card:last-child { border-right: none; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange-600), var(--orange-400));
  transform: scaleX(0); transition: transform 0.45s var(--ease-out);
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(249,115,22,0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.45s; pointer-events: none;
}
.service-card:hover { background: rgba(249,115,22,0.015); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card:hover .service-icon { background: rgba(249,115,22,0.1); border-color: rgba(249,115,22,0.28); box-shadow: 0 0 24px rgba(249,115,22,0.12); }
.service-card:hover .service-icon svg { stroke: var(--orange-300); }
.service-icon {
  width: 46px; height: 46px;
  background: rgba(249,115,22,0.055); border: 1px solid rgba(249,115,22,0.12);
  border-radius: 11px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; transition: all 0.4s var(--ease-out);
}
.service-icon svg { width: 21px; height: 21px; stroke: var(--orange-400); fill: none; stroke-width: 1.5; transition: stroke 0.3s; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.8rem; letter-spacing: -0.01em; }
.service-card p { font-size: 0.95rem; line-height: 1.72; color: var(--gray-500); font-weight: 300; }
.service-card { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), background 0.4s; will-change: opacity, transform; }
.service-card.visible { opacity: 1; transform: translateY(0); will-change: auto; }
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.08s; }
.service-card:nth-child(3) { transition-delay: 0.16s; }
.service-card:nth-child(4) { transition-delay: 0.24s; }
.service-card p { flex: 1; }
.service-card .service-cta {
  display: flex; align-items: center; gap: 0.4rem;
  margin-top: 1.2rem; font-size: 0.78rem; font-weight: 500;
  color: var(--orange-500); opacity: 0.55;
  transition: opacity 0.35s var(--ease-out), gap 0.35s var(--ease-out);
}
.service-card .service-cta svg {
  width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2;
  transition: transform 0.35s var(--ease-out);
}
.service-card:hover .service-cta { opacity: 1; gap: 0.6rem; }
.service-card:hover .service-cta svg { transform: translateX(2px); }
.service-card.active .service-cta { opacity: 0; }
.service-card.active::before { transform: scaleX(1) !important; }
.service-card.active { background: rgba(249,115,22,0.025); }

/* ==================== SERVICE DETAIL PANEL ==================== */
/* Service detail modal overlay */
.service-detail-panel {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 1.5rem;
}
.service-detail-panel.open {
  opacity: 1; pointer-events: auto;
}
.service-detail-inner {
  position: relative; width: 100%; max-width: 40rem;
  padding: 2.8rem 3rem;
  background: var(--dark-950);
  border: 1px solid rgba(249,115,22,0.18);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(249,115,22,0.06), 0 0 80px rgba(249,115,22,0.04);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s var(--ease-out);
  max-height: 85vh; overflow-y: auto;
}
.service-detail-panel.open .service-detail-inner {
  transform: scale(1) translateY(0);
}
.service-detail-title {
  font-size: 1.4rem; font-weight: 700;
  color: var(--orange-400); margin-bottom: 1.2rem; letter-spacing: -0.01em;
}
.service-detail-body p {
  font-size: 1.05rem; line-height: 1.82;
  color: rgba(255,255,255,0.65); font-weight: 300; margin-bottom: 1rem;
}
.service-detail-body p:last-child { margin-bottom: 0; }
.service-detail-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%; cursor: pointer;
  color: rgba(255,255,255,0.4); font-size: 1.3rem; line-height: 1;
  width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.service-detail-close:hover { color: var(--white); background: rgba(249,115,22,0.15); border-color: rgba(249,115,22,0.25); }

/* ==================== PRODUCTS ==================== */
#products { padding: 8rem 3rem 7rem; background: var(--dark-800); position: relative; overflow: hidden; }
.products-ambient {
  position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(249,115,22,0.025) 0%, transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
/* Products — shadcn-inspired card grid */
.products-grid-v2 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 76.25rem; margin: 0 auto;
  grid-auto-rows: auto;
}
.product-card-v2 {
  background: rgba(255,255,255,0.018); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg); padding: 0 2rem 2.2rem; text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  position: relative; overflow: hidden;
  display: grid; grid-template-rows: subgrid; grid-row: span 4;
  opacity: 0; transform: translateY(24px);
}
.product-card-v2.visible {
  animation: cardFadeIn 0.6s var(--ease-out) forwards;
}
.product-card-v2:nth-child(1).visible { animation-delay: 0s; }
.product-card-v2:nth-child(2).visible { animation-delay: 0.07s; }
.product-card-v2:nth-child(3).visible { animation-delay: 0.14s; }
.product-card-v2:nth-child(4).visible { animation-delay: 0.21s; }
.product-card-v2:nth-child(5).visible { animation-delay: 0.28s; }
.product-card-v2:nth-child(6).visible { animation-delay: 0.35s; }
@keyframes cardFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
.product-card-v2:hover { border-color: rgba(249,115,22,0.18); box-shadow: 0 24px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(249,115,22,0.06); transform: translateY(-4px); }

/* Decorator — grid pattern behind icon */
.card-decorator {
  position: relative; width: 9rem; height: 9rem; margin: 0 auto 1.2rem;
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
}
.card-decorator-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(249,115,22,0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(249,115,22,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}
.card-decorator-icon {
  position: absolute; inset: 0; margin: auto;
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border-top: 1px solid rgba(249,115,22,0.2); border-left: 1px solid rgba(249,115,22,0.2);
  background: var(--dark-950);
}
.card-decorator-icon svg {
  width: 1.5rem; height: 1.5rem; stroke: var(--orange-400); stroke-width: 1.5; fill: none;
}

.product-card-v2 h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.product-card-v2 p { font-size: 1.12rem; line-height: 1.7; color: var(--gray-500); font-weight: 300; }

.product-features-v2 {
  padding-top: 1.5rem;
  display: flex; flex-direction: column; gap: 0.55rem; list-style: none; text-align: left;
}
.product-features-v2 li {
  font-size: 1.05rem; color: var(--gray-400); display: flex; align-items: baseline;
  gap: 0.65rem; font-weight: 300; line-height: 1.5;
}
.product-features-v2 li::before {
  content: ''; width: 5px; height: 5px; background: var(--orange-500);
  border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 6px rgba(249,115,22,0.45);
}

/* ==================== ABOUT ==================== */
#about { padding: 8rem 3rem 7rem; background: var(--dark-950); }
.about-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 5rem;
  max-width: 76.25rem; margin: 0 auto; align-items: center;
}
.about-text .section-label { padding-left: 0; }
.about-text .section-label::before { display: none; }
.about-text h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.028em; margin-bottom: 1.5rem; line-height: 1.1; }
.about-text h2 span { color: var(--orange-400); }
.about-text p { font-size: 1.30rem; line-height: 1.82; color: var(--gray-400); margin-bottom: 1.2rem; font-weight: 300; }
.about-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255,255,255,0.06); border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.stat-card {
  padding: 2.4rem 1.5rem; background: var(--dark-950); text-align: center;
  transition: background 0.3s var(--ease-out);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-card:nth-child(2n) { border-right: none; }
.stat-card:nth-child(n+3) { border-bottom: none; }
.stat-card:hover { background: rgba(249,115,22,0.012); }
.stat-number {
  font-size: 2.2rem; font-weight: 900; letter-spacing: -0.035em; margin-bottom: 0.4rem;
  background: linear-gradient(135deg, var(--orange-300), var(--orange-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-family: 'JetBrains Mono', monospace;
}
.stat-label { font-size: 0.7rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.1em; font-family: 'JetBrains Mono', monospace; }

/* ==================== CONTACT ==================== */
#contact { padding: 8rem 3rem 5rem; background: var(--dark-950); border-top: 1px solid rgba(255,255,255,0.04); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 5rem; max-width: 70rem; margin: 0 auto; }
.contact-info .section-label { padding-left: 0; }
.contact-info .section-label::before { display: none; }
.contact-info h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1.2rem; letter-spacing: -0.028em; line-height: 1.12; }
.contact-info h2 span { color: var(--orange-400); }
.contact-info > p { color: var(--gray-500); line-height: 1.78; margin-bottom: 2.5rem; font-weight: 300; font-size: 1.15rem; }
.contact-detail { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.contact-detail-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(249,115,22,0.05); border: 1px solid rgba(249,115,22,0.1);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.contact-detail:hover .contact-detail-icon { background: rgba(249,115,22,0.1); border-color: rgba(249,115,22,0.22); }
.contact-detail-icon svg { width: 17px; height: 17px; stroke: var(--orange-400); fill: none; stroke-width: 1.5; }
.contact-detail a { text-decoration: none; }
.contact-detail span, .contact-detail a { color: var(--gray-300); font-size: 1.20rem; font-weight: 300; transition: color 0.3s; }
.contact-detail:hover span, .contact-detail a:hover { color: var(--white); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 1.25rem; color: var(--gray-500); font-weight: 500; letter-spacing: 0.04em; padding-left: 0.1rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.022); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md); color: var(--white);
  font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 300;
  transition: all 0.3s var(--ease-out); outline: none;
  min-height: 48px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.2); }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: rgba(249,115,22,0.38); background: rgba(249,115,22,0.022);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.07);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button { align-self: flex-start; min-height: 48px; }
.btn-sending { opacity: 0.7; pointer-events: none; }
#formMessage {
  color: var(--orange-400); font-size: 0.875rem; display: none; font-weight: 400;
  padding: 0.75rem 1rem; background: rgba(249,115,22,0.06); border: 1px solid rgba(249,115,22,0.12);
  border-radius: var(--radius-sm);
}

/* ==================== FOOTER ==================== */
footer {
  padding: 2.5rem 3rem;
  background: var(--dark-950); border-top: 1px solid rgba(255,255,255,0.035);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
footer p { color: var(--gray-600); font-size: 0.88rem; font-weight: 300; letter-spacing: 0.02em; }
.footer-links { display: flex; gap: 1.8rem; }
.footer-links a { color: var(--gray-600); font-size: 0.88rem; text-decoration: none; transition: color 0.3s; font-weight: 300; }
.footer-links a:hover { color: var(--orange-400); }

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(249,115,22,0.8); } 50% { opacity: 0.35; box-shadow: 0 0 16px rgba(249,115,22,0.3); } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.25; transform: scaleY(1); } 50% { opacity: 0.7; transform: scaleY(0.65); transform-origin: top; } }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
  #mainNav { padding: 1.2rem 2rem; }
  #mainNav.scrolled { padding: 0.7rem 2rem; }
  .nav-links { gap: 1.8rem; }
}
@media (max-width: 1050px) {
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.85rem; letter-spacing: 0.04em; }
  .nav-cta { font-size: 0.85rem; padding: 0.5rem 1.1rem; }
}
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { border-bottom: 1px solid rgba(255,255,255,0.03); }
  .service-card:nth-child(3n) { border-right: none; }
  .products-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 3.5rem; }
  .contact-grid { gap: 3.5rem; }
}
@media (max-width: 900px) {
  .hero-video { display: none !important; }
  .hero-image { display: block !important; }
  .hero-overlay { background: linear-gradient(180deg, rgba(6,6,9,0.78) 0%, rgba(6,6,9,0.55) 40%, rgba(6,6,9,0.88) 100%); }
  .hero-content { padding: 0 1.8rem; }
  .hero-text { max-width: 100%; }
  .hero-meta { gap: 1.5rem; margin-top: 2rem; }
  #mainNav { padding: 0.9rem 1.5rem; }
  #mainNav.scrolled { padding: 0.6rem 1.5rem; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(6, 6, 9, 0.97); backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0; overflow: hidden; max-height: 0;
    transition: max-height 0.4s var(--ease-out), padding 0.4s;
    border-bottom: 1px solid rgba(249, 115, 22, 0.08);
  }
  .nav-links.open { display: flex; max-height: 400px; padding: 1rem 0; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.85rem 2rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
  .nav-links a:hover { color: var(--white); background: rgba(249,115,22,0.04); }
  .nav-links a::after { display: none; }
  .mobile-toggle { display: flex; }
  .nav-cta { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
  footer { flex-direction: column; text-align: center; }
  .page-header { padding: 8rem 1.5rem 3rem; }
}
@media (max-width: 640px) {
  #services, #products, #about, #contact { padding: 6rem 1.5rem 5rem; }
  .services-grid { grid-template-columns: 1fr; border-radius: var(--radius-lg); }
  .service-card { border-right: none !important; }
  .products-grid-v2 { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-h1 { font-size: 2.3rem; }
  .hero-meta { flex-wrap: wrap; gap: 1.2rem; }
  .hero-meta-divider { display: none; }
  .marquee-section::before, .marquee-section::after { width: 80px; }
}
@media (min-width: 901px) {
  .hero-video { display: block; }
  .hero-image { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none; }
  .scroll-hint { animation: none; }
  #scroll-progress { transition: none; }
  .section-fade { opacity: 1 !important; transform: none !important; }
  .service-card, .product-card-v2 { opacity: 1 !important; transform: none !important; }
}