/* ============================================================
   404 Junk Removal — styles.css
   Color palette:
     --red:     #e63946  (404 error red accent)
     --dark:    #111111
     --dark2:   #1c1c1c
     --gray:    #3d3d3d
     --light:   #f5f5f5
     --white:   #ffffff
   ============================================================ */

/* ===== RESET / BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:      #e63946;
  --red-dark: #c1121f;
  --dark:     #111111;
  --dark2:    #1c1c1c;
  --gray:     #3d3d3d;
  --mid:      #888;
  --light:    #f5f5f5;
  --white:    #ffffff;
  --font:     'Inter', system-ui, sans-serif;
  --radius:   10px;
  --shadow:   0 4px 24px rgba(0,0,0,.12);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SECTION TYPOGRAPHY ===== */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: .5rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,57,70,.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-ghost:hover {
  background: var(--red);
  color: var(--white);
}

.btn-nav {
  background: var(--red);
  color: var(--white) !important;
  border-color: var(--red);
  padding: .5rem 1.2rem;
  font-size: .9rem;
}
.btn-nav:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(17,17,17,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--red);
  flex-shrink: 0;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.logo-404 {
  color: var(--red);
}
.logo-text {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-weight: 600;
  font-size: .95rem;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.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); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark2);
  overflow: hidden;
}

/* Subtle grid pattern background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(230,57,70,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,57,70,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,17,17,.88) 0%, rgba(28,28,28,.65) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.accent { color: var(--red); }

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin-bottom: 1rem;
  letter-spacing: .3px;
}

.tagline-code {
  font-family: 'Courier New', monospace;
  color: var(--red);
  background: rgba(230,57,70,.12);
  border: 1px solid rgba(230,57,70,.3);
  padding: .15rem .5rem;
  border-radius: 5px;
  font-size: 1rem;
  white-space: nowrap;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating badge */
.hero-badge {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 120px;
  height: 120px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .75rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
  box-shadow: 0 8px 32px rgba(230,57,70,.45);
  animation: pulse-badge 2.5s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 8px 32px rgba(230,57,70,.45); }
  50%       { box-shadow: 0 8px 48px rgba(230,57,70,.7); }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--red);
  padding: .9rem 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem 2rem;
}

.trust-item {
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.trust-item i { color: rgba(255,255,255,.9); }

/* ===== SERVICES ===== */
.services {
  padding: 90px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.service-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 1rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230,57,70,.1);
  border-radius: 10px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--dark);
}

.service-card p {
  font-size: .92rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== WHY US ===== */
.why-us {
  padding: 90px 0;
  background: var(--light);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 1.5rem;
}

.why-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-icon {
  font-size: 1.3rem;
  color: var(--red);
  flex-shrink: 0;
  margin-top: .15rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230,57,70,.1);
  border-radius: 8px;
}

.why-list strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .25rem;
}

.why-list p {
  font-size: .92rem;
  color: var(--gray);
  line-height: 1.6;
}

.why-cta-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  color: var(--white);
  text-align: center;
  position: sticky;
  top: 90px;
  box-shadow: 0 8px 40px rgba(0,0,0,.2);
}

.why-cta-card h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: .75rem;
}

.why-cta-card p {
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.why-cta-card .btn {
  display: flex;
  margin-bottom: .75rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 90px 0;
  background: var(--white);
  text-align: center;
}

.how-it-works .section-sub {
  margin: 0 auto 3rem;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  padding: 0 1rem;
}

.step-num {
  width: 60px;
  height: 60px;
  background: var(--red);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(230,57,70,.35);
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--dark);
}

.step p {
  font-size: .92rem;
  color: var(--gray);
  line-height: 1.6;
}

.step p a {
  color: var(--red);
  font-weight: 700;
}

.step-arrow {
  font-size: 2rem;
  color: var(--red);
  align-self: flex-start;
  margin-top: 1.1rem;
  padding: 0 .25rem;
  font-weight: 900;
}

/* ===== SERVICE AREA ===== */
.service-area {
  padding: 70px 0;
  background: var(--dark);
  text-align: center;
}

.service-area .section-title { color: var(--white); }
.service-area .section-sub   { color: rgba(255,255,255,.6); margin: 0 auto 2rem; }

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}

.area-tags span {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 99px;
  transition: var(--transition);
}

.area-tags span:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ===== CONTACT / CTA ===== */
.contact {
  padding: 90px 0;
  background: var(--dark);
  text-align: center;
}

.contact-cta .section-title { color: var(--white); }
.contact-cta .section-sub   { color: rgba(255,255,255,.6); margin: 0 auto 2.5rem; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 2rem;
}

.contact-details li {
  font-size: .97rem;
  color: rgba(255,255,255,.6);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.contact-details i { color: var(--red); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 50px 0 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo-404 { color: var(--red); font-size: 1.3rem; font-weight: 900; }
.footer-brand .logo-text { color: var(--white); font-size: 1.3rem; font-weight: 900; }
.footer-brand p {
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  margin-top: .4rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  align-items: center;
}

.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  font-weight: 600;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--red); }

.footer-bottom {
  padding: 1rem 0;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,.3);
  font-size: .8rem;
}
.footer-credit {
  margin-top: .3rem;
}
.footer-credit a {
  color: rgba(255,255,255,.4);
  font-weight: 600;
  transition: color var(--transition);
}
.footer-credit a:hover { color: var(--red); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .why-inner    { grid-template-columns: 1fr; }
  .why-cta-card { position: static; }
  .hero-badge   { right: 20px; width: 100px; height: 100px; font-size: .68rem; }
}

@media (max-width: 768px) {
  /* Reduce section padding */
  .services, .why-us, .how-it-works, .contact { padding: 60px 0; }
  .service-area { padding: 50px 0; }

  /* Mobile nav */
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(17,17,17,.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: .75rem 1.5rem;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav-links .btn-nav {
    margin: .5rem 1.5rem 0;
    text-align: center;
    justify-content: center;
  }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content {
    max-width: 100%;
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .hero-badge { display: none; }

  /* Services: 2 columns on tablet */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Steps */
  .steps        { flex-direction: column; align-items: center; }
  .step         { max-width: 340px; text-align: left; display: flex; gap: 1rem; align-items: flex-start; }
  .step-num     { flex-shrink: 0; margin: 0; }
  .step-arrow   { transform: rotate(90deg); margin: 0 auto; font-size: 1.5rem; }

  /* Why us */
  .why-inner    { gap: 2rem; }

  /* CTA buttons stack */
  .cta-actions  { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; min-height: 52px; font-size: 1rem; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
  .footer-links { justify-content: center; }
  .footer-bottom { text-align: center; }
}

@media (max-width: 480px) {
  /* Services: single column on phones */
  .services-grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero-btns            { flex-direction: column; }
  .hero-btns .btn       { width: 100%; text-align: center; min-height: 52px; font-size: 1rem; }

  /* Trust bar */
  .trust-inner { gap: .5rem 1rem; }
  .trust-item  { font-size: .82rem; }

  /* Why us card */
  .why-cta-card { padding: 1.75rem 1.25rem; }
  .why-cta-card .btn { min-height: 52px; }

  /* Area tags */
  .area-tags span { font-size: .82rem; padding: .4rem .85rem; }

  /* Contact details row */
  .contact-details { flex-direction: column; align-items: center; gap: .5rem; }
}
