/* TeamPulse Landing Page - STUNNING Edition */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Vibrant Blue Palette */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-darker: #1e40af;
  --primary-light: #3b82f6;
  --primary-lighter: #60a5fa;
  --primary-glow: rgba(37, 99, 235, 0.4);

  /* Accent Colors */
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --success: #10b981;
  --warning: #f59e0b;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Flat colors - no gradients */
  --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  --gradient-mesh:
    radial-gradient(at 40% 20%, rgba(37, 99, 235, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(37, 99, 235, 0.1) 0px, transparent 50%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--gray-900);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ========================================
   NAVIGATION - Glassmorphism Style
   ======================================== */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.landing-nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--gray-300);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--white);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-nav-ghost {
  color: var(--gray-300);
  background: transparent;
}

.btn-nav-ghost:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-nav-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-nav-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Language Selector */
.language-selector {
  position: relative;
  margin-right: 1rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--gray-300);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.lang-btn .fa-chevron-down {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--gray-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  min-width: 140px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.lang-option.active {
  background: rgba(37, 99, 235, 0.2);
  color: var(--primary-light);
}

.flag-icon {
  font-weight: 600;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

/* ========================================
   HERO SECTION - Immersive Experience
   ======================================== */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Animated Mesh Background */
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.8;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0%, var(--gray-900) 70%);
}

/* Floating Orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(37, 99, 235, 0.3);
  top: -20%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.25);
  top: 50%;
  right: -10%;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.2);
  bottom: -10%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

/* Grid Pattern Overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--primary-lighter);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
  color: var(--white);
}

.hero-text h1 span {
  color: var(--primary-light);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--gray-400);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-hero {
  padding: 1rem 2rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  cursor: pointer;
}

.btn-hero-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

.btn-hero-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
}

.btn-hero-primary i {
  transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
  transform: translateX(4px);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

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

/* Trust Badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.9rem;
}

.trust-item i {
  color: var(--success);
}

/* ========================================
   HERO DASHBOARD MOCKUP - The Star
   ======================================== */

.hero-visual {
  position: relative;
  perspective: 2000px;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.dashboard-mockup {
  position: relative;
  transform: rotateY(-8deg) rotateX(5deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
  transform: rotateY(-3deg) rotateX(2deg);
}

.mockup-browser {
  background: var(--gray-800);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    var(--shadow-card),
    0 0 80px rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-header {
  background: var(--gray-900);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-left: 12px;
}

.mockup-content {
  padding: 20px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  min-height: 400px;
}

/* Sidebar in Mockup */
.mockup-sidebar {
  background: var(--gray-900);
  border-radius: 12px;
  padding: 16px;
}

.mockup-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.mockup-logo span {
  font-weight: 600;
  font-size: 0.9rem;
}

.mockup-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--gray-400);
  transition: all 0.2s ease;
}

.mockup-nav-item.active {
  background: rgba(37, 99, 235, 0.2);
  color: var(--primary-light);
}

.mockup-nav-item i {
  width: 16px;
  text-align: center;
}

/* Main Content in Mockup */
.mockup-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.mockup-date {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* Stats Cards in Mockup */
.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mockup-stat {
  background: var(--gray-900);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.mockup-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.mockup-stat.green::before { background: var(--success); }
.mockup-stat.purple::before { background: var(--accent); }

.mockup-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.mockup-stat-label {
  font-size: 0.7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mockup-stat-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--success);
  margin-top: 8px;
}

/* Chart in Mockup */
.mockup-chart {
  background: var(--gray-900);
  border-radius: 12px;
  padding: 16px;
  flex: 1;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.chart-header h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

.chart-legend {
  display: flex;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--gray-400);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.blue { background: var(--primary); }
.legend-dot.green { background: var(--success); }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding-top: 20px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--primary), var(--primary-light));
  border-radius: 4px 4px 0 0;
  position: relative;
  animation: growBar 1s ease-out forwards;
  opacity: 0;
}

.chart-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, transparent, rgba(255,255,255,0.2));
  border-radius: inherit;
}

@keyframes growBar {
  from { height: 0; opacity: 0; }
  to { opacity: 1; }
}

.chart-bar:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.chart-bar:nth-child(2) { height: 80%; animation-delay: 0.15s; }
.chart-bar:nth-child(3) { height: 45%; animation-delay: 0.2s; }
.chart-bar:nth-child(4) { height: 90%; animation-delay: 0.25s; }
.chart-bar:nth-child(5) { height: 70%; animation-delay: 0.3s; }
.chart-bar:nth-child(6) { height: 85%; animation-delay: 0.35s; }
.chart-bar:nth-child(7) { height: 95%; animation-delay: 0.4s; }

/* Floating Cards */
.floating-card {
  position: absolute;
  background: var(--gray-800);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: floatCard 4s ease-in-out infinite;
}

.floating-card-1 {
  top: -20px;
  right: -40px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 40px;
  left: -60px;
  animation-delay: -2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating-card .card-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.floating-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.floating-card p {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.notification-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: var(--pink);
  border-radius: 50%;
  border: 2px solid var(--gray-800);
  animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   LOGOS / SOCIAL PROOF
   ======================================== */

.logos-section {
  padding: 60px 0;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logos-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.logos-title {
  font-size: 0.9rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  opacity: 0.6;
}

.logo-item {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========================================
   FEATURES SHOWCASE - Interactive Cards
   ======================================== */

.features-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.3;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--primary-lighter);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section-title span {
  color: var(--primary-light);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Feature Bento Grid */
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 24px;
}

.feature-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

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

.feature-card.large {
  grid-column: span 2;
}

.feature-card.tall {
  grid-row: span 2;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.feature-card p {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Feature Preview Images */
.feature-preview {
  background: var(--gray-900);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-header {
  background: var(--gray-800);
  padding: 8px 12px;
  display: flex;
  gap: 6px;
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-600);
}

.preview-content {
  padding: 16px;
}

/* Training Calendar Preview - Week View */
.training-calendar-preview {
  background: var(--gray-800);
  border-radius: 8px;
  overflow: hidden;
}

.calendar-header-row {
  display: grid;
  grid-template-columns: 50px repeat(5, 1fr);
  background: var(--gray-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar-header-cell {
  padding: 8px 4px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
}

.calendar-header-cell:first-child {
  visibility: hidden;
}

.calendar-body {
  padding: 8px;
}

.calendar-time-slot {
  display: grid;
  grid-template-columns: 50px repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}

.calendar-time-slot:last-child {
  margin-bottom: 0;
}

.time-label {
  font-size: 0.65rem;
  color: var(--gray-500);
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}

.calendar-slot {
  min-height: 50px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}

.training-session {
  height: 100%;
  padding: 6px 8px;
  border-radius: 6px;
  border-left: 3px solid;
}

.training-session.u14 {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--primary);
}

.training-session.u16 {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--success);
}

.training-session.seniors {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--warning);
}

.session-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-info {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  color: var(--gray-400);
}

.session-info i {
  font-size: 0.55rem;
}

/* Old calendar preview - keep for fallback */
.calendar-preview {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  background: var(--gray-800);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--gray-400);
}

.calendar-day.active {
  background: var(--primary);
  color: white;
}

.calendar-day.has-event {
  position: relative;
}

.calendar-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  background: var(--success);
  border-radius: 50%;
}

/* Members List Preview */
.members-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.member-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--gray-800);
  border-radius: 8px;
}

.member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
}

.member-info {
  flex: 1;
}

.member-name {
  font-size: 0.8rem;
  font-weight: 500;
}

.member-role {
  font-size: 0.65rem;
  color: var(--gray-500);
}

.member-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

/* Invoice Preview */
.invoice-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: var(--gray-800);
  border-radius: 8px;
}

.invoice-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.invoice-icon {
  width: 28px;
  height: 28px;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 0.75rem;
}

.invoice-details span {
  display: block;
  font-size: 0.8rem;
}

.invoice-details small {
  color: var(--gray-500);
  font-size: 0.65rem;
}

.invoice-amount {
  font-weight: 600;
  font-size: 0.85rem;
}

.invoice-status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 500;
}

.invoice-status.paid {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.invoice-status.pending {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
}

/* ========================================
   FAMILY PREVIEW - Family Tree Style
   ======================================== */

.family-preview {
  padding: 16px;
  min-height: 140px;
}

.family-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.family-parent {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray-800);
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.parent-avatar {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.parent-info {
  text-align: left;
}

.parent-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

.parent-role {
  font-size: 0.65rem;
  color: var(--gray-400);
}

.family-connector {
  width: 2px;
  height: 20px;
  background: var(--gray-600);
  position: relative;
}

.family-connector::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -30px;
  right: -30px;
  height: 2px;
  background: var(--gray-600);
}

.family-children {
  display: flex;
  gap: 20px;
}

.family-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.child-connector {
  width: 2px;
  height: 12px;
  background: var(--gray-600);
}

.child-avatar {
  width: 32px;
  height: 32px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.child-name {
  font-size: 0.65rem;
  color: var(--gray-300);
}

/* ========================================
   MOBILE PREVIEW - Phone Mockup
   ======================================== */

.mobile-preview {
  display: flex;
  justify-content: center;
  padding: 12px 16px;
}

.phone-mockup {
  width: 120px;
  background: var(--gray-800);
  border-radius: 20px;
  padding: 8px;
  border: 2px solid var(--gray-700);
  position: relative;
}

.phone-notch {
  width: 50px;
  height: 6px;
  background: var(--gray-700);
  border-radius: 3px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: var(--gray-900);
  border-radius: 12px;
  padding: 8px;
  min-height: 160px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.app-title {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--white);
}

.app-menu {
  display: flex;
  gap: 2px;
}

.app-menu span {
  width: 3px;
  height: 3px;
  background: var(--gray-500);
  border-radius: 50%;
}

.app-card {
  background: var(--gray-800);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 8px;
}

.app-card-title {
  font-size: 0.5rem;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.app-stat {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-light);
}

.app-schedule {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.45rem;
  color: var(--gray-300);
}

.schedule-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

.schedule-dot.green {
  background: var(--success);
}

.app-nav {
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  border-top: 1px solid var(--gray-700);
  margin-top: 8px;
}

.app-nav-item {
  width: 6px;
  height: 6px;
  background: var(--gray-600);
  border-radius: 2px;
}

.app-nav-item.active {
  background: var(--primary);
}

/* ========================================
   COINS PREVIEW - Balance & Achievements
   ======================================== */

.coins-preview {
  padding: 12px 16px;
}

.coins-balance {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  text-align: center;
}

.balance-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.balance-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.balance-amount i {
  color: #fbbf24;
  font-size: 1.2rem;
}

.coins-achievements {
  display: flex;
  gap: 8px;
}

.achievement-badge {
  flex: 1;
  background: var(--gray-800);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  border: 1px solid var(--gray-700);
  opacity: 0.5;
}

.achievement-badge.earned {
  opacity: 1;
  border-color: var(--warning);
  background: rgba(245, 158, 11, 0.1);
}

.badge-icon {
  width: 28px;
  height: 28px;
  background: var(--gray-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 0.75rem;
}

.achievement-badge.earned .badge-icon {
  background: var(--warning);
  color: var(--gray-900);
}

.badge-name {
  font-size: 0.55rem;
  color: var(--gray-400);
}

.achievement-badge.earned .badge-name {
  color: var(--warning);
  font-weight: 600;
}

/* ========================================
   NOTIFICATIONS PREVIEW - Message Stack
   ======================================== */

.notifications-preview {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--gray-800);
  padding: 10px 12px;
  border-radius: 10px;
  border-left: 3px solid transparent;
  opacity: 0.6;
}

.notif-item.unread {
  opacity: 1;
  background: rgba(37, 99, 235, 0.1);
  border-left-color: var(--primary);
}

.notif-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  background: var(--gray-700);
  color: var(--gray-400);
  flex-shrink: 0;
}

.notif-icon.blue {
  background: rgba(37, 99, 235, 0.2);
  color: var(--primary-light);
}

.notif-icon.green {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.notif-icon.orange {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
}

.notif-content {
  flex: 1;
  min-width: 0;
}

.notif-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-text {
  font-size: 0.65rem;
  color: var(--gray-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-time {
  font-size: 0.55rem;
  color: var(--gray-500);
  flex-shrink: 0;
}

/* ========================================
   STATS SECTION - Animated Counters
   ======================================== */

.stats-section {
  padding: 100px 0;
  background: var(--gray-800);
  position: relative;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--gray-900);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-300);
  font-weight: 500;
}

/* ========================================
   HOW IT WORKS - Timeline
   ======================================== */

.how-section {
  padding: 120px 0;
  position: relative;
  background: var(--gray-900);
}

.steps-container {
  max-width: 900px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.step-item::after {
  content: '';
  position: absolute;
  top: 30px;
  left: 60%;
  right: -40%;
  height: 2px;
  background: var(--gray-700);
}

.step-item:last-child::after {
  display: none;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  color: var(--white);
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.step-content p {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-visual {
  display: none;
}

/* ========================================
   CTA SECTION - Epic Finale
   ======================================== */

.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--primary-dark);
}

.cta-pattern {
  display: none;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.cta-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cta {
  padding: 1.25rem 2.5rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-cta-white {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.btn-cta-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   FOOTER - Landing Footer with NETOPIA Compliance
   ======================================== */

.landing-footer {
  background: var(--gray-900);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px;
}

.landing-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.landing-footer .footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.landing-footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.landing-footer .footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.6;
}

.landing-footer .company-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-footer .company-info {
  color: var(--gray-500);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.landing-footer .company-info strong {
  color: var(--gray-300);
}

.landing-footer .footer-links,
.landing-footer .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.landing-footer .footer-links h4,
.landing-footer .footer-legal h4,
.landing-footer .footer-partners h4 {
  color: var(--gray-200);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.landing-footer .footer-links a,
.landing-footer .footer-legal a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.landing-footer .footer-links a:hover,
.landing-footer .footer-legal a:hover {
  color: var(--primary-light);
}

.landing-footer .footer-partners {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.landing-footer .partner-logo {
  max-width: 220px;
  height: auto;
  border-radius: 6px;
}

.landing-footer .protection-logos {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.landing-footer .protection-logo {
  max-width: 80px;
  max-height: 50px;
  height: auto;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 6px;
  transition: transform 0.2s ease;
}

.landing-footer .protection-logo:hover {
  transform: translateY(-2px);
}

.landing-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* Footer responsive */
@media (max-width: 992px) {
  .landing-footer .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .landing-footer .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-footer .footer-brand p {
    max-width: 100%;
  }

  .landing-footer .protection-logos {
    justify-content: center;
  }

  .landing-footer .partner-logo {
    margin: 0 auto;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */

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

  .feature-card.large {
    grid-column: span 2;
  }

  .feature-card.tall {
    grid-row: span 1;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-item {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
  }

  .steps-line {
    left: 30px;
  }

  .step-item .step-content,
  .step-item:nth-child(odd) .step-content {
    text-align: left;
    grid-column: 2;
  }

  .step-item .step-visual,
  .step-item:nth-child(even) .step-visual {
    grid-column: 2;
    grid-row: auto;
  }

  .step-number {
    grid-column: 1;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-text h1 {
    font-size: 2.5rem;
  }

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

  .features-bento {
    grid-template-columns: 1fr;
  }

  .feature-card.large {
    grid-column: span 1;
  }

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

  .stat-number {
    font-size: 3rem;
  }

  .cta-title {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
  }
}
