/* Time2Fight Landing Page - App-Inspired Design */

/* ========================================
   CSS Variables - App Colors & Styles
======================================== */
:root {
  /* App Colors */
  --color-lime: #d7ff5f;
  --color-teal: #2ec4b6;
  --color-rich-black: #010101;
  --color-text-inverted: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.7);
  --color-background-dark: #1a1a1a;
  --color-background-darker: #0f0f0f;

  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-bg-light: rgba(255, 255, 255, 0.15);
  --glass-bg-lighter: rgba(255, 255, 255, 0.25);

  /* Blur Values */
  --blur-light: blur(10px);
  --blur-medium: blur(20px);
  --blur-heavy: blur(40px);

  /* Border Radius */
  --radius-sm: 10px;
  --radius-md: 15px;
  --radius-lg: 20px;
  --radius-xl: 25px;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Fonts */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--color-background-dark);
  color: var(--color-text-inverted);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-background-dark);
  opacity: 0.95;
  z-index: -1;
}

/* ========================================
   Language Toggle
======================================== */
.language-toggle {
  position: fixed;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 1000;
  display: flex;
  background: var(--glass-bg);
  backdrop-filter: var(--blur-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 4px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--color-lime);
  color: var(--color-rich-black);
}

/* ========================================
   Navigation
======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  backdrop-filter: var(--blur-medium);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-lime);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-black);
  color: var(--color-rich-black);
  font-size: 0.875rem;
}

.logo-image {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: var(--font-weight-black);
  color: var(--color-text-inverted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-right: 100px;
}

.nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.nav-download-btn {
  background: var(--color-lime) !important;
  color: var(--color-rich-black) !important;
  padding: var(--space-xs) var(--space-md) !important;
  border-radius: var(--radius-md) !important;
  font-weight: var(--font-weight-semibold) !important;
  transition: all 0.3s ease !important;
}

.nav-download-btn:hover {
  background: var(--color-teal) !important;
  color: var(--color-text-inverted) !important;
  transform: translateY(-1px);
}

/* ========================================
   Hero Section - Animated Elements
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

/* Animated floating elements - like Figma laptop/box */

.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
  position: relative;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2xl);
}

.hero-header {
  padding-block: var(--space-lg);
}

.hero-text {
  max-width: 600px;
  margin-top: var(--space-lg);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: var(--font-weight-black);
  line-height: 1.1;
  color: var(--color-text-inverted);
  margin: 0;
  margin-top: var(--space-lg);
}

.hero-title-highlight {
  display: inline-block;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: linear-gradient(
    135deg,
    var(--color-lime) 30%,
    var(--color-teal) 70%
  );
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-xl);
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-lime);
  color: var(--color-rich-black);
  box-shadow: 0 10px 30px rgba(215, 255, 95, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(215, 255, 95, 0.4);
}

.btn-secondary {
  background: var(--glass-bg-light);
  color: var(--color-text-inverted);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur-light);
}

.btn-secondary:hover {
  background: var(--glass-bg-lighter);
  transform: translateY(-2px);
}

/* ========================================
   Phone Mockups - Three Floating Screens
======================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;

  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.phone-container {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* 2D Platform - exactly like Figma design */
.phone-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 300px;
  background: var(--color-lime);
  border-radius: 40px;
  z-index: 1;
}

.phone-mockup {
  position: absolute;
  width: 220px;
  height: 440px;
  border-radius: 30px;
  background: #2a2a2a;
  padding: 18px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  z-index: 10;
  bottom: 30px;
}

.phone-mockup:nth-child(1) {
  left: 90px;
  z-index: 8;
  transform: scale(0.85);
}

.phone-mockup:nth-child(2) {
  z-index: 12;
  transform: scale(1);
}

.phone-mockup:nth-child(3) {
  right: 90px;
  z-index: 9;
  transform: scale(0.9);
}

.phone-mockup:nth-child(1) {
  left: 10px;
}

.phone-mockup:nth-child(3) {
  right: 10px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--color-background-darker);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.phone-glow {
  display: none;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* ========================================
   App Preview
======================================== */
.app-preview {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-background-dark);
  position: relative;
  overflow: hidden;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.app-header {
  padding: var(--space-sm);
}

.status-bar {
  display: flex;
  justify-content: between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-inverted);
}

.status-icons {
  display: flex;
  gap: var(--space-xs);
  margin-left: auto;
}

.signal,
.battery {
  width: 16px;
  height: 10px;
  background: var(--color-text-inverted);
  border-radius: 2px;
}

.battery {
  position: relative;
}

.battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 6px;
  background: var(--color-text-inverted);
  border-radius: 0 1px 1px 0;
}

.app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  text-align: center;
}

.welcome-text {
  font-size: 0.95rem;
  color: var(--color-lime);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-xs);
}

.app-title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-black);
  color: var(--color-text-inverted);
  margin-bottom: var(--space-xl);
}

.timer-display {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  width: 100%;
  max-width: 200px;
}

.round-indicator {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
}

.time-big {
  font-size: 2.5rem;
  font-weight: var(--font-weight-black);
  color: var(--color-text-inverted);
  margin-bottom: var(--space-md);
  line-height: 1;
}

.play-button {
  width: 50px;
  height: 50px;
  background: var(--color-lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.play-button:hover {
  transform: scale(1.1);
}

/* ========================================
   Features Section
======================================== */
.features {
  padding: var(--space-3xl) 0;
  position: relative;
}

.features-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-black);
  color: var(--color-text-inverted);
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

/* ========================================
   Feature Cards
======================================== */
.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-lime);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.feature-card:hover {
  transform: translateY(-10px);
  background: var(--glass-bg-light);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--color-lime);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: var(--font-weight-black);
  color: var(--color-rich-black);
  margin-bottom: var(--space-lg);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-black);
  color: var(--color-text-inverted);
  margin-bottom: var(--space-xs);
}

.feature-subtitle {
  font-size: 1rem;
  color: var(--color-lime);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-md);
}

.feature-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.feature-example {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.875rem;
}

.example-tag {
  color: var(--color-teal);
  font-weight: var(--font-weight-semibold);
}

/* ========================================
   Premium Features Section
======================================== */
.premium-features {
  padding: var(--space-3xl) 0;
  background: var(--glass-bg);
  backdrop-filter: var(--blur-light);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.premium-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.premium-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.premium-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-black);
  color: var(--color-text-inverted);
  margin-bottom: var(--space-xl);
}

.premium-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.premium-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.premium-icon {
  width: 50px;
  height: 50px;
  background: var(--color-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-text-inverted);
  flex-shrink: 0;
}

.premium-details h4 {
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-inverted);
  margin-bottom: var(--space-xs);
}

.premium-details p {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ========================================
   Settings Mockup
======================================== */
.premium-visual {
  display: flex;
  justify-content: center;
}

.settings-mockup {
  background: var(--glass-bg-light);
  backdrop-filter: var(--blur-medium);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 300px;
  width: 100%;
}

.settings-header {
  font-size: 1.25rem;
  font-weight: var(--font-weight-black);
  color: var(--color-text-inverted);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--glass-border);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-inverted);
}

.settings-item:last-child {
  border-bottom: none;
}

.toggle {
  width: 50px;
  height: 28px;
  background: var(--glass-bg);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle.active {
  background: var(--color-lime);
}

.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle.active::after {
  transform: translateX(22px);
  background: var(--color-rich-black);
}

/* ========================================
   Download Section
======================================== */
.download {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.download-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.download-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-black);
  color: var(--color-text-inverted);
  margin-bottom: var(--space-md);
}

.download-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

/* Download Button Images */
.download-btn-image {
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
  padding: 8px;
}

.download-btn-image:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Play Store - not available yet */
.download-btn-image:nth-child(2) {
  opacity: 0.5;
  cursor: not-allowed;
}

.download-btn-image:nth-child(2):hover {
  transform: none;
  filter: none;
}

.download-btn-img {
  height: 60px;
  width: auto;
  display: block;
  border-radius: calc(var(--radius-md) - 8px);
}

.download-note {
  padding: var(--space-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: var(--blur-light);
}

.download-note p {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

/* ========================================
   Footer
======================================== */
.footer {
  padding: var(--space-3xl) 0 var(--space-lg);
  border-top: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--blur-light);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3xl);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-tagline {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: var(--space-3xl);
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-inverted);
  margin-bottom: var(--space-md);
}

.footer-section a {
  display: block;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-lime);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}
@media (min-width: 1600px) {
  .phone-mockup:nth-child(1) {
    left: -60px;
  }

  .phone-mockup:nth-child(3) {
    right: -60px;
  }
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
  .premium-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-content {
    gap: var(--space-xl);
  }

  .phone-mockup {
    width: 250px;
    height: 500px;
  }

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

  /* Adjust phone container for tablets */
  .hero-visual {
    height: 700px;
    max-width: 1000px;
  }

  .phone-container {
    width: 900px;
    height: 500px;
  }

  .phone-container::before {
    height: 150px;
  }

  .phone-mockup {
    width: 180px;
    height: 360px;
    bottom: 75px;
  }

  .phone-mockup:nth-child(1) {
    left: 20px;
  }

  .phone-mockup:nth-child(3) {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: var(--space-sm);
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    gap: var(--space-lg);
  }

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

  .phone-mockup {
    width: 200px;
    height: 400px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .feature-card {
    padding: var(--space-lg);
  }

  .premium-list {
    gap: var(--space-md);
  }

  /* Mobile phone layout - single centered phone */
  .hero-visual {
    height: 500px;
    max-width: 400px;
  }

  .phone-container {
    width: 350px;
    height: 400px;
  }

  .phone-container::before {
    height: 200px;
    border-radius: 20px;
  }

  .phone-mockup:nth-child(1),
  .phone-mockup:nth-child(3) {
    display: none;
  }

  .phone-mockup:nth-child(2) {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(1) !important;
    width: 160px;
    height: 320px;
    bottom: 60px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: var(--space-xl);
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .language-toggle {
    top: var(--space-xs);
    right: var(--space-xs);
  }

  .nav-container {
    padding: var(--space-xs) var(--space-sm);
  }

  .hero-container,
  .features-container,
  .premium-container,
  .download-container,
  .footer-container {
    padding: 0 var(--space-sm);
  }

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

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

  .hero-visual {
    height: 450px;
    max-width: 320px;
  }

  .phone-container {
    width: 300px;
    height: 350px;
  }

  .phone-container::before {
    height: 100px;
    border-radius: 30px;
  }

  .phone-mockup:nth-child(2) {
    width: 140px;
    height: 280px;
    bottom: 50px;
  }

  .phone-screen {
    border-radius: 12px;
  }
}

/* ========================================
   Accessibility & Performance
======================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .phone-glow {
    animation: none;
  }
}

@media (prefers-contrast: high) {
  :root {
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.4);
  }
}

/* Focus states for accessibility */
button:focus-visible,
a:focus-visible,
.lang-btn:focus-visible {
  outline: 2px solid var(--color-lime);
  outline-offset: 2px;
}

/* ========================================
   Legal Pages
======================================== */
.legal-page {
  padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.legal-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-black);
  color: var(--color-text-inverted);
  margin-bottom: var(--space-sm);
}

.legal-updated {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.legal-content {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  margin-bottom: var(--space-xl);
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-lime);
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
}

.legal-section h2:first-child {
  margin-top: 0;
}

.legal-section h3 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-inverted);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-lg);
}

.legal-section p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.legal-section ul {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  margin-left: var(--space-lg);
}

.legal-section ul li {
  margin-bottom: var(--space-xs);
  line-height: 1.6;
}

.legal-section a {
  color: var(--color-lime);
  text-decoration: none;
}

.legal-section a:hover {
  color: var(--color-teal);
  text-decoration: underline;
}

.legal-section strong {
  color: var(--color-text-inverted);
  font-weight: var(--font-weight-semibold);
}

.contact-info {
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-md) 0;
}

.contact-info p {
  margin-bottom: var(--space-xs);
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.legal-back {
  text-align: center;
}

.legal-back .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

@media (max-width: 768px) {
  .legal-content {
    padding: var(--space-xl);
  }

  .legal-container {
    padding: 0 var(--space-md);
  }

  .legal-section ul {
    margin-left: var(--space-md);
  }
}

/* ========================================
   Cookie Banner / DSGVO Compliance
======================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50%;
  max-width: 400px;
  min-width: 300px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg);
  z-index: 1000;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
  transform: translateX(0);
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
}

.cookie-text a {
  color: var(--color-lime);
  text-decoration: none;
  margin-left: var(--space-sm);
  font-weight: 500;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cookie-btn {
  padding: var(--space-sm) var(--space-md);
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
  flex: 1;
}

.cookie-btn-accept {
  background: var(--color-lime);
  color: var(--color-rich-black);
}

.cookie-btn-accept:hover {
  background: var(--color-teal);
  color: var(--color-text-inverted);
}

.cookie-btn-decline {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.cookie-btn-settings {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--glass-border);
}

.cookie-btn-settings:hover {
  color: var(--color-text-inverted);
  border-color: var(--color-lime);
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: var(--space-md);
  }

  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
    min-width: 100px;
  }

  .cookie-banner {
    bottom: 10px;
    right: 10px;
    width: 90%;
    max-width: 350px;
  }
}

/* ========================================
   Cookie Withdrawal Modal
======================================== */
.withdrawal-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.withdrawal-modal.show {
  display: flex;
}

.withdrawal-modal-content {
  background: var(--color-rich-black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: var(--space-xl);
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.withdrawal-modal.show .withdrawal-modal-content {
  transform: scale(1);
}

.withdrawal-modal-header {
  margin-bottom: var(--space-lg);
}

.withdrawal-modal-header h3 {
  color: white;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.withdrawal-modal-body {
  margin-bottom: var(--space-xl);
}

.withdrawal-modal-body p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
}

.withdrawal-modal-footer {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}

.withdrawal-modal-footer .btn {
  padding: var(--space-sm) var(--space-lg);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 14px;
}

@media (max-width: 768px) {
  .withdrawal-modal-footer {
    flex-direction: column;
  }

  .withdrawal-modal-footer .btn {
    width: 100%;
  }
}

/* ========================================
   Sticky Download Button (Mobile Only)
======================================== */
.sticky-download-btn {
  position: fixed;
  right: 0;
  top: 30%;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  transform: translateX(110%);
}

.sticky-download-btn.visible {
  transform: translateX(0);
  pointer-events: auto;
}

.sticky-download-btn.scrolling {
  transform: translateX(110%);
}

.sticky-download-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-teal);
  color: var(--color-text-inverted);
  padding: 12px 16px;
  border-radius: 20px 0 0 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 8px 32px var(--color-teal);
  backdrop-filter: var(--blur-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  height: auto;
  writing-mode: horizontal-tb;
  text-orientation: initial;
  flex-direction: column;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
}

.sticky-download-link span {
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .sticky-download-btn {
    display: none !important;
  }
}
