/* ==========================================================================
   MR. MOBILE REPAIR SC — RETRO TECH DESIGN SYSTEM
   Authentic Retro Arcade / Cyber-OS styling with modern performance and polish.
   ========================================================================== */

:root {
  --bg-dark: #0a0e17;
  --bg-card: #121824;
  --bg-surface: #1a2234;
  --border-color: #26334d;
  --border-glow: #00f0ff;
  
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff007f;
  --neon-amber: #fbbf24;
  --neon-green: #10b981;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-retro: 'Chakra Petch', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-pixel: 'VT323', monospace;
  
  --glow-cyan: 0 0 16px rgba(0, 240, 255, 0.35);
  --glow-magenta: 0 0 16px rgba(255, 0, 127, 0.35);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile sticky bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Retro Scanlines & Grid Backdrop */
.retro-grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -2;
}

.scanline-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
}

/* Typography & Neon Accents */
.neon-text-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.neon-text-magenta {
  color: var(--neon-magenta);
  text-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}

.neon-text-amber {
  color: var(--neon-amber);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.text-cyan { color: var(--neon-cyan); }
.text-magenta { color: var(--neon-magenta); }
.text-amber { color: var(--neon-amber); }
.text-green { color: var(--neon-green); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP RETRO MARQUEE TICKER
   ========================================================================== */
.retro-ticker {
  background: #060911;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0;
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  letter-spacing: 1px;
}

.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-slide 32s linear infinite;
  color: var(--neon-amber);
}

@keyframes ticker-slide {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

.ticker-tag {
  background: var(--neon-magenta);
  color: #fff;
  padding: 1px 8px;
  font-weight: bold;
  margin-right: 12px;
}

.ticker-sep {
  margin: 0 16px;
  color: var(--neon-cyan);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.retro-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border-color);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: #000;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-retro);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.brand-subtitle {
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  color: var(--neon-cyan);
  letter-spacing: 1.5px;
}

.nav-links {
  display: none;
  gap: 24px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-retro);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  padding: 6px 10px;
  border-radius: 4px;
}

.nav-item:hover {
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* ==========================================================================
   RETRO BUTTONS
   ========================================================================== */
.retro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-retro);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease-out;
  position: relative;
  user-select: none;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
}

/* Cyan 3D Button */
.btn-cyan {
  background: var(--neon-cyan);
  color: #000;
  border-top: 2px solid #80f8ff;
  border-left: 2px solid #80f8ff;
  border-right: 2px solid #0099a8;
  border-bottom: 2px solid #0099a8;
  box-shadow: 3px 3px 0 #005f69, var(--glow-cyan);
}

.btn-cyan:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #005f69, 0 0 20px rgba(0, 240, 255, 0.6);
}

.btn-cyan:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #005f69;
}

/* Magenta 3D Button */
.btn-magenta {
  background: var(--neon-magenta);
  color: #fff;
  border-top: 2px solid #ff66b2;
  border-left: 2px solid #ff66b2;
  border-right: 2px solid #b30059;
  border-bottom: 2px solid #b30059;
  box-shadow: 3px 3px 0 #660033, var(--glow-magenta);
}

.btn-magenta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #660033, 0 0 22px rgba(255, 0, 127, 0.7);
}

.btn-magenta:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #660033;
}

.pulse-glow {
  animation: pulse-glow 2.4s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 3px 3px 0 #660033, 0 0 12px rgba(255, 0, 127, 0.4); }
  50% { box-shadow: 3px 3px 0 #660033, 0 0 26px rgba(255, 0, 127, 0.85); }
}

/* ==========================================================================
   RETRO OS WINDOW CONTAINER
   ========================================================================== */
.retro-window {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(0, 240, 255, 0.15);
}

.window-titlebar {
  background: linear-gradient(90deg, #1b263b, #0d1527);
  border-bottom: 2px solid var(--border-color);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-controls {
  display: flex;
  gap: 7px;
}

.win-btn {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.win-close { background: #ff5f56; }
.win-min { background: #ffbd2e; }
.win-max { background: #27c93f; }

.window-title {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: var(--neon-cyan);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-status {
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  color: var(--neon-green);
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.window-body {
  padding: 24px;
}

@media (min-width: 768px) {
  .window-body {
    padding: 36px;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 30px 0 50px;
}

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.retro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  color: var(--neon-amber);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-amber);
  border-radius: 50%;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero-heading {
  font-family: var(--font-retro);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: 3.1rem;
  }
}

.hero-subhead {
  font-family: var(--font-retro);
  font-size: 1.05rem;
  color: var(--neon-magenta);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-desc strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-color);
}

.highlight-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-retro);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.media-frame {
  position: relative;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.hero-image, .about-image {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.1);
  transition: transform 0.4s ease;
}

.media-frame:hover .hero-image,
.media-frame:hover .about-image {
  transform: scale(1.03);
}

.media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  letter-spacing: 1px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 50px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.retro-tag {
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  color: var(--neon-cyan);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-retro);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.6rem;
  }
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
  transform: translateY(-3px);
}

.featured-service {
  border-color: var(--neon-magenta);
  background: linear-gradient(180deg, rgba(255, 0, 127, 0.08), var(--bg-card) 60%);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--neon-magenta);
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  padding: 2px 10px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}

.card-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-id {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: var(--text-dim);
}

.card-icon {
  font-size: 1.5rem;
}

.service-name {
  font-family: var(--font-retro);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-tagline {
  font-family: var(--font-retro);
  font-size: 0.9rem;
  color: var(--neon-cyan);
  margin-bottom: 12px;
  font-style: italic;
}

.service-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.card-action {
  font-family: var(--font-retro);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.card-action:hover {
  gap: 8px;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
  padding: 40px 0;
}

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

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.about-heading {
  font-family: var(--font-retro);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.about-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-color);
}

.stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-retro);
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   CONTACT SECTION & RETRO FORM
   ========================================================================== */
.contact-section {
  padding: 50px 0 70px;
}

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

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-heading {
  font-family: var(--font-retro);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.method-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.method-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
  transform: translateX(4px);
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--neon-cyan);
  flex-shrink: 0;
}

.method-label {
  display: block;
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.method-value {
  font-family: var(--font-retro);
  font-size: 1.05rem;
  font-weight: 600;
}

/* Retro Form Controls */
.retro-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

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

.form-group label {
  font-family: var(--font-retro);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #090d15;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 10px 14px;
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
  background: #0d131f;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #475569;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
}

.form-success-box {
  text-align: center;
  padding: 24px;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--neon-green);
  border-radius: 8px;
}

.success-icon {
  font-size: 2.4rem;
  color: var(--neon-green);
  margin-bottom: 10px;
}

.form-success-box h3 {
  font-family: var(--font-retro);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-success-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   MOBILE STICKY ACTION BAR
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px 12px;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--border-color);
  gap: 10px;
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-action {
  font-family: var(--font-retro);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  padding: 11px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.retro-footer {
  background: #05080e;
  border-top: 2px solid var(--border-color);
  padding: 24px 0;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand {
  font-family: var(--font-retro);
  font-weight: 700;
  color: #fff;
  display: block;
}

.footer-center {
  font-family: var(--font-pixel);
  font-size: 1rem;
  color: var(--neon-amber);
  display: flex;
  gap: 10px;
}

.footer-link {
  color: var(--neon-cyan);
  text-decoration: none;
  font-family: var(--font-retro);
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-sep {
  margin: 0 4px;
}
