:root {
  --bg:       #07080f;
  --surface:  #0e1020;
  --border:   rgba(255,255,255,.07);
  --accent:   #1a6fff;
  --accent2:  #00cfff;
  --text:     #eef0ff;
  --muted:    #6e7297;
  --card-bg:  rgba(255,255,255,.03);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body {
  font-family:'Outfit', sans-serif;
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  overflow-x:hidden;
}

/* ═══════════════════════ SCROLLBAR ═══════════════════════ */
::-webkit-scrollbar { width:4px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:#1a6fff55; border-radius:4px; }

/* ═══════════════════════ NOISE OVERLAY ═══════════════════════ */
body::before {
  content:'';
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity:.4;
}

/* ═══════════════════════ NAV ═══════════════════════ */
nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 32px;
  height:70px;
  background: rgba(7,8,15,.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
  max-width:100%;
}
nav.scrolled { box-shadow: 0 4px 40px rgba(26,111,255,.12); }

.nav-logo {
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
}
.nav-logo img {
  width:40px; height:40px;
  border-radius:10px;
  object-fit:contain;
  background:#fff;
  padding:3px;
}
.nav-logo-text {
  font-family:'Bebas Neue', sans-serif;
  font-size:22px;
  letter-spacing:1px;
  color:var(--text);
  line-height:1;
}
.nav-logo-text span { color:var(--accent); }

.nav-links {
  display:flex; align-items:center; gap:6px;
  list-style:none;
}
.nav-links a {
  text-decoration:none;
  color:var(--muted);
  font-size:14px;
  font-weight:500;
  padding:8px 16px;
  border-radius:8px;
  transition: color .2s, background .2s;
  position:relative;
}
.nav-links a:hover { color:var(--text); background:rgba(255,255,255,.05); }
.nav-links a.active { color:var(--text); }
.nav-links a.active::after {
  content:'';
  position:absolute; bottom:4px; left:50%; transform:translateX(-50%);
  width:16px; height:2px;
  background:var(--accent);
  border-radius:2px;
}

.nav-login-btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 20px;
  background:var(--accent);
  color:#fff;
  font-family:'Outfit',sans-serif;
  font-size:13px;
  font-weight:600;
  border:none;
  border-radius:9px;
  cursor:pointer;
  text-decoration:none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 20px rgba(26,111,255,.35);
}
.nav-login-btn:hover {
  background:#2a7fff;
  transform:translateY(-1px);
  box-shadow: 0 4px 28px rgba(26,111,255,.55);
}

/* Hamburger */
.hamburger {
  display:none;
  flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:6px;
}
.hamburger span {
  display:block; width:22px; height:2px;
  background:var(--text); border-radius:2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display:none;
  position:fixed; top:70px; left:0; right:0; z-index:99;
  background:rgba(7,8,15,.97);
  border-bottom:1px solid var(--border);
  padding:16px 24px 24px;
  flex-direction:column; gap:4px;
  backdrop-filter:blur(20px);
}
.mobile-menu.open { display:flex; }
.mobile-menu a {
  text-decoration:none;
  color:var(--muted);
  font-size:16px; font-weight:500;
  padding:12px 14px;
  border-radius:10px;
  transition: background .2s, color .2s;
}
.mobile-menu a:hover { background:var(--card-bg); color:var(--text); }
.mobile-menu .m-login {
  margin-top:8px;
  background:var(--accent);
  color:#fff;
  text-align:center;
  box-shadow:0 0 20px rgba(26,111,255,.3);
}

/* ═══════════════════════ SECTIONS WRAPPER ═══════════════════════ */
section { display:none; }
section.active { display:block; }

/* ═══════════════════════ HOME HERO ═══════════════════════ */
#home {
  min-height:100vh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:100px 6vw 60px;
  position:relative;
  overflow:hidden;
}

/* Grid background */
#home::before {
  content:'';
  position:absolute; inset:0; z-index:0;
  background-image:
    linear-gradient(rgba(26,111,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,111,255,.06) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 100%);
}

/* Glow orbs */
#home::after {
  content:'';
  position:absolute;
  width:700px; height:700px;
  background:radial-gradient(circle, rgba(26,111,255,.18) 0%, transparent 70%);
  top:50%; left:50%; transform:translate(-50%,-55%);
  pointer-events:none; z-index:0;
}

.hero-inner {
  position:relative; z-index:1;
  max-width:820px;
  text-align:center;
}

.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 14px;
  background:rgba(26,111,255,.1);
  border:1px solid rgba(26,111,255,.3);
  border-radius:20px;
  font-size:12px; font-weight:600; color:var(--accent2);
  letter-spacing:.05em; text-transform:uppercase;
  margin-bottom:28px;
  animation:fadeUp .6s ease both;
}
.hero-badge::before {
  content:'';
  width:6px; height:6px;
  background:var(--accent2);
  border-radius:50%;
  animation:pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(1.4); }
}

.hero-title {
  font-family:'Bebas Neue', sans-serif;
  font-size:clamp(56px, 10vw, 110px);
  line-height:.95;
  letter-spacing:1px;
  margin-bottom:24px;
  animation:fadeUp .7s .1s ease both;
}
.hero-title .line2 {
  display:block;
  -webkit-text-stroke:1px rgba(255,255,255,.2);
  color:transparent;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-sub {
  font-size:clamp(15px,2.2vw,18px);
  color:var(--muted);
  line-height:1.7;
  max-width:520px;
  margin:0 auto 0px;
  animation:fadeUp .7s .2s ease both;
  font-weight:300;
}

.hero-btns {
  display:flex; gap:12px; justify-content:center; flex-wrap:wrap;
  animation:fadeUp .7s .3s ease both;
}

.btn-primary {
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 28px;
  background:var(--accent);
  color:#fff;
  font-family:'Outfit',sans-serif;
  font-size:15px; font-weight:600;
  border:none; border-radius:10px;
  cursor:pointer; text-decoration:none;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow:0 0 32px rgba(26,111,255,.4);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 40px rgba(26,111,255,.6); background:#2a7fff; }

.btn-ghost {
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 28px;
  background:transparent;
  color:var(--text);
  font-family:'Outfit',sans-serif;
  font-size:15px; font-weight:500;
  border:1px solid var(--border);
  border-radius:10px;
  cursor:pointer; text-decoration:none;
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-ghost:hover { border-color:rgba(255,255,255,.2); background:rgba(255,255,255,.04); transform:translateY(-2px); }

/* Stats strip */
.hero-stats {
  display:flex; gap:0;
  margin-top:72px;
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  animation:fadeUp .7s .45s ease both;
  background:var(--card-bg);
  backdrop-filter:blur(10px);
}
.hero-stat {
  flex:1; padding:22px 20px; text-align:center;
  border-right:1px solid var(--border);
  position:relative;
}
.hero-stat:last-child { border-right:none; }
.hero-stat .num {
  font-family:'Bebas Neue',sans-serif;
  font-size:38px; color:var(--text); line-height:1;
  margin-bottom:4px;
}
.hero-stat .num span { color:var(--accent); }
.hero-stat .lbl { font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; font-weight:500; }

@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ═══════════════════════ HOME — FEATURES ═══════════════════════ */
.features {
  padding:80px 32px;
  max-width:1200px;
  margin:0 auto;
}
.section-label {
  font-size:11px; font-weight:700; color:var(--accent);
  text-transform:uppercase; letter-spacing:.12em;
  margin-bottom:14px;
}
.section-heading {
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(36px,5vw,54px);
  line-height:1.05;
  margin-bottom:48px;
}
.features-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  gap:16px;
}
.feature-card {
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:16px;
  padding:28px 24px;
  transition: border-color .2s, transform .25s, box-shadow .25s;
  position:relative; overflow:hidden;
}
.feature-card::before {
  content:'';
  position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, var(--accent), var(--accent2));
  opacity:0; transition:opacity .25s;
}
.feature-card:hover { border-color:rgba(26,111,255,.35); transform:translateY(-4px); box-shadow:0 16px 48px rgba(0,0,0,.4); }
.feature-card:hover::before { opacity:1; }
.feature-icon {
  width:48px; height:48px;
  background:rgba(26,111,255,.12);
  border:1px solid rgba(26,111,255,.2);
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  font-size:22px; margin-bottom:18px;
}
.feature-card h3 { font-size:16px; font-weight:600; margin-bottom:8px; }
.feature-card p  { font-size:13px; color:var(--muted); line-height:1.65; }

/* ═══════════════════════ SERVICES PAGE ═══════════════════════ */
#services {
  min-height:100vh;
  padding:120px 32px 80px;
  max-width:1200px;
  margin:0 auto;
}
.services-hero {
  max-width:660px;
  margin-bottom:64px;
}
.services-hero h1 {
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(48px,7vw,80px);
  line-height:1;
  margin-bottom:16px;
}
.services-hero p { font-size:16px; color:var(--muted); line-height:1.7; }

.services-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px,1fr));
  gap:20px;
}
.service-card {
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:18px;
  padding:32px 28px;
  display:flex; flex-direction:column; gap:16px;
  transition: transform .25s, border-color .2s, box-shadow .25s;
  cursor:default;
}
.service-card:hover {
  transform:translateY(-5px);
  border-color:rgba(26,111,255,.3);
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.sc-top { display:flex; align-items:center; gap:16px; }
.sc-icon {
  width:54px; height:54px; flex-shrink:0;
  background:linear-gradient(135deg, rgba(26,111,255,.2), rgba(0,207,255,.1));
  border:1px solid rgba(26,111,255,.25);
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-size:26px;
}
.sc-title { font-size:18px; font-weight:700; }
.sc-sub   { font-size:12px; color:var(--accent2); font-weight:500; }
.sc-desc  { font-size:13px; color:var(--muted); line-height:1.7; }
.sc-tags  { display:flex; flex-wrap:wrap; gap:6px; }
.sc-tag {
  font-size:11px; padding:4px 10px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  border-radius:20px; color:var(--muted);
  font-weight:500;
}
.sc-price {
  font-size:13px; font-weight:600; color:var(--accent2);
  padding-top:10px;
  border-top:1px solid var(--border);
}

/* Repair CTA banner */
.repair-cta {
  max-width:1100px;
  margin-top:48px;
  background:linear-gradient(135deg, rgba(26,111,255,.15), rgba(0,207,255,.08));
  border:1px solid rgba(26,111,255,.3);
  border-radius:20px;
  padding:40px 40px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.repair-cta h2 { font-family:'Bebas Neue',sans-serif; font-size:36px; line-height:1.1; }
.repair-cta p  { font-size:14px; color:var(--muted); margin-top:6px; }

/* ═══════════════════════ HOME SERVICES PREVIEW ═══════════════════════ */
.home-services-preview {
  max-width:1100px;
  margin:80px auto 0;
  padding:0 32px 80px;
  text-align:center;
}

.home-services-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  margin-bottom:40px;
  text-align:left;
}

.home-services-cta {
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:8px;
}

@media(max-width:768px) {
  .home-services-preview { padding:0 18px 60px; }
  .home-services-grid { grid-template-columns:1fr; }
}

/* ═══════════════════════ LOGIN MODAL ═══════════════════════ */
.modal-overlay {
  display:none;
  position:fixed; inset:0; z-index:200;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(6px);
  align-items:center; justify-content:center;
  padding:20px;
}
.modal-overlay.open { display:flex; }

.modal {
  background:var(--surface);
  border:1px solid rgba(26,111,255,.25);
  border-radius:22px;
  width:100%; max-width:400px;
  padding:36px 32px;
  position:relative;
  overflow:visible; 
  box-shadow:0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
  animation: modalIn .3s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes modalIn {
  from { opacity:0; transform:scale(.92) translateY(12px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}
.modal-close {
  position:absolute; top:16px; right:16px;
   z-index:10;
  width:32px; height:32px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  border-radius:8px;
  color:var(--muted); font-size:16px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .2s, color .2s;
}
.modal-close:hover { background:rgba(255,255,255,.1); color:var(--text); }

.modal-logo {
  display:flex; align-items:center; gap:12px;
  margin-bottom:28px;
}
.modal-logo img { width:44px; height:44px; border-radius:11px; object-fit:contain; background:#fff; padding:3px; }
.modal-logo-name { font-family:'Bebas Neue',sans-serif; font-size:20px; letter-spacing:.5px; }
.modal-logo-sub  { font-size:11px; color:var(--muted); }

.modal h2 { font-size:22px; font-weight:700; margin-bottom:6px; }
.modal-sub { font-size:13px; color:var(--muted); margin-bottom:28px; }

.form-group { margin-bottom:16px; }
.form-group label {
  display:block; font-size:11px; font-weight:600;
  color:var(--muted); text-transform:uppercase;
  letter-spacing:.07em; margin-bottom:7px;
}
.form-group input {
  width:100%;
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  border-radius:10px;
  padding:12px 14px;
  color:var(--text);
  font-family:'Outfit',sans-serif; font-size:15px;
  outline:none;
  transition:border-color .2s, box-shadow .2s;
}
.form-group input:focus {
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(26,111,255,.18);
}
.remember-row {
  display:flex; align-items:center; gap:8px;
  margin-bottom:20px;
}
.remember-row input[type=checkbox] {
  width:16px; height:16px;
  accent-color:var(--accent); cursor:pointer;
}
.remember-row label { font-size:13px; color:var(--muted); cursor:pointer; }

.error-msg {
  background:rgba(255,80,80,.1);
  border:1px solid rgba(255,80,80,.25);
  color:#ff6b6b; padding:10px 14px;
  border-radius:9px; font-size:13px;
  margin-bottom:16px; display:none;
}

.modal-btn {
  width:100%; padding:13px;
  background:var(--accent);
  color:#fff; font-family:'Outfit',sans-serif;
  font-size:15px; font-weight:600;
  border:none; border-radius:10px;
  cursor:pointer;
  transition:background .2s, box-shadow .2s, transform .15s;
  box-shadow:0 0 24px rgba(26,111,255,.4);
}
.modal-btn:hover { background:#2a7fff; box-shadow:0 4px 32px rgba(26,111,255,.6); transform:translateY(-1px); }
.modal-btn:active { transform:translateY(0); }

.modal-divider {
  display:flex; align-items:center; gap:12px;
  margin:20px 0 16px;
  color:var(--muted); font-size:12px;
}
.modal-divider::before, .modal-divider::after {
  content:''; flex:1; height:1px; background:var(--border);
}

.track-link {
  display:block; text-align:center;
  font-size:13px; color:var(--muted);
  text-decoration:none;
  padding:11px;
  border:1px solid var(--border);
  border-radius:10px;
  transition:border-color .2s, color .2s, background .2s;
}
.track-link:hover { border-color:rgba(0,207,255,.3); color:var(--accent2); background:rgba(0,207,255,.05); }

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */

/* Page container — limits content width and centres it */
.container {
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 32px;
}

@keyframes spin { to { transform:rotate(360deg); } }

@media(max-width:768px) {
  .nav-links, .nav-login-btn { display:none; }
  .hamburger { display:flex; }
  .hero-stats { flex-direction:column; }
  .hero-stat { border-right:none; border-bottom:1px solid var(--border); }
  .hero-stat:last-child { border-bottom:none; }
  .repair-cta { flex-direction:column; text-align:center; }
  .modal { padding:28px 22px;  padding-top:50px;}
  .container { padding:0 18px; }
  .footer-grid { grid-template-columns:1fr !important; gap:32px !important; }
  .footer-bottom { flex-direction:column; text-align:center; gap:10px !important; }
}
@media(min-width:769px) {
  .hamburger, .mobile-menu { display:none !important; }
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
footer {
  position:relative;
  margin-top:80px;
  border-top:1px solid var(--border);
  background:var(--surface);
  overflow:hidden;
}
footer::before {
  content:'';
  position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-inner {
  max-width:1200px;
  margin:0 auto;
  padding:56px 32px 0;
}
.footer-grid {
  display:grid;
  grid-template-columns:1.8fr 1fr 1fr;
  gap:48px;
  padding-bottom:48px;
  border-bottom:1px solid var(--border);
}
.footer-brand .logo-row {
  display:flex; align-items:center; gap:10px;
  margin-bottom:14px;
}
.footer-brand .logo-row img {
  width:38px; height:38px;
  border-radius:9px;
  object-fit:contain;
  background:#fff; padding:2px;
}
.footer-brand .logo-row span {
  font-family:'Bebas Neue',sans-serif;
  font-size:20px; letter-spacing:.5px;
}
.footer-brand .logo-row span b { color:var(--accent); font-weight:400; }
.footer-brand p {
  font-size:13px; color:var(--muted); line-height:1.75;
  max-width:280px; margin-bottom:20px;
}
.footer-socials { display:flex; gap:10px; }
.social-btn {
  width:36px; height:36px;
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  font-size:15px; cursor:pointer; text-decoration:none;
  transition:border-color .2s, background .2s, transform .2s;
}
.social-btn:hover { border-color:rgba(26,111,255,.4); background:rgba(26,111,255,.1); transform:translateY(-2px); }

.footer-col h4 {
  font-size:11px; font-weight:700;
  text-transform:uppercase; letter-spacing:.1em;
  color:var(--muted); margin-bottom:18px;
}
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul li a {
  font-size:13px; color:var(--muted);
  text-decoration:none;
  transition:color .2s;
  display:inline-flex; align-items:center; gap:6px;
}
.footer-col ul li a:hover { color:var(--text); }
.footer-col ul li a::before {
  content:'→';
  font-size:11px; color:var(--accent);
  opacity:0; transform:translateX(-4px);
  transition:opacity .2s, transform .2s;
}
.footer-col ul li a:hover::before { opacity:1; transform:translateX(0); }

.footer-contact-item {
  display:flex; align-items:flex-start; gap:10px;
  font-size:13px; color:var(--muted);
  margin-bottom:12px; line-height:1.5;
}
.footer-contact-item .ic {
  font-size:15px; margin-top:1px; flex-shrink:0;
}

.footer-bottom {
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 0;
  font-size:12px; color:var(--muted);
  gap:16px;
}
.footer-bottom a { color:var(--muted); text-decoration:none; transition:color .2s; }
.footer-bottom a:hover { color:var(--text); }
