/* ============================================
   CodeMechanix - Main Styles
   Industrial Mechanical Theme
   ============================================ */

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors - Dark Industrial */
  --primary-dark: #0a0e14;
  --primary-medium: #12171e;
  --primary-light: #1a2028;

  /* Accent Colors - Industrial Orange */
  --accent-primary: #ff8a3d;
  --accent-secondary: #ff8a3d;
  --accent-tertiary: #ef4444;
  --accent-glow: rgba(255, 138, 61, 0.3);
  --accent-glow-strong: rgba(255, 138, 61, 0.6);

  /* Metallic Accents */
  --metal-silver: #9ca3af;
  --metal-dark: #4b5563;
  --metal-shine: #d1d5db;

  /* Success & Status Colors */
  --success-green: #10b981;
  --warning-amber: #ff8a3d;
  --alert-red: #ef4444;

  /* Gradient Accents */
  --gradient-brand: linear-gradient(135deg, #ff8a3d, #ff8a3d);
  --gradient-metal: linear-gradient(180deg, #4b5563, #1a2028);
  --gradient-power: linear-gradient(135deg, #ff8a3d, #ef4444);
  --gradient-dark: linear-gradient(180deg, #0a0e14, #12171e);

  /* Text Colors */
  --text-white: #ffffff;
  --text-light: #e5e7eb;
  --text-muted: #9ca3af;
  --text-accent: #ff8a3d;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   Base Styles & Reset
   ============================================ */

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

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

body {
  font-family: "Manrope", sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
}

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

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

/* ============================================
   Container & Layout
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

/* ============================================
   Typography
   ============================================ */

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: #ffffff;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  font-weight: 500;
}

.section-header {
  margin-bottom: var(--spacing-lg);
}

.section-header-compact {
  margin-bottom: var(--spacing-md);
}

.section-header-compact .section-title {
  margin-bottom: 0.5rem;
}

.section-header-compact .section-subtitle {
  margin-bottom: var(--spacing-md);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-medium);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--text-white);
  border-color: transparent;
}

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

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border-color: var(--accent-primary);
}

.btn-secondary:hover {
  background: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.btn-outline:hover {
  background: var(--accent-primary);
  color: var(--text-white);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

.btn-block {
  width: 100%;
  display: block;
}

/* ============================================
   Navigation Bar
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 20, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: background var(--transition-medium);
}

.navbar.scrolled {
  background: rgba(10, 14, 20, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 2rem;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.logo-icon {
  width: 140px;
  height: 140px;
}

.logo-text {
  display: none;
}

.company-tagline {
  font-family: "Manrope", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-left: 0;
  border-left: none;
}

.company-badge {
  display: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.language-selector {
  position: absolute;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.green-tech-icon {
  width: 140px;
  height: 140px;
  margin: -30px 0;
}

.nav-link {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-primary);
  background: rgba(255, 138, 61, 0.1);
}

.nav-cta {
  background: var(--gradient-brand);
  color: var(--text-white);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--accent-glow);
}

/* Translate Section */
.translate-section {
  display: flex;
  align-items: center;
}

.translate-label {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--accent-primary);
  border-radius: 2px;
  transition: all var(--transition-medium);
}

/* Language Selector */
.language-selector {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--metal-dark);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-flag-only {
  font-size: 0.9rem;
  line-height: 1;
}

.lang-toggle:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(255, 138, 61, 0.1);
}

.lang-toggle svg:first-child {
  width: 20px;
  height: 20px;
}

.dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.lang-toggle.active .dropdown-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: rgba(26, 32, 40, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--metal-dark);
  border-radius: var(--radius-sm);
  list-style: none;
  padding: 0.5rem 0;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-option:hover {
  background: rgba(255, 138, 61, 0.15);
  color: var(--accent-primary);
}

.lang-option.active {
  background: rgba(255, 138, 61, 0.2);
  color: var(--accent-primary);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.blueprint-grid {
  background-image:
    linear-gradient(rgba(75, 85, 99, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 85, 99, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.connection-lines {
  opacity: 0.4;
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100vh - 160px);
}

.hero-logo {
  margin-top: 0;
  margin-bottom: 0.25rem;
  display: flex;
  justify-content: center;
}

.hero-logo-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px var(--accent-glow);
}

.hero-tagline {
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hero-company {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 138, 61, 0.1);
  border-left: 3px solid var(--accent-primary);
  display: inline-block;
  border-radius: var(--radius-sm);
}

.hero-company-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-images {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.hero-tech-image {
  max-width: 45%;
  width: 45%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-cta .btn {
  min-width: 240px;
}

.hero-green-tech-mobile {
  display: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: -8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-indicator:hover {
  transform: translateX(-50%) scale(1.2);
}

.scroll-indicator:hover .scroll-chevron path {
  stroke: #ff8a3d;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
}

.scroll-chevron {
  opacity: 0.6;
  animation: chevron-fade 2s infinite;
  transition: all 0.3s ease;
}

.scroll-chevron path {
  transition: all 0.3s ease;
}

.scroll-chevron-delayed {
  margin-top: -12px;
  animation: chevron-fade 2s infinite 0.3s;
}

@keyframes chevron-fade {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(5px);
  }
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid var(--accent-primary);
  border-radius: 20px;
  position: relative;
  display: none;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: scroll-bounce 2s infinite;
}

/* ============================================
   Problem & Solution Section
   ============================================ */

.problem-solution {
  background: var(--primary-medium);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-card {
  background: rgba(26, 32, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(75, 85, 99, 0.5);
  transition: transform var(--transition-medium);
}

.comparison-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.problem-card::before {
  background: #ff8a3d;
}

.solution-card::before {
  background: var(--gradient-brand);
}

.comparison-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  min-height: 140px;
}

.card-icon img,
.card-icon svg {
  max-width: 140px;
  max-height: 140px;
}

.card-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-white);
}

.feature-list {
  list-style: none;
  font-size: 1.125rem;
}

.feature-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0.5rem;
  color: #ff8a3d;
  font-size: 1.2rem;
  font-weight: bold;
}

.feature-list.success li::before {
  content: none;
}

.feature-list.success li {
  padding-left: 0;
}

.arrow-icon {
  color: #ff8a3d;
  font-weight: bold;
  margin-right: 0.5rem;
}

.arrow-icon.orange {
  color: #ff8a3d;
}

/* ============================================
   AutoNeura Product Showcase
   ============================================ */

.autoneura-hero {
  background: var(--primary-dark);
  position: relative;
}

.autoneura-visual {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}

.machinery-network {
  max-width: 100%;
  height: auto;
}

.autoneura-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.product-tagline {
  font-size: 2rem;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.product-motto {
  font-size: 1.5rem;
  color: var(--accent-primary);
  font-style: normal;
  margin-bottom: 2rem;
  font-weight: 600;
}

.product-description {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.product-benefits {
  list-style: none;
  margin-bottom: 3rem;
  text-align: left;
  display: inline-block;
}

.product-benefits li {
  font-size: 1.125rem;
  color: var(--text-light);
  padding: 0.75rem 0;
  position: relative;
  display: flex;
  align-items: center;
}

.product-benefits li .arrow-icon {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.product-benefits li::before {
  content: none;
}

.product-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Features Section
   ============================================ */

.features {
  background: var(--primary-medium);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(26, 32, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(75, 85, 99, 0.5);
  position: relative;
  transition: all var(--transition-medium);
  text-align: center;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: rgba(255, 138, 61, 0.1);
  transition: all var(--transition-medium);
}

.feature-card:hover .feature-icon {
  background: rgba(255, 138, 61, 0.2);
  transform: scale(1.1);
}

.hex-icon {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.feature-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Technical Specs Section
   ============================================ */

.technical-specs {
  background: var(--primary-dark);
}

.tech-visual {
  margin-bottom: 4rem;
}

.control-room-mockup {
  background: var(--primary-light);
  border: 2px solid var(--metal-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  max-width: 1400px;
  margin: 1.5rem auto;
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.monitor {
  background: var(--primary-dark);
  border: 2px solid var(--metal-dark);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.monitor-header {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.monitor-screen {
  background: var(--primary-medium);
  height: 160px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  position: relative;
  overflow: hidden;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(75, 85, 99, 0.03) 0px,
    rgba(75, 85, 99, 0.03) 2px,
    transparent 2px,
    transparent 4px
  );
}

.monitor-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
}

.monitor-screen::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 138, 61, 0.1),
    transparent
  );
  animation: scan 8s ease-in-out infinite;
}

.monitor-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hud-line {
  position: absolute;
  background: rgba(255, 138, 61, 0.4);
}

.hud-top {
  top: 8px;
  left: 8px;
  right: 8px;
  height: 1px;
}

.hud-bottom {
  bottom: 8px;
  left: 8px;
  right: 8px;
  height: 1px;
}

.hud-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 138, 61, 0.5);
}

.hud-tl {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}

.hud-tr {
  top: 8px;
  right: 8px;
  border-left: none;
  border-bottom: none;
}

.hud-bl {
  bottom: 8px;
  left: 8px;
  border-right: none;
  border-top: none;
}

.hud-br {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
}

.telemetry {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.telemetry-label {
  color: var(--metal-silver);
  font-weight: 500;
}

.telemetry-value {
  color: var(--accent-secondary);
  font-weight: 600;
}

.status-indicator {
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.status-online {
  background: rgba(57, 255, 20, 0.2);
  color: #39ff14;
  border: 1px solid #39ff14;
}

.status-auto {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning-amber);
  border: 1px solid var(--warning-amber);
}

/* ============================================
   Tech Features - Bento Box Asymmetric Design
   ============================================ */

.tech-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

/* Card positioning - 8 cards tight layout */
.bento-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
} /* Large - AI (2x2) */
.bento-card:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
} /* Small - Modular */
.bento-card:nth-child(3) {
  grid-column: 4;
  grid-row: 1;
} /* Small - Realtime */
.bento-card:nth-child(4) {
  grid-column: 3 / 5;
  grid-row: 2;
} /* Medium - Platform */
.bento-card:nth-child(5) {
  grid-column: 1 / 3;
  grid-row: 3;
} /* Wide - Latency */
.bento-card:nth-child(6) {
  grid-column: 3;
  grid-row: 3;
} /* Small - Security */
.bento-card:nth-child(7) {
  grid-column: 4;
  grid-row: 3;
} /* Small - Interface */
.bento-card:nth-child(8) {
  grid-column: 1 / 5;
  grid-row: 4;
} /* Full-width - API */

.bento-card {
  background: rgba(20, 25, 32, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(75, 85, 99, 0.3);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(255, 138, 61, 0.08) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 61, 0.4);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 138, 61, 0.1);
}

/* Number label */
.bento-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 138, 61, 0.4);
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.05em;
}

/* Card variants */
.bento-large {
  padding: 2.5rem;
}

.bento-large .bento-icon {
  margin-bottom: 1.5rem;
}

.bento-large .bento-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.bento-small {
  padding: 1.5rem;
  min-height: 140px;
}

.bento-medium {
  padding: 1.75rem;
}

.bento-wide {
  padding: 1.5rem 2rem;
}

.bento-tall {
  padding: 1.5rem;
  min-height: 140px;
}

/* Accent card - blue background */
.bento-accent {
  background: linear-gradient(135deg, #ff8a3d 0%, #ef4444 100%);
  border: none;
}

.bento-accent .bento-title {
  color: #fff;
}

.bento-accent .bento-number {
  color: rgba(255, 255, 255, 0.5);
}

.bento-accent:hover {
  box-shadow: 0 20px 50px rgba(255, 138, 61, 0.4);
}

/* Dark card variant */
.bento-dark {
  background: linear-gradient(
    180deg,
    rgba(10, 12, 16, 0.95) 0%,
    rgba(20, 25, 32, 0.95) 100%
  );
  border: 1px solid rgba(255, 138, 61, 0.2);
}

/* Gradient card */
.bento-gradient {
  background: linear-gradient(
    135deg,
    rgba(255, 138, 61, 0.15) 0%,
    rgba(245, 158, 11, 0.1) 50%,
    rgba(20, 25, 32, 0.95) 100%
  );
}

/* Outline card */
.bento-outline {
  background: transparent;
  border: 2px dashed rgba(255, 138, 61, 0.3);
}

.bento-outline:hover {
  border-style: solid;
  border-color: rgba(255, 138, 61, 0.6);
  background: rgba(255, 138, 61, 0.05);
}

/* Primary featured card */
.bento-primary {
  background: linear-gradient(
    145deg,
    rgba(30, 38, 48, 0.95) 0%,
    rgba(20, 25, 32, 0.98) 100%
  );
  border: 1px solid rgba(255, 138, 61, 0.3);
}

.bento-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff8a3d, #ff8a3d);
}

/* Content elements */
.bento-icon {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.bento-title {
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 600;
  line-height: 1.4;
  display: block;
  position: relative;
  z-index: 1;
}

.bento-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 400;
}

.bento-content-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bento-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bento-stat {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff8a3d;
  font-family: "Manrope", sans-serif;
}

.bento-badge {
  display: inline-block;
  background: rgba(255, 138, 61, 0.15);
  border: 1px solid rgba(255, 138, 61, 0.3);
  color: #ff8a3d;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  margin-top: auto;
  width: fit-content;
  font-family: "Manrope", sans-serif;
}

/* Responsive */
@media (max-width: 1024px) {
  .tech-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(120px, auto);
  }

  .bento-card:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .bento-card:nth-child(2) {
    grid-column: 1;
    grid-row: auto;
  }
  .bento-card:nth-child(3) {
    grid-column: 2;
    grid-row: auto;
  }
  .bento-card:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .bento-card:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .bento-card:nth-child(6) {
    grid-column: 1;
    grid-row: auto;
  }
  .bento-card:nth-child(7) {
    grid-column: 2;
    grid-row: auto;
  }
  .bento-card:nth-child(8) {
    grid-column: 1 / 3;
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .tech-bento {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .bento-card,
  .bento-card:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
    min-height: auto;
  }

  .bento-large {
    padding: 1.75rem;
  }

  .bento-content-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ============================================
   Sectors Section
   ============================================ */

.sectors {
  background: var(--primary-medium);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.sector-card {
  background: rgba(26, 32, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(75, 85, 99, 0.5);
  text-align: center;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.sector-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform var(--transition-medium);
}

.sector-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.sector-card:hover::before {
  transform: scaleX(1);
}

.sector-icon {
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform var(--transition-medium);
}

.sector-card:hover .sector-icon {
  transform: scale(1.1) rotate(5deg);
}

.sector-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.sector-description {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
  background: var(--primary-dark);
}

.process-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  font-family: "Manrope", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-primary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.step-icon {
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  background: var(--primary-medium);
  border: 2px solid var(--metal-dark);
  border-radius: 50%;
  transition: all var(--transition-medium);
}

.process-step:hover .step-icon {
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: scale(1.1);
}

.step-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.step-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-connector {
  flex: 0 0 100px;
  position: relative;
  height: 2px;
}

.connector-line {
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0.5;
}

.data-packet {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow:
    0 0 10px var(--accent-primary),
    0 0 20px rgba(255, 138, 61, 0.3);
}

/* Sequential packet animations */
.data-packet.packet-1 {
  animation: packet-flow 3s ease-in-out infinite;
}

.data-packet.packet-2 {
  animation: packet-flow 3s ease-in-out infinite 1s;
}

.data-packet.packet-3 {
  animation: packet-flow 3s ease-in-out infinite 2s;
}

/* ============================================
   Statistics Section
   ============================================ */

.statistics {
  background: var(--primary-medium);
  background-image:
    linear-gradient(rgba(75, 85, 99, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 85, 99, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(26, 32, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(75, 85, 99, 0.5);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.stat-number {
  font-family: "Manrope", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
  display: inline-block;
}

.stat-suffix {
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-secondary);
  display: inline-block;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-white);
  margin-top: 1rem;
  font-weight: 500;
}

/* ============================================
   Support Section - Network Layout
   ============================================ */

.support {
  background: var(--primary-dark);
  overflow: hidden;
}

.support .section-title {
  margin-bottom: 1rem;
}

.support-content {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  min-height: 600px;
}

.support-intro {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.support-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1000px;
  z-index: 1;
  pointer-events: none;
}

.support-diagram {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 0 auto;
  display: block;
  opacity: 0.5;
}

.support-line {
  animation: pulse-line 3s ease-in-out infinite;
}

@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.support-cards-network {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
  z-index: 2;
}

.support-card {
  background: rgba(26, 32, 40, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  border: 1px solid rgba(75, 85, 99, 0.5);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.support-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.support-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 40px rgba(255, 138, 61, 0.25);
}

.support-card:hover::before {
  opacity: 1;
}

/* Corner positions - all in 2 rows */
.support-top-left {
  grid-column: 1;
  grid-row: 1;
}

.support-top-right {
  grid-column: 3;
  grid-row: 1;
}

.support-center {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 2.5rem 2rem;
  z-index: 2;
  align-self: center;
}

.support-bottom-left {
  grid-column: 1;
  grid-row: 2;
}

.support-bottom-right {
  grid-column: 3;
  grid-row: 2;
}

.support-card-featured {
  background: linear-gradient(
    135deg,
    rgba(255, 138, 61, 0.15),
    rgba(245, 158, 11, 0.1)
  );
  border-color: rgba(255, 138, 61, 0.4);
}

.support-card-featured::before {
  opacity: 1;
}

.support-card-featured:hover {
  box-shadow: 0 25px 50px rgba(255, 138, 61, 0.35);
  transform: translateY(-10px) scale(1.05);
}

.support-card-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 138, 61, 0.1),
    rgba(245, 158, 11, 0.05)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 138, 61, 0.2);
  transition: all 0.3s ease;
  flex-shrink: 0;
  overflow: visible;
}

.support-card-icon svg {
  flex-shrink: 0;
  display: block;
  overflow: visible;
}

.support-center .support-card-icon {
  width: 110px;
  height: 110px;
  min-width: 110px;
  min-height: 110px;
  margin-bottom: 2rem;
}

.support-card:hover .support-card-icon {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 24px rgba(255, 138, 61, 0.2);
  transform: scale(1.1) rotate(5deg);
}

.support-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.support-center .support-card-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.support-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.support-center .support-card-desc {
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .support-cards-network {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 1.5rem;
  }

  .support-top-left {
    grid-column: 1;
    grid-row: 1;
  }

  .support-top-right {
    grid-column: 2;
    grid-row: 1;
  }

  .support-center {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .support-bottom-left {
    grid-column: 1;
    grid-row: 3;
  }

  .support-bottom-right {
    grid-column: 2;
    grid-row: 3;
  }

  .support-diagram {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .support-cards-network {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
  }

  .support-top-left,
  .support-top-right,
  .support-center,
  .support-bottom-left,
  .support-bottom-right {
    grid-column: 1;
    grid-row: auto;
  }

  .support-card {
    padding: 1.5rem 1rem;
  }

  .support-center {
    padding: 2rem 1.5rem;
  }

  .support-card-icon {
    width: 64px;
    height: 64px;
  }

  .support-center .support-card-icon {
    width: 80px;
    height: 80px;
  }

  .support-card-title {
    font-size: 1rem;
  }

  .support-center .support-card-title {
    font-size: 1.15rem;
  }

  .support-card-desc {
    font-size: 0.85rem;
  }

  .support-visual {
    display: none;
  }

  .support-intro {
    font-size: 1rem;
  }
}

/* ============================================
   About Section
   ============================================ */

.about {
  background: var(--primary-medium);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-logo {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.about-logo-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.footer-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.about-description {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.divider {
  width: 100px;
  height: 3px;
  background: var(--gradient-brand);
  margin: 3rem auto;
  border-radius: 2px;
}

.codeminer-section {
  background: rgba(26, 32, 40, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: var(--radius-md);
  border: none;
}

.codeminer-logo {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.codeminer-logo img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.codeminer-text {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.codeminer-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ============================================
   CTA Banner
   ============================================ */

.cta-banner {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  padding: var(--spacing-xl) 0;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.cta-description {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
  background: var(--primary-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-title {
  color: var(--accent-primary);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--accent-primary);
  background-clip: unset;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  height: 300px;
  position: relative;
  margin-bottom: 2rem;
}

.map-container iframe,
#leaflet-map {
  width: 100%;
  height: 100%;
  display: block;
}

/* Leaflet Custom Styles */
.leaflet-container {
  background: #1a1a1a;
  font-family: var(--font-manrope);
}

.leaflet-popup-content-wrapper {
  background: rgba(20, 20, 20, 0.95);
  color: #fff;
  border-radius: 8px;
}

.leaflet-popup-tip {
  background: rgba(20, 20, 20, 0.95);
}

/* Custom Marker Styles */
.custom-marker {
  background: transparent !important;
  border: none !important;
}

.leaflet-marker-icon {
  background: transparent !important;
  border: none !important;
}

.marker-pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: #ff8a3d;
  position: absolute;
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin: -15px 0 0 -15px;
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.marker-pin::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.marker-dot {
  display: none;
}

/* Map Directions Button */
.map-directions-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #ff8a3d;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.map-directions-btn:hover {
  background: #ff7420;
  transform: translateY(-2px);
}

.map-directions-btn svg {
  width: 16px;
  height: 16px;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #ff8a3d;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 138, 61, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: #ff7420;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 138, 61, 0.6);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

/* Map Touch Overlay (Mobile) */
.map-touch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.map-touch-overlay span {
  background: #ff8a3d;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
}

@media (hover: none) and (pointer: coarse) {
  .map-touch-overlay {
    display: flex;
  }

  .map-touch-overlay.dismissed {
    opacity: 0;
    pointer-events: none;
  }
}

.contact-form-wrapper,
.contact-info-wrapper {
  background: rgba(26, 32, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(75, 85, 99, 0.5);
}

.form-title,
.info-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--accent-primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  background: var(--primary-dark);
  border: 1px solid var(--metal-dark);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  margin: 0.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--accent-primary);
}

.checkbox-label span {
  flex: 1;
  text-transform: none;
  letter-spacing: normal;
}

.checkbox-label a {
  color: var(--accent-primary);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--accent-secondary);
}

.info-block {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--metal-dark);
}

.info-block:last-child {
  border-bottom: none;
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

.info-content p,
.info-content a {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.info-content a:hover {
  color: var(--accent-primary);
}

.team-member {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(75, 85, 99, 0.3);
}

.team-member:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0.5rem;
}

.team-name {
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.team-phone {
  color: var(--accent-primary);
  font-weight: 500;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--primary-medium);
  border-top: 1px solid var(--metal-dark);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

/* Top Row - Brand Section */
.footer-top-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo-img {
  width: 120px;
  height: 120px;
}

.footer-company {
  font-family: "Manrope", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
}

.footer-tagline {
  font-size: 1rem;
  color: var(--text-white);
  font-weight: 500;
  margin: 0;
}

.codeminer-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
}

.codeminer-badge span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Divider */
.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--metal-dark),
    var(--accent-primary),
    var(--metal-dark),
    transparent
  );
  margin-bottom: 2.5rem;
}

/* Links Row */
.footer-links-row {
  display: flex;
  justify-content: center;
  gap: 10rem;
  margin-bottom: 2.5rem;
}

.footer-col {
  text-align: center;
}

.footer-heading {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

.footer-col-company {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-col-company .footer-heading {
  text-align: center;
}

.footer-col-company .footer-links {
  align-items: center;
}

/* Bottom Section */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--metal-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-contact {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.footer-contact a {
  color: var(--accent-primary);
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-social a {
  color: var(--text-muted);
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  transform: scale(1.1);
}

.footer-social a[href*="linkedin"]:hover {
  color: #0077b5;
}

.footer-social a[href*="instagram"]:hover {
  color: #e4405f;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-top-row {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================
   Utility Classes
   ============================================ */

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

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

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

.metal-surface {
  background: linear-gradient(135deg, #1a2028 0%, #2d3748 50%, #1a2028 100%);
  border: 1px solid var(--metal-dark);
}

.glow-blue {
  box-shadow:
    0 0 10px var(--accent-glow),
    0 0 20px rgba(255, 138, 61, 0.2),
    0 0 30px rgba(255, 138, 61, 0.1);
}

/* ===================================
   CONTACT FORM VALIDATION & TOAST NOTIFICATIONS
   =================================== */

/* Validation Icons */
.validation-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-group.valid .validation-icon::before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  font-size: 18px;
}

.form-group.invalid .validation-icon::before {
  content: "✕";
  color: #dc3545;
  font-weight: bold;
  font-size: 18px;
}

.form-group.valid .validation-icon,
.form-group.invalid .validation-icon {
  opacity: 1;
}

.form-group.valid input,
.form-group.valid textarea,
.form-group.valid select {
  border-color: #28a745;
}

.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
  border-color: #dc3545;
  background-color: #fff5f5;
}

/* Error Messages */
.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Checkbox validation */
.form-group.checkbox-group.invalid .checkbox-label {
  color: #dc3545;
}

.form-group.checkbox-group.invalid {
  border-left: 3px solid #dc3545;
  padding-left: 10px;
  background-color: rgba(220, 53, 69, 0.05);
  border-radius: 4px;
}

/* Character Counter */
.char-counter {
  text-align: right;
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

/* Input Wrapper for Validation Icons */
.input-wrapper {
  position: relative;
  display: flex;
  width: 100%;
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
  width: 100%;
  padding-right: 40px;
}

/* Honeypot (Hidden Anti-Spam Field) */
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Button Loading State */
.btn-primary.loading {
  pointer-events: none;
}

.btn-primary.loading .button-text {
  opacity: 0;
}

.button-loader {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-primary.loading .button-loader {
  display: block;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.toast {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slideIn 0.3s ease;
  border-left: 4px solid #4a90e2;
}

.toast.toast-success {
  border-left-color: #28a745;
}

.toast.toast-error {
  border-left-color: #dc3545;
}

.toast.toast-info {
  border-left-color: #4a90e2;
}

.toast.removing {
  animation: slideOut 0.3s ease forwards;
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 14px;
}

.toast-success .toast-icon {
  background: #28a745;
  color: white;
}

.toast-error .toast-icon {
  background: #dc3545;
  color: white;
}

.toast-info .toast-icon {
  background: #4a90e2;
  color: white;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: #1a1a1a;
}

.toast-message {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 20px;
  height: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.toast-close:hover {
  color: #333;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Toast Responsive */
@media (max-width: 768px) {
  #toast-container {
    left: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
  }
}
