/* ========================================
   7k Apps — Global Styles (Black / Red / Burgundy)
   ======================================== */

/* CSS Variables */
:root {
  --color-primary: #f7eef0;
  --color-heading: #f7eef0;
  --color-secondary: #050203;
  --color-text: #efe2e5;
  --color-text-secondary: #ab8d93;
  --color-background: #0a0507;
  --color-background-secondary: #170a0d;
  --color-surface: #1e0f13;
  --color-border: #331419;
  --color-ink: #12070a;

  --color-accent: #ff1a3d;
  --color-accent-hover: #ff4d68;
  --color-burgundy: #7a0c27;
  --color-burgundy-dark: #3d0512;

  --gradient-brand: linear-gradient(135deg, #ff1a3d 0%, #a3081f 45%, #2c040f 100%);
  --gradient-brand-hover: linear-gradient(135deg, #ff4d68 0%, #c4102f 45%, #4a0817 100%);
  --gradient-surface: linear-gradient(180deg, #170a0d 0%, #0a0507 100%);
  --gradient-page: radial-gradient(ellipse 120% 60% at 50% -10%, #26060f 0%, #0a0507 55%), #0a0507;

  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  --spacing-xxl: 120px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03);
  --shadow-lg: 0 20px 56px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 26, 61, 0.14);
  --glow-accent: 0 0 0 1px rgba(255, 26, 61, 0.4), 0 8px 24px rgba(255, 26, 61, 0.25);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--gradient-page);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--color-accent);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--color-background);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-burgundy) 100%);
  border-radius: 10px;
  border: 2px solid var(--color-background);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-hover);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

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

a:hover {
  color: var(--color-accent-hover);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 5, 7, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.header-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

/* Burger button */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* Nav dropdown */
.nav {
  position: absolute;
  top: calc(100% - 4px);
  left: var(--spacing-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
}

.nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
}

.nav li {
  width: 100%;
}

.nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 400;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav a:hover {
  background: var(--color-background-secondary);
  color: var(--color-accent);
}

/* Header auth buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-btn {
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.header-btn-login {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.header-btn-login:hover {
  background: var(--color-background-secondary);
  border-color: var(--color-accent);
}

.header-btn-register {
  background: var(--gradient-brand);
  color: #ffffff;
}

.header-btn-register:hover {
  background: var(--gradient-brand-hover);
  box-shadow: var(--glow-accent);
}

/* Hero Section */
.hero {
  padding: var(--spacing-xxl) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--color-background-secondary) 0%, var(--color-background) 100%);
}

/* Hero with Background Image */
.hero-with-image {
  position: relative;
  padding: var(--spacing-xxl) 0;
  min-height: 700px;
  height: 85vh;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-with-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/images/main_banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(3px);
  -webkit-filter: blur(3px);
  transform: scale(1.05);
  z-index: 0;
}

/* Animated gradient for main page only */
.hero-with-image.hero-main::before {
  background: linear-gradient(135deg, #0d0208, #ff1a3d, #7a0c27, #0d0208);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  filter: none;
  -webkit-filter: none;
  transform: none;
}

/* Compact hero for main page */
.hero-with-image.hero-main {
  min-height: 350px;
  height: 45vh;
  max-height: 450px;
  padding: 40px 0;
}

.hero-with-image.hero-main h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.hero-with-image.hero-main .hero-subtitle {
  font-size: 1rem;
  margin-bottom: 24px;
  max-width: 700px;
}

.hero-with-image.hero-main .cta-group {
  gap: 12px;
  margin-bottom: 32px;
}

.hero-with-image.hero-main .btn {
  padding: 10px 24px;
  font-size: 0.95rem;
}

.hero-with-image.hero-main .hero-stats {
  gap: 32px;
  margin-top: 32px;
}

.hero-with-image.hero-main .stat-item {
  min-width: 120px;
}

.hero-with-image.hero-main .stat-number {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 4px;
}

.hero-with-image.hero-main .stat-label {
  font-size: 0.85rem;
}

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

.hero-with-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 5, 7, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

/* Dark overlay for main page with gradient */
.hero-with-image.hero-main::after {
  background: rgba(5, 2, 3, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-with-image .container {
  position: relative;
  z-index: 2;
}

.hero-with-image h1 {
  color: var(--color-primary);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.hero-with-image .hero-subtitle {
  color: var(--color-text);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

/* White text for main page with dark gradient */
.hero-with-image.hero-main h1 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-with-image.hero-main .hero-subtitle {
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* Hero with different background images */
.hero-with-image.hero-apps::before {
  background-image: url('/images/apps.jpg');
}

.hero-with-image.hero-about::before {
  background-image: url('/images/about.jpg');
}

.hero-with-image.hero-blog::before {
  background-image: url('/images/blog.jpg');
}

.hero-with-image.hero-contacts::before {
  background-image: url('/images/contacts.jpg');
}

.hero h1 {
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.cta-group {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Hero download buttons */
.hero-download-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Promo Hero Banner */
.promo-hero {
  background: radial-gradient(circle at 70% 40%, #7a0c27 0%, #3a0d12 45%, #0c0204 100%);
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.promo-hero-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
}

/* Whole-banner clickable overlay link */
.promo-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

/* Download buttons inside banner sit above the overlay */
.promo-download-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.promo-hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.promo-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.promo-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}

.promo-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.promo-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 40px;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.promo-btn:hover {
  background: var(--gradient-brand-hover);
  transform: translateY(-2px);
  box-shadow: var(--glow-accent);
}

.promo-hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-hero-image img {
  width: 100%;
  max-width: 460px;
  height: auto;
}

@media (max-width: 768px) {
  .promo-hero {
    padding: var(--spacing-lg) 0;
  }

  .promo-hero-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }

  .promo-hero-text {
    align-items: center;
    order: 2;
  }

  .promo-hero-image {
    order: 1;
  }

  .promo-hero-image img {
    max-width: 320px;
  }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  margin-top: var(--spacing-lg);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.5s backwards;
}

.stat-item {
  text-align: center;
  min-width: 150px;
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #ff8fa3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--spacing-xs);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.stat-label {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Hero Features */
.hero-features {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: var(--spacing-lg);
  flex-wrap: wrap;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.5s backwards;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feature::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: white;
}

.btn-primary:hover {
  background: var(--gradient-brand-hover);
  transform: translateY(-2px);
  box-shadow: var(--glow-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: white;
  box-shadow: var(--glow-accent);
}

/* Section */
.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-description {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  animation: fadeInScale 0.6s ease backwards;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
}

.card-description {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

.card-type {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-background-secondary);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
}

.card-type.utility {
  background: rgba(79, 172, 254, 0.15);
  color: #7cc4ff;
}

.card-type.entertainment {
  background: rgba(86, 171, 47, 0.18);
  color: #8fd97a;
}

.card-type.games {
  background: var(--gradient-brand);
  color: #ffffff;
}

.card-type.business {
  background: rgba(190, 120, 220, 0.18);
  color: #dba6ee;
}

.card-link {
  color: var(--color-accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: 10px;
}

/* Product Page */
.product-hero {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  text-align: center;
  background: var(--color-background-secondary);
}

.product-type {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-background);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  border: 1px solid var(--color-border);
}

.product-title {
  margin-bottom: var(--spacing-sm);
}

.product-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.product-section {
  padding: var(--spacing-xl) 0;
}

.product-section h2 {
  margin-bottom: var(--spacing-md);
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.features-list li {
  padding: var(--spacing-md);
  background: var(--color-background-secondary);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  color: var(--color-text);
}

.features-list li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: bold;
  margin-right: var(--spacing-xs);
  font-size: 1.3rem;
}

.availability-tags {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

.availability-tag {
  padding: 8px 20px;
  background: var(--gradient-brand);
  color: white;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.95rem;
}

.external-link-box {
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--color-background-secondary);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px dashed var(--color-border);
}

.external-link-box h3 {
  margin-bottom: var(--spacing-sm);
}

.external-link-box p {
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

.regulation-box {
  margin-top: var(--spacing-md);
  padding: var(--spacing-lg);
  background: rgba(255, 193, 7, 0.1);
  border-radius: var(--radius-md);
  border-left: 4px solid #ffc107;
}

.regulation-box h4 {
  margin-bottom: var(--spacing-sm);
  color: #ffd873;
}

.regulation-box p {
  color: #e8c88a;
  font-size: 0.95rem;
  margin-bottom: var(--spacing-xs);
}

/* Section with Gradient Background */
.section-gradient {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 25%, #ff9a9e 50%, #fad0c4 75%, #ffeaa7 100%);
  background-size: 200% 200%;
  animation: gradientShift 20s ease infinite;
}

.section-gradient .section-title {
  color: #2d3436;
}

.section-gradient .card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.section-gradient .card:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Blue Gradient Section for Water App */
.section-gradient-blue {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 25%, #43e6fc 50%, #00c9ff 75%, #92d5ff 100%);
  background-size: 200% 200%;
  animation: gradientShift 18s ease infinite;
}

.section-gradient-blue h2 {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-gradient-blue .feature-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
}

.section-gradient-blue .feature-card:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

/* 7k Games Logo */
.app-logo-svg {
  width: 120px;
  height: 120px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
}

@media (max-width: 768px) {
  .app-logo-svg {
    width: 90px;
    height: 90px;
  }
}

.app-actions-7k {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.btn-7k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-download {
  background: #ffffff;
  color: #000000;
}

/* 7k-games: show download buttons only on phones/tablets */
.app-actions-7k .btn-download {
  display: none;
}

.app-actions-7k .download-buttons {
  display: none;
}

.btn-android {
  border: none;
  border-radius: 8px;
}

/* Android icon (not whole button): round + black border */
.btn-android .btn-icon {
  border: 1px solid #000000;
  border-radius: 9999px;
}

.btn-with-icon {
  gap: 12px;
  padding: 12px 20px;
  min-width: 200px;
  align-items: center;
}

.btn-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .app-actions-7k {
    gap: 8px;
    margin-top: 16px;
  }
  
  .download-buttons {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    padding: 0 16px;
  }
  
  .btn-with-icon {
    width: 100%;
    padding: 14px 16px;
    min-width: unset;
    justify-content: center;
    gap: 14px;
    align-items: center;
  }
  
  .btn-icon {
    width: 40px;
    height: 40px;
  }
  
  .btn-with-icon span {
    flex: 0 1 auto;
    text-align: center;
    white-space: nowrap;
  }
  
  .btn-register {
    width: 100%;
    max-width: 320px;
    padding: 14px 16px;
  }
}

.btn-download:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* 7k-games: show download buttons on phones/tablets (not desktop) */
@media (max-width: 1024px) {
  .app-actions-7k .download-buttons {
    display: flex;
  }
  
  .app-actions-7k .btn-download {
    display: inline-flex;
  }
  
  /* Hide development process section on mobile */
  .dev-process-section {
    display: none;
  }
  
  /* Fix header on mobile */
  .header {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
  }
  
  .header-content {
    width: 100%;
    max-width: 100%;
    padding: 0 var(--spacing-sm);
  }
  
  /* Add padding to main content to compensate for fixed header */
  main {
    padding-top: 80px;
  }
  
  /* Complete redesign for 7k games slide on mobile */
  .slide-black {
    padding: 0 !important;
    min-height: auto !important;
    border-radius: 0 !important;
  }
  
  .slide-black .slide-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
  }
  
  /* Title first */
  .slide-header {
    order: -2;
    margin-bottom: 0;
    padding: 16px 16px 12px 16px;
  }
  
  .slide-header .slide-title {
    font-size: 1.5rem;
    margin-bottom: 0;
    text-align: center;
  }
  
  /* Buttons second */
  .slide-actions {
    order: -1;
    margin-bottom: 0;
    gap: 12px;
    padding: 0 16px 16px 16px;
  }
  
  .btn-game {
    padding: 10px 24px;
    font-size: 0.95rem;
    flex: 1;
  }
  
  /* Screenshots third - large and scrollable */
  .slide-screenshots-large {
    order: 0;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    margin-bottom: 0;
    padding: 16px 0 16px 16px;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    touch-action: pan-x !important;
    overscroll-behavior-x: contain;
    position: relative;
    z-index: 10;
    isolation: isolate;
  }
  
  .slide-screenshots-large .screenshot-wrapper {
    width: 65vw !important;
    max-width: 65vw !important;
    min-width: 65vw !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
  }
  
  .slide-screenshots-large .screenshot-wrapper:last-child {
    padding-right: 16px;
  }
  
  .slide-screenshots-large .screenshot-wrapper img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Text last */
  .slide-black .slide-info {
    order: 1;
    padding: 16px;
    text-align: center;
  }
  
  .slide-black .slide-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

.btn-register {
  background: #c4061e;
  color: #ffffff;
}

.btn-register:hover {
  background: #a00518;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(196, 6, 30, 0.4);
}

/* Dark Gradient Section for 7k Games */
.section-gradient-dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 25%, #1f1f1f 50%, #0a0a0a 75%, #1a1a1a 100%);
  background-size: 200% 200%;
  animation: gradientShift 18s ease infinite;
}

.section-gradient-dark h2 {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.section-gradient-dark .feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
}

.section-gradient-dark .feature-card h3,
.section-gradient-dark .feature-card p {
  color: #ffffff;
}

.section-gradient-dark .feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 26, 61, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

/* Warm burgundy gradient section (used on homepage "Наши направления") */
.section-gradient-warm {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-background) 0%, var(--color-burgundy-dark) 45%, var(--color-burgundy) 75%, var(--color-background) 100%);
  background-size: 200% 200%;
  animation: gradientShift 20s ease infinite;
}

/* Green Gradient Section for Focus Time App */
.section-gradient-green {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5fff5 0%, #a8e063 25%, #56ab2f 50%, #7ed956 75%, #c8e6c9 100%);
  background-size: 200% 200%;
  animation: gradientShift 18s ease infinite;
}

.section-gradient-green h2 {
  color: #1b5e20;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.section-gradient-green .feature-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
}

.section-gradient-green .feature-card:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

/* Red Gradient Section for Pasta App */
.section-gradient-red {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5f5 0%, #ff6b6b 25%, #ee5a24 50%, #ff8787 75%, #ffd7d7 100%);
  background-size: 200% 200%;
  animation: gradientShift 18s ease infinite;
}

.section-gradient-red h2 {
  color: #8b0000;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.section-gradient-red .feature-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
}

.section-gradient-red .feature-card:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

/* Gradient CTA Block */
.cta-gradient {
  position: relative;
  padding: calc(var(--spacing-xxl) * 1.5) 0;
  margin: var(--spacing-xxl) 0;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0208 0%, #7a0c27 35%, #ff1a3d 65%, #2c040f 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  box-shadow: var(--shadow-lg);
}

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

.cta-gradient-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.cta-gradient h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: white;
}

.cta-gradient p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: white;
  color: var(--color-ink);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
}

.modal {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: var(--spacing-xxl);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
  position: relative;
}

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

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--color-background-secondary);
  color: var(--color-accent);
}

.modal h2 {
  margin-bottom: var(--spacing-sm);
}

.modal p {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: var(--color-background);
  color: var(--color-text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 26, 61, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

/* Privacy Policy Checkbox */
.privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.privacy-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}

.privacy-checkbox label {
  cursor: pointer;
  user-select: none;
}

.privacy-checkbox a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.privacy-checkbox a:hover {
  border-bottom-color: var(--color-accent);
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-brand);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover:not(:disabled) {
  background: var(--gradient-brand-hover);
  transform: translateY(-1px);
  box-shadow: var(--glow-accent);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Loader */
.loader {
  display: none;
  width: 40px;
  height: 40px;
  margin: var(--spacing-md) auto;
  border: 4px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader.active {
  display: block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.success-message {
  display: none;
  text-align: center;
  padding: var(--spacing-lg);
}

.success-message.active {
  display: block;
}

.success-message .icon {
  width: 60px;
  height: 60px;
  background: #34c759;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: 2rem;
  color: white;
}

/* Footer */
.footer {
  background: var(--color-secondary);
  border-top: 1px solid var(--color-border);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
  margin-top: var(--spacing-xxl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
  color: white;
  margin-bottom: var(--spacing-sm);
  font-size: 1rem;
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Add staggered animation delays */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    gap: var(--spacing-sm);
  }

  .header-actions {
    gap: 8px;
  }

  .header-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .hero {
    padding: var(--spacing-xl) 0;
  }
  
  .hero-with-image {
    min-height: 500px;
    height: 70vh;
    max-height: 650px;
    padding: var(--spacing-xl) 0;
  }
  
  .hero-with-image::before {
    filter: blur(4px);
    -webkit-filter: blur(4px);
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
  }
  
  .cta-gradient {
    padding: var(--spacing-xl) var(--spacing-md);
    border-radius: 20px;
    margin: var(--spacing-lg) 0;
  }
  
  .cta-gradient h2 {
    font-size: 1.75rem;
  }
  
  .cta-gradient p {
    font-size: 1rem;
  }
  
  .modal {
    padding: var(--spacing-lg);
    max-height: 95vh;
  }
  
  .modal h2 {
    font-size: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .hero-stats {
    gap: var(--spacing-md);
  }
  
  .hero-features {
    gap: var(--spacing-sm);
  }
  
  /* App Store mobile styles */
  .app-hero {
    padding: 16px 0 12px;
  }
  
  .app-hero-content {
    flex-direction: column;
    text-align: center;
    gap: 12px !important;
    padding: 0 16px !important;
  }
  
  .app-icon-placeholder {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
  
  .app-title {
    font-size: 1.35rem;
    margin-bottom: 2px;
  }
  
  .app-subtitle {
    font-size: 0.95rem;
  }
  
  .app-info {
    margin-bottom: 0;
  }
  
  .app-meta {
    flex-direction: column;
    gap: 4px;
  }
  
  .app-meta-separator {
    display: none;
  }
  
  .app-stats {
    overflow-x: scroll;
    justify-content: flex-start;
  }
  
  .screenshot-item img {
    height: 500px;
  }
  
  .screenshots-container {
    padding: 0 var(--spacing-md);
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* App Store Style Pages */
.app-hero {
  background: var(--gradient-surface);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.app-hero-content {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.app-icon {
  flex-shrink: 0;
}

.app-icon-placeholder {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.app-icon-green {
  background: linear-gradient(135deg, #a8e063 0%, #56ab2f 100%);
}

.app-icon-red {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.app-info {
  flex: 1;
}

.app-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}

.app-subtitle {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xs);
}

.app-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.app-meta-separator {
  color: var(--color-border);
}

.app-stats {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  overflow-x: auto;
}

.app-stat {
  text-align: center;
  min-width: 80px;
}

.app-stat-label {
  font-size: 0.65rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.app-stat-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.rating-number {
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.rating-stars {
  color: #ff9500;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.stat-text {
  font-size: 1rem;
  font-weight: 600;
  display: block;
}

.stat-sublabel {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  font-weight: 400;
  margin-top: 1px;
}

.app-stat-divider {
  width: 1px;
  height: 30px;
  background: var(--color-border);
}

/* Screenshots Gallery */
.screenshots-section {
  background: #000;
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.screenshots-container {
  display: flex;
  gap: var(--spacing-md);
  padding: 0 var(--spacing-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.screenshots-container::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex-shrink: 0;
  scroll-snap-align: center;
  text-align: center;
}

.screenshot-item img {
  width: auto;
  height: 600px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
  display: block;
}

.screenshot-caption {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: var(--spacing-md);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.feature-card {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--color-background-secondary);
  border-radius: 12px;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

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

/* Availability Badges */
.availability-badges {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-background-secondary);
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Legal Page Styles */
.legal-nav {
  background: var(--color-background-secondary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  position: sticky;
  top: 80px;
}

.legal-nav ul {
  list-style: none;
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.legal-nav a {
  color: var(--color-text);
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.legal-nav a:hover {
  background: var(--color-background);
  color: var(--color-accent);
}

.legal-section {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--color-background);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.legal-section h2 {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-border);
}

.legal-section h3 {
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.legal-section p {
  margin-bottom: var(--spacing-sm);
}

.legal-section ul {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.legal-section li {
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-secondary);
}

/* Contact Page */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.contact-card {
  padding: var(--spacing-lg);
  background: var(--color-background-secondary);
  border-radius: var(--radius-lg);
  text-align: center;
}

.contact-card h3 {
  margin-bottom: var(--spacing-sm);
}

.contact-card p {
  font-size: 1rem;
}

/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.blog-card {
  background: var(--color-background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-content {
  padding: var(--spacing-md);
}

.blog-date {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-xs);
}

.blog-card h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.4rem;
}

.blog-card p {
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
}

/* Warning Banner */
.warning-banner {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-lg);
}

.warning-banner p {
  color: #ffd873;
  font-size: 0.95rem;
  margin: 0;
}

/* ========================================
   Development Process Section
   ======================================== */

.dev-process-section {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  color: #ffffff;
  position: relative;
}

.dev-process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.dev-process-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.dev-process-section .section-title {
  color: #ffffff;
}

.dev-process-section .section-description {
  color: rgba(255, 255, 255, 0.7);
}

.dev-process-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  align-items: start;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.process-step {
  position: relative;
  padding-left: var(--spacing-xl);
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.7;
  line-height: 1;
}

.process-step h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: #ffffff;
}

.process-step p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Xcode Mockup */
.xcode-mockup {
  position: sticky;
  top: 100px;
  perspective: 1000px;
  align-self: start;
}

.macbook-window {
  background: #1e1e1e;
  border-radius: 12px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 40px rgba(0, 113, 227, 0.15);
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
}

.macbook-window:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: rotateY(-5deg) rotateX(5deg) translateY(30px);
  }
  to {
    opacity: 1;
    transform: rotateY(-5deg) rotateX(5deg) translateY(0);
  }
}

.window-header {
  background: #2d2d2d;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  border-bottom: 1px solid #1a1a1a;
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.window-controls {
  display: flex;
  gap: 8px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.control.close {
  background: #ff5f56;
}

.control.minimize {
  background: #ffbd2e;
}

.control.maximize {
  background: #27c93f;
}

.window-title {
  font-size: 0.85rem;
  color: #a0a0a0;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}

.file-icon {
  font-size: 0.9rem;
  filter: grayscale(0.3);
}

.window-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.action-icon {
  font-size: 0.9rem;
  color: #a0a0a0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.action-icon:hover {
  color: #ffffff;
}

.code-editor {
  padding: var(--spacing-lg);
  background: #1e1e1e;
  display: flex;
  gap: var(--spacing-md);
}

.line-numbers {
  display: flex;
  flex-direction: column;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6c7986;
  text-align: right;
  user-select: none;
  padding-right: var(--spacing-sm);
  border-right: 1px solid #2d2d2d;
}

.line-numbers span {
  display: block;
  min-width: 30px;
}

.code-editor pre {
  margin: 0;
  font-family: 'SF Mono', 'Monaco', 'Consolas', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d4d4d4;
}

.code-editor code {
  display: block;
}

/* Swift Syntax Highlighting (Xcode Dark Theme) */
.code-keyword {
  color: #fc5fa3;
  font-weight: 600;
}

.code-class {
  color: #67b7a4;
}

.code-protocol {
  color: #67b7a4;
  font-style: italic;
}

.code-function {
  color: #67b7a4;
}

.code-property {
  color: #67b7a4;
}

.code-string {
  color: #fc6a5d;
}

.code-comment {
  color: #6c7986;
  font-style: italic;
}

.code-attribute {
  color: #d0a8ff;
}

.code-cursor {
  color: #d4d4d4;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .dev-process-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .xcode-mockup {
    position: relative;
    top: auto;
  }
  
  .macbook-window {
    transform: none;
  }
  
  .code-editor {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .dev-process-section {
    padding: var(--spacing-xl) 0;
  }
  
  .process-step {
    padding-left: var(--spacing-lg);
  }
  
  .step-number {
    font-size: 2rem;
  }
  
  .process-step h3 {
    font-size: 1.1rem;
  }
  
  .process-step p {
    font-size: 0.95rem;
  }
  
  .code-editor {
    padding: var(--spacing-md);
    font-size: 0.75rem;
    gap: var(--spacing-xs);
  }
  
  .line-numbers {
    font-size: 0.75rem;
    padding-right: var(--spacing-xs);
  }
  
  .line-numbers span {
    min-width: 20px;
  }
  
  .window-title {
    font-size: 0.75rem;
  }
  
  .window-actions {
    display: none;
  }
  
  .header-left {
    gap: var(--spacing-sm);
  }
}

/* ========================================
   App Showcase Slider
   ======================================== */

.app-showcase {
  padding: var(--spacing-md) 0 var(--spacing-sm) 0;
  overflow: hidden;
}

.app-showcase .section-title {
  text-align: center;
  margin-bottom: var(--spacing-sm);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-showcase .section-description {
  margin-bottom: var(--spacing-md);
}

.container-full {
  max-width: 100%;
  padding: 0 var(--spacing-md);
}

.showcase-slider {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-slide {
  min-width: 100%;
  border-radius: 24px;
  padding: 40px var(--spacing-lg);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: start;
}

.slide-black {
  padding: 32px var(--spacing-lg);
}

/* Slide Backgrounds */
.slide-green {
  background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 20%, #9ae6b4 40%, #68d391 60%, #48bb78 80%, #38a169 100%);
}

.slide-blue {
  background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 20%, #90cdf4 40%, #63b3ed 60%, #4299e1 80%, #3182ce 100%);
}

.slide-red {
  background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 20%, #fc8181 40%, #f56565 60%, #e53e3e 80%, #c53030 100%);
}

.slide-black {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 20%, #1f1f1f 40%, #0a0a0a 60%, #000000 80%, #0d0d0d 100%);
}

.slide-black .slide-title,
.slide-black .slide-description,
.slide-black .slide-dev-info {
  color: #ffffff;
}

/* Pastel slide backgrounds need dark text regardless of the site's dark theme */
.slide-green .slide-title,
.slide-green .slide-description,
.slide-green .slide-dev-info,
.slide-blue .slide-title,
.slide-blue .slide-description,
.slide-blue .slide-dev-info,
.slide-red .slide-title,
.slide-red .slide-description,
.slide-red .slide-dev-info {
  color: var(--color-ink);
}

.slide-green .slide-dev-info,
.slide-blue .slide-dev-info,
.slide-red .slide-dev-info {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.slide-black .slide-link {
  color: var(--color-accent);
}

.slide-black .slide-link:hover {
  color: var(--color-accent-hover);
}

/* Games slide header */
.slide-header {
  text-align: center;
  margin-bottom: 8px;
}

.slide-header .slide-title {
  margin-bottom: 8px;
  font-size: 1.75rem;
}

.slide-actions {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.btn-game {
  display: inline-block;
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

.btn-game-gold {
  background: #ffffff;
  color: #000000;
}

.btn-game-red {
  background: linear-gradient(135deg, #ff0a2e 0%, #d1021b 100%);
  color: #ffffff;
}

.btn-game-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #000000;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-game-download:hover {
  background: #f1f1f1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Large screenshots for games slide */
.slide-screenshots-large {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-sm);
}

.slide-screenshots-large .screenshot-wrapper {
  width: 200px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.slide-screenshots-large .screenshot-wrapper:hover {
  transform: translateY(-8px);
}

.slide-screenshots-large .screenshot-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.slide-black .slide-content {
  flex-direction: column;
}

.slide-black .slide-info {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.slide-content {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.slide-info {
  flex: 1;
  max-width: 600px;
}

.slide-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
  line-height: 1.2;
}

.slide-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

.slide-link {
  display: inline-block;
  background: var(--color-ink);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  margin-bottom: var(--spacing-md);
}

.slide-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slide-dev-info {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  opacity: 0.8;
  font-style: italic;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.slide-dev-info strong {
  font-weight: 600;
  font-style: normal;
  opacity: 1;
}

.slide-screenshots {
  flex: 1;
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: center;
}

.screenshot-wrapper {
  flex: 1;
  max-width: 280px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-normal);
  background: #000;
}

.screenshot-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
}

.screenshot-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Slider Navigation */
.slider-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: var(--spacing-lg);
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.nav-dot:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.2);
}

.nav-dot.active {
  background: var(--gradient-brand);
  width: 32px;
  border-radius: 6px;
}

/* Arrow Navigation */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(23, 10, 13, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.slider-arrow:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  box-shadow: var(--glow-accent);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
  left: 20px;
}

.slider-arrow-next {
  right: 20px;
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .app-showcase {
    padding: 10px 0;
  }

  .app-showcase .section-title {
    font-size: 1.75rem;
    margin-bottom: 0
  }

  .section-description{
    font-size: 14px;
    line-height: 1;
  }

  .hero-with-image.hero-main .hero-subtitle{
    line-height: 1;
  }

  .slide-content {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .slide-actions{
    padding: 0;
  }


  .slide-info {
    max-width: 100%;
    text-align: center;
  }

  .slide-title {
    font-size: 2.2rem;
  }

  .slide-description {
    font-size: 1.05rem;
  }
  
  .showcase-slide {
    min-height: auto;
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .slide-screenshots {
    width: 100%;
    max-width: 600px;
    padding-top: 0;
  }

  .hero-stats{
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    padding: 0 16px 8px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .hero-stats .stat-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .container{
    max-width: 100%;
  }

  .screenshot-wrapper {
    max-width: 180px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .slider-arrow-prev {
    left: 10px;
  }

  .slider-arrow-next {
    right: 10px;
  }

  .showcase-slide {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .slide-dev-info {
    font-size: 0.85rem;
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
  }
  
  .legal-hero h1 {
    font-size: 2.5rem;
  }

  .container-narrow {
    padding: 0 var(--spacing-md);
  }
}

/* ========================================
   Legal Pages (Privacy, Terms, etc.)
   ======================================== */

.legal-page {
  background: var(--color-background);
}

.legal-hero {
  background: var(--gradient-surface);
  padding: var(--spacing-xxl) 0 var(--spacing-xl);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.legal-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--spacing-sm);
}

.legal-subtitle {
  font-size: 1.3rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xs);
}

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

.legal-content {
  padding: var(--spacing-xxl) 0;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.legal-section {
  margin-bottom: var(--spacing-xl);
}

.legal-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border);
}

.legal-section:first-child h2 {
  border-top: none;
  padding-top: 0;
}

.legal-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.legal-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.legal-section ul {
  list-style: none;
  margin-bottom: var(--spacing-md);
  padding-left: 0;
}

.legal-section ul li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-lg);
  position: relative;
}

.legal-section ul li::before {
  content: "•";
  position: absolute;
  left: var(--spacing-sm);
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.2em;
}

.legal-section a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.legal-section a:hover {
  border-bottom-color: var(--color-accent);
}

.legal-section strong {
  color: var(--color-heading);
  font-weight: 600;
}

/* Legal Table */
.legal-table {
  background: var(--color-background-secondary);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.table-row {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.table-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.table-row:first-child {
  padding-top: 0;
}

.table-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-value {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text);
}

/* Legal Contact Box */
.legal-contact {
  background: linear-gradient(135deg, var(--color-burgundy-dark) 0%, var(--color-background) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-top: var(--spacing-xxl);
  text-align: center;
}

.legal-contact h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-heading);
}

.legal-contact p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.legal-contact a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.legal-contact a:hover {
  color: var(--color-accent-hover);
}

/* Responsive for Legal Pages */
@media (max-width: 768px) {
  .legal-hero {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
  }

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

  .legal-subtitle {
    font-size: 1.1rem;
  }

  .container-narrow {
    padding: 0 var(--spacing-md);
  }

  .legal-section h2 {
    font-size: 1.6rem;
  }

  .legal-section h3 {
    font-size: 1.2rem;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 1rem;
  }

  .legal-contact {
    padding: var(--spacing-lg);
  }
}
