/* ==========================================================================
   Pixel Sort: Color Art Puzzle — Official Website Stylesheet
   Theme: Soft Tactile Matte 3D & Modern Glassmorphism
   Target Game: com.pixelsort.colorsort
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #0e1117;
  --bg-surface: #171b24;
  --bg-surface-elevated: #202634;
  --bg-card: rgba(26, 32, 46, 0.82);
  --bg-card-hover: rgba(35, 43, 62, 0.92);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.35);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  /* Brand Accent Colors */
  --accent-emerald: #10b981;
  --accent-emerald-dark: #059669;
  --accent-emerald-shadow: #047857;
  
  --accent-amber: #f59e0b;
  --accent-amber-dark: #d97706;
  
  --accent-sky: #38bdf8;
  --accent-sky-dark: #0284c7;
  
  --accent-purple: #a855f7;
  --accent-purple-dark: #7c3aed;
  
  --accent-rose: #f43f5e;
  
  /* Beads & Pixel Palette */
  --bead-red: #ef4444;
  --bead-orange: #f97316;
  --bead-yellow: #eab308;
  --bead-green: #22c55e;
  --bead-cyan: #06b6d4;
  --bead-blue: #3b82f6;
  --bead-purple: #8b5cf6;
  --bead-pink: #ec4899;

  /* Typography */
  --font-display: 'Lilita One', cursive, sans-serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --header-height: 76px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Clay Shadows & Tactile Depth */
  --shadow-clay-btn: 0 6px 0 var(--accent-emerald-shadow), 0 12px 24px rgba(16, 185, 129, 0.3);
  --shadow-card: 0 16px 36px -8px rgba(0, 0, 0, 0.45), 0 0 1px 1px var(--border-subtle);
  --shadow-float: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(14, 17, 23, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #111;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffffff 40%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-emerald);
  border-radius: var(--radius-full);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Tactile Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(180deg, #34d399 0%, var(--accent-emerald) 60%, var(--accent-emerald-dark) 100%);
  color: #062b1a;
  box-shadow: var(--shadow-clay-btn);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--accent-emerald-shadow), 0 16px 28px rgba(16, 185, 129, 0.4);
  color: #031e11;
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--accent-emerald-shadow), 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
}

/* Hero Section */
.hero {
  padding: 90px 0 70px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-badge-text {
  font-size: 0.85rem;
  font-weight: 800;
  color: #6ee7b7;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.8rem;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #38bdf8 60%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 34px;
  max-width: 540px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 36px;
}

.play-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000000;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.play-store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.6);
}

.play-store-icon {
  width: 32px;
  height: 32px;
}

.play-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.play-store-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #cbd5e1;
}

.play-store-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.15;
}

.hero-meta-list {
  display: flex;
  gap: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #ffffff;
}

.meta-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* Phone Mockup Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 310px;
  height: 620px;
  background: #11141c;
  border: 10px solid #282f3f;
  border-radius: 46px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-speaker {
  width: 70px;
  height: 4px;
  background: #3a4256;
  border-radius: var(--radius-full);
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  flex: 1;
  background: #c1c0c2; /* Game signature heather gray */
  display: flex;
  flex-direction: column;
  padding: 24px 14px 16px;
  position: relative;
  color: #1f2937;
}

/* Mockup Game UI */
.mock-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mock-level-tag {
  background: #38bdf8;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 0 #0284c7;
}

.mock-coins-tag {
  background: #f59e0b;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 0 #d97706;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Pixel Art Mosaic Canvas */
.mock-canvas-board {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.04);
  padding: 10px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mock-canvas-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: #4b5563;
  margin-bottom: 8px;
}

.mock-pixel-grid {
  display: grid;
  grid-template-columns: repeat(8, 20px);
  grid-template-rows: repeat(8, 20px);
  gap: 2.5px;
  background: #e5e7eb;
  padding: 5px;
  border-radius: 10px;
}

.pixel-cell {
  border-radius: 4px;
  position: relative;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.pixel-cell.active-drop {
  animation: pulseCell 1.2s infinite alternate;
}

@keyframes pulseCell {
  from { transform: scale(1); filter: brightness(1); }
  to { transform: scale(1.08); filter: brightness(1.2); }
}

.mock-tray-label {
  font-family: var(--font-display);
  font-size: 0.76rem;
  color: #4b5563;
  margin-bottom: 6px;
  text-align: center;
}

/* Sorter Tray */
.mock-tray-container {
  background: #ffffff;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  margin-top: auto;
}

.mock-tray-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.mock-bead {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.mock-bead:hover {
  transform: scale(1.15) translateY(-3px);
}

.bead-shine {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

/* Floating Badges on Mockup */
.mock-badge-floating {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #111827;
  z-index: 20;
  animation: floatBounce 4s ease-in-out infinite;
}

.mock-badge-1 {
  top: 15%;
  right: -25px;
}

.mock-badge-2 {
  bottom: 20%;
  left: -25px;
  animation-delay: -2s;
}

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

/* Section Header Styles */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--accent-emerald);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

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

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-5px);
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.icon-emerald { background: linear-gradient(135deg, #10b981, #047857); color: #fff; }
.icon-amber   { background: linear-gradient(135deg, #f59e0b, #b45309); color: #fff; }
.icon-sky     { background: linear-gradient(135deg, #38bdf8, #0369a1); color: #fff; }
.icon-purple  { background: linear-gradient(135deg, #a855f7, #6b21a8); color: #fff; }

.feature-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Showcase Section */
.showcase-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease;
}

.showcase-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.showcase-canvas-preview {
  height: 180px;
  background: #1f2533;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
}

.showcase-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Bead Skins Pill Selector Showcase */
.bead-skins-container {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
}

.bead-skins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.skin-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
}

.skin-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-emerald);
}

.skin-sample {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  position: relative;
}

.skin-sample.marble {
  background: radial-gradient(circle at 35% 35%, #6ee7b7, #10b981 60%, #064e3b 100%);
}

.skin-sample.diamond {
  background: linear-gradient(135deg, #e0e7ff 0%, #38bdf8 50%, #1e40af 100%);
  border-radius: 12px;
  transform: rotate(45deg);
  margin-bottom: 16px;
}

.skin-sample.wood {
  background: linear-gradient(135deg, #fcd34d 0%, #d97706 60%, #78350f 100%);
  border-radius: 10px;
}

.skin-sample.neon {
  background: #f43f5e;
  box-shadow: 0 0 20px #f43f5e, inset 0 0 10px #ffe4e6;
}

.skin-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #ffffff;
}

.skin-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-amber);
  margin-top: 4px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.open .faq-content {
  padding-bottom: 22px;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(56, 189, 248, 0.15) 100%), #141a24;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  margin: 60px 0 20px;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.cta-banner p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 30px;
}

/* Footer */
.site-footer {
  background: #080a0f;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-group-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.18s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.package-pill {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 0.8rem;
}

/* ==========================================================================
   Legal Pages (Privacy Policy, Terms of Service, Data Deletion)
   ========================================================================== */

.legal-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(17, 22, 31, 0.5);
  margin-bottom: 40px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-sky);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 16px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: flex-start;
  padding-bottom: 80px;
}

/* Sticky Legal Table of Contents */
.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.toc-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.toc-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

/* Legal Content Body */
.legal-content {
  color: #d1d5db;
  font-size: 1.02rem;
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 44px;
  scroll-margin-top: 100px;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-section h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #f3f4f6;
  margin: 22px 0 12px;
}

.legal-section p {
  margin-bottom: 16px;
}

.legal-section ul, .legal-section ol {
  margin-left: 24px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section li {
  padding-left: 4px;
}

.compliance-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--accent-emerald);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 24px 0;
  color: #e5e7eb;
}

.compliance-box.warning {
  background: rgba(245, 158, 11, 0.08);
  border-left-color: var(--accent-amber);
}

.compliance-box.info {
  background: rgba(56, 189, 248, 0.08);
  border-left-color: var(--accent-sky);
}

.compliance-box-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.info-table th, .info-table td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.94rem;
}

.info-table th {
  background: #1e2432;
  font-family: var(--font-display);
  color: #fff;
  letter-spacing: 0.4px;
}

.info-table tr {
  background: rgba(26, 32, 46, 0.6);
}

.info-table tr:nth-child(even) {
  background: rgba(20, 25, 36, 0.6);
}

/* Data Deletion Step Cards */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 26px 0;
}

.step-card {
  display: flex;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  align-items: flex-start;
}

.step-number {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-emerald-dark));
  color: #031e11;
  font-family: var(--font-display);
  font-size: 1.2rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.step-body h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.step-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.email-template-box {
  background: #11151f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px;
  font-family: monospace;
  font-size: 0.92rem;
  color: #93c5fd;
  white-space: pre-wrap;
  margin: 16px 0;
  position: relative;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-tagline {
    margin: 0 auto 30px;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-meta-list {
    justify-content: center;
  }
  
  .legal-layout {
    grid-template-columns: 1fr;
  }
  
  .legal-toc {
    display: none;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #0e1117;
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    gap: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }
  
  .hero-title {
    font-size: 2.35rem;
  }
  
  .section-title {
    font-size: 2.1rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
