/* =========================================================
   1. VARIABLES — change colors/fonts here and the whole
      site updates. This is the easiest place to customize.
========================================================= */
:root {
  /* backgrounds */
  --bg: #0a0a0c;
  --bg-soft: #111114;
  --surface: #17130f;
  --surface-2: #1f1812;
  --border: #2c2520;

  /* orange family */
  --orange: #ff6a1a;
  --orange-light: #ffb877;
  --orange-deep: #b8420a;

  /* text */
  --white: #f7f4ef;
  --muted: #a39c93;
  --muted-2: #6f6860;

  /* type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-h: 76px;
}

/* =========================================================
   2. RESET & BASE
========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

img, svg { display: block; max-width: 100%; }

section { scroll-margin-top: var(--header-h); }

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

/* shared section heading block */
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-light);
  background: rgba(255, 106, 26, 0.08);
  border: 1px solid rgba(255, 106, 26, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  font-size: 16px;
}

/* =========================================================
   3. BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #15100c;
  box-shadow: 0 8px 24px rgba(255, 106, 26, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 10px 30px rgba(255, 106, 26, 0.45);
  transform: translateY(-2px);
}

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

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange-light);
}

/* =========================================================
   4. HEADER / NAV
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo { width: 30px; height: 30px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}

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

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 6px 2px;
  transition: color 0.15s ease;
}

.nav-link:hover { color: var(--white); }

.nav-link.active { color: var(--orange-light); }

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-link {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.icon-link svg { width: 18px; height: 18px; }

.icon-link:hover {
  color: var(--orange-light);
  background: rgba(255, 106, 26, 0.1);
}

.meteora-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--orange-light);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.meteora-btn-logo { width: 16px; height: 16px; color: var(--orange); }

.meteora-btn:hover {
  border-color: var(--orange);
  background: rgba(255, 106, 26, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   5. HERO
========================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(255, 106, 26, 0.16), transparent 70%),
    radial-gradient(40% 40% at 85% 80%, rgba(255, 106, 26, 0.08), transparent 70%);
  overflow: hidden;
  z-index: 0;
}

.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 184, 119, 0.9), transparent);
  border-radius: 2px;
  filter: drop-shadow(0 0 6px rgba(255, 106, 26, 0.6));
  animation: meteor-fall 7s linear infinite;
}

.hero-bg::before { top: 10%; left: -20%; animation-delay: 0s; }
.hero-bg::after { top: 35%; left: -20%; animation-delay: 3.2s; transform: scale(0.7); }

@keyframes meteor-fall {
  0%   { transform: translate(0, 0) rotate(-25deg); opacity: 0; }
  8%   { opacity: 1; }
  60%  { opacity: 1; }
  100% { transform: translate(140vw, 70vh) rotate(-25deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: center;
}

.hero-title {
  font-size: clamp(42px, 8vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 10px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  z-index: 1;
}

.scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 6px auto 0;
  background: var(--orange);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* =========================================================
   6. TEAM MARQUEE
========================================================= */
.team {
  padding: 90px 0;
  border-top: 1px solid var(--border);
}

.marquee {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 24px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee-bounce 6s ease-in-out infinite alternate;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-bounce {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--distance, -140px)); }
}

/* used on the testimonials marquee so the two rows feel less identical */
.marquee-track.reverse {
  animation-direction: alternate-reverse;
  animation-duration: 7s;
}

.team-card {
  flex-shrink: 0;
  width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.team-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.team-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 14px;
  object-fit: cover;
  border: 2px solid var(--orange-deep);
  background: var(--surface-2);
}

.team-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 2px;
}

.team-role {
  font-size: 13px;
  color: var(--orange-light);
  margin-bottom: 10px;
}

.team-bio {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* =========================================================
   7. TESTIMONIALS ("Experience mo sa Meteora PH")
========================================================= */
.testimonials {
  padding: 90px 0;
  border-top: 1px solid var(--border);
}

.testimonial-card {
  flex-shrink: 0;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.testimonial-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 20px;
  flex: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange-deep);
  background: var(--surface-2);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}

.testimonial-role {
  font-size: 12.5px;
  color: var(--orange-light);
}

/* =========================================================
   8. FAQ
========================================================= */
.faq {
  padding: 90px 24px 110px;
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--orange);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.faq-icon::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.faq-icon::after { width: 2px; height: 14px; top: 3px; left: 9px; }

.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* =========================================================
   9. FOOTER
========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand .brand-logo { width: 22px; height: 22px; }
.footer-brand .brand-name { font-size: 14px; }

.footer-copy {
  font-size: 13px;
  color: var(--muted-2);
}

/* =========================================================
   10. RESPONSIVE
========================================================= */
@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 12, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav.open { max-height: 260px; }

  .nav-link { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-link:last-child { border-bottom: none; }

  .nav-toggle { display: flex; }

  .meteora-btn span { display: none; }
}

@media (max-width: 600px) {
  .header-actions { gap: 8px; }
  .meteora-btn { padding: 9px 12px; }
  .icon-link { width: 30px; height: 30px; }
}

/* =========================================================
   11. TEAM CARD — X / Twitter link pill
========================================================= */
.team-x-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 106, 26, 0.08);
  border: 1px solid rgba(255, 106, 26, 0.2);
  color: var(--orange-light);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.team-x-link:hover {
  background: rgba(255, 106, 26, 0.18);
  border-color: var(--orange);
  color: var(--orange);
}

.team-x-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* =========================================================
   12. ACCESSIBILITY — respect reduced motion preference
========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg::before, .hero-bg::after,
  .marquee-track,
  .scroll-cue span {
    animation: none !important;
  }
}