/* ATHLEE Custom Styles - Supplement to Tailwind CSS */

/* ============================================
   CUSTOM PROPERTIES
============================================ */
:root {
  --athlee-orange: #F97316;
  --athlee-orange-dark: #EA580C;
  --athlee-black: #0A0A0A;
  --athlee-dark: #111827;
  --athlee-gray: #6B7280;
  --athlee-light: #F9FAFB;
  --athlee-white: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  --gradient-dark: linear-gradient(135deg, #0A0A0A 0%, #1F2937 100%);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BASE / RESET
============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--athlee-dark);
  background: var(--athlee-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   TYPOGRAPHY
============================================ */
.font-display {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAVIGATION
============================================ */
.nav-wrapper {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.nav-wrapper.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
  position: relative;
  color: var(--athlee-dark);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--athlee-orange);
  transition: width 0.3s ease;
}

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

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

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

/* ============================================
   BUTTONS
============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.45);
  color: white;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--athlee-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--athlee-orange);
  color: var(--athlee-orange);
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

/* ============================================
   HERO / FIRST VIEW
============================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--athlee-black);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(249, 115, 22, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(249, 115, 22, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #0A0A0A 0%, #111827 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--athlee-orange);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: white;
}

.hero-title .highlight {
  color: var(--athlee-orange);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
  max-width: 560px;
}

/* ============================================
   STATS STRIP
============================================ */
.stats-strip {
  background: var(--athlee-white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 2.5rem 0;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(0,0,0,0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--athlee-orange);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--athlee-gray);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* ============================================
   CARDS
============================================ */
.card-base {
  background: var(--athlee-white);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  overflow: hidden;
}

.card-base:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(249, 115, 22, 0.15);
}

.card-feature {
  background: var(--athlee-white);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: var(--transition);
}

.card-feature:hover {
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.08);
}

.card-feature .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  transition: var(--transition);
}

.card-feature:hover .icon-wrap {
  background: var(--athlee-orange);
}

.card-feature:hover .icon-wrap span {
  filter: brightness(10);
}

/* ============================================
   SECTION LABELS
============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--athlee-orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--athlee-orange);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--athlee-dark);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--athlee-gray);
  line-height: 1.85;
}

/* ============================================
   FLOW / STEP DESIGN
============================================ */
.flow-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.flow-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* ============================================
   CLUB CARDS
============================================ */
.club-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: white;
  transition: var(--transition);
}

.club-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.club-card .club-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
}

.club-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(249, 115, 22, 0.1);
  color: var(--athlee-orange);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* ============================================
   REPORT CARDS
============================================ */
.report-card {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: var(--transition);
}

.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.report-card .category-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* ============================================
   FAQ ACCORDION
============================================ */
.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--athlee-dark);
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(249, 115, 22, 0.03);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  color: var(--athlee-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.3s, background 0.3s;
}

.faq-item.open .faq-icon {
  background: var(--athlee-orange);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--athlee-gray);
  line-height: 1.85;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

/* ============================================
   CONTACT FORM
============================================ */
.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
  color: var(--athlee-dark);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--athlee-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--athlee-dark);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: var(--athlee-orange);
  margin-left: 0.25rem;
}

/* ============================================
   DARK SECTIONS
============================================ */
.section-dark {
  background: var(--gradient-dark);
  color: white;
}

.section-dark .section-title {
  color: white;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   ORANGE ACCENT SECTIONS
============================================ */
.section-orange {
  background: var(--gradient-primary);
  color: white;
}

/* ============================================
   TICKER / MARQUEE
============================================ */
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SCROLL ANIMATIONS
============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--athlee-black);
  color: rgba(255, 255, 255, 0.7);
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-heading {
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ============================================
   HAMBURGER MENU
============================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--athlee-dark);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: white;
  z-index: 999;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 0;
}

.mobile-menu.open {
  display: flex;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .desktop-nav {
    display: none;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }
}

/* ============================================
   UTILITY CLASSES
============================================ */
.container-xl {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.divider-orange {
  width: 48px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.tag-orange {
  background: rgba(249, 115, 22, 0.1);
  color: var(--athlee-orange);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.tag-dark {
  background: rgba(0, 0, 0, 0.06);
  color: var(--athlee-gray);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* Numbered badge */
.badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Process arrow between items */
.arrow-right {
  color: rgba(0,0,0,0.2);
  font-size: 1.5rem;
  font-weight: 300;
}

/* Horizontal rule orange */
hr.orange {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--athlee-orange), transparent);
  margin: 2rem 0;
}

/* Quote styling */
.quote-box {
  border-left: 4px solid var(--athlee-orange);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--athlee-gray);
}

/* Highlight chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(249, 115, 22, 0.08);
  color: var(--athlee-orange);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

/* Scroll to top button */
#scrollTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--athlee-orange);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  font-size: 1.1rem;
}

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

#scrollTopBtn:hover {
  background: var(--athlee-orange-dark);
  transform: translateY(-2px);
}
