/* ==========================================================================
   AVIVA SMART - PREMIUM DESIGN SYSTEM (Stripe / Apple / Linear Inspired)
   ========================================================================== */

:root {
  /* Colors - Premium Monochrome / Gold */
  --primary: #111111;
  --primary-hover: #1a1c23;
  --secondary: #dfb163;
  --bg-white: #FFFFFF;
  --bg-gray-50: #F8FAFC;
  --bg-gray-100: #F1F5F9;
  --bg-gray-200: #E2E8F0;
  --bg-dark: #0A0F1C;
  
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #111111 0%, #1a1c23 100%);
  --grad-soft: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  --grad-glass: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 100%);
  
  /* Shadows - Smooth, Large, Premium */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.08);
  --shadow-blue: 0 15px 35px rgba(17, 17, 17, 0.25);
  
  /* Border & Radii */
  --border: rgba(15, 23, 42, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  
  /* Spacing */
  --max-width: 1320px;
  --section-pad: 120px;
}

/* Base Reset & Typography */
* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at 50% 0%, #FFFFFF 0%, #E9EDF2 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-dark);
}

p { color: var(--text-muted); font-size: 1.125rem; }

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img, video { max-width: 100%; display: block; border-radius: var(--radius-md); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad) 0; }
.section-pad { padding: var(--section-pad) 0; }
.bg-gray { background-color: var(--bg-gray-50); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.section-header {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(223, 177, 99, 0.1);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.section-title { font-size: 3rem; margin-bottom: 24px; text-wrap: balance; }
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  text-wrap: balance;
}
.section-desc { font-size: 1.25rem; }

/* Buttons (Magnetic & Ripple inspired) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.35);
}
.btn-gold {
  background: var(--accent-gold);
  color: #111111;
  border: 1.5px solid var(--primary);
  box-shadow: 0 10px 20px rgba(223, 177, 99, 0.2);
  font-weight: 700;
}
.btn-gold:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(223, 177, 99, 0.4);
  background: #e6bd76;
}
.btn-outline {
  background: white;
  color: var(--text-dark);
  border: 1.5px solid var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Navbar - Glassmorphism */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 20px 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo i { font-size: 2rem; color: var(--secondary); }
.logo img { border-radius: 0; }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 1rem;
  position: relative;
}
.nav-link:hover { color: var(--primary); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; width: 0%; height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: #050510;
}
/* Cinematic background wrapper */
.hero-cinematic-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1; overflow: hidden;
}
/* 4 crossfading scene layers */
.scene {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; background-size: cover; background-position: center;
  transition: opacity 2s ease;
}
.scene-1 {
  background: linear-gradient(160deg,rgba(3,8,30,.7) 0%,rgba(0,20,60,.5) 100%),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=80') center/cover;
  animation: sceneLoop 32s 0s infinite;
}
.scene-2 {
  background: linear-gradient(160deg,rgba(5,5,20,.6) 0%,rgba(0,30,80,.45) 100%),
    url('https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=2000&q=80') center/cover;
  animation: sceneLoop 32s 8s infinite;
}
.scene-3 {
  background: linear-gradient(160deg,rgba(0,5,25,.65) 0%,rgba(0,20,50,.5) 100%),
    url('https://images.unsplash.com/photo-1557597774-9d273605dfa9?auto=format&fit=crop&w=2000&q=80') center/cover;
  animation: sceneLoop 32s 16s infinite;
}
.scene-4 {
  background: linear-gradient(160deg,rgba(3,5,20,.6) 0%,rgba(0,15,45,.5) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2000&q=80') center/cover;
  animation: sceneLoop 32s 24s infinite;
}
@keyframes sceneLoop {
  0%   { opacity:0; transform:scale(1.08); }
  5%   { opacity:1; }
  22%  { opacity:1; transform:scale(1.0); }
  27%  { opacity:0; }
  100% { opacity:0; }
}
/* Ambient orbs */
.amb-orb { position:absolute; border-radius:50%; filter:blur(80px); animation:orbPulse 8s ease-in-out infinite alternate; pointer-events:none; }
.orb-1 { width:500px; height:500px; background:rgba(223, 177, 99,.18); top:-100px; right:-100px; animation-delay:0s; }
.orb-2 { width:400px; height:400px; background:rgba(0,212,255,.12); bottom:-80px; left:10%; animation-delay:3s; }
.orb-3 { width:300px; height:300px; background:rgba(80,0,180,.10); top:30%; left:40%; animation-delay:5s; }
@keyframes orbPulse { from{transform:scale(1) translate(0,0);opacity:.6;} to{transform:scale(1.3) translate(20px,-20px);opacity:1;} }
/* Light grid */
.light-grid { position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; }
.lg-h,.lg-v { position:absolute; animation:gridFade 6s ease-in-out infinite; }
.lg-h { width:100%; height:1px; background:linear-gradient(90deg,transparent,rgba(223, 177, 99,.15),transparent); }
.lg-v { width:1px; height:100%; background:linear-gradient(180deg,transparent,rgba(223, 177, 99,.15),transparent); }
.lg-h1{top:25%;animation-delay:0s;} .lg-h2{top:55%;animation-delay:2s;} .lg-h3{top:78%;animation-delay:4s;}
.lg-v1{left:20%;animation-delay:1s;} .lg-v2{left:50%;animation-delay:3s;} .lg-v3{left:80%;animation-delay:5s;}
@keyframes gridFade { 0%,100%{opacity:0;} 50%{opacity:1;} }
/* AI Scan line */
.scan-line {
  position:absolute; left:0; width:100%; height:2px;
  background:linear-gradient(90deg,transparent,rgba(0,212,255,.6),rgba(0,212,255,.9),rgba(0,212,255,.6),transparent);
  box-shadow:0 0 20px rgba(0,212,255,.5);
  animation:scanMove 6s linear infinite; z-index:3; pointer-events:none;
}
@keyframes scanMove { 0%{top:-2px;opacity:0;} 5%{opacity:1;} 95%{opacity:1;} 100%{top:100%;opacity:0;} }
/* Node network */
.smart-nodes { position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; }
.node-lines { position:absolute; top:0; left:0; width:100%; height:100%; }
.nl { stroke:rgba(223, 177, 99,.25); stroke-width:.3; stroke-dasharray:4 4; animation:lineAnim 3s linear infinite; }
@keyframes lineAnim { from{stroke-dashoffset:0;} to{stroke-dashoffset:-20;} }
.hub-dot {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:64px; height:64px; border-radius:50%;
  background:rgba(223, 177, 99,.25); border:2px solid rgba(223, 177, 99,.6);
  display:flex; align-items:center; justify-content:center;
  color:#60b4ff; font-size:24px;
  animation:hubPulse 2.5s ease-in-out infinite;
  box-shadow:0 0 30px rgba(223, 177, 99,.4),0 0 60px rgba(223, 177, 99,.2);
}
@keyframes hubPulse {
  0%,100%{box-shadow:0 0 20px rgba(223, 177, 99,.4),0 0 40px rgba(223, 177, 99,.15);}
  50%{box-shadow:0 0 40px rgba(223, 177, 99,.7),0 0 80px rgba(223, 177, 99,.3);}
}
.s-node {
  position:absolute; background:rgba(255,255,255,.07); border:1px solid rgba(223, 177, 99,.35);
  backdrop-filter:blur(8px); border-radius:12px; padding:10px 14px;
  display:flex; align-items:center; gap:8px; font-size:.8rem; font-weight:600;
  color:rgba(255,255,255,.85); animation:nodePop 3s ease-in-out infinite alternate; white-space:nowrap;
}
.s-node i { font-size:18px; color:#60b4ff; }
.n1{top:22%;left:15%;animation-delay:0s;} .n2{top:17%;right:14%;animation-delay:.6s;}
.n3{bottom:28%;left:8%;animation-delay:1.2s;} .n4{bottom:25%;right:10%;animation-delay:1.8s;}
.n5{top:6%;left:48%;transform:translateX(-50%);animation-delay:2.4s;}
@keyframes nodePop { from{transform:translateY(0);opacity:.75;} to{transform:translateY(-8px);opacity:1;} }
/* Particles */
.particles { position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; }
.particle {
  position:absolute; width:3px; height:3px; border-radius:50%;
  background:rgba(0,170,255,.7); animation:particleDrift linear infinite;
}
@keyframes particleDrift {
  0%{transform:translateY(100vh) scale(0);opacity:0;} 10%{opacity:1;} 90%{opacity:.6;} 100%{transform:translateY(-20px) scale(1);opacity:0;}
}

.hero-gradient-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  /* Subtle 25% dark overlay — video stays bright and cinematic */
  background: linear-gradient(
    160deg,
    rgba(5, 5, 20, 0.55) 0%,
    rgba(5, 5, 20, 0.30) 50%,
    rgba(5, 5, 20, 0.50) 100%
  );
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
/* Hero text must be white — video background is dark */
.hero-content .section-tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 800;
  margin-bottom: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 40%, #a8d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: heroFadeUp 1s ease-out both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-desc {
  font-size: 1.35rem;
  margin-bottom: 40px;
  max-width: 620px;
  margin-inline: auto;
  color: rgba(255,255,255,0.85);
  animation: heroFadeUp 1s 0.2s ease-out both;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  animation: heroFadeUp 1s 0.4s ease-out both;
}
/* Outline button on dark hero */
.hero .btn-outline {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: heroFadeUp 1s 0.6s ease-out both;
}
.stat-item h4 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 4px;
}
.stat-item p { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.7); }

/* Floating Elements — glassmorphism on dark video bg */
.floating-icon {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  animation: float 6s ease-in-out infinite;
}
.floating-icon i { color: #a8d4ff !important; }
.float-1 { top: 22%; left: 4%; animation-delay: 0s; }
.float-2 { top: 58%; right: 4%; animation-delay: 2s; }
.float-3 { bottom: 18%; left: 12%; animation-delay: 4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* Products Section (Stripe/Apple Style Cards) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 12px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(223, 177, 99, 0.2);
}
.product-img-box {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}
.product-img-box img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img-box img {
  transform: scale(1.05);
}
.product-content {
  padding: 0 16px 16px;
}
.product-content h3 { font-size: 1.5rem; margin-bottom: 8px; }
.product-content p { font-size: 1rem; margin-bottom: 20px; }
.product-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.product-link:hover { gap: 12px; }

/* Why Choose Us (Glass Cards / Interactive) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--grad-soft);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.feature-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.feature-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  background: rgba(223, 177, 99, 0.05);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary);
  color: white;
}
.feature-card h3 { margin-bottom: 12px; font-size: 1.25rem; }

/* About Split Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  width: 80%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.about-img-float {
  position: absolute;
  right: 0; bottom: -40px;
  width: 50%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 8px solid white;
}
.about-content h2 { font-size: 3rem; margin-bottom: 24px; }
.about-content p { margin-bottom: 24px; }

/* Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 100px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer .logo { color: white; margin-bottom: 24px; }
.footer p { color: var(--text-muted); }
.footer h4 { color: white; margin-bottom: 24px; font-size: 1.1rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--secondary); padding-left: 8px; }
.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-images { margin-bottom: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .nav-links { display: none; }
  .hero-stats { flex-direction: column; gap: 24px; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-icon { display: none; }
  .section-title { font-size: 2rem; }
  .product-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   MOBILE MENU
   ================================================================ */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.mobile-toggle span {
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}
@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .navbar .btn { padding: 10px !important; }
  .phone-text { display: none !important; }
  .navbar .btn i { font-size: 1.2rem !important; margin: 0 !important; }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: -100%; left: auto;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  }
  .nav-item { width: 100%; text-align: left; }
  .nav-link { justify-content: flex-start; }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1.5rem; }
}

/* ================================================================
   MILESTONES / COUNTER SECTION
   ================================================================ */
.milestones-section {
  padding: 120px 0;
  background: #111111;
  color: white;
}
.milestones-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.milestones-tag {
  color: #dfb163;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.milestones-header h2 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  color: #ffffff;
}
.milestones-header p {
  color: #9ca3af;
  font-size: 1.1rem;
  line-height: 1.6;
}
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.milestone-card {
  background: #1a1c23;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  transition: transform 0.3s ease;
}
.milestone-card:hover {
  transform: translateY(-5px);
  border-color: rgba(223, 177, 99, 0.3);
}
.milestone-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #dfb163;
  line-height: 1;
  margin-bottom: 16px;
}
.milestone-label {
  font-size: 0.85rem;
  color: #9ca3af;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ================================================================
   SMART HUB CARDS (Cognitive Architecture)
   ================================================================ */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.hub-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.hub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hub-card:hover::before { opacity: 1; }
.hub-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(223, 177, 99,0.15);
}
.hub-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(223, 177, 99,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.hub-card:hover .hub-icon {
  background: var(--grad-primary);
  color: white;
  transform: scale(1.05);
}
.hub-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.hub-card p { font-size: 0.975rem; }

/* ================================================================
   TESTIMONIALS (Premium Slider / Glass Cards)
   ================================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 24px; right: 32px;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.1;
  font-family: Georgia, serif;
}
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.stars i { color: #FBBF24; font-size: 1.1rem; }
.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}
.author-info h5 { font-size: 1rem; margin-bottom: 2px; }
.author-info span { font-size: 0.875rem; color: var(--text-muted); }

/* ================================================================
   PAGE HERO (Inner Pages)
   ================================================================ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--bg-gray-50);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(223, 177, 99,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-tag { margin-bottom: 16px; }
.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-dark) 20%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}
.page-hero-desc {
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 32px;
  text-wrap: balance;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--text-light); }

/* ================================================================
   PRODUCT DETAIL / INNER PAGE LAYOUT
   ================================================================ */
.product-detail-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-detail-split.reverse { direction: rtl; }
.product-detail-split.reverse > * { direction: ltr; }
.product-detail-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.product-detail-img img {
  width: 100%; height: 400px;
  object-fit: cover;
  border-radius: 0;
}
.product-detail-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.product-detail-content p { margin-bottom: 24px; }
.feature-list { margin-top: 24px; }
.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.feature-list-item:last-child { border-bottom: none; }
.feature-list-icon {
  width: 40px; height: 40px;
  background: rgba(223, 177, 99,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.feature-list-text h4 { font-size: 1rem; margin-bottom: 4px; }
.feature-list-text p { font-size: 0.9rem; margin: 0; }

/* ================================================================
   SPEC CARDS / QUICK FEATURES
   ================================================================ */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.spec-card {
  background: var(--bg-gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}
.spec-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
  border-color: rgba(223, 177, 99,0.15);
  transform: translateY(-4px);
}
.spec-card i { font-size: 2rem; color: var(--primary); margin-bottom: 12px; display: block; }
.spec-card h4 { font-size: 1.1rem; margin-bottom: 6px; }
.spec-card p { font-size: 0.9rem; }

/* ================================================================
   CONTACT FORM
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { font-size: 2.5rem; margin-bottom: 20px; }
.contact-info p { margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 48px; height: 48px;
  background: rgba(223, 177, 99,0.08);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-detail h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-detail p { font-size: 0.95rem; margin: 0; }
.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-gray-50);
  transition: all 0.3s ease;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(223, 177, 99,0.08);
}
.form-textarea { resize: vertical; min-height: 120px; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-detail-split { grid-template-columns: 1fr; }
  .product-detail-split.reverse { direction: ltr; }
}

/* ================================================================
   BRAND LOGOS TICKER (Clients)
   ================================================================ */
.clients-section { padding: 60px 0; background: var(--bg-gray-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.clients-label { text-align: center; margin-bottom: 32px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.875rem; }
.ticker-outer { overflow: hidden; }
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.ticker-item i { color: var(--primary); font-size: 1.2rem; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 80px 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cta-banner h2 { font-size: 2.8rem; color: white; margin-bottom: 20px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.2rem; max-width: 600px; margin: 0 auto 36px; }
.cta-banner .btn-outline {
  background: white;
  color: var(--primary);
  border: none;
}
.cta-banner .btn-outline:hover {
  background: var(--bg-gray-50);
  transform: translateY(-4px);
}
@media (max-width: 768px) {
  .cta-banner { padding: 48px 24px; }
  .cta-banner h2 { font-size: 2rem; }
}

/* ================================================================
   FAQ ACCORDION
   ================================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: white;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  transition: background 0.2s ease;
}
.faq-question:hover { background: var(--bg-gray-50); }
.faq-question.active { background: rgba(223, 177, 99,0.04); }
.faq-icon { font-size: 1.4rem; color: var(--primary); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: white;
}
.faq-answer.open { max-height: 500px; }
.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ================================================================
   BLOG CARDS
   ================================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(223, 177, 99,0.12);
}
.blog-thumb {
  height: 220px;
  overflow: hidden;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.6s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-body { padding: 28px; }
.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(223, 177, 99,0.08);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.blog-body h3 { font-size: 1.25rem; margin-bottom: 10px; line-height: 1.4; }
.blog-body p { font-size: 0.95rem; }
.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.blog-read-more { font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.blog-read-more:hover { gap: 10px; }

/* ================================================================
   WHATSAPP FLOATING BUTTON
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
  color: white;
}

/* ================================================================
   EXPERIENCE CENTRES MAP
   ================================================================ */
.ec-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ec-card-info { padding: 48px; }
.ec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(34,197,94,0.1);
  color: #16a34a;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.ec-badge::before { content: '●'; font-size: 0.5rem; }
.ec-card-info h3 { font-size: 1.8rem; margin-bottom: 16px; }
.ec-card-info p { margin-bottom: 28px; }
.ec-hours {
  background: var(--bg-gray-50);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.ec-map {
  background: var(--bg-gray-100);
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.ec-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 768px) {
  .ec-card { grid-template-columns: 1fr; }
  .ec-map { min-height: 250px; }
}

/* ================================================================
   SMART FACTORY SECTION
   ================================================================ */
.factory-highlight {
  background: var(--text-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.factory-content {
  padding: 64px 48px;
  color: white;
}
.factory-content h2 { color: white; font-size: 2.5rem; margin-bottom: 24px; }
.factory-content p { color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.factory-content .btn-primary { margin-top: 16px; }
.factory-img { min-height: 400px; overflow: hidden; }
.factory-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
@media (max-width: 768px) {
  .factory-highlight { grid-template-columns: 1fr; }
  .factory-content { padding: 40px 28px; }
}

/* ================================================================
   SMOOTH SCROLL + SELECTION
   ================================================================ */
html { scroll-behavior: smooth; }
::selection { background: rgba(223, 177, 99,0.15); color: var(--primary); }
/* ================================================================
   DROPDOWN NAVIGATION
   ================================================================ */
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-item { position: relative; list-style: none; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 210px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1100;
  pointer-events: none;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  background: #fff;
  border-left: 1px solid rgba(15,23,42,0.08);
  border-top: 1px solid rgba(15,23,42,0.08);
  transform: translateX(-50%) rotate(45deg);
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0F172A;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.nav-dropdown a:hover { background: rgba(223, 177, 99,0.06); color: #dfb163; padding-left: 18px; }
.nav-dropdown a i { font-size: 15px; color: #dfb163; opacity: 0.75; flex-shrink: 0; }
.nav-link > i.ph-caret-down { transition: transform 0.3s ease; display: inline-block; vertical-align: middle; margin-left: 2px; }
.has-dropdown:hover .nav-link > i.ph-caret-down { transform: rotate(180deg); }
@media (max-width: 768px) {
  .nav-dropdown { position: static; transform: none !important; box-shadow: none; border: none; padding: 0 16px; background: transparent; opacity: 1; visibility: visible; pointer-events: auto; display: none; margin-top: 10px; }
  .has-dropdown.open .nav-dropdown { display: block; }
  .nav-dropdown::before { display: none; }
  .nav-dropdown a { color: #0F172A; font-size: 1rem; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
}

/* ================================================================
   PREMIUM DARK & GOLD THEME (Alternating Sections)
   ================================================================ */
.bg-premium-dark {
  background-color: #111111 !important;
  color: white !important;
}
.bg-premium-dark .section-title, .bg-premium-dark h2, .bg-premium-dark h3, .bg-premium-dark h4 {
  color: #ffffff !important;
}
.bg-premium-dark .section-desc, .bg-premium-dark p {
  color: #9ca3af !important;
}
.bg-premium-dark .section-tag {
  color: #dfb163 !important;
}
.bg-premium-dark .feature-card, .bg-premium-dark .hub-card {
  background: #1a1c23 !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.bg-premium-dark .feature-card:hover, .bg-premium-dark .hub-card:hover {
  border-color: rgba(223, 177, 99, 0.3) !important;
}
.bg-premium-dark .feature-icon, .bg-premium-dark .hub-icon {
  background: rgba(223, 177, 99, 0.1) !important;
  color: #dfb163 !important;
}
.bg-premium-dark .feature-card:hover .feature-icon, .bg-premium-dark .hub-card:hover .hub-icon {
  background: #dfb163 !important;
  color: #111111 !important;
}
.bg-premium-dark .hub-card::before {
  display: none !important;
}

/* ================================================================
   DARK PAGE HERO OVERRIDE (For product pages)
   ================================================================ */
.page-hero-dark .page-hero-title {
  background: none;
  -webkit-text-fill-color: initial;
  color: #ffffff;
}
.page-hero-dark .page-hero-desc, 
.page-hero-dark .section-subtitle {
  color: #9ca3af !important;
}
.page-hero-dark .breadcrumb {
  color: #9ca3af;
}
.page-hero-dark .breadcrumb a {
  color: #dfb163;
}
.page-hero-dark .breadcrumb span {
  color: #4b5563;
}

/* ================================================================
   MODAL POPUP
   ================================================================ */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}
.modal-icon {
  width: 60px; height: 60px;
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}
