/* ==========================================================================
   Seeking.ai - AI Vision Inspection
   Modern Dark Theme Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #1e1e35;
  --accent-cyan: #00d4ff;
  --accent-purple: #7c3aed;
  --accent-pink: #ec4899;
  --gradient-primary: linear-gradient(135deg, #00d4ff, #7c3aed);
  --gradient-hover: linear-gradient(135deg, #7c3aed, #00d4ff);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);
  --border-color: rgba(255, 255, 255, 0.08);
  --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.3);
  --glow-purple: 0 0 20px rgba(124, 58, 237, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  display: block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

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

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
  background-color: rgba(18, 18, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-color);
}

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

.nav-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  background: #fff;
  border-radius: 6px;
  padding: 4px 10px;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  position: relative;
  transition: color 0.3s ease;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-cyan);
}

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

.nav-link.active {
  color: var(--accent-cyan);
}

.nav-cta {
  background: var(--gradient-primary);
  color: var(--text-primary);
  border: none;
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow-cyan);
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.7em;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background-color: rgba(18, 18, 26, 0.96);
}

/* Invisible bridge so the hover state survives crossing the gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown-menu {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px;
  min-width: 260px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  list-style: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  line-height: 1.4;
}

.nav-dropdown-menu a:hover {
  color: var(--accent-cyan);
  background-color: rgba(0, 212, 255, 0.06);
  transform: translateX(2px);
}

.nav-dropdown-code {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
  margin-bottom: 3px;
  opacity: 0.85;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

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

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 32px;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gradient-primary);
  padding: 14px 36px;
  border-radius: 8px;
  color: var(--text-primary);
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-cyan);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 14px 36px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  background-color: rgba(0, 212, 255, 0.05);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 80px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about {
  padding: 120px 0;
}

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

.about-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s ease;
}

.feature-item:hover {
  border-color: rgba(0, 212, 255, 0.2);
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.feature-item span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* About visual with rotating gradient border */
.about-visual {
  aspect-ratio: 1;
  background-color: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--accent-cyan),
    transparent,
    var(--accent-purple),
    transparent
  );
  animation: rotateBorder 6s linear infinite;
  opacity: 0.15;
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 2px;
  background-color: var(--bg-card);
  border-radius: 14px;
  z-index: 1;
}

@keyframes rotateBorder {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.about-visual-text {
  position: relative;
  z-index: 2;
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: 4px;
  text-align: center;
  user-select: none;
}

/* Grid pattern inside about-visual */
.about-visual-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    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: 40px 40px;
  border-radius: 14px;
}

.about-visual-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.about-visual-circle--sm {
  width: 120px;
  height: 120px;
  border-color: rgba(124, 58, 237, 0.1);
  animation-delay: -3s;
}

.about-visual-dots {
  position: absolute;
  bottom: 20%;
  right: 20%;
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 8px;
  z-index: 2;
}

.about-visual-dots span {
  width: 4px;
  height: 4px;
  background: rgba(0, 212, 255, 0.3);
  border-radius: 50%;
}

.solution-visual-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  opacity: 0.6;
}

.solution-visual-inner span {
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services {
  padding: 120px 0;
}

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

.service-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border-color);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--glow-cyan);
  background-color: var(--bg-card-hover);
}

.service-card:hover::before {
  width: 100%;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--accent-cyan);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: #33dfff;
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Solutions
   -------------------------------------------------------------------------- */
.solutions {
  padding: 120px 0;
}

.solutions-showcase {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.solution-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  padding: 40px;
  background-color: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  align-items: center;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.solution-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--glow-cyan);
}

.solution-number {
  font-size: 4rem;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.5;
  line-height: 1;
  user-select: none;
}

.solution-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.solution-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.solution-features {
  list-style: none;
  padding: 0;
}

.solution-features li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 4px 0;
  position: relative;
  padding-left: 20px;
}

.solution-features li::before {
  content: '\25B8';
  color: var(--accent-cyan);
  position: absolute;
  left: 0;
}

.solution-visual {
  width: 200px;
  height: 140px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Subtle animated gradient inside solution visual */
.solution-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.05), transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(124, 58, 237, 0.05), transparent 60%);
  animation: pulseGradient 4s ease-in-out infinite alternate;
}

@keyframes pulseGradient {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* --------------------------------------------------------------------------
   News
   -------------------------------------------------------------------------- */
.news {
  padding: 120px 0;
}

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

.news-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-color);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--glow-cyan);
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
}

.news-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-link {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-link:hover {
  color: #33dfff;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  padding: 120px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

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

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

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.btn-submit {
  background: var(--gradient-primary);
  width: 100%;
  padding: 14px;
  color: var(--text-primary);
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
  transform: scale(1.02);
  box-shadow: var(--glow-cyan);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-secondary);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-logo img {
  background: #fff;
  border-radius: 6px;
  padding: 4px 10px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.social-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background-color: rgba(0, 212, 255, 0.05);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   System Solution Pages (systems.html + detail pages)
   -------------------------------------------------------------------------- */
.system-page {
  padding-top: 72px;
}

.system-hero {
  position: relative;
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.system-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.08), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(124, 58, 237, 0.08), transparent 50%);
  pointer-events: none;
}

.system-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.system-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.system-back-link:hover {
  color: var(--accent-cyan);
  transform: translateX(-4px);
}

.system-code {
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.system-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.system-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 760px;
}

.system-section {
  padding: 80px 0;
}

.system-section + .system-section {
  border-top: 1px solid var(--border-color);
}

.system-section-header {
  margin-bottom: 48px;
  max-width: 800px;
}

.system-section-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  font-weight: 500;
}

.system-section-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.system-section-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.system-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.system-block.system-block--reverse .system-block-text {
  order: 2;
}

.system-block-text h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.system-block-text p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 14px;
  font-size: 0.97rem;
}

.system-block-text p:last-child {
  margin-bottom: 0;
}

.system-block-image {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
}

.system-block-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.system-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.system-feature {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.system-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
}

.system-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--glow-cyan);
  background-color: var(--bg-card-hover);
}

.system-feature:hover::before {
  width: 100%;
}

.system-feature-num {
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.system-feature h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.system-feature p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}

.system-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 32px;
  margin-top: 8px;
}

.system-list li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding-left: 22px;
  position: relative;
  line-height: 1.7;
}

.system-list li::before {
  content: '\25B8';
  color: var(--accent-cyan);
  position: absolute;
  left: 0;
  top: 0;
}

.system-banner {
  margin-top: 32px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background-color: var(--bg-card);
}

.system-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.system-cta {
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.06), transparent 60%),
    var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.system-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.system-cta p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.system-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Systems hub page card grid */
.systems-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.system-hub-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.system-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
}

.system-hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--glow-cyan);
  background-color: var(--bg-card-hover);
}

.system-hub-card:hover::before {
  width: 100%;
}

.system-hub-card .system-code {
  margin-bottom: 12px;
}

.system-hub-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.system-hub-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
}

.system-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.system-hub-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 4px 12px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.02);
}

.system-hub-link {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.system-hub-card:hover .system-hub-link {
  color: #33dfff;
  transform: translateX(4px);
}

@media (max-width: 968px) {
  .system-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .system-block.system-block--reverse .system-block-text {
    order: 0;
  }
  .systems-hub-grid {
    grid-template-columns: 1fr;
  }
  .system-section {
    padding: 60px 0;
  }
  .system-hero {
    padding: 80px 0 60px;
  }
  .system-section-title {
    font-size: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   Scroll Animations (data-aos)
   -------------------------------------------------------------------------- */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-in"] {
  transform: none;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0, 0);
}

/* Staggered delays */
[data-aos-delay="100"] {
  transition-delay: 100ms;
}

[data-aos-delay="200"] {
  transition-delay: 200ms;
}

[data-aos-delay="300"] {
  transition-delay: 300ms;
}

[data-aos-delay="400"] {
  transition-delay: 400ms;
}

[data-aos-delay="500"] {
  transition-delay: 500ms;
}

[data-aos-delay="600"] {
  transition-delay: 600ms;
}

/* --------------------------------------------------------------------------
   Special Effects & Utility
   -------------------------------------------------------------------------- */

/* Glow keyframes for hero background particles */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
  }
}

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Selection color */
::selection {
  background-color: rgba(0, 212, 255, 0.25);
  color: var(--text-primary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Responsive - Tablet (max-width: 968px)
   -------------------------------------------------------------------------- */
@media (max-width: 968px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links .nav-link {
    font-size: 1.25rem;
  }

  .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .nav-arrow {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .nav-dropdown-menu a {
    color: var(--text-muted);
    font-size: 1rem;
    padding: 6px 14px;
  }

  .nav-dropdown-menu a:hover {
    transform: none;
  }

  .nav-dropdown-code {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .nav-cta {
    position: relative;
    z-index: 1001;
  }

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

  .about-visual {
    max-width: 400px;
    margin: 0 auto;
  }

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

  .solution-item {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .solution-number {
    font-size: 2.5rem;
  }

  .solution-visual {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .solution-features li {
    text-align: left;
  }

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

  .hero-stats {
    gap: 32px;
  }

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

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

/* --------------------------------------------------------------------------
   Responsive - Mobile (max-width: 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }

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

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

  .about-features {
    grid-template-columns: 1fr;
  }

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

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

  .about,
  .services,
  .solutions,
  .news,
  .contact {
    padding: 80px 0;
  }

  .service-card {
    padding: 28px;
  }

  .solution-item {
    padding: 28px;
  }

  .news-card {
    padding: 24px;
  }

  .container {
    padding: 0 16px;
  }
}
