/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - MARKTECH SOLUTIONS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #070913;
  --bg-card: rgba(15, 22, 42, 0.6);
  --bg-glass: rgba(15, 23, 42, 0.4);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 240, 255, 0.4);
  
  --primary-rgb: 0, 240, 255;      /* Cyan */
  --secondary-rgb: 139, 92, 246;  /* Violet */
  --accent-rgb: 236, 72, 153;     /* Pink */

  --primary: rgb(var(--primary-rgb));
  --secondary: rgb(var(--secondary-rgb));
  --accent: rgb(var(--accent-rgb));
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --grad-glow: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--secondary-rgb), 0.15) 100%);
  --grad-card: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.7) 100%);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(var(--secondary-rgb), 0.3);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--primary-rgb), 0.6);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   UTILITY CLASSES & GRID SYSTEM
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

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

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

@media (max-width: 991px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 80px 0;
  }
}

@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 10px 30px -10px rgba(var(--primary-rgb), 0.15);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--secondary-rgb), 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(var(--primary-rgb), 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* Glow Decorations */
.glow-spot {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
}

.preloader-logo span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.preloader-bar {
  width: 150px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.preloader-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--grad-primary);
  animation: preloader-loading 1.8s ease-in-out infinite;
}

@keyframes preloader-loading {
  0% { width: 0; left: 0; }
  50% { width: 100%; left: 0; }
  100% { width: 0; left: 100%; }
}

/* ==========================================================================
   NAVBAR (HEADER)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(7, 9, 19, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 240, 255, 0.25));
}

.nav-logo span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* Mobile Menu Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  margin-bottom: 5px;
  transition: var(--transition-fast);
}

.hamburger span:last-child {
  margin-bottom: 0;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #090d1a;
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 100px 40px 40px 40px;
    gap: 24px;
    transition: var(--transition-smooth);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-cta {
    display: none; /* simple mobile design */
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(var(--primary-rgb), 0.12);
  top: -100px;
  right: -50px;
  animation: float-shape 20s infinite alternate;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: rgba(var(--secondary-rgb), 0.1);
  bottom: -150px;
  left: -100px;
  animation: float-shape 25s infinite alternate-reverse;
}

@keyframes float-shape {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 30px) scale(1.1); }
}

/* Floating symbols container */
.hero-symbols {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.floating-symbol {
  position: absolute;
  color: rgba(var(--primary-rgb), 0.12);
  font-size: 24px;
  pointer-events: none;
  user-select: none;
  animation: float-around 15s infinite ease-in-out;
}

.sym-1 { top: 15%; left: 8%; font-size: 22px; animation-duration: 18s; }
.sym-2 { top: 25%; right: 12%; font-size: 28px; animation-delay: 2s; animation-duration: 22s; color: rgba(var(--secondary-rgb), 0.12); }
.sym-3 { bottom: 20%; left: 15%; font-size: 24px; animation-delay: 4s; animation-duration: 16s; }
.sym-4 { bottom: 35%; right: 20%; font-size: 20px; animation-delay: 1s; animation-duration: 20s; color: rgba(var(--accent-rgb), 0.08); }
.sym-5 { top: 45%; left: 35%; font-size: 24px; animation-delay: 3s; animation-duration: 25s; }
.sym-6 { top: 70%; right: 35%; font-size: 26px; animation-delay: 5s; animation-duration: 18s; }

@keyframes float-around {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.2; }
  50% { transform: translateY(-40px) translateX(20px) rotate(180deg); opacity: 0.6; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-highlight {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-highlight::after {
  content: '|';
  color: var(--primary);
  animation: cursor-blink 0.8s infinite;
  margin-left: 2px;
  -webkit-text-fill-color: var(--primary);
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 36px;
}

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

.hero-image-side {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-visual {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 50px rgba(0, 240, 255, 0.12);
  animation: float-visual 6s ease-in-out infinite;
}

@keyframes float-visual {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

@media (max-width: 991px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 60px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-image-side {
    order: 2;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 70%;
  }
}

@media (max-width: 767px) {
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-visual {
    max-width: 90%;
  }
}

/* ==========================================================================
   INFINITE MARQUEE STRIP
   ========================================================================== */
.marquee-strip {
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-track {
  display: inline-flex;
  gap: 50px;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.marquee-track i {
  color: var(--primary);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-img-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 380px;
}

.about-img-card {
  position: absolute;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.card-main {
  width: 85%;
  height: 85%;
  top: 0;
  left: 0;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-main svg {
  width: 150px;
  height: 150px;
  fill: #fff;
  opacity: 0.95;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

.card-secondary {
  width: 50%;
  height: 50%;
  bottom: 0;
  right: 0;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(var(--primary-rgb), 0.3);
}

.card-secondary i {
  font-size: 40px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: float-icon 4s ease-in-out infinite;
}

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

.about-floating-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.badge-top {
  top: 15%;
  right: -5%;
}

.badge-bottom {
  bottom: 15%;
  left: -5%;
}

.about-floating-badge i {
  color: var(--primary);
  font-size: 16px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
}

.pillar h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

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

/* ==========================================================================
   SERVICES SECTION (TABBED SYSTEM)
   ========================================================================== */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-btn i {
  font-size: 14px;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(var(--secondary-rgb), 0.3);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

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

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.service-detail-text h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
}

.service-detail-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  margin-bottom: 32px;
}

.service-features li {
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
}

.service-features li i {
  color: var(--primary);
  font-size: 16px;
}

.service-actions {
  display: flex;
  gap: 16px;
}

.service-detail-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-mini-card {
  padding: 24px;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.service-mini-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  transform: translateX(5px);
  background: rgba(30, 41, 59, 0.6);
}

.smc-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.smc-icon.cyan { background: rgba(0, 240, 255, 0.1); color: #00f0ff; border: 1px solid rgba(0, 240, 255, 0.2); }
.smc-icon.purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.2); }
.smc-icon.pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; border: 1px solid rgba(236, 72, 153, 0.2); }

.service-mini-card h5 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-mini-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   INTERACTIVE PORTAL (SECURITY SCANNER SIMULATION)
   ========================================================================== */
.portals-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1222 50%, var(--bg-dark) 100%);
}

.portal-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 991px) {
  .portal-grid-layout {
    grid-template-columns: 1fr;
  }
}

.scanner-panel {
  padding: 30px;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 15px 40px -10px rgba(var(--primary-rgb), 0.1);
  position: relative;
  overflow: hidden;
}

.scanner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.scanner-dots {
  display: flex;
  gap: 6px;
}

.scanner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.scanner-dot.red { background: #ef4444; }
.scanner-dot.yellow { background: #eab308; }
.scanner-dot.green { background: #22c55e; }

.scanner-title-mock {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scanner-body {
  position: relative;
}

.scan-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.scan-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
}

.scan-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.2);
}

.btn-scan {
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 14px;
}

.btn-scan:hover {
  background: #fff;
  box-shadow: 0 0 15px var(--primary);
}

.scanner-console {
  background: #04060d;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 16px;
  height: 180px;
  overflow-y: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #38bdf8;
  line-height: 1.5;
}

.console-line {
  margin-bottom: 6px;
  word-break: break-all;
}

.console-line.success { color: #4ade80; }
.console-line.warn { color: #facc15; }
.console-line.danger { color: #f87171; }

.scanning-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 10px var(--primary);
  display: none;
  animation: scan-line-anim 2s linear infinite;
  z-index: 5;
}

@keyframes scan-line-anim {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

/* ==========================================================================
   IMPACT & STATS COUNTER
   ========================================================================== */
.impact-section {
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.stat-card {
  text-align: center;
  padding: 30px;
  position: relative;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 1px;
  background: var(--border-glass);
}

.stat-card:last-child::after {
  display: none;
}

@media (max-width: 767px) {
  .stat-card::after {
    display: none;
  }
}

.stat-icon {
  font-size: 32px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--text-main);
}

.stat-title {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

.contact-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: rgba(var(--secondary-rgb), 0.1);
  border: 1px solid rgba(var(--secondary-rgb), 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 20px;
}

.contact-details h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

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

.contact-form-panel {
  padding: 40px;
  border-color: rgba(var(--secondary-rgb), 0.15);
}

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

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

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 14px 18px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 12px rgba(var(--secondary-rgb), 0.2);
  background: rgba(255, 255, 255, 0.04);
}

textarea.form-input {
  height: 120px;
  resize: none;
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  display: none;
  font-weight: 500;
}

.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #04060d;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px 0;
  font-size: 14px;
  color: var(--text-dark);
}

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

@media (max-width: 767px) {
  .footer-top {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.footer-desc {
  max-width: 350px;
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 13px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

.footer-menu {
  display: flex;
  gap: 24px;
}

.footer-menu-link:hover {
  color: var(--text-main);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   EXTRA MOBILE RESPONSIVENESS (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .about-img-stack {
    height: 280px;
  }
  .badge-top {
    right: 0;
    top: 5%;
    font-size: 11px;
    padding: 8px 14px;
  }
  .badge-bottom {
    left: 0;
    bottom: 5%;
    font-size: 11px;
    padding: 8px 14px;
  }
  .scanner-panel {
    padding: 20px 15px;
  }
  .contact-form-panel {
    padding: 20px;
  }
  .section-title {
    font-size: 26px;
  }
  .scan-input-group {
    flex-direction: column;
    gap: 10px;
  }
  .btn-scan {
    width: 100%;
  }
  .footer-menu {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}
