/* ========================================
   bolzn Static Landing Page - Modern CSS
   ======================================== */

/* CSS Custom Properties */
:root {
  /* Colors */
  --color-bg: #f5f5f7;
  --color-bg-band: #e8e8eb;
  --color-text: #1d1d1f;
  --color-text-muted: #6e6e73;
  --color-white: #ffffff;

  /* Gradient colors */
  --color-cyan: #06b6d4;
  --color-purple: #8b5cf6;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-size-sm: clamp(0.875rem, 2vw, 1rem);
  --font-size-base: clamp(1rem, 2.5vw, 1.125rem);
  --font-size-lg: clamp(1.25rem, 3vw, 1.5rem);
  --font-size-xl: clamp(1.5rem, 4vw, 2rem);
  --font-size-2xl: clamp(2rem, 5vw, 3rem);
  --font-size-hero: clamp(2.5rem, 8vw, 4.5rem);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 64px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(29, 29, 31, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-logo-img {
  height: 18px;
  width: auto;
  border-radius: 3px;
}

/* Desktop Navigation */
.nav-links {
  display: none;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 8px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-cyan);
}

.nav-links a.active {
  color: var(--color-white);
}

/* Mobile Menu Button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  padding: var(--space-lg);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.nav-drawer-links a {
  display: block;
  padding: var(--space-md);
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--font-size-lg);
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: background 0.2s ease;
}

.nav-drawer-links a:hover {
  background: var(--color-bg-band);
}

/* ========================================
   Main Content
   ======================================== */

main {
  padding-top: var(--nav-height);
}

.section {
  padding: var(--space-2xl) var(--space-md);
}

.section-band {
  background: var(--color-bg-band);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100dvh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: #363636 url('locker-room-1.jpg') no-repeat top center / cover;
}

.hero-logo {
  max-width: clamp(200px, 50vw, 350px);
  height: auto;
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
  min-width: 44px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Gradient Outline Button */
.btn-outline {
  position: relative;
  background: var(--color-bg);
  color: var(--color-text);
  border: none;
  z-index: 1;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: -1;
}

.btn-outline:hover {
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

/* Solid Black Button */
.btn-black {
  background: var(--color-text);
  color: var(--color-white);
  border: none;
}

.btn-black:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Features Section
   ======================================== */

.features-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-xl);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--color-bg-band), var(--color-bg));
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.feature-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.feature-description {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

/* ========================================
   Pricing Section
   ======================================== */

.pricing-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-xl);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  position: relative;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    linear-gradient(135deg, var(--color-cyan), var(--color-purple)) border-box;
}

.pricing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
}

.pricing-tier {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.pricing-name {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.pricing-price {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin-bottom: var(--space-xs);
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-per-team {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-lg);
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  padding: var(--space-xs) 0;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.pricing-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  border-radius: 50%;
  flex-shrink: 0;
}

.pricing-footnote {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin-top: var(--space-lg);
}

/* ========================================
   Login Section
   ======================================== */

.login-section {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.login-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.login-text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  max-width: 400px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  border-top: 1px solid var(--color-bg-band);
}

/* ========================================
   Media Queries
   ======================================== */

/* Tablet */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .nav-drawer {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero {
    padding: var(--space-2xl) var(--space-md);
  }
}
