/* ═══════════════════════════════════════════════════════════════════
   SOFTAR — Ultra-modern SF Presentation Website
   Brand Colors: #f3f3f3 #1c3340 #233b48 #2a4450 #324d58
   ═══════════════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --bg-primary: #0a1a24;
  --bg-secondary: #1c3340;
  --bg-tertiary: #233b48;
  --bg-card: #2a4450;
  --bg-card-hover: #324d58;
  --text-primary: #f3f3f3;
  --text-secondary: #a8c4d4;
  --text-muted: #6a8fa5;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.15);
  --accent-glow: rgba(0, 212, 255, 0.4);
  --accent-secondary: #00ffaa;
  --glass-bg: rgba(28, 51, 64, 0.65);
  --glass-border: rgba(0, 212, 255, 0.12);
  --card-border: rgba(0, 212, 255, 0.08);
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
  --nav-height: 72px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* ─── Selection ─── */
::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition-med), box-shadow var(--transition-med);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--glass-border), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.navbar-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--accent-glow));
  transition: filter var(--transition-fast);
}

.navbar-logo:hover .navbar-logo-img {
  filter: drop-shadow(0 0 16px var(--accent-glow));
}

.navbar-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-med);
  box-shadow: 0 0 8px var(--accent-glow);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  height: 32px;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-dim);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.lang-toggle:hover {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 16px var(--accent-glow);
}

.lang-chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  width: 100%;
  padding: 8px 16px;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-option:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

.lang-option.active {
  color: var(--accent);
  background: var(--accent-dim);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-med);
}

.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO — SF HUD Interface
   ═══════════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0, 255, 170, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 30%, var(--bg-secondary) 0%, var(--bg-primary) 70%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cyber-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes gridMove {
  0% { transform: perspective(500px) rotateX(45deg) translateY(0); }
  100% { transform: perspective(500px) rotateX(45deg) translateY(60px); }
}

/* Scanlines Overlay */
.hero-scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

/* ─── HUD Frame (corner brackets) ─── */
.hud-frame {
  position: absolute;
  inset: 24px;
  z-index: 4;
  pointer-events: none;
}

.hud-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  opacity: 0.5;
}

.hud-tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud-tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud-bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud-br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* ─── HUD Sidebars ─── */
.hud-sidebar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  pointer-events: none;
}

.hud-left { left: 32px; align-items: flex-start; }
.hud-right { right: 32px; align-items: flex-end; text-align: right; }

.hud-data-line {
  display: flex;
  gap: 8px;
  align-items: center;
  opacity: 0.5;
}

.hud-label {
  color: var(--text-muted);
  font-weight: 600;
}

.hud-value {
  color: var(--accent);
}

.hud-blink {
  animation: hudBlink 2s step-end infinite;
}

@keyframes hudBlink {
  0%, 70% { opacity: 1; }
  71%, 80% { opacity: 0; }
  81%, 100% { opacity: 1; }
}

.hud-pulse-text {
  animation: hudPulseText 1.5s ease-in-out infinite;
}

@keyframes hudPulseText {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hud-vert-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0.2;
  margin-top: 6px;
}

/* HUD Mini Bar */
.hud-bar {
  display: inline-flex;
  gap: 1px;
  align-items: flex-end;
  height: 10px;
}

.hud-bar-fill {
  width: 40px;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  border-radius: 1px;
  animation: hudBarPulse 3s ease-in-out infinite;
}

@keyframes hudBarPulse {
  0%, 100% { width: 30px; }
  50% { width: 50px; }
}

/* ─── Hero Content ─── */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 860px;
}

/* Status Line */
.hero-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-secondary);
  padding: 6px 20px;
  border: 1px solid rgba(0, 255, 170, 0.2);
  border-radius: 20px;
  background: rgba(0, 255, 170, 0.05);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 8px var(--accent-secondary);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent-secondary); }
  50% { opacity: 0.5; box-shadow: 0 0 16px var(--accent-secondary); }
}

/* Title */
.hero-title {
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: 12px;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 50%, var(--accent-secondary) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGradient 6s ease-in-out infinite;
  text-shadow: none;
}

@keyframes titleGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Typed tagline */
.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  letter-spacing: 1px;
  min-height: 2em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tagline-bracket {
  color: var(--accent);
  font-weight: 300;
  font-size: 1.2em;
  opacity: 0.6;
}

.typed-cursor {
  color: var(--accent);
  font-weight: 400;
  animation: cursorBlink 0.8s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Description */
.hero-description {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
  opacity: 0.85;
}

/* Industries */
.hero-industries {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}

.industry-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.industry-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  padding: 5px 16px;
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 3px;
  background: rgba(0, 212, 255, 0.04);
  transition: all var(--transition-fast);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.industry-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.08), transparent);
  transition: left 0.4s ease;
}

.industry-tag:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-dim);
  transform: translateY(-2px);
}

.industry-tag:hover::before {
  left: 100%;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

/* CTA Buttons */
.cta-button {
  position: relative;
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  overflow: hidden;
  transition: all var(--transition-med);
  cursor: pointer;
  font-family: var(--font-mono);
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cta-button:hover {
  box-shadow: 0 0 30px var(--accent-glow), 0 4px 20px rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.cta-button:hover::before {
  transform: translateX(100%);
}

.cta-outline {
  background: transparent;
  color: var(--accent);
}

.cta-outline:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ─── Bottom HUD Bar ─── */
.hud-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 212, 255, 0.06);
  background: linear-gradient(180deg, transparent, rgba(10, 26, 36, 0.6));
}

.hud-bottom-segment {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
}

.hud-ticker {
  color: var(--accent);
  overflow: hidden;
  white-space: nowrap;
  max-width: 180px;
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--accent);
  opacity: 0.5;
}

.scroll-chevron {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* HUD Signal Wave */
.hud-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.hud-wave span {
  display: block;
  width: 2px;
  background: var(--accent);
  border-radius: 1px;
  animation: waveBar 1.2s ease-in-out infinite;
}

.hud-wave span:nth-child(1) { height: 4px; animation-delay: 0s; }
.hud-wave span:nth-child(2) { height: 8px; animation-delay: 0.1s; }
.hud-wave span:nth-child(3) { height: 12px; animation-delay: 0.2s; }
.hud-wave span:nth-child(4) { height: 6px; animation-delay: 0.3s; }
.hud-wave span:nth-child(5) { height: 10px; animation-delay: 0.4s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS — SHARED
   ═══════════════════════════════════════════════════════════════════ */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  margin: 0 auto;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════════ */
.services-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 40px 28px;
  background: linear-gradient(135deg, rgba(42, 68, 80, 0.4), rgba(28, 51, 64, 0.3));
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-med);
  cursor: default;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 24px var(--accent-dim);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--accent-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-med);
  pointer-events: none;
}

.service-card:hover .card-glow {
  opacity: 1;
}

.card-scan-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.04), transparent);
  transition: none;
  pointer-events: none;
}

.service-card:hover .card-scan-line {
  animation: scanLine 0.8s ease-out forwards;
}

@keyframes scanLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 20px;
  transition: all var(--transition-med);
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

.service-card:hover .card-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════════ */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-block {
  padding: 24px;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-dim), transparent);
  border-radius: 0 8px 8px 0;
  transition: all var(--transition-med);
}

.about-block:hover {
  border-left-color: var(--accent-secondary);
  background: linear-gradient(90deg, rgba(0, 255, 170, 0.08), transparent);
}

.about-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.about-block p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  position: relative;
  padding: 32px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(42, 68, 80, 0.5), rgba(28, 51, 64, 0.3));
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: all var(--transition-med);
  overflow: hidden;
}

.stat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-dim);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-dim), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  display: inline;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-mono);
  position: relative;
  z-index: 1;
}

.stat-suffix {
  display: inline;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
  position: relative;
  z-index: 1;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

/* Circuit Lines */
.circuit-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
  opacity: 0.12;
}

.circuit-svg {
  width: 100%;
  height: 100%;
}

.circuit-path {
  stroke: var(--accent);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: circuitDraw 6s ease-in-out infinite;
}

.circuit-path-2 {
  animation-delay: 3s;
}

.circuit-dot {
  fill: var(--accent);
  animation: circuitPulse 3s ease-in-out infinite;
}

@keyframes circuitDraw {
  0% { stroke-dashoffset: 1200; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1200; }
}

@keyframes circuitPulse {
  0%, 100% { opacity: 0.3; r: 3; }
  50% { opacity: 1; r: 5; }
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════ */
.faq-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(135deg, rgba(42, 68, 80, 0.2), rgba(28, 51, 64, 0.15));
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition-med);
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-dim);
}

.faq-question {
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background: rgba(0, 212, 255, 0.05);
}

.faq-question h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--accent);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 28px 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════ */
.contact-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.contact-wrapper {
  background: linear-gradient(135deg, rgba(42, 68, 80, 0.15), rgba(28, 51, 64, 0.1));
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  max-width: 800px;
  width: 100%;
}

.contact-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--accent-dim), transparent, transparent);
  opacity: 0.1;
  animation: rotateGradient 20s linear infinite;
  pointer-events: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(42, 68, 80, 0.4), rgba(28, 51, 64, 0.3));
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.contact-info-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-dim);
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--accent);
  filter: drop-shadow(0 0 4px var(--accent-glow));
}

.contact-info-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 2px;
  font-family: var(--font-mono);
}

.contact-info-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
}

.contact-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

.contact-link:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}

.contact-link:hover::after {
  width: 100%;
}

.contact-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.contact-cta-btn {
  min-width: 160px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* WhatsApp button icon */
.contact-cta-btn[href*="wa.me"]::before {
  content: '💬';
  font-size: 1.1em;
}

/* Email button icon */
.contact-cta-btn[href*="mailto"]::before {
  content: '✉️';
  font-size: 1em;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 16px 0;
  font-size: 1rem;
  font-family: var(--font-main);
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--bg-card);
  outline: none;
  transition: border-color var(--transition-med);
}

.form-input:focus {
  border-bottom-color: var(--accent);
}

.form-label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all var(--transition-med);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-input:valid ~ .form-label {
  top: -8px;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 1px;
}

/* We use required + valid to detect filled inputs since no placeholder is set */
.form-input:focus ~ .form-label {
  top: -8px;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 1px;
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-med);
  box-shadow: 0 0 8px var(--accent-glow);
}

.form-input:focus ~ .form-line {
  transform: scaleX(1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  align-self: flex-start;
}

.form-success {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-secondary);
  padding: 12px 0;
  animation: fadeInUp 0.5s ease;
}

.form-success.show {
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: 32px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
}

.footer-name {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--text-secondary);
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  background: rgba(0, 0, 0, 0.2);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 12px var(--accent-dim);
  transform: translateY(-2px);
  background: rgba(0, 212, 255, 0.05);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent);
}

.footer-separator {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.back-to-top {
  width: 40px;
  height: 40px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 12px var(--accent-dim);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════
   CURSOR TRAIL (desktop only)
   ═══════════════════════════════════════════════════════════════════ */
.cursor-trail {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, var(--accent-glow), transparent);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
  mix-blend-mode: screen;
}

.cursor-trail.visible {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .hud-sidebar { display: none; }
  .hud-frame { inset: 16px; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    justify-content: center;
  }

  .contact-content {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 26, 36, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-med);
  }

  .navbar-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 12px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .section-container {
    padding: 80px 20px;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    text-align: center;
  }

  .cursor-trail {
    display: none !important;
  }

  /* Hero mobile adjustments */
  .hud-sidebar { display: none; }
  .hud-frame { display: none; }
  .hud-bottom-segment { display: none; }
  .hero-content { padding: 0 16px; gap: 16px; }
  .hero-description { font-size: 0.85rem; }
  .hero-status { font-size: 0.55rem; letter-spacing: 1.5px; }
  .cta-button { padding: 12px 24px; font-size: 0.75rem; }
  .industry-tag { font-size: 0.6rem; padding: 4px 10px; }

  /* Contact mobile adjustments */
  .contact-wrapper {
    padding: 32px 24px;
    margin: 0 20px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .contact-cta {
    flex-direction: column;
    gap: 12px;
  }

  .contact-cta-btn {
    width: 100%;
    min-width: unset;
  }

  .contact-title {
    font-size: 1.4rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  /* FAQ mobile adjustments */
  .faq-content {
    padding: 0 16px;
  }

  .faq-question {
    padding: 20px 20px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }

  /* Footer mobile adjustments */
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    order: -1;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero-title {
    letter-spacing: 4px;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .industry-tags { gap: 6px; }
  .industry-tag { font-size: 0.6rem; padding: 3px 10px; }
}

/* ═══════════════════════════════════════════════════════════════════
   BLOG STYLES
   ═══════════════════════════════════════════════════════════════════ */

/* Blog Hero */
.blog-hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 20px 0 10px;
  text-align: center;
}

.blog-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 4px;
  font-weight: 700;
}

.blog-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Grid */
.blog-section {
  padding: 0 0 80px;
  background: var(--bg-primary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-post {
  background: linear-gradient(135deg, rgba(42, 68, 80, 0.2), rgba(28, 51, 64, 0.15));
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-med);
  height: fit-content;
}

.blog-post:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-dim);
  transform: translateY(-4px);
}

.post-image {
  height: 200px;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent-glow));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-category {
  background: var(--accent);
  color: var(--bg-primary);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-content {
  padding: 28px;
}

.post-title {
  margin-bottom: 16px;
}

.post-title a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.post-title a:hover {
  color: var(--accent);
}

.post-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.post-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Article Styles */
.blog-article {
  background: var(--bg-primary);
  padding-top: 100px;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--card-border);
}

.article-category {
  background: var(--accent);
  color: var(--bg-primary);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 20px;
}

.article-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.article-meta {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  flex-wrap: wrap;
}

.article-content {
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-lead {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 400;
}

.article-content h2 {
  color: var(--text-primary);
  font-size: 1.8rem;
  margin: 48px 0 20px;
  font-weight: 600;
}

.article-content h3 {
  color: var(--text-primary);
  font-size: 1.4rem;
  margin: 32px 0 16px;
  font-weight: 500;
}

.article-content h4 {
  color: var(--accent);
  font-size: 1.1rem;
  margin: 24px 0 12px;
  font-weight: 600;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin: 20px 0;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.article-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-cta {
  background: linear-gradient(135deg, rgba(42, 68, 80, 0.3), rgba(28, 51, 64, 0.2));
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 32px;
  margin: 48px 0;
  text-align: center;
}

.article-cta p {
  margin-bottom: 24px;
  font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .blog-hero {
    padding: 15px 0 8px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }
  
  .post-content {
    padding: 20px;
  }
  
  .article-container {
    padding: 0 16px;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .article-content h2 {
    font-size: 1.5rem;
  }
  
  .article-cta {
    padding: 24px 20px;
  }
}
