:root {
  --bg-dark: #050b14;
  --bg-card: rgba(11, 18, 32, 0.6);
  --bg-card-hover: rgba(20, 30, 48, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-highlight: rgba(255, 179, 25, 0.3);
  
  --primary: #FFB319;
  --primary-glow: rgba(255, 179, 25, 0.4);
  --primary-hover: #ffc247;
  
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  
  --font-main: 'Noto Sans Georgian', system-ui, sans-serif;
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background Effects */
.bg-grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)' opacity='0.03'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -2;
  opacity: 0.4;
  pointer-events: none;
}

.orb-1 {
  top: -10%;
  right: 0%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,179,25,0.15) 0%, transparent 70%);
}

.orb-2 {
  bottom: -20%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
}

.orb-3 {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle, rgba(255,179,25,0.03) 0%, transparent 60%);
  z-index: -3;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 30px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255,255,255,0.05);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Typography */
h1, h2, h3 {
  line-height: 1.2;
}

.gold {
  color: var(--primary);
  text-shadow: 0 0 30px var(--primary-glow);
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 179, 25, 0.1);
  color: var(--primary);
  border: 1px solid rgba(255, 179, 25, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(10, 15, 25, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  top: 10px;
  width: 95%;
  background: rgba(5, 11, 20, 0.9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
}

.brand-icon {
  display: flex;
  align-items: center;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
  position: relative;
}

nav a:hover, nav a.active {
  color: var(--text-main);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
  width: 16px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  transition: all 0.3s;
}

.nav-phone:hover {
  background: rgba(255,255,255,0.1);
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 140px 5% 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('bg-hero.png') center bottom / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,11,20,0.9) 0%, rgba(5,11,20,0.2) 50%, rgba(5,11,20,0.8) 100%);
  z-index: 0;
}

.hero-content {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.6fr;
  gap: 40px;
  align-items: center;
  z-index: 1;
  position: static; /* Let absolute children align to .hero */
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

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

.hero-left h1 {
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-left p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatar-stack {
  display: flex;
}

.avatar, .avatar-more {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  margin-left: -12px;
}

.avatar:first-child { margin-left: 0; }

.avatar-more {
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  backdrop-filter: blur(5px);
}

.social-proof strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.social-proof span {
  color: var(--text-muted);
  font-size: 13px;
}

/* 3D Showcase */
.hero-3d {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Mathematically track the 2D background image platform position */
  padding-bottom: calc(max(100vh, 100vw * 0.6669) * 0.274); /* Increased to move it higher */
  perspective: 1200px;
  pointer-events: none;
  z-index: 5;
}

.stage {
  position: relative;
  left: 4.5%; /* Shifted very slightly right */
  width: 600px;
  height: 400px;
  transform-style: preserve-3d;
}



.platform {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Full 3D Rotating Hexagonal Axis */
.stand-3d {
  position: absolute;
  top: 50%; /* Originates exactly at the pivot */
  left: 50%;
  width: 60px;
  height: 165px; /* Extends down to the platform */
  transform: translate(-50%, 0); /* Hangs downwards */
  transform-style: preserve-3d;
}

.s-face {
  position: absolute;
  top: 0; 
  left: 15px; /* Centers the 30px face within the 60px wrapper */
  width: 30px;
  height: 165px;
  border: 1px solid rgba(0,0,0,0.5);
  /* Iron / Machined metal texture */
  background-image: 
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.08) 0px, rgba(0,0,0,0.08) 2px, transparent 2px, transparent 6px);
  background-blend-mode: overlay;
}

/* 6 sides of the hexagon */
.s1 { transform: rotateY(0deg) translateZ(26px); background-color: #9ca3af; }
.s2 { transform: rotateY(60deg) translateZ(26px); background-color: #6b7280; }
.s3 { transform: rotateY(120deg) translateZ(26px); background-color: #4b5563; }
.s4 { transform: rotateY(180deg) translateZ(26px); background-color: #1f2937; }
.s5 { transform: rotateY(240deg) translateZ(26px); background-color: #374151; }
.s6 { transform: rotateY(300deg) translateZ(26px); background-color: #6b7280; }

/* 3D Mounting Block that attaches panel to axis */
.mount-bracket {
  position: absolute;
  top: 50%; left: 50%;
  width: 70px; height: 20px; /* Wider than pole to cap it perfectly */
  transform-style: preserve-3d;
  /* Lifted up by 22px so its lowest tilted corner perfectly touches the Y=0 top of the pole! */
  transform: translate(-50%, calc(-50% - 22px)) rotateX(68deg) rotateZ(-12deg);
}

.b-face {
  position: absolute;
  border: 1px solid #111827;
  /* Iron texture */
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.1) 0px, rgba(0,0,0,0.1) 2px, transparent 2px, transparent 4px);
  background-blend-mode: overlay;
}

.b-front  { width: 70px; height: 20px; transform: translateZ(35px); background-color: #4b5563; }
.b-back   { width: 70px; height: 20px; transform: rotateY(180deg) translateZ(35px); background-color: #1f2937; }
.b-left   { width: 70px; height: 20px; transform: rotateY(-90deg) translateZ(35px); background-color: #374151; }
.b-right  { width: 70px; height: 20px; transform: rotateY(90deg) translateZ(35px); background-color: #4b5563; }
.b-top    { width: 70px; height: 70px; transform: rotateX(90deg) translateZ(10px); background-color: #6b7280; }
.b-bottom { width: 70px; height: 70px; transform: rotateX(-90deg) translateZ(10px); background-color: #111827; }

.panel-wrap {
  position: absolute;
  bottom: 15px; /* Exactly centers the 350px panel on the top of the 190px stand */
  left: 50%;
  width: 600px;
  height: 350px;
  transform-style: preserve-3d;
  transform: translateX(-50%);
  transform-origin: center center;
  animation: rotatePanel 12s linear infinite;
}

/* Real 3D Box for the Panel */
.panel-3d-box {
  position: absolute;
  top: -22px; /* Shifts the rotation center up by 22px to perfectly match the mount-bracket */
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  /* Rests perfectly on top of the 20px thick bracket (10px half bracket + 8px half panel) */
  transform: rotateX(68deg) rotateZ(-12deg) translateZ(18px); 
}

.face {
  position: absolute;
  box-sizing: border-box;
  background: #374151; /* Aluminum frame color for edges */
}

/* 600x350 box with 16px thickness */
.face.front {
  width: 600px; height: 350px;
  transform: translateZ(8px);
  background: #060e1a;
  border-radius: 4px;
  overflow: hidden;
}

.panel-cells {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px;
  height: 100%;
  background: #d1d5db; /* Silver grid lines visible between cells */
}

.cell-row {
  display: flex;
  gap: 3px;
  flex: 1;
}

.cell {
  flex: 1;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

/* Authentic silver busbars on cells */
.cell::after {
  content: '';
  position: absolute;
  top: 0; left: 25%;
  width: 1px; height: 100%;
  background: rgba(255,255,255,0.4);
  box-shadow: 
    20px 0 0 rgba(255,255,255,0.4), 
    40px 0 0 rgba(255,255,255,0.4),
    60px 0 0 rgba(255,255,255,0.4);
}

.glass-reflection {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Sun reflection matching the photo's sun position */
  background: radial-gradient(circle at 80% 20%, rgba(255, 179, 25, 0.4) 0%, rgba(255, 179, 25, 0.1) 30%, transparent 60%);
  pointer-events: none;
}

.face.back {
  width: 600px; height: 350px;
  transform: rotateY(180deg) translateZ(8px);
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border: 4px solid #4b5563;
  border-radius: 4px;
}

.face.left {
  width: 16px; height: 350px;
  left: -8px; top: 0;
  transform: rotateY(-90deg);
  background: #6b7280;
}

.face.right {
  width: 16px; height: 350px;
  left: 592px; top: 0;
  transform: rotateY(90deg);
  background: #9ca3af;
}

.face.top {
  width: 600px; height: 16px;
  left: 0; top: -8px;
  transform: rotateX(90deg);
  background: #9ca3af;
}

.face.bottom {
  width: 600px; height: 16px;
  left: 0; top: 342px;
  transform: rotateX(-90deg);
  background: #4b5563;
}

@keyframes rotatePanel {
  0% { transform: translateX(-50%) rotateY(0deg); }
  100% { transform: translateX(-50%) rotateY(360deg); }
}

.drag-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

/* Side Cards */
.side-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  grid-column: 3;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateX(-10px);
  border-color: var(--glass-border-highlight);
  background: var(--bg-card-hover);
}

.fc-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,179,25,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card b {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-card small {
  color: var(--text-muted);
  font-size: 13px;
}

/* Stats Bar */
.stats-bar {
  max-width: 1400px;
  margin: 0 auto;
  width: 90%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  padding: 40px;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.05);
}

.stat strong {
  display: block;
  font-size: 28px;
  margin-bottom: 4px;
}

.stat p {
  color: var(--text-muted);
  font-size: 14px;
}

.stat-divider {
  width: 1px;
  background: var(--glass-border);
}

/* Common Section */
.section {
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-alt {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
  max-width: 100%;
}

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

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cat-card:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.15);
}

.cat-card.featured {
  border-color: var(--glass-border-highlight);
  background: linear-gradient(180deg, rgba(255,179,25,0.05) 0%, rgba(11,18,32,0.8) 100%);
}

.cat-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: #000;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
}

.cat-icon {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.cat-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.cat-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
  min-height: 80px;
}

.cat-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
}

.cat-tag {
  color: var(--text-muted);
  font-size: 14px;
  background: rgba(255,255,255,0.05);
  padding: 4px 10px;
  border-radius: 6px;
}

.cat-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: gap 0.3s;
}

.cat-card:hover .cat-btn {
  gap: 12px;
}

/* Services / Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.tl-step {
  position: relative;
  padding: 30px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.tl-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  margin-bottom: 16px;
  line-height: 1;
}

.tl-step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}

.tl-step p {
  color: var(--text-muted);
  font-size: 14px;
}

.tl-line {
  position: absolute;
  top: 50px;
  right: -30px;
  width: 40px;
  height: 2px;
  background: dashed 2px var(--glass-border);
}

/* Projects Banner */
.project-section {
  padding: 60px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.project-card {
  background: linear-gradient(90deg, rgba(11,18,32,0.95) 0%, rgba(11,18,32,0.7) 100%), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1600&q=80') center/cover;
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.project-text {
  max-width: 600px;
}

.project-text h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.project-text p {
  color: #cbd5e1;
  font-size: 18px;
  margin-bottom: 32px;
}

.play-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.play-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
  transform: scale(1.1);
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 60px;
}

.contact-info h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 40px;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cf-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
}

.cf-item svg {
  background: rgba(52, 211, 153, 0.1);
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

.contact-form {
  background: rgba(0,0,0,0.2);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input, .form-group select {
  width: 100%;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group select option {
  background: var(--bg-dark);
  color: white;
}

/* Footer */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 5%;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.05);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
}

.modal-box h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--primary);
}

.modal-box p {
  color: var(--text-muted);
}

/* Animations */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotatePanel {
  0% { transform: translateX(-50%) rotateY(0deg); }
  100% { transform: translateX(-50%) rotateY(360deg); }
}

@keyframes sweepShine {
  0%, 100% { transform: translateX(-100%) translateY(-100%); }
  50% { transform: translateX(100%) translateY(100%); }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: floatUp 8s linear infinite;
  opacity: 0;
}

.p1 { left: 20%; top: 80%; animation-delay: 0s; }
.p2 { left: 40%; top: 70%; animation-delay: 2s; }
.p3 { left: 60%; top: 90%; animation-delay: 4s; }
.p4 { left: 80%; top: 60%; animation-delay: 1s; }
.p5 { left: 30%; top: 50%; animation-delay: 3s; }
.p6 { left: 70%; top: 40%; animation-delay: 5s; }

@keyframes floatUp {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.5; }
  100% { transform: translateY(-200px) scale(1.5); opacity: 0; }
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .eyebrow { justify-content: center; }
  .social-proof { justify-content: center; }
  .side-cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .feature-card { width: calc(50% - 10px); }
  .stats-bar { flex-wrap: wrap; gap: 30px; justify-content: center; }
  .stat-divider { display: none; }
}

@media (max-width: 992px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 40px; }
  .tl-line { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .project-card { flex-direction: column; text-align: center; gap: 40px; padding: 60px 30px; }
}

@media (max-width: 768px) {
  nav, .nav-phone { display: none; }
  .burger { display: flex; }
  .category-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .feature-card { width: 100%; }
  
  .hero-3d { transform: scale(0.7); height: 400px; }
  .hero-left h1 { font-size: 36px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  
  .stats-bar { flex-direction: column; align-items: flex-start; }
}