/* ==========================================================================
   AXTED CYBERPUNK HIGH-TECH HUD DESIGN SYSTEM
   Brand: AXTED / GENERAL AXTED
   Theme: High-Tech Cyberpunk Glitch & Neon HUD (Crisp & Smooth Edition)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&family=Orbitron:wght@500;700;900&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Cyberpunk Palette */
  --cyber-cyan: #00f3ff;
  --cyber-cyan-glow: rgba(0, 243, 255, 0.4);
  --cyber-cyan-light: rgba(0, 243, 255, 0.12);
  
  --cyber-pink: #ff0055;
  --cyber-pink-glow: rgba(255, 0, 85, 0.4);
  --cyber-pink-light: rgba(255, 0, 85, 0.12);
  
  --cyber-purple: #9d00ff;
  --cyber-yellow: #ffe600;
  --cyber-green: #00ff66;
  
  /* Solid Sharp Dark Theme */
  --bg-color: #04060a;
  --card-bg: #0c1220;
  --card-border: rgba(0, 243, 255, 0.35);
  --card-hover-border: var(--cyber-cyan);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-heading: #ffffff;
  --pill-bg: #0f1628;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.7);
  --shadow-md: 0 0 20px rgba(0, 243, 255, 0.2);
  --shadow-lg: 0 0 35px rgba(255, 0, 85, 0.25);
  
  --font-cyber: 'Orbitron', sans-serif;
  --font-code: 'Fira Code', monospace;
  --font-main: 'Outfit', sans-serif;
}

/* Light Cyberpunk Theme Overrides */
[data-theme="light"] {
  --cyber-cyan: #0077ff;
  --cyber-cyan-glow: rgba(0, 119, 255, 0.3);
  --cyber-pink: #e6005c;
  --cyber-pink-glow: rgba(230, 0, 92, 0.3);
  
  --bg-color: #eef2f7;
  --card-bg: #ffffff;
  --card-border: rgba(0, 119, 255, 0.35);
  --card-hover-border: var(--cyber-cyan);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-heading: #070a12;
  --pill-bg: #f8fafc;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 0 20px rgba(0, 119, 255, 0.15);
}

[data-theme="light"] body {
  background: 
    radial-gradient(circle at 50% 0%, rgba(0, 119, 255, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(230, 0, 92, 0.08) 0%, transparent 60%),
    linear-gradient(rgba(0, 119, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 119, 255, 0.04) 1px, transparent 1px),
    #eef2f7;
}

[data-theme="light"] .ecg-header-bar,
[data-theme="light"] .sticky-contact-bar,
[data-theme="light"] .modal-content {
  background: #ffffff;
  border-color: rgba(0, 119, 255, 0.3);
}

[data-theme="light"] .brand-title {
  color: #070a12;
  text-shadow: 0 0 10px rgba(0, 119, 255, 0.3);
}

[data-theme="light"] .btn-title {
  color: #070a12;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(0, 119, 255, 0.4);
}

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

html {
  font-family: var(--font-main);
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-main);
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  background: 
    radial-gradient(circle at 50% 0%, rgba(0, 243, 255, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(255, 0, 85, 0.06) 0%, transparent 60%),
    linear-gradient(rgba(0, 243, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 243, 255, 0.02) 1px, transparent 1px),
    #04060a;
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  animation: grid-shift 45s linear infinite;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}

@keyframes grid-shift {
  0% { background-position: 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 0 0, 0 0, 0 40px, 40px 0; }
}

/* Animated Subtle Cyber Canvas Background */
#cyberCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
}

/* Floating Subtle Ambient Neon Orbs */
.cyber-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  animation: orb-float 20s ease-in-out infinite alternate;
}

.cyber-orb-1 {
  width: 300px;
  height: 300px;
  background: var(--cyber-cyan);
  top: -50px;
  left: -50px;
}

.cyber-orb-2 {
  width: 350px;
  height: 350px;
  background: var(--cyber-pink);
  bottom: 10%;
  right: -80px;
  animation-delay: -6s;
}

.cyber-orb-3 {
  width: 250px;
  height: 250px;
  background: var(--cyber-purple);
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -12s;
}

@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.1); }
  100% { transform: translate(-25px, 20px) scale(0.95); }
}

/* Cyber CRT Scanlines Effect Overlay (Subtle) */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.2) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 999;
  opacity: 0.12;
}

/* Container limits for Taplink Mobile Layout */
.app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  background-color: transparent;
  padding: 16px 16px 100px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

/* Cyber Header HUD Bar */
.ecg-header-bar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 52px;
  z-index: 100;
  background: #080d1a;
  border-bottom: 1.5px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  margin: -16px -16px 0 -16px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.top-bar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 243, 255, 0.12);
  border: 1.5px solid rgba(0, 243, 255, 0.5);
  padding: 5px 12px;
  border-radius: 4px;
  font-family: var(--font-code);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyber-cyan);
  letter-spacing: 0.5px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cyber-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyber-cyan);
  animation: cyber-pulse 2s infinite ease-in-out;
}

@keyframes cyber-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.mrt-service-pill {
  font-family: var(--font-code);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyber-pink);
  background: rgba(255, 0, 85, 0.12);
  border: 1.5px solid rgba(255, 0, 85, 0.5);
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.theme-toggle-btn {
  background: rgba(0, 243, 255, 0.15);
  border: 1.5px solid var(--cyber-cyan);
  color: var(--cyber-cyan);
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
  background: var(--cyber-cyan);
  color: #000;
  box-shadow: 0 0 15px var(--cyber-cyan);
}

/* Animated Cyber Data Signal Waveform (Calm Speed) */
.cyber-wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  pointer-events: none;
}

.cyber-wave-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: cyber-signal-scan 6s linear infinite;
  filter: drop-shadow(0 0 6px var(--cyber-cyan));
}

@keyframes cyber-signal-scan {
  0% { stroke-dashoffset: 600; }
  100% { stroke-dashoffset: 0; }
}

/* Cyber Hero Profile Section */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px;
  gap: 14px;
}

/* Holographic Cyber Logo Frame */
.brand-logo-box {
  width: 115px;
  height: 115px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  padding: 4px;
  background: linear-gradient(135deg, var(--cyber-cyan), var(--cyber-pink), var(--cyber-purple));
  box-shadow: 0 0 25px var(--cyber-cyan-glow);
  animation: float-logo 7s ease-in-out infinite;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

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

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  background: #080b12;
}

/* Glitch Title Animation (Gentle Cyber Glitch) */
.brand-title {
  font-family: var(--font-cyber);
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 15px var(--cyber-cyan);
  margin-top: 4px;
}

.brand-title span {
  color: var(--cyber-cyan);
}

.mrt-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 243, 255, 0.1);
  border: 1.5px solid var(--cyber-cyan);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-code);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyber-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
  animation: badge-pulse 5s infinite alternate;
}

@keyframes badge-pulse {
  0% { border-color: var(--cyber-cyan); box-shadow: 0 0 10px rgba(0, 243, 255, 0.2); }
  100% { border-color: var(--cyber-pink); box-shadow: 0 0 18px rgba(255, 0, 85, 0.35); }
}

/* Action Buttons List */
.action-buttons-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: 8px;
}

/* Crisp Sharp Cyber Button */
.tap-button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  color: var(--text-main);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

/* Holographic Glitch Sweep Effect on Hover */
.tap-button::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(0, 243, 255, 0.15), 
    rgba(255, 0, 85, 0.15),
    transparent
  );
  transition: left 0.6s ease-in-out;
}

.tap-button:hover::before {
  left: 100%;
}

.tap-button:hover {
  transform: translateY(-3px);
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 25px var(--cyber-cyan-glow);
  background: #111a2e;
}

.tap-button-featured {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.18) 0%, rgba(255, 0, 85, 0.18) 100%), #0c1220;
  border: 2px solid var(--cyber-cyan);
  box-shadow: 0 0 20px var(--cyber-cyan-glow);
  animation: featured-glow 5s infinite alternate;
}

@keyframes featured-glow {
  0% { box-shadow: 0 0 15px var(--cyber-cyan-glow); border-color: var(--cyber-cyan); }
  100% { box-shadow: 0 0 25px var(--cyber-pink-glow); border-color: var(--cyber-pink); }
}

.btn-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-right: 14px;
  flex-shrink: 0;
  background: rgba(0, 243, 255, 0.15);
  color: var(--cyber-cyan);
  border: 1.5px solid rgba(0, 243, 255, 0.4);
  transition: transform 0.25s ease;
}

.tap-button:hover .btn-icon-wrapper {
  transform: scale(1.1);
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.btn-title {
  font-family: var(--font-cyber);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
}

.tap-button:hover .btn-title {
  color: var(--cyber-cyan);
}

.btn-subtitle {
  font-family: var(--font-code);
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 500;
}

.arrow-icon {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.tap-button:hover .arrow-icon {
  transform: translateX(5px);
  color: var(--cyber-cyan);
}

/* Social Footer Grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.25s ease;
  gap: 8px;
}

.social-icon {
  font-size: 1.5rem;
  transition: transform 0.25s ease;
}

.social-name {
  font-family: var(--font-code);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.social-link:hover {
  transform: translateY(-3px);
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 20px var(--cyber-cyan-glow);
  background: #111a2e;
}

.social-link:hover .social-icon {
  transform: scale(1.2);
}

.social-link.telegram { color: #0088cc; }
.social-link.instagram { color: #e1306c; }
.social-link.github { color: #00ff66; }
.social-link.youtube { color: #ff0000; }
.social-link.website { color: #ffe600; }

/* Sticky Bottom Cyber Dock Bar */
.sticky-contact-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 16px;
  background: #080d1a;
  border-top: 1.5px solid var(--card-border);
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.9);
  z-index: 90;
  display: flex;
  gap: 12px;
}

.sticky-btn {
  flex: 1;
  padding: 13px;
  border-radius: 8px;
  font-family: var(--font-cyber);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.sticky-btn-call {
  background: rgba(0, 243, 255, 0.15);
  color: var(--cyber-cyan);
  border: 1.5px solid var(--cyber-cyan);
}

.sticky-btn-call:hover {
  background: var(--cyber-cyan);
  color: #000;
  box-shadow: 0 0 25px var(--cyber-cyan);
}

.sticky-btn-tg {
  background: linear-gradient(135deg, var(--cyber-pink), var(--cyber-purple));
  color: #ffffff;
  box-shadow: 0 0 20px var(--cyber-pink-glow);
}

.sticky-btn-tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--cyber-pink-glow);
}

/* Modals System */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 6, 10, 0.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 100%;
  max-width: 420px;
  background: #0b101d;
  border: 2px solid var(--cyber-cyan);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  padding: 26px;
  box-shadow: 0 0 40px var(--cyber-cyan-glow);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(0, 243, 255, 0.3);
}

.modal-title {
  font-family: var(--font-cyber);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cyber-cyan);
  letter-spacing: 1px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--cyber-pink);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--cyber-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input, .form-select {
  width: 100%;
  padding: 13px;
  background: #111827;
  border: 1.5px solid rgba(0, 243, 255, 0.4);
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--font-code);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 15px var(--cyber-cyan-glow);
}

.submit-booking-btn {
  width: 100%;
  padding: 15px;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--cyber-cyan), var(--cyber-purple));
  border: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  color: #ffffff;
  font-family: var(--font-cyber);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 0 20px var(--cyber-cyan-glow);
  transition: all 0.25s ease;
}

.submit-booking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--cyber-cyan-glow);
  background: linear-gradient(135deg, var(--cyber-pink), var(--cyber-purple));
}

/* App Footer */
.app-footer {
  text-align: center;
  padding-top: 18px;
  font-family: var(--font-code);
  font-size: 0.74rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 243, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-footer span {
  color: var(--cyber-cyan);
  font-weight: 700;
}
