/* ── MOBILECOM THEME — MAIN STYLESHEET ── */
:root {
  --navy: #0f1923;
  --navy2: #141f2a;
  --navy3: #1c2a38;
  --electric: #4b9fd5;
  --electric2: #2d7db3;
  --accent: #ff6b35;
  --white: #f0f4ff;
  --muted: #8899bb;
  --card: #162030;
  --border: rgba(75,159,213,0.15);
  --success: #00d68f;
  --warning: #ffb300;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Syne', sans-serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; width: 100%; }
.section-label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--electric); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; margin-bottom: 16px;
}
.section-sub {
  color: var(--muted); font-size: 1rem;
  line-height: 1.7; max-width: 560px;
}
.section-header { margin-bottom: 56px; }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--electric2), var(--electric));
  color: var(--navy); padding: 14px 28px; border-radius: 8px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer; border: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(45,125,179,0.4);
  color: var(--navy);
}
.btn-secondary {
  background: transparent; border: 1px solid var(--border);
  color: var(--white); padding: 14px 28px; border-radius: 8px;
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.95rem;
  transition: all 0.2s; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--electric); color: var(--electric); }

/* ── NAVIGATION ── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px;
  background: rgba(15,25,35,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.site-logo img {
  height: 50px; width: auto;
  filter: drop-shadow(0 0 8px rgba(75,159,213,0.3));
}
.site-logo-text {
  font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800;
  color: var(--white); margin-left: 10px;
}
.site-logo-text span { color: var(--electric); }
.site-logo { display: flex; align-items: center; }

#primary-nav { display: flex; align-items: center; gap: 32px; list-style: none; }
#primary-nav a {
  color: var(--muted); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.03em; transition: color 0.2s;
}
#primary-nav a:hover { color: var(--white); }
.nav-btn-track {
  background: transparent !important; border: 1px solid var(--electric) !important;
  color: var(--electric) !important; padding: 8px 20px; border-radius: 6px;
  font-weight: 600 !important; transition: all 0.2s !important;
}
.nav-btn-track:hover { background: var(--electric) !important; color: var(--navy) !important; }
.nav-btn-cta {
  background: linear-gradient(135deg, var(--electric2), var(--electric)) !important;
  color: var(--navy) !important; padding: 8px 20px; border-radius: 6px;
  font-weight: 700 !important;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 5px;
}
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; display: block; }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 5% 60px; position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(var(--electric) 1px, transparent 1px),
    linear-gradient(90deg, var(--electric) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.hero-bg-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,125,179,0.15) 0%, transparent 70%);
  pointer-events: none; top: -100px; right: -200px;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(75,159,213,0.1); border: 1px solid rgba(75,159,213,0.25);
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
  font-size: 0.78rem; font-weight: 600; color: var(--electric);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-badge .pulse { animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-title { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero-title span { color: var(--electric); }
.hero-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; line-height: 1; }
.stat-num span { color: var(--electric); }
.stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.device-card {
  width: 100%; max-width: 420px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.device-card::before {
  content: '';
  position: absolute; top: -1px; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
}
.device-icons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.device-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--navy3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; transition: transform 0.2s;
}
.device-icon:hover { transform: scale(1.1); }
.repair-list { list-style: none; }
.repair-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem; color: var(--muted);
}
.repair-list li:last-child { border-bottom: none; }
.repair-list li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.turnaround-badge {
  position: absolute; bottom: -16px; right: 24px;
  background: var(--accent); color: white;
  padding: 8px 16px; border-radius: 20px;
  font-family: 'Syne', sans-serif; font-size: 0.8rem; font-weight: 700;
}

/* ── SERVICES ── */
#services { background: var(--navy2); padding: 90px 5%; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(75,159,213,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(45,125,179,0.2), rgba(75,159,213,0.1));
  border: 1px solid rgba(75,159,213,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.service-price { margin-top: 16px; font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--electric); }

/* ── HOW IT WORKS ── */
#how-it-works { padding: 90px 5%; }
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px; position: relative; text-align: center;
}
.steps-grid::before {
  content: '';
  position: absolute; top: 36px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800;
  color: var(--electric); position: relative; z-index: 1;
}
.step-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ── REVIEWS ── */
#reviews { background: var(--navy2); padding: 90px 5%; }
.reviews-header-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; flex-wrap: wrap; gap: 20px;
}
.google-badge {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 20px;
}
.google-logo {
  width: 32px; height: 32px; background: white;
  border-radius: 6px; display: flex; align-items: center;
  justify-content: center; font-weight: 900; font-size: 0.85rem;
  color: #4285f4; font-family: Arial, sans-serif;
}
.google-rating { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; }
.google-rating small { font-size: 0.8rem; color: var(--muted); font-family: 'DM Sans', sans-serif; font-weight: 400; }
.stars { color: #fbbf24; }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; transition: transform 0.2s;
}
.review-card:hover { transform: translateY(-3px); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.reviewer-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.9rem; flex-shrink: 0;
}
.review-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; font-style: italic; }
.review-date { font-size: 0.75rem; color: var(--muted); margin-top: 12px; }

/* ── TRACK REPAIR PAGE ── */
#track-repair { padding: 120px 5% 80px; }
.track-container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}
.track-form-box, .ticket-status-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
}

/* ── FORM STYLES ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--muted); margin-bottom: 8px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  background: var(--navy3); border: 1px solid var(--border);
  border-radius: 8px; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--electric); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select option { background: var(--navy3); }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── TICKET TIMELINE ── */
.status-timeline { margin-top: 24px; }
.timeline-step { display: flex; gap: 14px; padding-bottom: 24px; position: relative; }
.timeline-step:not(:last-child)::after {
  content: ''; position: absolute; left: 14px; top: 28px; bottom: 0;
  width: 2px; background: var(--border);
}
.tl-dot {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; z-index: 1;
}
.tl-dot.done { background: var(--success); color: var(--navy); }
.tl-dot.active { background: var(--electric); color: var(--navy); animation: tl-pulse 2s infinite; }
.tl-dot.pending { background: var(--navy3); border: 1px solid var(--border); color: var(--muted); }
@keyframes tl-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(75,159,213,0.4)} 50%{box-shadow:0 0 0 8px rgba(75,159,213,0)} }
.tl-content h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.tl-content p { font-size: 0.8rem; color: var(--muted); }

/* ── STATUS PILLS ── */
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.status-pill::before { content: '●'; font-size: 0.5rem; }
.status-pill.received { background: rgba(255,179,0,0.15); color: var(--warning); }
.status-pill.diagnosing { background: rgba(75,159,213,0.12); color: var(--electric); }
.status-pill.repairing { background: rgba(45,125,179,0.15); color: #60a5fa; }
.status-pill.quality_check { background: rgba(139,92,246,0.15); color: #a78bfa; }
.status-pill.ready { background: rgba(0,214,143,0.12); color: var(--success); }

/* ── ADMIN DASHBOARD ── */
#admin-dashboard { padding: 120px 5% 80px; }
.admin-tabs {
  display: flex; gap: 4px; background: var(--card);
  border: 1px solid var(--border); border-radius: 12px; padding: 4px;
  margin-bottom: 32px; width: fit-content;
}
.tab-btn {
  padding: 10px 24px; border-radius: 8px; border: none;
  font-family: 'Syne', sans-serif; font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; color: var(--muted); background: transparent;
}
.tab-btn.active { background: var(--electric2); color: white; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.tickets-panel {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px;
}
.panel-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.panel-header h3 { font-size: 1.1rem; font-weight: 800; }
.ticket-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 6px 14px; border-radius: 6px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font-size: 0.8rem;
  cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.filter-btn.active { background: var(--electric2); border-color: var(--electric2); color: white; }
.tickets-table { width: 100%; border-collapse: collapse; }
.tickets-table th {
  text-align: left; padding: 10px 14px; font-size: 0.75rem;
  font-weight: 700; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.06em; border-bottom: 1px solid var(--border);
}
.tickets-table td {
  padding: 14px; font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--white);
  vertical-align: middle;
}
.action-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.action-btn {
  padding: 5px 12px; border-radius: 6px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font-size: 0.75rem;
  cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.action-btn:hover { border-color: var(--electric); color: var(--electric); }
.action-btn.notify { border-color: rgba(0,214,143,0.3); color: var(--success); }
.action-btn.notify:hover { background: rgba(0,214,143,0.1); }
.action-btn.danger { border-color: rgba(255,80,80,0.3); color: #ff6b6b; }

/* ── CTA SECTION ── */
.cta-section {
  padding: 80px 5%; text-align: center;
  background: linear-gradient(135deg, rgba(45,125,179,0.12), rgba(75,159,213,0.05));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
.cta-section p { color: var(--muted); margin-bottom: 32px; font-size: 1rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px); z-index: 2000;
  display: none; align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px; width: 100%; max-width: 460px; margin: 20px;
  animation: modal-in 0.25s ease; position: relative;
}
@keyframes modal-in { from{transform:scale(0.95);opacity:0} to{transform:scale(1);opacity:1} }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; color: var(--muted);
  font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.modal-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; margin-top: 4px; }
.notif-methods { display: flex; gap: 10px; margin-bottom: 20px; }
.method-btn {
  flex: 1; padding: 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--navy3);
  color: var(--muted); cursor: pointer; font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.85rem; transition: all 0.2s; text-align: center;
}
.method-btn.selected { border-color: var(--electric); color: var(--electric); background: rgba(75,159,213,0.08); }

/* ── TOAST ── */
.mc-toast {
  position: fixed; bottom: 30px; right: 30px; z-index: 3000;
  background: var(--success); color: var(--navy);
  padding: 14px 22px; border-radius: 10px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.9rem;
  transform: translateY(100px); opacity: 0; transition: all 0.3s;
  pointer-events: none;
}
.mc-toast.show { transform: translateY(0); opacity: 1; }

/* ── FOOTER ── */
#site-footer {
  background: var(--navy2); border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; max-width: 1200px; margin: 0 auto 48px;
}
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; max-width: 260px; margin-top: 14px; }
.footer-col h4 {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--white); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--electric); }
.contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.85rem; color: var(--muted); align-items: flex-start; }
.contact-item .icon { color: var(--electric); flex-shrink: 0; margin-top: 2px; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--muted); transition: all 0.2s;
}
.social-link:hover { border-color: var(--electric); color: var(--electric); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; gap: 10px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .track-container { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  #primary-nav { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: var(--navy2); padding: 20px 5%; border-bottom: 1px solid var(--border); gap: 16px; }
  #primary-nav.open { display: flex; }
  .hamburger { display: flex; }
  .form-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .admin-tabs { flex-wrap: wrap; }
  .tickets-table { font-size: 0.78rem; }
  .tickets-table th:nth-child(4),
  .tickets-table td:nth-child(4) { display: none; }
}

/* ── WP ADMIN BAR OFFSET ── */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}

/* ── NOTICES ── */
.mc-notice {
  padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 0.9rem;
}
.mc-notice.success { background: rgba(0,214,143,0.12); border: 1px solid rgba(0,214,143,0.3); color: var(--success); }
.mc-notice.error { background: rgba(255,80,80,0.1); border: 1px solid rgba(255,80,80,0.3); color: #ff8080; }
.mc-notice.info { background: rgba(75,159,213,0.1); border: 1px solid rgba(75,159,213,0.25); color: var(--electric); }
