/*
Theme Name: UKB
Theme URI: https://ukbrolls.com/
Author: Project Generator
Description: Custom WordPress theme for UKB — Precision slitting and conversion of jumbo rolls into custom-sized small rolls.
Version: 1.0.0
Text Domain: ukb
*/

/* ══════════════════════════════════════════════
   Design System — Tokens
   ══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800;900&display=swap');

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

:root {
  /* Dynamic Light Theme Default */
  --primary: #f1f5f9;
  --primary-800: #e2e8f0;
  --primary-700: #cbd5e1;
  --primary-600: #94a3b8;
  --accent: #4f46e5;
  --accent-light: #6366f1;
  --accent-dark: #3730a3;
  --accent-glow: rgba(79, 70, 229, 0.2);
  --neon: #0ea5e9;
  --neon-glow: rgba(14, 165, 233, 0.2);
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --orange-glow: rgba(234, 88, 12, 0.2);
  --emerald: #059669;
  --emerald-glow: rgba(5, 150, 105, 0.2);

  /* Neutrals */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.85);
  --surface-dark: rgba(241, 245, 249, 0.96);
  --text: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border: #cbd5e1;
  --border-light: #e2e8f0;
  --white: #ffffff;

  /* Effects */
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.18);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(0, 0, 0, 0.06);
  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  --card-hover-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.12);
  --glow-intensity: 0.15;
  --overlay-bg: rgba(255, 255, 255, 0.5);
  --hero-text: #0f172a;
  --hero-lead: #334155;
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
  --glass-border: rgba(0, 0, 0, 0.08);
  --particle-color: rgba(79, 70, 229, 0.2); /* Visible purple in light mode */
  --map-shadow-color: rgba(0, 0, 0, 0.25); /* Darker shadow in light mode for contrast */
  
  /* Hero Text - Light Mode */
  --hero-gradient-1: var(--accent-dark);
  --hero-gradient-2: var(--orange-dark);
  --hero-text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dynamic Dark Theme */
    --primary: #0a0f1e;
    --primary-800: #111836;
    --primary-700: #192045;
    --primary-600: #1e2a5e;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-dark: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.35);
    --neon: #22d3ee;
    --neon-glow: rgba(34, 211, 238, 0.3);
    --orange: #f97316;
    --orange-dark: #ea580c;
    --orange-glow: rgba(249, 115, 22, 0.3);
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.25);

    --bg: #020617;
    --surface: #0f172a;
    --surface-glass: rgba(15, 23, 42, 0.85);
    --surface-dark: rgba(2, 6, 23, 0.96);
    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e293b;
    --border-light: #334155;

    /* Card Theme Variables - Dark */
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.05);
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    --card-hover-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.8);
    --glow-intensity: 0.35;
    --overlay-bg: rgba(15, 23, 42, 0.45);
    --hero-text: #f8fafc;
    --hero-lead: #cbd5e1;
    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --glass-border: rgba(255, 255, 255, 0.1);
    --particle-color: rgba(255, 255, 255, 0.15); /* White in dark mode */
    --map-shadow-color: rgba(99, 102, 241, 0.35); /* Neon shadow in dark mode */

    /* Hero Text - Dark Mode */
    --hero-gradient-1: var(--neon);
    --hero-gradient-2: var(--accent-light);
    --hero-text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  }
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background-color: #0d1117;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-enter {
  opacity: 0;
  transform: translateY(-20px);
}

/* ══════════════════════════════════════════════
   Cinematic Film Grain Overlay
   ══════════════════════════════════════════════ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 10001;
  mix-blend-mode: overlay;
}

/* ══════════════════════════════════════════════
   10X Interactive Elements
   ══════════════════════════════════════════════ */
#dots-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

.global-motion-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.ukb-cursor {
  position: fixed;
  width: 9px;
  height: 9px;
  background: var(--orange, #e8a020);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s ease;
}

.ukb-cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid var(--orange, #e8a020);
  outline: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.2s;
}

@media (pointer: fine) {
  .ukb-cursor, .ukb-cursor-ring { opacity: 1; }
}

.ukb-cursor.is-hovering {
  transform: translate(-50%, -50%) scale(4);
  background: white;
  mix-blend-mode: difference;
}

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--neon) 100%);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

a:hover {
  color: var(--accent-light);
  text-shadow: 0 0 15px var(--accent-glow);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ══ Layout ══ */
.site-shell {
  width: min(1320px, 100%);
  margin: 0 auto;
  background: transparent;
  position: relative;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ══════════════════════════════════════════════
   Header — Clean Dark Custom UI
   ══════════════════════════════════════════════ */
.site-header {
  background: color-mix(in srgb, var(--surface), transparent 85%);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 2000;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 12px 0;
}

/* The "Floating Blade" border effect */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: radial-gradient(
    circle at center,
    color-mix(in srgb, var(--text) 15%, transparent),
    transparent 70%
  );
  opacity: 0.5;
}

.site-header.scrolled {
  background: color-mix(in srgb, var(--surface), transparent 20%);
  padding: 6px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.site-branding a {
  display: block;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-wrap:hover {
  transform: scale(1.08) rotate(-1deg);
}

.header-logo-image {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
  transition: height 0.5s ease;
}

.site-header.scrolled .header-logo-image {
  height: 48px;
}

/* Luminous Minimal Nav */
.header-nav {
  /* No capsule background anymore */
  background: transparent;
  padding: 0;
  border: none;
}

.menu {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

.menu li a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 12px 20px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  text-transform: uppercase;
  display: block;
}

/* The Luminous Light Bar */
.menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent-glow);
  border-radius: 2px;
}

.menu li a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.menu li a:hover::after {
  width: 24px;
}

/* Active State */
.menu .current-menu-item > a,
.menu .current_page_item > a {
  color: var(--text) !important;
}

.menu .current-menu-item > a::after,
.menu .current_page_item > a::after {
  width: 40px;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
}

/* Dropdown Chevron */
.menu li.menu-item-has-children > a {
  padding-right: 32px;
}

.menu li.menu-item-has-children::before {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-60%) rotate(45deg);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.4;
}

.menu li.menu-item-has-children:hover::before {
  transform: translateY(-30%) rotate(-135deg);
  opacity: 1;
  color: var(--accent);
}

.menu .current-menu-item.menu-item-has-children::before {
  opacity: 0.8;
}

/* ═══ MEGA MENU ═══ */
.mega-menu {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(820px, 92vw);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15), 0 0 0 1px color-mix(in srgb, var(--text) 4%, transparent);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 300;
}

.mega-menu-parent:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}

.mega-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mega-col-title a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mega-col-title a:hover {
  color: var(--accent);
  letter-spacing: 3px;
}

.mega-icon {
  font-size: 0.95rem;
}

.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mega-list li a {
  display: block;
  padding: 0.55rem 0.65rem;
  font-size: 13.5px;
  color: var(--text) !important;
  border-radius: 8px;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  text-align: left;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mega-list li a:hover {
  color: var(--accent) !important;
  background: color-mix(in srgb, var(--accent) 8%, transparent) !important;
  padding-left: 0.9rem;
  transform: none !important;
}

/* Mega Sub List Styling */
.mega-sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 1rem;
  border-left: 1px solid color-mix(in srgb, var(--border), transparent 70%);
  margin-left: 0.8rem;
}

.mega-list li.has-subs:hover .mega-sub-list {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.2rem;
  margin-bottom: 0.6rem;
}

.mega-sub-list li a {
  font-size: 12.5px !important;
  padding: 0.35rem 0.65rem !important;
  color: var(--text-muted) !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
}

.mega-sub-list li a:hover {
  color: var(--accent) !important;
  background: color-mix(in srgb, var(--accent) 5%, transparent) !important;
  padding-left: 0.85rem !important;
}

/* Indicator for items with subs */
.mega-list li.has-subs > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mega-list li.has-subs > a::after {
  content: '→';
  font-size: 11px;
  opacity: 0.3;
  transition: all 0.3s ease;
  transform: translateX(-50px);
}

.mega-list li.has-subs:hover > a::after {
  transform: rotate(90deg);
  opacity: 0.8;
  color: var(--accent);
}

/* Legacy sub-menu fallback */
.menu .sub-menu {
  display: none;
}

/* ══════════════════════════════════════════════
   Hero — Cinematic
   ══════════════════════════════════════════════ */
.hero {
  background: transparent;
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.hero-video {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-video-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.85) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: var(--overlay-bg);
  background-image:
    radial-gradient(circle at 75% 25%, var(--accent-glow), transparent 60%),
    radial-gradient(circle at 25% 75%, var(--neon-glow), transparent 60%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

/* Decorative orbs */
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  right: -10%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  filter: blur(60px);
  z-index: 0;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  left: -8%;
  top: -15%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 70%);
  filter: blur(50px);
  z-index: 0;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.hero-video::after {
  content: "";
  position: absolute;
  left: -12%;
  top: -12%;
  width: 50%;
  height: 130%;
  transform: rotate(12deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
  animation: shimmerSweep 9s ease-in-out infinite;
  z-index: 2;
}

@keyframes logoShinePulsate {
  0% {
    filter: drop-shadow(0 15px 30px rgba(99, 102, 241, 0.4)) brightness(1.1);
    transform: translateY(-10px) scale(1.18) rotate(-1deg);
  }

  50% {
    filter: drop-shadow(0 25px 45px rgba(34, 211, 238, 0.8)) brightness(1.35);
    transform: translateY(-12px) scale(1.22) rotate(1deg);
  }

  100% {
    filter: drop-shadow(0 15px 30px rgba(99, 102, 241, 0.4)) brightness(1.1);
    transform: translateY(-10px) scale(1.18) rotate(-1deg);
  }
}

/* Hero 3D Logo */
.hero-logo-wrapper {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto 15px;
  perspective: 800px;
  cursor: pointer;
}

.hero-3d-logo {
  max-width: 280px;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
  animation: fadeUp 0.5s ease-out both;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              filter 0.5s ease;
  transform-style: preserve-3d;
  will-change: transform, filter;
}

/* Glossy shine overlay — positioned over the logo, follows mouse via JS */
.logo-shine-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: soft-light;
  border-radius: 8px;
  z-index: 5;
}


/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 7px 20px 7px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  animation: fadeUp 0.6s ease-out both;
  color: var(--hero-text);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald-glow);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto;
  letter-spacing: -0.5px;
  animation: fadeUp 0.85s ease-out both;
  animation-delay: 0.1s;
  color: var(--hero-text);
  text-shadow: var(--hero-text-shadow);
}

.hero h1 .text-gradient {
  background: linear-gradient(135deg, var(--hero-gradient-1) 0%, var(--hero-gradient-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none; /* Gradients can't have text-shadow cleanly on the text itself */
  position: relative;
}

.hero-lead {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--hero-lead);
  font-size: 0.98rem;
  line-height: 1.7;
  animation: fadeUp 0.95s ease-out both;
  animation-delay: 0.2s;
}

.hero-actions {
  margin-top: 32px;
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 1.05s ease-out both;
  animation-delay: 0.28s;
}

/* Hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  animation: fadeUp 1.2s ease-out both;
  animation-delay: 0.4s;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--neon), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
  font-weight: 600;
}

/* ══════════════════════════════════════════════
   Sections
   ══════════════════════════════════════════════ */
.section {
  padding: 100px 0;
  position: relative;
  background: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-label::before,
.section-label::after {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-label::after {
  background: linear-gradient(90deg, transparent, var(--accent));
}

.section-title {
  text-align: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  margin: 0 0 14px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Alt section */
.alt-section {
  background: var(--surface-dark);
}

/* ══════════════════════════════════════════════
   Cards
   ══════════════════════════════════════════════ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: cardFloat 6s ease-in-out infinite;
  animation-delay: calc(var(--float-delay, 0) * 1s);
}

.card:nth-child(even) { --float-delay: 1.2; }
.card:nth-child(odd) { --float-delay: 0.6; }

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--card-hover-shadow);
  animation-play-state: paused;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--neon));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-8px) translateZ(15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 20px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.card:hover::after {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: all var(--transition-spring);
  transform-style: preserve-3d;
}

.card:hover .card-icon {
  transform: rotateY(180deg) scale(1.15);
}

.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

.card p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.72;
}

/* ══════════════════════════════════════════════
   Home Page Unique Card Colors (Like Roadmap)
   ══════════════════════════════════════════════ */
.home .cards>.card:nth-child(1) {
  background: linear-gradient(135deg, #3730a3 0%, #6366f1 100%);
  border-color: rgba(99, 102, 241, 0.3);
}

.home .cards>.card:nth-child(2) {
  background: linear-gradient(135deg, #065f46 0%, #10b981 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

.home .cards>.card:nth-child(3) {
  background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 100%);
  border-color: rgba(14, 165, 233, 0.3);
}

.home .cards>.card:nth-child(4) {
  background: linear-gradient(135deg, #9a3412 0%, #f97316 100%);
  border-color: rgba(249, 115, 22, 0.3);
}

.home .cards>.card:nth-child(1):hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 20px rgba(99, 102, 241, 0.4);
  border-color: rgba(99, 102, 241, 0.5);
}

.home .cards>.card:nth-child(2):hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 20px rgba(16, 185, 129, 0.4);
  border-color: rgba(16, 185, 129, 0.5);
}

.home .cards>.card:nth-child(3):hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 20px rgba(14, 165, 233, 0.4);
  border-color: rgba(14, 165, 233, 0.5);
}

.home .cards>.card:nth-child(4):hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 20px rgba(249, 115, 22, 0.4);
  border-color: rgba(249, 115, 22, 0.5);
}

.home .cards>.card:nth-child(1)::after {
  background: linear-gradient(90deg, #3730a3, #6366f1);
}

.home .cards>.card:nth-child(2)::after {
  background: linear-gradient(90deg, #065f46, #10b981);
}

.home .cards>.card:nth-child(3)::after {
  background: linear-gradient(90deg, #0c4a6e, #0ea5e9);
}

.home .cards>.card:nth-child(4)::after {
  background: linear-gradient(90deg, #9a3412, #f97316);
}

.home .cards>.card h2,
.home .cards>.card h3 {
  color: #ffffff !important;
}

.home .cards>.card p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ══════════════════════════════════════════════
   Product Cards (with images)
   ══════════════════════════════════════════════ */
/* ═══ PRODUCT CARDS ═══ */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(8px);
    position: relative;
    height: 100%;
}

.product-card .card-body {
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
}

/* ═══ HERO ENHANCEMENTS ═══ */
.hero-glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 4rem 3rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    animation: heroPopIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroPopIn {
    0% { transform: translateY(40px) scale(0.95); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

/* ═══ SECTION HEADERS ═══ */
.section-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 5rem;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 15px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
}

.section-label::before { left: -35px; }
.section-label::after { right: -35px; }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 1.2rem;
    color: var(--text);
    line-height: 1.15;
}

@media (min-width: 992px) {
    .section-title:not(.wrap-title) {
        white-space: nowrap;
    }
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


.product-card.float-animate {
    animation: floatVertical 6s ease-in-out infinite;
}

.product-card.float-animate-delayed {
    animation: floatVertical 6s ease-in-out infinite;
    animation-delay: 2s;
}

/* ══════════════════════════════════════════════
   Showcase Grid — 3D cards
   ══════════════════════════════════════════════ */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(10, 15, 30, 0.5);
  box-shadow: var(--shadow-xl);
  animation: floatCard 7s ease-in-out infinite;
}

.showcase-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease, filter 0.5s ease;
}

.showcase-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.showcase-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 72px 22px 24px;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 30, 0.95) 100%);
}

.showcase-meta h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.showcase-meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.showcase-card:nth-child(2) {
  animation-delay: 0.6s;
}

.showcase-card:nth-child(3) {
  animation-delay: 1.2s;
}

/* 3D tilt */
.media-3d {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.media-3d:hover {
  box-shadow: var(--shadow-xl);
}

/* ══════════════════════════════════════════════
   CTA / Contact Panel
   ══════════════════════════════════════════════ */
.contact-panel {
  background: transparent;
  color: var(--text);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  top: -30%;
  right: -10%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 60%);
  filter: blur(60px);
}

/* Default colors inherited from base section classes allow correct light/dark switching */

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin: 28px 0 8px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   Buttons
   ══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.3), 0 10px 24px var(--accent-glow);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transition: left 0.6s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.3), 0 16px 32px var(--accent-glow);
  color: var(--white);
}

.btn:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.3), 0 5px 10px var(--accent-glow);
  transition: all 0.1s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 8px 24px var(--orange-glow);
}

.btn-orange:hover {
  box-shadow: 0 14px 32px var(--orange-glow);
}

.btn-neon {
  background: linear-gradient(135deg, var(--neon), #06b6d4);
  box-shadow: 0 8px 24px var(--neon-glow);
}

.btn-neon:hover {
  box-shadow: 0 14px 32px var(--neon-glow);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #f1f5f9;
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(0);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.4), 0 10px 20px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-secondary:active {
  box-shadow: 0 0 0 rgba(255, 255, 255, 0.4);
  transform: translateY(4px);
  transition: all 0.1s ease;
}

/* ══════════════════════════════════════════════
   Contact Form
   ══════════════════════════════════════════════ */
.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.3px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  background: var(--bg);
  transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  background: var(--white);
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

/* Notices */
.notice {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
}

.notice.success {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #15803d;
  border: 1px solid #86efac;
}

.notice.error {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #dc2626;
  border: 1px solid #fca5a5;
}

/* ══════════════════════════════════════════════
   Footer
   ══════════════════════════════════════════════ */
.site-footer {
  background: rgba(5, 8, 16, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 64px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  padding-bottom: 40px;
}

.footer-col h4 {
  margin-top: 0;
  color: var(--white);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--neon));
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  transition: all var(--transition-fast);
  font-size: 14px;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--neon);
  transform: translateX(4px);
}

.footer-col p {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.8;
}

.copyright {
  text-align: center;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ══════════════════════════════════════════════
   Scroll Reveal
   ══════════════════════════════════════════════ */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══ CINEMATIC LIGHTBOX ══ */
.ukb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: color-mix(in srgb, var(--surface), transparent 10%);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem;
}
.ukb-lightbox.is-active {
  opacity: 1;
  pointer-events: all;
}
.ukb-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--glass-border);
}
.ukb-lightbox.is-active .ukb-lightbox-content {
  transform: scale(1) translateY(0);
}
.ukb-lightbox-content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
}
.ukb-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--surface-glass);
  border: var(--glass-border);
  color: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 10;
}
.ukb-lightbox-close:hover {
  background: var(--accent);
  color: white;
  transform: rotate(90deg) scale(1.1);
}
.ukb-lightbox-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  transform: translateY(100%);
  transition: transform 0.4s 0.2s ease;
}
.ukb-lightbox.is-active .ukb-lightbox-meta {
  transform: translateY(0);
}
.ukb-lightbox-meta h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }


/* ══════════════════════════════════════════════
   Keyframes
   ══════════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-16%) rotate(12deg);
    opacity: 0.2;
  }

  50% {
    transform: translateX(30%) rotate(12deg);
    opacity: 0.6;
  }

  100% {
    transform: translateX(60%) rotate(12deg);
    opacity: 0.15;
  }
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes sweepGloss {
  from {
    transform: translateX(-130%);
  }

  to {
    transform: translateX(130%);
  }
}

@keyframes stripGlide {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0%);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-15px, 15px) scale(0.95);
  }
}

/* ══════════════════════════════════════════════
   Scrolling Material Ticker
   ══════════════════════════════════════════════ */
.ticker-strip {
  background: var(--surface-dark);
  backdrop-filter: blur(6px);
  overflow: hidden;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.ticker-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: tickerScroll 25s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.8;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ══════════════════════════════════════════════
   Process Timeline
   ══════════════════════════════════════════════ */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  position: relative;
}

.process-step {
  padding: 32px 28px;
  position: relative;
  border-left: 3px solid var(--border);
  transition: all var(--transition);
  animation: cardFloat 6s ease-in-out infinite;
  animation-delay: calc(var(--float-delay, 0) * 1s);
  transform-style: preserve-3d;
}

.process-step:nth-child(1) { --float-delay: 0; }
.process-step:nth-child(2) { --float-delay: 1.2; }
.process-step:nth-child(3) { --float-delay: 2.4; }
.process-step:nth-child(4) { --float-delay: 0.6; }

.process-step::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 38px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--border);
  border: 3px solid var(--bg);
  transition: all var(--transition);
  z-index: 1;
}

.process-step:hover {
  border-left-color: var(--accent);
  transform: translateY(-8px) rotateX(2deg);
  animation-play-state: paused;
}

.process-step:hover::before {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: scale(1.3);
}

.process-step-number {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(34, 211, 238, 0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
  transition: all var(--transition);
}

.process-step:hover .process-step-number {
  background: linear-gradient(135deg, var(--accent), var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
}

.process-step-content h3 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: var(--text);
}

.process-step-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ══════════════════════════════════════════════
   Floating Particles (hero background)
   ══════════════════════════════════════════════ */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--particle-color, rgba(255, 255, 255, 0.15));
  animation: particleFloat linear infinite;
  pointer-events: none;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

/* ══════════════════════════════════════════════
   Hover Lift Effect
   ══════════════════════════════════════════════ */
.hover-lift {
  transition: transform var(--transition-spring), box-shadow var(--transition) !important;
}

.hover-lift:hover {
  transform: translateY(-10px) !important;
  box-shadow: var(--shadow-xl) !important;
}

/* ══════════════════════════════════════════════
   Pulsing Button
   ══════════════════════════════════════════════ */
.btn-pulse {
  animation: btnPulseGlow 2.5s ease-in-out infinite;
}

@keyframes btnPulseGlow {

  0%,
  100% {
    box-shadow: 0 8px 24px var(--accent-glow);
  }

  50% {
    box-shadow: 0 8px 40px var(--accent-glow), 0 0 60px var(--accent-glow);
  }
}

.btn-orange.btn-pulse {
  animation: btnPulseOrange 2.5s ease-in-out infinite;
}

@keyframes btnPulseOrange {

  0%,
  100% {
    box-shadow: 0 8px 24px var(--orange-glow);
  }

  50% {
    box-shadow: 0 8px 40px var(--orange-glow), 0 0 60px var(--orange-glow);
  }
}

/* ══════════════════════════════════════════════
   Animated Gradient Border
   ══════════════════════════════════════════════ */
.card.hover-lift::after {
  background: linear-gradient(90deg, var(--accent), var(--neon), var(--accent));
  background-size: 200% 100%;
  animation: gradientSlide 3s linear infinite paused;
}

.card.hover-lift:hover::after {
  animation-play-state: running;
}

@keyframes gradientSlide {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

/* ══════════════════════════════════════════════
   Reduced Motion
   ══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════════════════════
   Footer Social Icons
   ══════════════════════════════════════════════ */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* ══════════════════════════════════════════════
   Cinematic Contact Page with Form
   ══════════════════════════════════════════════ */
.contact-cinematic {
  min-height: calc(100vh - 100px);
  background: transparent;
  color: var(--text);
  padding: 0 40px 80px;
}

.contact-cinematic-inner {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.form-title {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 60px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0px 4px 20px rgba(99, 102, 241, 0.3);
}

.mascot-orb {
  background: radial-gradient(circle, #0a0f1e 45%, transparent 70%);
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.15);
}

.mascot-container {
  overflow: visible;
}

.animated-mascot {
  width: 100%;
  max-width: 320px;
  /* Significantly increased to cover the area */
  height: auto;
  animation: danceMascot 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: bottom center;
}

@keyframes danceMascot {

  /* 1. Float and point */
  0%,
  15% {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  5% {
    transform: translateY(-12px) scale(1.02) rotate(-2deg);
  }

  /* 2. Peek & tilt closer */
  25%,
  40% {
    transform: translateY(-5px) scale(1.1) rotate(10deg) translateX(15px);
  }

  32% {
    transform: translateY(0px) scale(1.12) rotate(12deg) translateX(10px);
  }

  /* 3. Excited Bounce */
  50%,
  65% {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  53% {
    transform: translateY(-25px) scale(0.95, 1.05);
  }

  56% {
    transform: translateY(0) scale(1.05, 0.95);
  }

  59% {
    transform: translateY(-15px) scale(0.98, 1.02);
  }

  /* 4. Sweep/search */
  75%,
  90% {
    transform: translateY(-10px) scale(0.95) rotate(-8deg) translateX(-25px);
  }

  82% {
    transform: translateY(-10px) scale(0.95) rotate(-12deg) translateX(-30px);
  }

  /* Return */
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 100px;
  align-items: flex-start;
}

.cinematic-form .form-row {
  margin-bottom: 35px;
}

.cinematic-form .multi-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cinematic-form .form-group {
  display: flex;
  flex-direction: column;
}

.cinematic-form label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.cinematic-form .inline-input input,
.cinematic-form .filled-input select,
.cinematic-form .filled-input textarea {
  background: var(--surface-glass);
  border: var(--glass-border);
  color: var(--text);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  width: 100%;
}

.cinematic-form .inline-input input:focus,
.cinematic-form .filled-input select:focus,
.cinematic-form .filled-input textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.cinematic-form .policy-row {
  margin-top: 40px;
}

.cinematic-form .checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 400;
  margin-bottom: 30px;
}

.cinematic-form .checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ffffff;
}

.cinematic-submit-btn {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 18px;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
}

.cinematic-submit-btn:hover {
  background: #ffffff;
  color: #000000;
}

.contact-text-col {
  padding-top: 10px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════
   About Us Page
   ══════════════════════════════════════════════ */
.about-cinematic {
  background: transparent;
  color: var(--text);
  padding-bottom: 100px;
}

.about-hero {
  padding: 100px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-lead {
  font-size: 1.5rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.mission-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.stat-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 40px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.3s;
}

.stat-box:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
}

.stat-box h3 {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-box span {
  color: #94a3b8;
  font-size: 1.1rem;
}

/* Roadmap Timeline */
.about-roadmap {
  padding: 80px 0;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
}

/* Winding SVG Road passing through the center */
.timeline::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  background: url('data:image/svg+xml;utf8,<svg width="160" height="200" viewBox="0 0 160 200" xmlns="http://www.w3.org/2000/svg"><path d="M 80 0 C 180 50, -20 150, 80 200" fill="none" stroke="%236366f1" stroke-width="4" stroke-dasharray="10 10" /></svg>') repeat-y;
  background-size: 160px 200px;
  opacity: 0.6;
  z-index: 0;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.timeline-item {
  position: relative;
  width: 50%;
  box-sizing: border-box;
  padding: 20px 40px;
  z-index: 1;
}

/* Alternate positioning to create zigzag layout */
.timeline-item:nth-child(odd) {
  align-self: flex-start;
  text-align: right;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  text-align: left;
  margin-top: -60px;
  /* Pull up to weave between left items */
}

/* Timeline Dots */
.timeline-dot {
  position: absolute;
  width: 26px;
  height: 26px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 15, 30, 0.9);
  border: 4px solid var(--accent);
  box-shadow: 0 0 20px var(--accent-glow), inset 0 0 10px rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-left: 0;
}

.timeline-item:hover .timeline-dot {
  transform: translateY(-50%) scale(1.3);
}

.timeline-item:nth-child(1) .timeline-dot {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
}

.timeline-item:nth-child(2) .timeline-dot {
  border-color: var(--emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.timeline-item:nth-child(3) .timeline-dot {
  border-color: var(--neon);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.6);
}

.timeline-item:nth-child(4) .timeline-dot {
  border-color: var(--orange);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.6);
}

/* Align dots onto the center line edge */
.timeline-item:nth-child(odd) .timeline-dot {
  right: -13px;
  left: auto;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -13px;
}

/* Timeline card — solid filled per step */
.timeline-content {
  padding: 30px;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-content:hover {
  transform: translateY(-6px) translateZ(20px);
  box-shadow: 0 20px 48px rgba(99, 102, 241, 0.5);
}

.timeline-item:nth-child(1) .timeline-content {
  background: linear-gradient(135deg, #3730a3 0%, #6366f1 100%);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.timeline-item:nth-child(2) .timeline-content {
  background: linear-gradient(135deg, #065f46 0%, #10b981 100%);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

.timeline-item:nth-child(3) .timeline-content {
  background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 100%);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.4);
}

.timeline-item:nth-child(4) .timeline-content {
  background: linear-gradient(135deg, #9a3412 0%, #f97316 100%);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.4);
}

.timeline-content h4 {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #ffffff;
  font-weight: 700;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ══════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .timeline {
    display: block;
    padding: 20px 0;
  }

  /* Override the curving SVG back to a straight line on mobile for clean UI */
  .timeline::after {
    background: var(--accent);
    width: 4px;
    left: 31px;
    top: 0;
    bottom: 0;
    background-image: none;
    opacity: 1;
    margin: 0;
    transform: none;
  }

  .timeline-item {
    width: 100%;
    padding: 10px 10px 30px 70px;
    text-align: left;
  }

  /* Reset Desktop layout */
  .timeline-item:nth-child(odd) {
    text-align: left;
  }

  .timeline-item:nth-child(even) {
    margin-top: 0;
  }

  /* Mobile Dots */
  .timeline-dot {
    position: absolute;
    top: 35px;
    margin-left: 0;
    transform: none;
  }

  .timeline-item:nth-child(odd) .timeline-dot {
    right: auto;
    left: 18px;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: 18px;
  }

  .timeline-item:hover .timeline-dot {
    transform: scale(1.2);
  }

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

  .contact-bottom-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-office-col {
    text-align: left;
  }

  .site-shell {
    box-shadow: none;
  }

  .header-inner {
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .site-branding {
    text-align: center;
  }

  .hero-video {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .hero-stat-number {
    font-size: 1.8rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .card {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  .hero::before,
  .hero::after,
  .hero-video::after {
    display: none;
  }

  .hero-actions {
    width: 100%;
  }

  .showcase-card img {
    height: 240px;
  }

  .material-media img {
    height: 200px;
  }

  .contact-panel .contact-details {
    flex-direction: column;
    align-items: center;
  }

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

  .ticker-strip {
    padding: 10px 0;
  }

  .ticker-track span {
    font-size: 11px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .process-step-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-lead {
    font-size: 0.88rem;
  }

  .container {
    width: 88%;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

/* ══════════════════════════════════════════════
   Scroll Animations
   ══════════════════════════════════════════════ */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════
   Global Motion Background
   ══════════════════════════════════════════════ */
body.cinematic-bg {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-600) 55%, var(--primary) 100%) !important;
  color: var(--white);
  min-height: 100vh;
  position: relative;
}

.global-motion-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

/* 3D Perspective Grid */
.motion-3d-grid {
  position: absolute;
  inset: -200px;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(1000px) rotateX(65deg) translateY(var(--grid-y, 0));
  transform-origin: center top;
  opacity: 0.3;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, black, transparent 80%);
}

/* Luminous Mesh Orbs */
.motion-mesh {
  position: absolute;
  inset: 0;
  filter: blur(100px);
  opacity: 0.4;
}

.mesh-orb {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: meshFloat 25s ease-in-out infinite alternate;
}

.mesh-orb:nth-child(1) { top: -10%; left: -10%; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); }
.mesh-orb:nth-child(2) { bottom: -20%; right: -10%; background: radial-gradient(circle, var(--neon) 0%, transparent 70%); animation-delay: -5s; }
.mesh-orb:nth-child(3) { top: 40%; left: 50%; background: radial-gradient(circle, var(--orange) 0%, transparent 70%); animation-delay: -12s; width: 40vw; height: 40vw; }

@keyframes meshFloat {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { transform: translate(15%, 10%) scale(1.1) rotate(15deg); }
}

/* Floating particles */
.motion-particles {
  position: absolute;
  inset: 0;
}

.motion-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hero-accent, #6366f1);
  opacity: 0;
  animation: floatParticle 8s ease-in-out infinite;
}

/* Scatter particles at different positions / delays */
.particle:nth-child(1) {
  left: 8%;
  top: 30%;
  animation-delay: 0s;
  animation-duration: 7s;
}

.particle:nth-child(2) {
  left: 15%;
  top: 60%;
  animation-delay: 0.8s;
  animation-duration: 5s;
}

.particle:nth-child(3) {
  left: 25%;
  top: 20%;
  animation-delay: 1.2s;
  animation-duration: 6s;
}

.particle:nth-child(4) {
  left: 35%;
  top: 75%;
  animation-delay: 0.3s;
  animation-duration: 8s;
}

.particle:nth-child(5) {
  left: 45%;
  top: 40%;
  animation-delay: 1.8s;
  animation-duration: 5s;
}

.particle:nth-child(6) {
  left: 55%;
  top: 15%;
  animation-delay: 0.5s;
  animation-duration: 7s;
}

.particle:nth-child(7) {
  left: 62%;
  top: 65%;
  animation-delay: 1.0s;
  animation-duration: 6s;
}

.particle:nth-child(8) {
  left: 72%;
  top: 35%;
  animation-delay: 2.1s;
  animation-duration: 9s;
}

.particle:nth-child(9) {
  left: 80%;
  top: 80%;
  animation-delay: 0.7s;
  animation-duration: 5s;
}

.particle:nth-child(10) {
  left: 90%;
  top: 25%;
  animation-delay: 1.5s;
  animation-duration: 7s;
}

.particle:nth-child(11) {
  left: 5%;
  top: 85%;
  animation-delay: 2.5s;
  animation-duration: 6s;
}

.particle:nth-child(12) {
  left: 50%;
  top: 90%;
  animation-delay: 0.2s;
  animation-duration: 8s;
  width: 6px;
  height: 6px;
}

.particle:nth-child(13) {
  left: 30%;
  top: 50%;
  animation-delay: 3.0s;
  animation-duration: 5s;
}

.particle:nth-child(14) {
  left: 70%;
  top: 10%;
  animation-delay: 1.7s;
  animation-duration: 7s;
}

.particle:nth-child(15) {
  left: 85%;
  top: 55%;
  animation-delay: 0.9s;
  animation-duration: 6s;
}

.particle:nth-child(16) {
  left: 20%;
  top: 90%;
  animation-delay: 2.3s;
  animation-duration: 8s;
  width: 5px;
  height: 5px;
}

.particle:nth-child(17) {
  left: 95%;
  top: 70%;
  animation-delay: 1.1s;
  animation-duration: 5s;
}

.particle:nth-child(18) {
  left: 40%;
  top: 5%;
  animation-delay: 3.5s;
  animation-duration: 9s;
  width: 3px;
  height: 3px;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) scale(0);
    opacity: 0;
  }

  20% {
    opacity: 0.8;
  }

  50% {
    transform: translateY(-60px) scale(1.4);
    opacity: 0.6;
  }

  100% {
    transform: translateY(-120px) scale(0);
    opacity: 0;
  }
}

/* ══════════════════════════════════════════════
   Shared Page Hero Banner (About / Products / Contact)
   ══════════════════════════════════════════════ */
.page-hero-banner {
  position: relative;
  padding: 80px 0 70px;
  background: transparent;
  /* Background now handled globally */
  color: var(--text);
  text-align: center;
}

/* Accent colour per page — used by titles and global background via inherit */
body.home {
  --hero-accent: #3b82f6;
}

body.page-template-page-about-us {
  --hero-accent: #6366f1;
}

body.page-template-page-products {
  --hero-accent: #f97316;
}

body.page-template-page-contact-us {
  --hero-accent: #10b981;
}

/* Inner layout */
.page-hero-inner {
  position: relative;
  z-index: 2;
}

/* ── Shared typography for all page headers ── */
.page-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 12px 0 16px;
  animation: fadeUp 0.7s ease-out both;
}

.page-hero-accent {
  background: linear-gradient(135deg, var(--hero-accent, #6366f1), color-mix(in srgb, var(--hero-accent, #6366f1) 60%, #fff));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  animation: fadeUp 0.9s ease-out both;
  animation-delay: 0.15s;
}

.page-hero-banner .section-label {
  color: var(--hero-accent, #6366f1) !important;
  animation: fadeUp 0.5s ease-out both;
}

/* ══════════════════════════════════════════════
   Product Roll Grid
   ══════════════════════════════════════════════ */
/* Products page — full page background matching hero banner */
.products-page-bg {
  background: transparent;
  padding-bottom: 100px;
}

.prod-roll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  perspective: 1200px;
}

.prod-roll-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.12),
    0 2px 4px rgba(0,0,0,0.06);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  position: relative;
  animation: cardFloat 6s ease-in-out infinite;
  animation-delay: calc(var(--float-delay, 0) * 1s);
  transform-style: preserve-3d;
}

/* Stagger the float animation per card */
.prod-roll-card:nth-child(1) { --float-delay: 0; }
.prod-roll-card:nth-child(2) { --float-delay: 1.2; }
.prod-roll-card:nth-child(3) { --float-delay: 2.4; }
.prod-roll-card:nth-child(4) { --float-delay: 0.6; }
.prod-roll-card:nth-child(5) { --float-delay: 1.8; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotateX(0); }
  50%      { transform: translateY(-12px) rotateX(1deg); }
}

.prod-roll-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent, var(--accent)), color-mix(in srgb, var(--card-accent, var(--accent)) 60%, #fff));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 2;
}

.prod-roll-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--card-accent, var(--accent)) 8%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.prod-roll-card:hover {
  transform: translateY(-16px) rotateX(2deg) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.2),
    0 0 0 1px color-mix(in srgb, var(--card-accent, var(--accent)) 40%, transparent),
    0 0 40px color-mix(in srgb, var(--card-accent, var(--accent)) 15%, transparent);
  animation-play-state: paused;
}

.prod-roll-img-wrap {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--card-accent, var(--accent)) 10%, var(--surface));
}

.prod-roll-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.prod-roll-card:hover .prod-roll-img-wrap img {
  transform: scale(1.08) rotate(0.5deg);
}

.prod-roll-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--card-accent, var(--accent));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--card-accent, var(--accent)) 40%, transparent);
  z-index: 3;
}

.prod-roll-body {
  padding: 24px 26px 28px;
  position: relative;
  z-index: 1;
}

.prod-roll-body h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}

.prod-roll-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ══════════════════════════════════════════════
   About Us - Bento Grid Enhancements
   ══════════════════════════════════════════════ */
.about-bento-section {
  position: relative;
  z-index: 10;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.glass-panel {
  background: var(--surface-glass);
  border: var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--text) 12%, transparent), transparent 50%, color-mix(in srgb, var(--text) 2%, transparent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Philosophy Text Panel */
.bento-main {
  grid-column: span 12;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, var(--surface-glass), color-mix(in srgb, var(--surface-dark) 40%, transparent));
}

@media (min-width: 1024px) {
  .bento-main {
    grid-column: span 8;
    grid-row: span 2;
  }
}

.bento-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--text), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bento-main p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.95;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.bento-main p:last-child {
  margin-bottom: 0;
}

/* Stat Cards */
.bento-stat.glass-panel {
  background: linear-gradient(145deg, var(--surface-glass), color-mix(in srgb, var(--accent-color, var(--accent)) 15%, transparent));
  border: 1px solid color-mix(in srgb, var(--accent-color, var(--accent)) 30%, color-mix(in srgb, var(--text) 8%, transparent));
}

.bento-stat {
  grid-column: span 12;
  padding: 2.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: visible; /* To allow icons to pop out */
  margin-top: 3rem; /* Space for the pop-out icon */
  animation: floatVertical 6s ease-in-out infinite;
}

.bento-stat:nth-of-type(1) { animation-delay: 0s; }
.bento-stat:nth-of-type(2) { animation-delay: 2s; }
.bento-stat:nth-of-type(3) { animation-delay: 4s; }

.bento-stat:hover {
  animation-play-state: paused;
}

@media (min-width: 768px) {
  .bento-stat {
    grid-column: span 6;
  }
  .bento-wide-stat {
    grid-column: span 12;
  }
}

@media (min-width: 1024px) {
  .bento-main {
    grid-column: span 12; /* Full width so stats go below */
  }
  .bento-stat {
    grid-column: span 4;
    margin-top: 4rem; /* More space on desktop */
  }
  .bento-wide-stat {
    grid-column: span 4;
  }
}

.bento-stat::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: radial-gradient(circle at top, color-mix(in srgb, var(--accent-color, var(--accent)) 15%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bento-icon-wrapper {
  position: absolute;
  top: -60px; /* Pulls the icon up and out of the card bounds */
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  z-index: 10;
}

.bento-3d-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.5s ease;
}

.bento-stat:hover .bento-3d-icon {
  transform: scale(1.15) translateY(-10px) rotate(5deg);
  filter: drop-shadow(0 30px 40px color-mix(in srgb, var(--accent-color, var(--accent)) 40%, rgba(0,0,0,0.5))) brightness(1.1);
}

.bento-stat-content {
  position: relative;
  z-index: 2;
  margin-top: 40px; /* Pushes text down below the popped-out icon */
}

.bento-stat h3 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -1px;
}

.bento-stat span {
  font-size: 1.1rem;
  color: var(--accent-color, var(--accent));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.bento-stat .stat-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  line-height: 1.5;
  opacity: 0.8;
}

/* Hover 3D Tilt Wrapper */
.hover-3d {
  transform-style: preserve-3d;
  will-change: transform;
}

.hover-3d:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.05);
}

/* ══════════════════════════════════════════════
   About Us - Glass Timeline
   ══════════════════════════════════════════════ */
.glass-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--accent), var(--accent-light), transparent);
  border-radius: 4px;
  opacity: 0.5;
  box-shadow: 0 0 15px var(--accent-glow);
}

.timeline-node {
  position: relative;
  width: 50%;
  padding: 2rem 3rem;
  margin-bottom: 2rem;
}

.timeline-node:nth-child(even) {
  left: 0;
  text-align: right;
  padding-right: 4rem;
}

.timeline-node:nth-child(odd) {
  left: 50%;
  text-align: left;
  padding-left: 4rem;
}

.timeline-marker {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--surface);
  border: 4px solid var(--node-color, var(--accent));
  border-radius: 50%;
  box-shadow: 0 0 20px color-mix(in srgb, var(--node-color, var(--accent)) 60%, transparent);
  z-index: 5;
  transition: all 0.4s ease;
}

.timeline-node:nth-child(even) .timeline-marker {
  right: -12px;
}

.timeline-node:nth-child(odd) .timeline-marker {
  left: -12px;
}

.timeline-node:hover .timeline-marker {
  background: var(--node-color, var(--accent));
  transform: translateY(-50%) scale(1.3);
  box-shadow: 0 0 30px var(--node-color, var(--accent-light));
}

.timeline-panel {
  padding: 2.5rem;
}

.timeline-node .glass-panel {
  background: linear-gradient(145deg, color-mix(in srgb, var(--node-color, var(--accent)) 85%, var(--bg)), color-mix(in srgb, var(--node-color, var(--accent)) 70%, var(--bg)));
  border: 1px solid color-mix(in srgb, var(--node-color, var(--accent)) 60%, rgba(255,255,255,0.4));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--node-color, var(--accent)) 30%, transparent);
}

.timeline-node .glass-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.timeline-year {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.timeline-panel h3 {
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 1rem;
}

.timeline-panel p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

@media (max-width: 768px) {
  .timeline-track {
    left: 20px;
  }
  .timeline-node {
    width: 100%;
    left: 0 !important;
    padding: 1.5rem 0 1.5rem 60px !important;
    text-align: left !important;
  }
  .timeline-marker {
    left: 8px !important;
    right: auto !important;
  }
}

/* ══════════════════════════════════════════════
   Contact Mascot
   ══════════════════════════════════════════════ */
.contact-mascot-wrap {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 28px;
  perspective: 1000px;
}

.contact-mascot-img {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 20px 40px rgba(14, 165, 233, 0.4));
  animation: gentleBounce 4s ease-in-out infinite;
  transition: transform 0.4s ease;
}

@media (prefers-color-scheme: dark) {
  .contact-mascot-img {
    filter: drop-shadow(0 20px 50px rgba(34, 211, 238, 0.6));
  }
}

@keyframes gentleBounce {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  40% {
    transform: translateY(-18px) rotate(-3deg);
  }

  70% {
    transform: translateY(-9px) rotate(3deg);
  }
}

@keyframes gentleFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  30% {
    transform: translateY(-14px) rotate(-2deg);
  }

  70% {
    transform: translateY(-8px) rotate(2deg);
  }
}

/* ══════════════════════════════════════════════
   Mobile Navigation & Responsive
   ══════════════════════════════════════════════ */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 201;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--text);
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

@media (max-width: 992px) {
  .site-header {
    padding: 10px 0;
  }
  
  .header-logo-image {
    height: 60px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,0.05);
    padding: 100px 30px 40px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    overflow-y: auto;
  }

  .header-nav.is-active {
    right: 0;
  }

  .menu {
    flex-direction: column;
    gap: 16px;
  }

  .menu li {
    width: 100%;
  }

  .menu li a {
    display: block;
    padding: 14px 20px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 768px) {
  .page-hero-banner {
    padding: 60px 0 50px;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  .prod-roll-grid {
    grid-template-columns: 1fr;
  }

  .contact-mascot-img {
    max-width: 280px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   10X Product Process & Enhancements
   ==/* ══════════════════════════════════════════════
   10. Global UI Refinements & Enhancements
   ══════════════════════════════════════════════ */

/* Typography & Layout Consistency */
.site-shell, .alt-section, .products-page-bg, .section[style*="background: var(--surface)"] {
    background: transparent !important;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(to right, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin: 0;
}

/* Advanced Image Quality Filters */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

.image-enhance, .card img, .prod-roll-card img, .brand-card img, .showcase-card img, .grid-item img {
    filter: contrast(1.1) saturate(1.05) brightness(1.02);
    transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover img, .prod-roll-card:hover img, .brand-card:hover img, .grid-item:hover img {
    filter: contrast(1.15) saturate(1.1) brightness(1.05);
}

/* Motion System Upgrades */
@keyframes heroPulse {
    0% { transform: translateX(-50%) translateY(0) scale(1); filter: blur(80px) hue-rotate(0deg); }
    33% { transform: translateX(-45%) translateY(-20px) scale(1.1); filter: blur(90px) hue-rotate(15deg); }
    66% { transform: translateX(-55%) translateY(10px) scale(0.95); filter: blur(75px) hue-rotate(-10deg); }
    100% { transform: translateX(-50%) translateY(0) scale(1); filter: blur(80px) hue-rotate(0deg); }
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-100vh) rotate(360deg) scale(1.5); opacity: 0; }
}

.motion-orb {
    animation: heroPulse 12s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}

.particle {
    animation: particleFloat var(--float-duration, 15s) linear infinite !important;
}

/* Floating Interactive Components */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: whatsappPulse 3s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff3b30;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid white;
    transform: translate(25%, -25%);
    text-transform: uppercase;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
}   :root {
        --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.5);
        --surface-glass: rgba(15, 23, 42, 0.6);
        --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* 2. Glassmorphism Architecture */
.site-header, .card, .prod-roll-card, .brand-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-header {
    background: var(--surface-glass);
    border-bottom: var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.card, .prod-roll-card, .brand-card {
    background: var(--surface-glass);
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-lg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* 3. Kinetic Micro-Interactions */
.hover-lift:hover, .card:hover, .prod-roll-card:hover, .brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-glow);
}

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    box-shadow: var(--shadow-soft);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* Navigation Hover Polish */
.main-navigation ul li a {
    position: relative;
    padding-bottom: 4px;
}
.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.main-navigation ul li a:hover::after, .main-navigation ul li.current-menu-item a::after {
    width: 100%;
}

/* 4. Luxurious Layout Spacing */
.section {
    padding: 6rem 0;
}
@media (max-width: 768px) {
    .section { padding: 4rem 0; }
}

/* 5. Global Premium Mesh Background */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 15% 50%, var(--accent-glow) 0%, transparent 40%),
                radial-gradient(circle at 85% 30%, var(--neon-glow) 0%, transparent 40%);
    z-index: -2;
    pointer-events: none;
    opacity: 0.8;
}

/* ══════════════════════════════════════════════
   10. Global UI Refinements & Enhancements
   ══════════════════════════════════════════════ */

.site-shell, .alt-section, .products-page-bg, .section[style*="background: var(--surface)"] {
    background: transparent !important;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(to right, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin: 0;
}

/* Image Quality Enhancements */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}
.cta-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.cta-glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--accent) 0%, transparent 70%);
    opacity: 0.05;
    pointer-events: none;
}
.image-enhance, .card img, .prod-roll-card img, .brand-card img, .showcase-card img, .grid-item img {
    filter: contrast(1.1) saturate(1.05) brightness(1.02);
    transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover img, .prod-roll-card:hover img, .brand-card:hover img, .grid-item:hover img {
    filter: contrast(1.15) saturate(1.1) brightness(1.05);
}

/* Motion Background System */
@keyframes heroPulse {
    0% { transform: translateX(-50%) translateY(0) scale(1); filter: blur(80px) hue-rotate(0deg); }
    33% { transform: translateX(-45%) translateY(-20px) scale(1.1); filter: blur(90px) hue-rotate(15deg); }
    66% { transform: translateX(-55%) translateY(10px) scale(0.95); filter: blur(75px) hue-rotate(-10deg); }
    100% { transform: translateX(-50%) translateY(0) scale(1); filter: blur(80px) hue-rotate(0deg); }
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-100vh) rotate(360deg) scale(1.5); opacity: 0; }
}

.motion-orb {
    animation: heroPulse 12s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}

.particle {
    animation: particleFloat var(--float-duration, 15s) linear infinite !important;
}

/* Floating WhatsApp Interface */
/* ═══ BRAND CARDS ═══ */
/* Removing duplicate brand-card definition handled by global card system */

.brand-card.float-animate {
    animation: floatVertical 6s ease-in-out infinite;
}

.brand-card.float-animate-delayed {
    animation: floatVertical 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes floatVertical {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.brand-card img {
    height: 48px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: none;
    opacity: 1;
}

.brand-card h4 {
    color: #111827;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.brand-card p {
    color: #4b5563;
    font-weight: 500;
}

.brand-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: #ffffff;
    border-color: var(--card-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 15px var(--card-accent);
}

.brand-card:hover img {
    transform: scale(1.1);
}

/* ══════════════════════════════════════════════
   10X Products Page Styles
   ══════════════════════════════════════════════ */
.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: color-mix(in srgb, var(--surface) 50%, var(--bg));
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    color: var(--text);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* ══════════════════════════════════════════════
   10X PREMIUM PRODUCT CARDS
   ══════════════════════════════════════════════ */
.product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ══════════════════════════════════════════════
   10X PREMIUM 3D PRODUCT CARDS
   ══════════════════════════════════════════════ */
.prod-roll-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 4rem;
    perspective: 2000px;
}

.product-card,
.brand-card,
.showcase-card {
    position: relative;
    background: var(--card-bg) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--card-border);
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
    box-shadow: var(--card-shadow);
    border: 1px solid color-mix(in srgb, var(--accent-color, var(--accent)) 20%, transparent);
    background: radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--accent-color, var(--accent)) 25%, transparent), transparent 70%), color-mix(in srgb, var(--card-bg), var(--accent-color, var(--accent)) 10%) !important;
}

.product-card:hover,
.brand-card:hover,
.showcase-card:hover {
    transform: translateY(-25px) rotateX(6deg) rotateY(3deg);
    border-color: color-mix(in srgb, var(--accent-color, var(--accent)) 50%, transparent);
    box-shadow: 
        var(--card-hover-shadow), 
        0 0 60px color-mix(in srgb, var(--accent-color, var(--accent)) calc(var(--glow-intensity) * 100%), transparent),
        inset 0 0 40px color-mix(in srgb, var(--accent-color, var(--accent)) calc(var(--glow-intensity) * 50%), transparent);
    background: color-mix(in srgb, var(--card-bg), var(--accent-color, var(--accent)) 2%) !important;
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    transform-style: preserve-3d;
}

.product-img-wrap {
    position: relative;
    height: 320px;
    overflow: hidden;
    transform: translateZ(10px);
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1) translateZ(40px);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 20, 0.6) 100%);
    z-index: 1;
}

.product-content {
    padding: 3rem 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateZ(60px);
}

.product-content h3 {
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    color: var(--accent-color, var(--text)) !important;
    margin: 0 !important;
    letter-spacing: -0.03em;
    transition: all 0.4s ease;
    text-shadow: 0 0 20px color-mix(in srgb, var(--accent-color, var(--accent)) 30%, transparent);
}

.product-content p {
    font-size: 1.05rem !important;
    color: color-mix(in srgb, var(--text-secondary), var(--accent-color, var(--accent)) 40%) !important;
    line-height: 1.7 !important;
    opacity: 0.9 !important;
    margin: 0 !important;
}

.product-subs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

.product-sub-chip {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-sub-chip,
.brand-card:hover .product-sub-chip {
    border-color: color-mix(in srgb, var(--accent-color, var(--accent)) 60%, transparent);
    color: #fff;
    background: color-mix(in srgb, var(--accent-color, var(--accent)) 20%, transparent);
    transform: translateZ(30px);
}

.product-card:hover h3,
.brand-card:hover h4,
.brand-card:hover h3 {
    color: var(--accent-color, var(--accent)) !important;
    transform: translateZ(50px);
    text-shadow: 0 0 30px color-mix(in srgb, var(--accent-color, var(--accent)) 50%, transparent);
}

.product-card:hover h3 {
    color: var(--accent-color) !important;
    transform: translateZ(50px);
    text-shadow: 0 0 30px color-mix(in srgb, var(--accent-color) 50%, transparent);
}

.category-block {
    margin-bottom: 10rem;
}

.category-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2.5rem;
    margin-bottom: 5rem;
}

.category-title {
    font-size: 2.6rem !important;
    font-weight: 900 !important;
    color: var(--text) !important;
    display: flex;
    align-items: center;
    gap: 1.8rem;
    letter-spacing: -0.04em;
}

.category-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 30px color-mix(in srgb, var(--accent) calc(var(--glow-intensity) * 100%), transparent);
}


/* ═══ Mega Menu & Grid Mobile ═══ */
@media (max-width: 1024px) {
    .prod-roll-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .prod-roll-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    .mega-menu {
        position: fixed;
        top: 70px;
        left: 5%;
        right: 5%;
        width: 90%;
        transform: none;
        max-height: 70vh;
        overflow-y: auto;
    }
    .mega-menu-parent:hover .mega-menu {
        transform: none;
    }
    .mega-menu-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .mega-col-cta {
        order: -1;
    }
}

/* ══════════════════════════════════════════════
   Home Page Premium Overrides
   ══════════════════════════════════════════════ */
.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}
@media (max-width: 1024px) { .grid-4-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4-cols { grid-template-columns: 1fr; } }

.cards-2-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.feature-card-premium {
    text-align: center;
}
.feature-card-premium .product-card-inner {
    padding: 3.5rem 2rem;
}
.feature-card-premium .card-icon {
    width: 80px; 
    height: 80px; 
    margin: 0 auto 1.5rem; 
    object-fit: contain; 
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
    transform: translateZ(40px);
}
.feature-card-premium .product-content {
    padding: 0; 
    background: transparent; 
    transform: translateZ(50px);
}
.feature-card-premium .product-content h3 {
    font-size: 1.4rem; 
    margin-bottom: 0.8rem;
}
.feature-card-premium .product-content p {
    font-size: 0.95rem;
}

.distributor-card-premium {
    padding: 2.5rem; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 1.5rem; 
    transform-style: preserve-3d; 
    perspective: 1000px;
}
.distributor-card-premium img {
    max-height: 60px; 
    width: auto; 
    object-fit: contain; 
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); 
    transform: translateZ(20px);
}
.distributor-card-premium h4 {
    font-size: 1rem; 
    font-weight: 700; 
    margin: 0; 
    color: var(--accent-color, var(--text)); 
    transform: translateZ(30px);
}

.import-card-premium {
    padding: 4rem 2.5rem;
}
.import-card-premium h4 {
    font-size: 1.6rem; 
    margin-bottom: 1.2rem; 
    font-weight: 800;
}
.import-card-premium p {
    color: var(--text-secondary); 
    font-size: 1rem; 
    line-height: 1.7; 
    opacity: 0.8;
}

/* ══════════════════════════════════════════════
   South India Map Section
   ══════════════════════════════════════════════ */
.south-india-map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    position: relative;
    width: 100%;
}

.south-india-3d-map {
    max-width: 420px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.15)) drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
    animation: mapFloatPremium 8s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.south-india-3d-map:hover {
    transform: translateY(-8px) scale(1.03);
    filter: drop-shadow(0 25px 50px rgba(99, 102, 241, 0.25)) drop-shadow(0 15px 15px rgba(0, 0, 0, 0.4));
}

@keyframes mapFloatPremium {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (prefers-color-scheme: light) {
    .south-india-3d-map {
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
    }
    .south-india-3d-map:hover {
        filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.25));
    }
}

/* CTA Section Updates */
.cta-section { padding-top: 0; }
.cta-title { margin-bottom: 1rem; }
.cta-desc {
    color: var(--text-secondary); 
    font-size: 1.1rem; 
    margin-bottom: 2.5rem; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto;
}
/* ══════════════════════════════════════════════
   10X RESPONSIVE UI OVERHAUL (MOBILE, TABLET, PC)
   Complete mobile-first responsive system
   ══════════════════════════════════════════════ */

/* ── 1. Global Foundations ── */
html, body, .site-shell {
    overflow-x: hidden !important;
    max-width: 100vw;
}

img, iframe, canvas, video {
    max-width: 100%;
    height: auto;
}

/* ── 2. Fluid Typography ── */
h1, .hero-title, .page-hero-title {
    font-size: clamp(1.8rem, 5vw, 4.5rem) !important;
    line-height: 1.1;
    word-break: break-word;
}

h2, .section-title {
    font-size: clamp(1.5rem, 4vw, 3rem) !important;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.75rem) !important;
}

.hero-sub, .page-hero-sub {
    font-size: clamp(0.9rem, 2vw, 1.25rem) !important;
}

/* ── 3. HEADER — Always Row Layout on All Screens ── */
.header-inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
}

@media (max-width: 992px) {
    .header-inner {
        padding: 8px 16px !important;
    }
    .header-logo-image {
        height: 50px;
    }
    .mobile-menu-toggle {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 6px 12px !important;
    }
    .header-logo-image {
        height: 42px;
    }
}

/* ── 4. Filter Tabs — Scrollable on Mobile ── */
.filter-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap !important;
    padding-bottom: 4px;
}
.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .filter-tabs {
        gap: 6px;
        padding: 5px;
    }
    .filter-tab {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* ── 5. Product Page — Grid & Hero ── */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* ── 6. Contact Page — Full Width Stacking ── */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    .contact-text-col,
    .contact-text-col.floating-glow-card {
        max-width: 100% !important;
        width: 100% !important;
    }
    .contact-form-col {
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .contact-text-col,
    .contact-text-col.floating-glow-card {
        padding: 1.5rem !important;
    }
    /* Allow phone numbers to wrap on small screens */
    .contact-text-col span[style*="white-space"] {
        white-space: normal !important;
    }
    .contact-cinematic-inner {
        padding: 0 12px;
    }
    .cinematic-form {
        padding: 0;
    }
}

/* ── 7. Gallery Grid ── */
@media (max-width: 992px) {
    .gallery-grid, .grid-4-cols {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 640px) {
    .gallery-grid, .grid-4-cols {
        grid-template-columns: 1fr !important;
    }
}

/* ── 8. About Page ── */
@media (max-width: 768px) {
    .about-mission-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    .bento-grid {
        grid-template-columns: 1fr !important;
    }
    .bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    .timeline-item {
        width: 100% !important;
        padding-left: 60px !important;
    }
}

/* ── 9. Front Page — Cards & Hero ── */
@media (max-width: 992px) {
    .cards, .cards-2-cols {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    .cards, .cards-2-cols {
        grid-template-columns: 1fr !important;
    }

    .hero-buttons, .hero-actions {
        flex-direction: column !important;
        width: 100%;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .section {
        padding: clamp(2.5rem, 6vw, 5rem) 0 !important;
    }
}

/* ── 10. Footer — Stack on Mobile ── */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: left;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ── 11. Page Hero Banners — Compact on Mobile ── */
@media (max-width: 768px) {
    .page-hero-banner {
        padding: 50px 0 40px !important;
        min-height: auto !important;
    }
    .page-hero-inner {
        padding: 0 16px;
    }
    .section-label {
        font-size: 11px;
    }
}

/* ── 12. Tap Targets — Mobile Accessibility ── */
@media (max-width: 768px) {
    input, select, textarea, button, .btn, .filter-tab {
        min-height: 44px;
    }
    .menu li a {
        padding: 14px 20px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
}

/* ── 13. Container Padding — Tight on Mobile ── */
@media (max-width: 768px) {
    .container {
        width: 92% !important;
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .container {
        width: 94% !important;
    }
}

/* ── 14. Touch Devices — Disable Complex Effects ── */
@media (hover: none) and (pointer: coarse) {
    /* Hide custom cursor on touch devices */
    #ukb-cursor, #ukb-cursor-follower, #ukb-cursor-ring, .ukb-cursor {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Disable 3D tilt and hover transforms on touch */
    .ent-card:hover, .product-card:hover, .brand-card:hover,
    .clickable-card:hover, .card:hover, .showcase-card:hover {
        transform: none !important;
    }

    /* Gallery: always show indicators on touch */
    .gallery-indicators {
        opacity: 1 !important;
        bottom: 16px !important;
    }
    .image-zoom-overlay {
        opacity: 1 !important;
        background: transparent !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
        padding: 10px;
    }
    .zoom-icon {
        transform: scale(1) !important;
        background: rgba(0,0,0,0.5) !important;
        width: 36px !important;
        height: 36px !important;
    }

    /* Disable floating glow animation on touch (saves battery) */
    .floating-glow-card {
        animation: none !important;
    }
}

/* ── 15. Work With Us Page ── */
@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr !important;
    }
}

/* ── 16. Lightbox — Mobile Friendly ── */
@media (max-width: 768px) {
    .ukb-lightbox-content img {
        max-width: 95vw !important;
        max-height: 80vh !important;
    }
    .ukb-lightbox-close {
        top: 10px !important;
        right: 10px !important;
        font-size: 2rem !important;
    }
}

