/* ==============================================================
   CYBER AGENCY MAIN STYLESHEET (MOBILE-FIRST DESIGN)
   ============================================================== */

/* --- Navigation Header --- */
.cyber-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.85rem 0;
  transition: var(--transition-base);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cyber-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
}

.logo-symbol {
  width: 40px;
  height: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  box-shadow: 0 0 16px var(--accent-dim);
  font-size: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

.logo-symbol::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--accent-dim), transparent 70%);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-cyber);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.logo-text span {
  color: var(--accent-color);
  text-shadow: 0 0 12px var(--accent-glow);
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-family: monospace;
  direction: ltr;
  text-align: right;
  letter-spacing: 0.5px;
}

.nav-links {
  display: none; /* hidden on mobile, shown on desktop */
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-color);
  box-shadow: 0 0 8px var(--accent-color);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==============================================================
   FUTURISTIC NEON PLASMA THEME SWITCHER (MOBILE-FIRST)
   ============================================================== */

/* Theme Trigger Button */
.theme-picker-btn {
  background: var(--bg-surface);
  border: 1px solid var(--accent-border);
  color: var(--accent-color);
  height: 42px;
  padding: 0 0.85rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  box-shadow: 0 0 14px var(--accent-dim);
}

.theme-picker-btn:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-1px);
}

.theme-trigger-orb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
  animation: pulseGlow 2s infinite ease-in-out;
}

.theme-trigger-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  display: none; /* hidden on small mobile, shown on larger */
}
@media (min-width: 480px) {
  .theme-trigger-label { display: inline; }
}

/* Theme Picker Dropdown Wrapper */
.theme-picker-wrapper {
  position: relative;
}

/* Backdrop: completely disabled to prevent screen darkening */
.theme-palette-backdrop {
  display: none !important;
}

/* Theme Modal Dropdown (Clean, floating menu under the button with ZERO screen darkening) */
.theme-palette-modal {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: auto;
  bottom: auto;
  width: 330px;
  max-width: calc(100vw - 24px);
  background: rgba(13, 18, 31, 0.98);
  border: 1px solid var(--accent-border);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.9), 0 0 25px var(--accent-dim);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  z-index: 1000;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.theme-palette-modal.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 480px) {
  .theme-palette-modal {
    width: 295px;
    padding: 1rem;
    left: -10px;
  }
}

/* Header inside palette modal */
.palette-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.palette-brand-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.palette-hex-badge {
  font-family: var(--font-cyber);
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  background: var(--accent-dim);
  color: var(--accent-color);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
}

.palette-close-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.palette-close-btn:hover {
  color: #fff;
  border-color: var(--accent-border);
}

/* Modern Plasma Energy Orbs (Replaces old square swatches) */
.plasma-orbs-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 420px) {
  .plasma-orbs-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plasma-capsule {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: var(--transition-base);
  user-select: none;
  position: relative;
  overflow: hidden;
}

.plasma-capsule:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-glass);
  transform: translateY(-2px);
}

.plasma-capsule.active {
  background: var(--accent-dim);
  border-color: var(--accent-color);
  box-shadow: 0 0 16px var(--accent-dim);
}

.plasma-orb-core {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px currentColor;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.plasma-capsule.active .plasma-orb-core::after {
  content: '✓';
  color: #000;
  font-size: 14px;
  font-weight: 900;
  text-shadow: 0 0 2px #fff;
}

.plasma-meta {
  display: flex;
  flex-direction: column;
  text-align: right;
  overflow: hidden;
}

.plasma-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.plasma-role {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-family: monospace;
}

/* Custom Color Station (Card Row) */
.custom-color-station {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.custom-station-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.custom-spectrum-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ff0000, #ff8000, #ffff00, #00ff00, #00ffff, #0000ff, #8000ff, #ff0080, #ff0000);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.custom-color-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-color-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid var(--accent-border);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: var(--transition-fast);
}

.custom-color-input:hover {
  transform: scale(1.08);
  border-color: var(--accent-color);
}

.custom-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}
.custom-color-input::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
}



/* --- Mobile Bottom Nav Bar (App-like UX) --- */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(10, 14, 24, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0.25rem;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 500;
  gap: 0.25rem;
  transition: var(--transition-fast);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.bottom-nav-item:hover, .bottom-nav-item.active {
  color: var(--accent-color);
}

.bottom-nav-item.active svg {
  filter: drop-shadow(0 0 6px var(--accent-color));
}

.bottom-nav-cta {
  background: var(--accent-color);
  color: var(--text-inverse) !important;
  border-radius: var(--radius-md);
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  box-shadow: 0 0 15px var(--accent-glow);
  transform: translateY(-4px);
}

.bottom-nav-cta svg {
  stroke: var(--text-inverse);
}

/* --- Mobile Menu Drawer --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--accent-border);
  z-index: 250;
  padding: 1.5rem;
  box-shadow: -10px 0 30px rgba(0,0,0,0.8);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 240;
  display: none;
}

.drawer-backdrop.open {
  display: block;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.drawer-link:hover, .drawer-link.active {
  background: var(--accent-dim);
  color: var(--accent-color);
}

/* --- Hero Section --- */
.hero-section {
  padding: 3rem 0 4rem;
  position: relative;
  text-align: center;
}

.hero-hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 20, 34, 0.85);
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 16px var(--accent-dim);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: center;
  max-width: 380px;
  margin: 0 auto 3rem;
}

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

.stat-card {
  padding: 1.25rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.stat-number {
  font-family: var(--font-cyber);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
  text-shadow: 0 0 10px var(--accent-glow);
}

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

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-tag {
  font-family: var(--font-cyber);
  font-size: 0.8rem;
  color: var(--accent-color);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px var(--accent-dim);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.service-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-main);
}

.service-feature-item svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.service-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
}

/* --- Portfolio Showcase & Cards --- */
.portfolio-filter-bar {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
}
.portfolio-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  text-decoration: none;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-color);
  color: var(--text-inverse);
  border-color: var(--accent-color);
  box-shadow: 0 0 14px var(--accent-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-image-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
  background: var(--bg-darkest);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img {
  transform: scale(1.06);
}

.project-badge-float {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tech-tag {
  font-size: 0.75rem;
  font-family: var(--font-cyber);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.project-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* --- Interactive Order Form --- */
.order-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.order-form-panel {
  padding: 1.75rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.cyber-input, .cyber-select, .cyber-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-fa);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.cyber-input:focus, .cyber-select:focus, .cyber-textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 14px var(--accent-dim);
  background: var(--bg-card-solid);
}

/* Project Type Selector Grid */
.type-tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.type-tile {
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
  padding: 1rem 0.8rem;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.type-tile input {
  display: none;
}

.type-tile svg {
  color: var(--accent-color);
  width: 28px;
  height: 28px;
}

.type-tile span {
  font-size: 0.85rem;
  font-weight: 600;
}

.type-tile:hover, .type-tile.selected {
  border-color: var(--accent-color);
  background: var(--accent-dim);
  box-shadow: 0 0 15px var(--accent-dim);
}

/* Feature Checkboxes */
.features-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.feature-check-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.feature-check-label:hover {
  border-color: var(--border-glass);
  background: var(--bg-card-solid);
}

.feature-check-label input[type="checkbox"] {
  accent-color: var(--accent-color);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Cyber Estimator Terminal Box */
.estimator-terminal {
  padding: 1.75rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 25px var(--accent-dim);
  position: sticky;
  top: 90px;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1.25rem;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.price-display-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.price-amount {
  font-family: var(--font-cyber);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-color);
  text-shadow: 0 0 15px var(--accent-glow);
}

.price-currency {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.estimator-breakdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}
.breakdown-row.total {
  padding-top: 0.6rem;
  border-top: 1px dashed var(--border-subtle);
  color: var(--text-main);
  font-weight: 700;
}

/* --- FAQ Accordion --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-fa);
  font-size: 1rem;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent-color);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.faq-item.active .faq-content {
  padding-bottom: 1.25rem;
}

/* --- Messages & Alerts --- */
.messages-container {
  margin-bottom: 1.5rem;
}

.cyber-alert {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
}

.cyber-alert-success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.cyber-alert-error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* --- Footer --- */
.cyber-footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-glass);
  padding: 3.5rem 0 5.5rem; /* extra bottom padding on mobile for bottom nav */
  margin-top: 5rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-color);
}

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

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

.footer-links a:hover {
  color: var(--accent-color);
  padding-right: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
}

/* ==============================================================
   RESPONSIVE MEDIA QUERIES (TABLET & DESKTOP)
   ============================================================== */

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-cta-group {
    flex-direction: row;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .type-tiles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .features-checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

@media (min-width: 1024px) {
  /* Show desktop navigation, hide mobile hamburger */
  .nav-links {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-bottom-nav {
    display: none; /* Hide bottom nav on desktop */
  }
  .cyber-footer {
    padding-bottom: 3.5rem; /* Reset bottom padding */
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .order-layout-grid {
    grid-template-columns: 1.8fr 1.2fr;
    align-items: start;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==============================================================
   ORDER TRACKING DEDICATED STYLES
   ============================================================== */
.track-search-box {
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.track-search-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .track-search-form {
    flex-direction: row;
  }
}

.track-result-card {
  padding: 1.75rem;
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 25px var(--accent-dim);
}

.track-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
  flex-wrap: wrap;
  gap: 1rem;
}

.track-stepper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.track-step-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 0.6rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-fast);
}

.track-step-item.step-done {
  border-color: var(--accent-color);
  background: rgba(var(--accent-rgb), 0.06);
}

.track-step-item.step-done .step-num {
  color: var(--accent-color);
  font-weight: 800;
}

.track-step-item.step-done .step-status {
  color: #10b981;
}

.track-step-item.step-active {
  border-color: var(--accent-color);
  background: var(--accent-dim);
  box-shadow: 0 0 15px var(--accent-dim);
}

.track-step-item.step-active .step-num {
  color: var(--accent-color);
  font-weight: 800;
}

.track-step-item.step-active .step-status {
  color: var(--accent-color);
  font-weight: 700;
}

.track-step-item.step-pending {
  border-color: var(--border-subtle);
  opacity: 0.65;
}

.track-step-item.step-pending .step-num {
  color: var(--text-muted);
}

.track-step-item.step-pending .step-status {
  color: var(--text-dim);
}

.step-num {
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  display: block;
}

.step-status {
  font-size: 0.72rem;
  display: block;
}

.track-details-box {
  background: var(--bg-darkest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.track-actions-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .track-actions-bar {
    flex-direction: row;
  }
}

/* Responsive Layout Utilities */
.nav-cta-btn {
  display: none;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}
@media (min-width: 768px) {
  .nav-cta-btn {
    display: inline-flex;
  }
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr 1fr;
  }
}

.success-actions-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .success-actions-row {
    flex-direction: row;
  }
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contact-layout-grid {
    grid-template-columns: 1fr 1.3fr;
  }
}


