/* 
   Sarva TV - IPTV Player Design System & Style Guide
   Aesthetic: Obsidian Glassmorphism (Frosted Dark, Gradient Accents)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #070913;
  --bg-darker: #04050a;
  --bg-card: rgba(15, 23, 42, 0.45);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(6, 182, 212, 0.5);
  
  --primary: #6366f1; /* Electric Indigo */
  --primary-glow: rgba(99, 102, 241, 0.35);
  --accent: #06b6d4; /* Neon Cyan */
  --accent-glow: rgba(6, 182, 212, 0.35);
  --danger: #ef4444; /* Alert Red */
  
  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Dimensions */
  --nav-height: 80px;
  --container-width: 1200px;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -10%;
  left: -10%;
  animation: float 20s infinite alternate ease-in-out;
}
.orb-2 {
  width: 450px;
  height: 450px;
  background: var(--accent);
  top: 40%;
  right: -10%;
  animation: float 15s infinite alternate-reverse ease-in-out;
}
.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  bottom: 10%;
  left: 10%;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 40px) scale(1.15); }
}

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

section {
  padding: 100px 0;
  position: relative;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Sticky Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(7, 9, 19, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  height: 70px;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--accent-glow);
}
.logo-icon svg {
  color: white;
  width: 20px;
  height: 20px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: white;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow), 0 0 10px rgba(255, 255, 255, 0.2) inset;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.btn-accent {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}
.btn-accent:hover {
  background: var(--accent);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--nav-height) + 60px);
  min-height: 95vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-pill {
  align-self: flex-start;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.05);
}
.hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
}
.hero-title span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  color: white;
  transition: all var(--transition-fast);
}
.store-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}
.store-btn svg {
  width: 24px;
  height: 24px;
}
.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.store-btn-text span:first-child {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
}
.store-btn-text span:last-child {
  font-size: 15px;
  font-family: var(--font-display);
  font-weight: 700;
}

/* Device Mockup Graphic */
.device-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.device-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  z-index: 1;
  filter: blur(20px);
}
.device-container {
  width: 290px;
  height: 590px;
  border-radius: 40px;
  border: 8px solid #2e3039;
  background: var(--bg-darker);
  position: relative;
  z-index: 2;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.device-notch {
  width: 110px;
  height: 26px;
  background: #2e3039;
  border-radius: 0 0 15px 15px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.device-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Features Section */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.feature-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all var(--transition-normal);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: white;
  box-shadow: 0 0 15px var(--accent-glow);
  border-color: transparent;
}
.feature-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Simulator / How to Use */
.simulator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sim-step {
  padding: 24px;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: left;
  position: relative;
}
.sim-step.active {
  background: var(--bg-card);
  border-color: var(--border-focus);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.sim-step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sim-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}
.sim-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  display: none;
}
.sim-step.active .sim-step-desc {
  display: block;
}

/* Phone Frame inside Simulator */
.phone-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-frame {
  width: 320px;
  height: 650px;
  border-radius: 44px;
  border: 10px solid #282a32;
  background: var(--bg-darker);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}
.phone-notch {
  width: 120px;
  height: 28px;
  background: #282a32;
  border-radius: 0 0 18px 18px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}
.phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
}
.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}
.phone-screen-img.active {
  opacity: 1;
  z-index: 2;
}

/* CSS Mockup of App Inside Frame */
.mock-app {
  width: 100%;
  height: 100%;
  background-color: #090d16;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 30px; /* status bar height */
  box-sizing: border-box;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 3;
}
.mock-app.active {
  opacity: 1;
}
.mock-status-bar {
  height: 20px;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  color: var(--text-secondary);
  font-weight: 500;
}
.mock-header {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mock-header svg {
  color: var(--accent);
}
.mock-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}
.mock-footer {
  height: 54px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(13, 19, 33, 0.8);
  padding-bottom: 8px;
}
.mock-footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
}
.mock-footer-item.active {
  color: var(--accent);
}

/* Language Selection Mockup */
.mock-lang-title {
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  margin: 15px 0 8px 0;
  font-family: var(--font-display);
}
.mock-lang-desc {
  font-size: 10px;
  color: var(--text-secondary);
  text-align: center;
  padding: 0 10px;
  margin-bottom: 20px;
}
.mock-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 8px;
}
.mock-lang-tile {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 11px;
}
.mock-lang-tile.selected {
  border-color: var(--accent);
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
}
.mock-btn-bottom {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  width: 100%;
}

/* Home / Directory Mockup */
.mock-category-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.mock-chip {
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  white-space: nowrap;
  font-size: 10px;
  color: var(--text-secondary);
}
.mock-chip.active {
  background: var(--accent);
  color: var(--bg-dark);
  font-weight: 600;
}
.mock-search-box {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mock-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.mock-logo-box {
  width: 100%;
  height: 54px;
  background: #111422;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #334155;
  border: 1px solid var(--border-color);
}
.mock-card-name {
  font-weight: 600;
  font-size: 11px;
}
.mock-card-meta {
  font-size: 9px;
  color: var(--text-secondary);
}

/* Custom Playback Screen Mockup */
.mock-player-box {
  width: 100%;
  height: 150px;
  background: #000;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock-player-info {
  margin-top: 12px;
}
.mock-player-title {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display);
}
.mock-player-meta {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.mock-pill {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  font-size: 9px;
  color: var(--text-secondary);
}
.mock-pill.cat {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
}
.mock-player-desc {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 10px;
  line-height: 1.4;
}

/* Live HLS Sandbox Section */
.sandbox-card {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.sandbox-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.sandbox-player-container {
  aspect-ratio: 16/9;
  background: #020308;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sandbox-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sandbox-loader {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(2,3,8,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 5;
  transition: opacity var(--transition-fast);
}
.sandbox-loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}
.sandbox-controls-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.sandbox-player-container:hover .sandbox-controls-overlay {
  opacity: 1;
}
.player-ctrl-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.player-ctrl-btn:hover {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: transparent;
}
.player-right-ctrls {
  display: flex;
  gap: 8px;
}
.sandbox-input-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sandbox-input-container {
  display: flex;
  gap: 12px;
  width: 100%;
}
.sandbox-input {
  flex: 1;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 14px 20px;
  color: white;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all var(--transition-fast);
}
.sandbox-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}
.sandbox-presets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.preset-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.preset-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.preset-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.preset-btn:hover, .preset-btn.active {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent);
  border-color: var(--accent);
}
.error-msg {
  color: var(--danger);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

/* Feedback & Support Section */
.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.feedback-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}
.feedback-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.feedback-card-title svg {
  color: var(--accent);
}
.feedback-card-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}
.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.feedback-list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.feedback-list-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Legal Content Page Styling */
.legal-page {
  padding-top: calc(var(--nav-height) + 60px);
  min-height: 80vh;
}
.legal-card {
  padding: 60px 48px;
  max-width: 800px;
  margin: 0 auto;
}
.legal-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.legal-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
}
.legal-date {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 8px;
}
.legal-body {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.legal-body h2 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px 0;
}
.legal-body p {
  margin-bottom: 16px;
}
.legal-body ul {
  margin-left: 20px;
  margin-bottom: 16px;
}
.legal-body li {
  margin-bottom: 8px;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 30px;
  transition: transform var(--transition-fast);
}
.back-home:hover {
  transform: translateX(-4px);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-darker);
  padding: 60px 0 40px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo-col {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo-desc {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links-col {
  display: flex;
  gap: 60px;
}
.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}
.footer-link:hover {
  color: var(--text-primary);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-pill {
    align-self: center;
  }
  .hero-desc {
    max-width: 100%;
  }
  .hero-btns {
    justify-content: center;
  }
  .simulator-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .phone-mockup {
    order: -1;
  }
  .sandbox-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feedback-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-height: 70px;
  }
  .hero-title {
    font-size: 40px;
  }
  .section-title {
    font-size: 32px;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--bg-darker);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    z-index: 999;
  }
  .nav-links.active {
    transform: translateY(0);
  }
  .legal-card {
    padding: 40px 20px;
  }
  .legal-title {
    font-size: 28px;
  }
  .footer-links-col {
    gap: 30px;
    width: 100%;
    justify-content: space-between;
  }
}
