/* ═══════════════════════════════════════════════════════════════════════════
   AIOX CHALLENGE — COMPONENTS
   Cards, buttons, badges, nav, accordion, ticker
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Navbar ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 16px 0;
  transition: all 0.4s var(--ease-smooth);
}

.nav.scrolled {
  background: var(--bg-overlay);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-family: 'Geist Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--lime);
  color: var(--bg-base);
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-spring);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--lime-glow), 0 0 80px var(--lime-glow-soft);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: calc(var(--z-nav) + 1);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-elevated);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    transition: right 0.5s var(--ease-out-expo);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
  }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--lime);
  color: var(--bg-base);
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-spring);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 40px var(--lime-glow), 0 0 100px var(--lime-glow-soft);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  transition: all 0.3s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: var(--accent-05);
}

/* ── Glass Card ── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-20), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px var(--shadow);
}

.card:hover::before {
  opacity: 1;
}

.card-glass {
  background: rgba(26, 26, 28, 0.6);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.4s var(--ease-smooth);
}

.card-glass:hover {
  border-color: var(--border-lime);
  box-shadow: 0 0 30px var(--lime-glow-soft);
}

.card-lime {
  background: var(--accent-05);
  border: 1px solid var(--border-lime-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.4s var(--ease-smooth);
}

.card-lime:hover {
  background: var(--accent-10);
  border-color: var(--accent-25);
  box-shadow: 0 0 40px var(--lime-glow-soft);
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-08);
  border: 1px solid var(--border-lime-soft);
  border-radius: var(--radius-full);
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lime);
}

.badge-solid {
  background: var(--lime);
  color: var(--bg-base);
  border: none;
}

/* ── Stat counter ── */
.stat {
  text-align: center;
}

.stat-number {
  font-family: 'TASA Orbiter Display', 'Geist', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--lime), var(--accent-20), var(--lime));
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--lime-glow);
}

.timeline-wow::before {
  width: 14px;
  height: 14px;
  left: -31px;
  top: 4px;
  animation: pulse-glow 2s infinite;
}

.timeline-time {
  font-family: 'Geist Mono', monospace;
  font-size: 0.75rem;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.timeline-title {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ── Accordion (FAQ) ── */
.accordion-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.accordion-trigger:hover {
  color: var(--lime);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--text-tertiary);
  transition: all 0.3s;
}

.accordion-icon::before {
  top: 50%;
  left: 4px;
  width: 16px;
  height: 2px;
  transform: translateY(-50%);
}

.accordion-icon::after {
  top: 4px;
  left: 50%;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
}

.accordion-item.active .accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion-item.active .accordion-trigger {
  color: var(--lime);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-smooth);
}

.accordion-content-inner {
  padding-bottom: var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Ticker / Marquee ── */
.ticker-strip {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--accent-02);
}

.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-family: 'Geist Mono', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

.ticker-item .dot {
  width: 4px;
  height: 4px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Speaker Card ── */
.speaker-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.speaker-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-lg);
  border: 2px solid var(--border);
  transition: all 0.5s;
}

.speaker-card:hover .speaker-img {
  border-color: var(--lime);
  box-shadow: 0 0 40px var(--lime-glow-soft);
}

.speaker-name {
  font-family: 'TASA Orbiter Display', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.speaker-role {
  font-family: 'Geist Mono', monospace;
  font-size: 0.75rem;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

.speaker-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Testimonial ── */
.testimonial {
  padding: var(--space-2xl);
  position: relative;
}

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-left: var(--space-lg);
  border-left: 2px solid var(--accent-25);
}

.testimonial-author {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.testimonial-role {
  font-family: 'Geist Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ── Pricing Card ── */
.pricing-card {
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--lime);
  box-shadow: 0 0 60px var(--lime-glow-soft);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
}

.pricing-value {
  font-family: 'TASA Orbiter Display', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
}

.pricing-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-features {
  text-align: left;
  margin: var(--space-xl) 0;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-feature::before {
  content: '✓';
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Inclusion grid (what's included) ── */
.inclusion-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--accent-04);
  border: 1px solid var(--border-lime-soft);
  transition: all 0.3s;
}

.inclusion-item:hover {
  background: var(--accent-08);
  border-color: var(--accent-20);
}

.inclusion-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-10);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.inclusion-text {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--bg-void);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.footer-logo {
  height: 24px;
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  max-width: 360px;
}

.footer-heading {
  font-family: 'Geist Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-link {
  display: block;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  padding: 4px 0;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  color: var(--text-tertiary);
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--lime);
}

/* ── Lucide Icons ── */
.icon-lg {
  width: 32px;
  height: 32px;
  color: var(--lime);
  stroke-width: 1.5;
  margin-bottom: 12px;
}

/* ── Agent Cards Showcase ── */
.agents-showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
  justify-items: center;
  align-items: start;
}

@media (max-width: 1024px) {
  .agents-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .agents-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

.agent-card-img {
  width: 100%;
  max-width: 200px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.agent-card-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--accent-15);
}

/* ── Branding Visual Strip ── */
.branding-strip {
  padding: var(--space-5xl) 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.branding-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.branding-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  aspect-ratio: 1;
  position: relative;
}

.branding-item-wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.branding-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

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

@media (max-width: 768px) {
  .branding-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branding-item-wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .branding-grid {
    grid-template-columns: 1fr 1fr;
  }

  .branding-item-wide {
    grid-column: span 2;
  }
}
