/* ── Variables ── */
:root {
  --blue: #3a7ccc;
  --blue-light: #5a9ae8;
  --blue-glow: rgba(58, 124, 204, 0.25);
  --blue-dark: #2a5fa3;
  --bg: #0a0e14;
  --bg-elevated: #111820;
  --bg-card: #151c27;
  --bg-card-hover: #1a2332;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(58, 124, 204, 0.35);
  --text: #e8edf4;
  --text-muted: #8b9cb3;
  --text-dim: #5a6d85;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* ── Cursor glow ── */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
}
body:hover .cursor-glow { opacity: 1; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition);
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 24px var(--blue-glow);
}
.btn--primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--blue-glow);
}
.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn--ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn--full { width: 100%; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(58, 124, 204, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(58, 124, 204, 0.06) 0%, transparent 50%);
}
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__particles canvas {
  display: block;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0 6rem;
  text-align: center;
}
.hero__logo {
  width: min(150px, 50vw);
  height: auto;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  filter: blur(4px);
}
.hero-ready .hero__logo {
  animation: heroFadeSlide 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  margin-bottom: 1.25rem;
}
.hero__eyebrow-line {
  display: block;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-light));
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-ready .hero__eyebrow-line {
  width: 2.5rem;
}
.hero__eyebrow-text {
  display: inline-block;
  opacity: 0;
  transform: translateX(-12px);
  filter: blur(4px);
}
.hero-ready .hero__eyebrow-text {
  animation: heroFadeSlide 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 100%;
}
.hero__word {
  display: inline-block;
  margin-right: 0.28em;
  opacity: 0;
  transform: translateY(0.6em);
  filter: blur(4px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero-ready .hero__word {
  animation: heroWordIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity;
}
.hero-ready .hero__word:nth-child(1) { animation-delay: 0.55s; }
.hero-ready .hero__word:nth-child(2) { animation-delay: 0.68s; }
.hero-ready .hero__word:nth-child(3) { animation-delay: 0.81s; }
.hero-ready .hero__word:nth-child(4) { animation-delay: 0.94s; }
.hero__word--accent {
  font-style: normal;
  color: var(--blue-light);
  position: relative;
}
.hero-ready .hero__word--accent:last-child {
  animation: heroWordIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.94s forwards,
             heroShimmer 3s ease-in-out 1.8s infinite;
}
.hero__desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
}
.hero-ready .hero__desc {
  animation: heroFadeSlide 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.15s forwards;
}
.hero-enter:not(.hero__eyebrow):not(.hero__title):not(.hero__desc):not(.hero__scroll) {
  opacity: 0;
  transform: translateY(24px);
}
.hero-ready .hero__actions {
  animation: heroFadeSlide 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.45s forwards;
}
.hero-ready .hero__stats {
  animation: heroFadeSlide 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.65s forwards;
}
.hero-ready .hero__scroll {
  animation: heroScrollIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.9s forwards;
}

@keyframes heroWordIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes heroFadeSlide {
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
    filter: blur(0);
  }
}
@keyframes heroScrollIn {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@keyframes heroShimmer {
  0%, 100% { color: var(--blue-light); }
  50% { color: #8ec0ff; text-shadow: 0 0 20px rgba(90, 154, 232, 0.45); }
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 3rem;
}
.stat__num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  color: var(--text-dim);
  transition: color var(--transition);
}
.hero__scroll:hover {
  color: var(--blue-light);
}
.hero__scroll-mouse {
  display: block;
  width: 26px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 14px;
  position: relative;
  animation: scrollMouseBounce 2s ease-in-out infinite;
}
.hero__scroll-wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--blue-light);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}
.hero__scroll-text {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  60% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(0); }
}
@keyframes scrollMouseBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Section head ── */
.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.section-head__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── Reviews ── */
.reviews {
  padding: 7rem 0;
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}
.review-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.review-card__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}
.review-card__avatar img {
  border-radius: 50%;
}
.review-card__meta {
  flex: 1;
  min-width: 0;
}
.review-card__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.review-card__stars {
  display: flex;
  gap: 2px;
  color: #fbbc04;
}
.review-card__google {
  flex-shrink: 0;
  opacity: 0.85;
}
.review-card__text {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.review-card__date {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.reviews__actions {
  text-align: center;
}
.reviews__more {
  gap: 0.5rem;
}

/* ── Brands ── */
.brands {
  padding: 7rem 0;
  position: relative;
}
.brands__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.brand-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.brand-card:hover::before { opacity: 1; }
.brand-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.brand-card__logo {
  height: 48px;
  width: auto;
}
.brand-card__logo--dark {
  border-radius: 8px;
  padding: 6px 10px;
  height: 52px;
}
.brand-card__badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  background: rgba(58, 124, 204, 0.12);
  color: var(--blue-light);
  white-space: nowrap;
}
.brand-card__tagline {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.brand-card__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.brand-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}
.brand-card__features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.brand-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.brand-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-light);
  transition: gap var(--transition);
}
.brand-card__link:hover { gap: 0.65rem; }

/* ── About ── */
.about {
  padding: 7rem 0;
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}
.about__intro {
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about__intro p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
  text-align: left;
}
.about__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.about__pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
}
.about__pillar:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}
.about__pillar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 124, 204, 0.1);
  border-radius: var(--radius-sm);
  color: var(--blue-light);
  margin-bottom: 1.25rem;
}
.about__pillar h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.about__pillar p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── Contact ── */
.contact {
  padding: 7rem 0;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.contact__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
a.contact__item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.contact__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 124, 204, 0.1);
  border-radius: 50%;
  color: var(--blue-light);
  margin-bottom: 0.25rem;
}
.contact__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.contact__value {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}
a.contact__item:hover .contact__value {
  color: var(--text);
}
.contact__link {
  transition: color var(--transition);
}
.contact__link:hover {
  color: var(--blue-light);
}

/* ── Footer ── */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.footer__links {
  display: flex;
  gap: 1.5rem;
}
.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--blue-light); }
.footer__copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .reviews__grid,
  .brands__grid,
  .about__pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding:20px;
  }
  .hero__inner {
    justify-content: flex-start;
    min-height: auto;
    padding-top: max(1.25rem, env(safe-area-inset-top, 0px));
    padding-bottom: 0;
  }

  .hero__eyebrow {
    margin-top: 0;
  }
  .hero__scroll {
    display: none;
  }
  .brand-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .brand-card__badge {
    white-space: normal;
  }
  .contact__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__particles {
    display: none;
  }
  .hero__logo,
  .hero__eyebrow-text,
  .hero__word,
  .hero__desc,
  .hero__actions,
  .hero__stats {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
  .hero__scroll {
    opacity: 1 !important;
    transform: translateX(-50%) !important;
    filter: none !important;
    animation: none !important;
  }
  .hero__eyebrow-line { width: 2.5rem; }
  .hero__scroll-mouse { animation: none; }
  .hero__scroll-wheel { animation: none; opacity: 1; }
}
