/* PerformX Group – Fire theme: black, orange, red */

:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --black-card: #1a1a1a;
  --white: #f5f5f5;
  --orange: #ff6b35;
  --orange-bright: #ff8c42;
  --red: #e63946;
  --red-dark: #c1121f;
  --fire-glow: #ff4500;
  --fire-yellow: #ffaa00;
  --font: 'Outfit', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Logo */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

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

/* PerformX Logo: Perform white, X black with fire effect */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-perform {
  color: var(--white);
}

.logo-group {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.9em;
  margin-left: 0.15em;
}

.logo-x {
  color: var(--black);
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 0.15em 0.28em;
  margin-left: 2px;
  position: relative;
  font-weight: 900;
  text-shadow:
    0 0 20px var(--orange),
    0 0 40px var(--red),
    0 0 60px var(--fire-glow),
    0 0 80px rgba(255, 69, 0, 0.6);
  box-shadow:
    inset 0 0 20px rgba(255, 107, 53, 0.15),
    0 0 25px rgba(255, 107, 53, 0.3);
  border-radius: 4px;
  animation: fire-pulse 2.5s ease-in-out infinite;
}

.logo-x::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 8px;
  background: radial-gradient(ellipse at center, var(--orange) 0%, var(--red) 40%, transparent 70%);
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
  animation: flame-flicker 1.5s ease-in-out infinite alternate;
}

.logo-x::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 6px;
  background: linear-gradient(135deg, transparent 30%, rgba(255, 107, 53, 0.2) 50%, transparent 70%);
  pointer-events: none;
  animation: fire-shimmer 3s ease-in-out infinite;
}

@keyframes flame-flicker {
  0% { opacity: 0.6; transform: translateX(-50%) scaleY(0.9); }
  100% { opacity: 1; transform: translateX(-50%) scaleY(1.1); }
}

@keyframes fire-pulse {
  0%, 100% {
    text-shadow:
      0 0 20px var(--orange),
      0 0 40px var(--red),
      0 0 60px var(--fire-glow),
      0 0 80px rgba(255, 69, 0, 0.5);
  }
  50% {
    text-shadow:
      0 0 28px var(--orange-bright),
      0 0 50px var(--red),
      0 0 70px var(--fire-glow),
      0 0 100px rgba(255, 69, 0, 0.7);
  }
}

@keyframes fire-shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
  color: var(--orange-bright);
  text-shadow: 0 0 12px rgba(255, 107, 53, 0.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
}

@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 80%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(230, 57, 70, 0.08) 0%, transparent 50%),
    var(--black);
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero-tagline {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  margin: 0 0 3rem;
  color: var(--white);
  text-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
}

.hero-scroll {
  font-size: 0.85rem;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.5rem;
}

.hero-scroll-line {
  position: relative;
  width: 2px;
  height: 40px;
  margin: 0 auto;
  background: linear-gradient(to bottom, var(--orange), transparent);
  border-radius: 2px;
  animation: scroll-glow 1.5s ease-in-out infinite;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--orange);
}

@keyframes scroll-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; box-shadow: 0 0 15px var(--orange); }
}

/* Sections */
.section {
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 107, 53, 0.15);
}

.section-about {
  background: var(--black-soft);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin: 0 0 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: var(--white);
}

.section-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1rem;
}

.section p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1rem;
  max-width: 720px;
}

/* Reach – Partners & Stats */
.section-reach {
  background: var(--black);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0 4rem;
}

.partner-card {
  background: var(--black-card);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 8px;
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.partner-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.15);
}

.partner-logo {
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
  filter: grayscale(0.1);
  opacity: 0.95;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--black-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange-bright);
  text-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
  margin-bottom: 0.25rem;
}

.stat-label {
  display: block;
  font-weight: 600;
  color: var(--white);
}

.stat-sublabel {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Why PerformX */
.section-why {
  background: var(--black-soft);
}

.advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.advantage {
  background: var(--black-card);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.advantage:hover {
  border-color: var(--orange);
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.1);
}

.advantage-icon {
  color: var(--orange);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.advantage h4 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--white);
}

.advantage p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.advantage-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.advantage-list li {
  margin-bottom: 0.35rem;
}

/* Contact */
.section-contact {
  background: var(--black);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.social-links {
  margin: 1.5rem 0 0.5rem;
}

.social-links a {
  margin-right: 1.5rem;
  color: var(--orange-bright);
  font-weight: 500;
}

.social-links a:hover {
  text-decoration: underline;
}

.contact-email {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  background: var(--black-soft);
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

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

.copyright {
  margin: 0 0 0 auto;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
