/* 
 * Crimson Apex Sports - Dark Red & Transparent Ice Glassmorphism CSS
 * High-End Custom Aesthetics
 */

:root {
  --bg-dark: #0c0205;
  --bg-surface: rgba(24, 6, 12, 0.75);
  --bg-card: rgba(36, 10, 19, 0.65);
  --bg-card-hover: rgba(48, 14, 26, 0.85);
  --bg-glass-ice: rgba(186, 230, 253, 0.06);
  
  --accent-red: #ff2a4b;
  --accent-red-hover: #e11d48;
  --accent-red-dark: #881337;
  --accent-ice: #7dd3fc;
  --accent-ice-light: #e0f2fe;
  
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-red-glow: rgba(255, 42, 75, 0.35);
  --border-ice-glow: rgba(125, 211, 252, 0.3);
  
  --text-white: #ffffff;
  --text-light: #f1f5f9;
  --text-ice: #e0f2fe;
  --text-muted: #94a3b8;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  --shadow-red-glow: 0 8px 32px 0 rgba(255, 42, 75, 0.25);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Background Glow Spheres */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-red {
  width: 500px;
  height: 500px;
  background: rgba(255, 42, 75, 0.18);
  top: 50px;
  left: -100px;
}

.glow-ice {
  width: 550px;
  height: 550px;
  background: rgba(56, 189, 248, 0.12);
  top: 400px;
  right: -120px;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-white);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.ice-link {
  color: var(--accent-ice) !important;
  font-weight: 600;
}

.ice-link:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-crimson {
  background: linear-gradient(135deg, var(--accent-red) 0%, #be123c 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-red-glow);
}

.btn-crimson:hover {
  background: linear-gradient(135deg, #ff4d6a 0%, #e11d48 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px 0 rgba(255, 42, 75, 0.4);
}

.btn-ice-glass {
  background: rgba(224, 242, 254, 0.08);
  border: 1px solid var(--border-ice-glow);
  color: var(--accent-ice-light);
  backdrop-filter: blur(12px);
}

.btn-ice-glass:hover {
  background: rgba(224, 242, 254, 0.18);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: var(--accent-ice);
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 2, 5, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.brand-name span {
  color: var(--accent-ice);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0;
}

.nav-link:hover {
  color: var(--accent-ice-light);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  padding: 5.5rem 0 5rem 0;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 840px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 42, 75, 0.12);
  border: 1px solid var(--border-red-glow);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-red);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-ice-light) 70%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.glass-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glass);
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-ice);
}

.stat-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Sections Common */
.section {
  padding: 5rem 0;
}

.section-dark-glass {
  background: rgba(18, 5, 10, 0.7);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  color: var(--accent-red);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 0.85rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Article Stack & Cards */
.articles-stack {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.glass-article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-red) 0%, var(--accent-ice) 100%);
}

.glass-article-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-red-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px 0 rgba(255, 42, 75, 0.2);
}

.article-header {
  margin-bottom: 1.75rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.pill-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.pill-red {
  background: rgba(255, 42, 75, 0.15);
  color: var(--accent-red);
  border: 1px solid var(--border-red-glow);
}

.pill-ice {
  background: rgba(125, 211, 252, 0.15);
  color: var(--accent-ice);
  border: 1px solid var(--border-ice-glow);
}

.meta-date, .meta-author {
  color: var(--text-muted);
}

.article-title {
  font-size: 2rem;
  color: var(--text-white);
  line-height: 1.25;
}

.article-content {
  color: #cbd5e1;
  font-size: 1.025rem;
  line-height: 1.8;
}

.lead-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-ice);
  margin-bottom: 1.75rem;
  line-height: 1.75;
}

.article-content h3 {
  font-size: 1.35rem;
  color: var(--text-white);
  margin: 2rem 0 0.85rem 0;
}

.article-content p {
  margin-bottom: 1.35rem;
}

.article-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-glass);
}

.tag-cloud {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag-item {
  font-size: 0.8rem;
  color: var(--accent-ice-light);
  background: var(--bg-glass-ice);
  border: 1px solid var(--border-glass);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-info h2 {
  font-size: 2.1rem;
  margin-bottom: 1.25rem;
}

.about-info p {
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  font-size: 1.05rem;
}

.feature-pills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.glass-feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--accent-ice);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.glass-card-accent {
  background: linear-gradient(135deg, rgba(136, 19, 55, 0.7) 0%, rgba(24, 6, 12, 0.9) 100%);
  border: 1px solid var(--border-red-glow);
  padding: 2.75rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-red-glow);
}

.glass-card-accent h3 {
  font-size: 1.5rem;
  margin-bottom: 1.35rem;
  color: #ffffff;
}

.standards-list {
  list-style: none;
}

.standards-list li {
  margin-bottom: 1rem;
  color: #e2e8f0;
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
}

.standards-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent-red);
}

/* Contact Form */
.contact-glass-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 3rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-ice);
}

.glass-input, .glass-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  background: rgba(12, 2, 5, 0.6);
  color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.glass-input:focus, .glass-textarea:focus {
  border-color: var(--accent-red);
  background: rgba(24, 6, 12, 0.9);
  box-shadow: 0 0 15px rgba(255, 42, 75, 0.25);
}

.glass-textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-details-box {
  background: rgba(12, 2, 5, 0.5);
  border: 1px solid var(--border-glass);
  padding: 2rem;
  border-radius: var(--radius-md);
}

.contact-details-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;

}

.contact-details-box p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Policy Glass Box */
.policy-glass-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 3rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
}

.policy-glass-box h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.policy-date {
  color: var(--accent-red);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.policy-glass-box h3 {
  font-size: 1.3rem;
  margin: 1.75rem 0 0.65rem 0;
  color: var(--accent-ice);
}

.policy-glass-box p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

/* Footer Section */
.site-footer {
  background: #060103;
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 2.5rem 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  line-height: 1.65;
}

.footer-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.75rem;
}

.footer-list a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-list a:hover {
  color: var(--accent-ice);
}

.corp-info {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.corp-info p {
  margin-bottom: 0.5rem;
}

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

/* Responsive Media Queries */
@media (max-width: 900px) {
  .about-grid, .contact-glass-card, .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(12, 2, 5, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-glass);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

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

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

  .glass-article-card, .policy-glass-box, .contact-glass-card {
    padding: 1.75rem;
  }
}
