/* ========================================
   Minutemen — Mobile Car Care Website
   Mobile-first responsive design
   ======================================== */

/* Font Faces */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0f1218;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 18, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

/* Desktop nav links */
.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-links li a {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: #fff;
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: rgba(15, 18, 24, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu.open {
  max-height: 320px;
}

.mobile-menu ul {
  list-style: none;
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu ul li a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease;
}

.mobile-menu ul li:last-child a {
  border-bottom: none;
  display: inline-block;
  margin-top: 0.5rem;
}

.mobile-menu ul li a:hover {
  color: #fff;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 1.5rem 4rem;
  background: url('images/hero.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 18, 24, 0.2) 0%,
    rgba(15, 18, 24, 0.55) 50%,
    rgba(15, 18, 24, 0.95) 85%,
    rgba(15, 18, 24, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-accent {
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  max-width: 460px;
  line-height: 1.7;
}

.hero-btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

/* ========================================
   Features Section
   ======================================== */
.features {
  padding: 5rem 1.5rem;
  background: #0f1218;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.feature-circle {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #4f6df0, #7c3aed, #06b6d4);
  position: relative;
}

.feature-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.feature-text h3 {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

.features-phone {
  width: 100%;
  max-width: 340px;
}

.features-phone img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

/* ========================================
   Download / CTA Section
   ======================================== */
.download {
  padding: 5rem 1.5rem 6rem;
  background: #0f1218;
}

.download-container {
  max-width: 1200px;
  margin: 0 auto;
}

.download h2 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.download-text {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 680px;
}

.download-cta-text {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.store-badge {
  display: block;
  transition: transform 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge img {
  height: 54px;
  width: auto;
}

/* ========================================
   Subpage Styles
   ======================================== */

/* Page header (shared across About, Careers, FAQ) */
.page-header {
  padding: 8rem 1.5rem 3rem;
  background: #0f1218;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
}

/* Page content area */
.page-content {
  padding: 2rem 1.5rem 5rem;
  background: #0f1218;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
}

.content-block {
  margin-bottom: 3.5rem;
}

.content-block h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.content-block p {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* CTA button (subpages) */
.page-btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  margin-top: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

/* Values / perks grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.value-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.value-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #fff;
}

.value-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* How it works steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.step h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #fff;
}

.step p {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* Job cards (Careers) */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.job-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.job-info h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.2rem;
}

.job-info p {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
}

.job-tag {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

/* FAQ category headings */
.faq-category {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.faq-category:first-child {
  margin-top: 0;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(99, 102, 241, 0.25);
}

.faq-item summary {
  padding: 1.1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* Legal pages (Terms, Privacy) */
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.legal-content ul li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.legal-content ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.4);
}

.legal-content a {
  color: #818cf8;
  transition: color 0.2s ease;
}

.legal-content a:hover {
  color: #a78bfa;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 2.5rem 1.5rem;
  background: #0a0c10;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   Scroll Reveal Animation
   ======================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .nav-logo img {
    height: 36px;
  }

  .hero {
    padding: 0 3rem 5rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .features {
    padding: 6rem 3rem;
  }

  .features-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .features-list {
    flex: 1;
    gap: 3rem;
  }

  .feature-circle {
    width: 160px;
    height: 160px;
  }

  .feature-text h3 {
    font-size: 1.3rem;
  }

  .features-phone {
    flex: 0 0 auto;
    max-width: 380px;
  }

  .download {
    padding: 6rem 3rem 7rem;
  }

  .download h2 {
    font-size: 2.4rem;
  }

  .download-text {
    font-size: 1.15rem;
  }

  .store-badge img {
    height: 60px;
  }

  /* Subpage tablet */
  .page-header {
    padding: 9rem 3rem 3.5rem;
  }

  .page-header h1 {
    font-size: 2.6rem;
  }

  .page-content {
    padding: 3rem 3rem 6rem;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-block h2 {
    font-size: 1.6rem;
  }
}

/* ========================================
   Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .nav-container {
    padding: 1rem 3rem;
  }

  .nav-logo img {
    height: 38px;
  }

  .nav-links {
    gap: 2.5rem;
  }

  .hero {
    padding: 0 4rem 6rem;
    align-items: center;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .features {
    padding: 8rem 4rem;
  }

  .feature-circle {
    width: 200px;
    height: 200px;
  }

  .feature-item {
    gap: 2rem;
  }

  .feature-text h3 {
    font-size: 1.5rem;
  }

  .features-phone {
    max-width: 420px;
  }

  .download {
    padding: 8rem 4rem 9rem;
  }

  .download h2 {
    font-size: 2.8rem;
  }

  .store-badge img {
    height: 66px;
  }

  .footer {
    padding: 3rem 4rem;
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Subpage desktop */
  .page-header {
    padding: 10rem 4rem 4rem;
  }

  .page-header h1 {
    font-size: 3rem;
  }

  .page-content {
    padding: 3rem 4rem 8rem;
  }
}
