/* ===================================================
   Primitive Auto Solutions — AIDA One-Page Design
   Colors: Black, Electric Blue, Silver, White
   Target: 3-5 mobile scrolls
   =================================================== */

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-gray: #161616;
  --mid-gray: #1e1e1e;
  --border: rgba(255, 255, 255, 0.07);
  --silver: #999999;
  --light-silver: #cccccc;
  --white: #ffffff;
  --blue: #0077ff;
  --blue-glow: #3399ff;
  --blue-dim: rgba(0, 119, 255, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--light-silver);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Anchor Nav (sticky) === */
.anchor-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.anchor-nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--border);
}

.anchor-nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.anchor-logo-img {
  height: 36px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 50px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  background: var(--blue-glow);
  box-shadow: 0 0 16px rgba(0, 119, 255, 0.3);
  color: var(--white);
}

/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--mid-gray);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hamburger:hover {
  border-color: var(--blue);
  background: var(--dark-gray);
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

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

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

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

/* Dropdown menu */
.dropdown-menu {
  max-height: 0;
  overflow: hidden;
  background: var(--dark-gray);
  border-top: 1px solid transparent;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease;
}

.dropdown-menu.open {
  max-height: 300px;
  border-top-color: var(--border);
}

.dropdown-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 16px;
}

.dropdown-menu-inner a {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--light-silver);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu-inner a:last-child {
  border-bottom: none;
}

.dropdown-menu-inner a:hover {
  color: var(--blue-glow);
  padding-left: 8px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-glow {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(0, 119, 255, 0);
}

.btn-glow:hover {
  background: var(--blue-glow);
  box-shadow: 0 4px 32px rgba(0, 119, 255, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--light-silver);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--white);
}

.btn-facebook {
  background: var(--mid-gray);
  color: var(--light-silver);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}

.btn-facebook:hover {
  border-color: var(--blue);
  color: var(--white);
  background: var(--dark-gray);
}

.btn-facebook svg {
  color: #1877F2;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ===================================================
   SECTION 1 — ATTENTION (Hero)
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 104px 24px 48px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(0, 119, 255, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 80% 80%, rgba(0, 60, 140, 0.05) 0%, transparent 60%),
    var(--black);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0px 24px 72px;
  animation: heroFade 1s ease-out;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(0, 119, 255, 0.06) 0%, transparent 70%),
    linear-gradient(to bottom, transparent 0%, var(--black) 18%, var(--mid-gray) 100%);
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-glow);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--silver);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-3d {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  height: clamp(230px, 31vw, 410px);
  margin-bottom: clamp(12px, 2.3vw, 24px);
  opacity: 0;
  transition: opacity 1.2s ease;
  -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
}

.hero-3d.loaded {
  opacity: 1;
}

.hero-3d canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===================================================
   SECTION 3 — INTEREST (Services / 3 Pillars)
   Rhythmic variation: lighter background
   =================================================== */
.services {
  padding: 96px 0;
}

.services .container {
  background: var(--dark-gray);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 48px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 48px;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  background: var(--mid-gray);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease;
}

.pillar.visible {
  opacity: 1;
  transform: translateY(0);
}

.pillar:nth-child(2) { transition-delay: 0.1s; }
.pillar:nth-child(3) { transition-delay: 0.2s; }

.pillar:hover {
  border-color: rgba(0, 119, 255, 0.3);
}

.pillar-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 14px;
}

.pillar-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  min-width: 48px;
}

.pillar-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}

.pillar-hook {
  color: var(--blue-glow);
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 2px;
}

.pillar-desc {
  color: var(--silver);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Progressive disclosure toggle */
.pillar-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  color: var(--light-silver);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
}

.pillar-toggle:hover {
  border-color: var(--blue);
  color: var(--white);
}

.pillar-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.toggle-icon {
  transition: transform 0.25s ease;
}

.pillar-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin 0.35s ease;
  margin-top: 0;
}

.pillar-details.open {
  max-height: 300px;
  margin-top: 16px;
}

.pillar-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-details li {
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.pillar-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.pillar-details li strong {
  color: var(--white);
}

/* ===================================================
   SECTION 2 — DESIRE (Proof)
   Rhythmic variation: back to dark
   =================================================== */
.proof {
  padding: 96px 0;
  background: var(--black);
}

.gallery-grid {
  margin-bottom: 48px;
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 64px 24px;
  border: 1.5px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--silver);
  font-size: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-placeholder.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-placeholder svg {
  color: rgba(255, 255, 255, 0.15);
}

/* Gallery items (ready for photos) */
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
}

/* Testimonials */
.testimonials {
  margin-bottom: 32px;
}

.testimonial {
  text-align: center;
  padding: 40px 24px;
  background: var(--dark-gray);
  border: 1px solid var(--border);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-stars {
  color: var(--blue-glow);
  font-size: 1.3rem;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--light-silver);
  font-style: italic;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 16px;
}

.testimonial-author {
  color: var(--silver);
  font-size: 0.9rem;
}

.proof-cta {
  text-align: center;
}

/* ===================================================
   SECTION 4 — ACTION (Final CTA)
   Rhythmic variation: accent background
   =================================================== */
.action {
  padding: 96px 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(0, 119, 255, 0.06) 0%, transparent 70%),
    linear-gradient(to bottom, var(--black), var(--dark-gray) 160px);
  text-align: center;
}

.action-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}

.action-sub {
  color: var(--silver);
  font-size: 1.15rem;
  margin-bottom: 36px;
}

.action-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.action-details {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.action-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--silver);
  font-size: 0.9rem;
}

.action-detail svg {
  color: var(--blue);
}

/* ===================================================
   FOOTER (minimal)
   =================================================== */
.footer {
  padding: 24px 0;
  background: var(--black);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-text p {
  color: var(--silver);
  font-size: 0.8rem;
}

.footer-text .footer-credit {
  margin-top: 4px;
  font-size: 0.7rem;
  opacity: 0.6;
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  color: var(--blue-glow);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--silver);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--blue-glow);
  transform: translateY(-2px);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
  .anchor-nav-inner {
    height: 52px;
  }

  .anchor-logo-img {
    height: 28px;
  }

  .anchor-dot {
    padding: 6px 10px;
    font-size: 0.7rem;
  }

  .nav-cta-text {
    display: none;
  }

  .hero-content {
    padding: 12px 20px 60px;
  }

  .services, .proof, .action {
    padding: 64px 0;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .services .container {
    padding: 36px 20px;
    border-radius: 16px;
  }

  .pillar {
    padding: 24px 20px;
  }

  .pillar-number {
    font-size: 1.8rem;
    min-width: 36px;
  }

  .pillar-title {
    font-size: 1.3rem;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .action-buttons .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .action-details {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

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

  .footer-social {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.4rem;
  }
}
