/* ============================================================
   Deksino Player - Main Stylesheet
   Dark theme, production-quality CSS
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f5;
  background-color: #0a0a0f;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle noise texture overlay for premium feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: #6c63ff;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: #3b82f6;
}

ul,
ol {
  list-style: none;
}

/* ------------------------------------------------------------
   2. Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #f0f0f5;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

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

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  color: #a0a0b8;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   3. Layout
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

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

.section-header p {
  font-size: 1.1rem;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #a0a0b8;
  max-width: 640px;
  margin: 0 auto 3rem;
}

/* ------------------------------------------------------------
   4. Skip to Content
   ------------------------------------------------------------ */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: #6c63ff;
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 0.5rem 0.5rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ------------------------------------------------------------
   5. Header / Navigation
   ------------------------------------------------------------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.header-scrolled {
  background-color: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.625rem 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

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

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f0f0f5;
  letter-spacing: -0.02em;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #6c63ff 0%, #3b82f6 100%);
  color: #fff;
  border-radius: 9999px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list a {
  color: #a0a0b8;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: #f0f0f5;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #f0f0f5;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* Mobile nav - slide-in menu (triggered by .nav-open on header) */
@media (max-width: 1023px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #12121a;
    padding: 5rem 2rem 2rem;
    transition: right 0.35s ease;
    z-index: 999;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
  }

  .header.nav-open .nav {
    right: 0;
  }

  .nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .nav .nav-list a {
    font-size: 1.1rem;
  }

  .header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Legacy .nav-menu support */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: #12121a;
  padding: 5rem 2rem 2rem;
  transition: right 0.35s ease;
  z-index: 999;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
}

.nav-menu.open {
  right: 0;
}

.nav-menu .nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.nav-menu .nav-list a {
  font-size: 1.1rem;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.nav-overlay.visible,
.header.nav-open ~ .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* ------------------------------------------------------------
   6. Hero Section
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 8rem 0 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(108, 99, 255, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  background-size: 200% 200%;
  animation: hero-gradient 15s ease infinite;
  z-index: 0;
}

/* Radial glow behind hero content for depth */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, rgba(59, 130, 246, 0.08) 30%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-content {
  max-width: 560px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #a0a0b8;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.hero-mockup {
  display: flex;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.hero-mockup img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 24px 64px rgba(108, 99, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Device Mockup */
.device-mockup {
  position: relative;
  width: 280px;
  max-width: 100%;
}

.device-frame {
  background: #1a1a2e;
  border-radius: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(108, 99, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.device-screen {
  padding: 1rem;
}

.device-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  color: #6b6b80;
}

.device-time {
  color: #6b6b80;
}

.device-icons {
  display: flex;
  gap: 0.5rem;
}

.device-signal,
.device-battery {
  display: block;
  width: 16px;
  height: 10px;
  background: #6b6b80;
  border-radius: 2px;
}

.device-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
}

.device-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.device-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f0f0f5;
}

.device-logo-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.4rem;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #6c63ff 0%, #3b82f6 100%);
  color: #fff;
  border-radius: 9999px;
}

.device-play-btn {
  color: #6c63ff;
}

.device-progress {
  width: 80%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.device-progress-bar {
  width: 35%;
  height: 100%;
  background: linear-gradient(135deg, #6c63ff 0%, #3b82f6 100%);
  border-radius: 2px;
}

.device-controls {
  display: flex;
  gap: 0.75rem;
}

.device-control-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: #6b6b80;
  border-radius: 50%;
}

.device-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* ------------------------------------------------------------
   7. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #6c63ff 0%, #3b82f6 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(108, 99, 255, 0.4), 0 0 60px rgba(108, 99, 255, 0.2);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #f0f0f5;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  color: #f0f0f5;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* ------------------------------------------------------------
   8. Features Section
   ------------------------------------------------------------ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(26, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

/* Animated gradient border on hover */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.0), rgba(59, 130, 246, 0.0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background 0.4s ease;
  pointer-events: none;
}

.feature-card:hover::before {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.6), rgba(59, 130, 246, 0.4), rgba(108, 99, 255, 0.6));
  background-size: 200% 200%;
  animation: gradient-border-shift 3s ease infinite;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(108, 99, 255, 0.15);
  background: rgba(34, 34, 64, 0.8);
  border-color: transparent;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(59, 130, 246, 0.1));
  color: #6c63ff;
  font-size: 1.5rem;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.925rem;
  color: #a0a0b8;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   9. Platforms Section
   ------------------------------------------------------------ */
.platforms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.platform-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(26, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

/* Animated gradient border on hover */
.platform-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.0), rgba(59, 130, 246, 0.0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background 0.4s ease;
  pointer-events: none;
}

.platform-card:hover::before {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.6), rgba(59, 130, 246, 0.4), rgba(108, 99, 255, 0.6));
  background-size: 200% 200%;
  animation: gradient-border-shift 3s ease infinite;
}

.platform-card:hover {
  transform: translateY(-3px);
  background: rgba(34, 34, 64, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(108, 99, 255, 0.08);
  border-color: transparent;
}

.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(108, 99, 255, 0.1);
  font-size: 1.75rem;
}

.platform-icon svg {
  width: 32px;
  height: 32px;
}

.platform-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.platform-info {
  flex: 1;
}

.platform-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.platform-info p {
  font-size: 0.85rem;
  color: #6b6b80;
  margin-bottom: 0;
}

.platform-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
  flex: 1;
}

.platform-label {
  font-size: 0.85rem;
  color: #6b6b80;
  flex-shrink: 0;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: linear-gradient(135deg, #6c63ff 0%, #3b82f6 100%);
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   10. FAQ Section
   ------------------------------------------------------------ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(26, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  background: rgba(30, 30, 53, 0.85);
  border-color: rgba(108, 99, 255, 0.15);
}

.faq-item.active {
  background: rgba(30, 30, 53, 0.9);
  border-color: rgba(108, 99, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(108, 99, 255, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #f0f0f5;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.25s ease;
}

.faq-question:hover {
  color: #fff;
}

.faq-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
  color: #6b6b80;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: #6c63ff;
  background: rgba(108, 99, 255, 0.1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: #a0a0b8;
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1rem;
  margin-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ------------------------------------------------------------
   11. Footer
   ------------------------------------------------------------ */
.footer {
  background-color: #08080d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #6b6b80;
  margin-top: 0.75rem;
  max-width: 300px;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f0f0f5;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #6b6b80;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #f0f0f5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #6b6b80;
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   12. Legal Pages (Privacy, Terms, Data Deletion)
   ------------------------------------------------------------ */
/* Breadcrumb */
.breadcrumb ol {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: #6c63ff;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #3b82f6;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: #6b6b80;
}

.breadcrumb li[aria-current="page"] {
  color: #a0a0b8;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 1.25rem 4rem;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal-content .legal-updated {
  font-size: 0.9rem;
  color: #6b6b80;
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  line-height: 1.8;
  font-size: 0.95rem;
}

.legal-content ul,
.legal-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  color: #a0a0b8;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: #6c63ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: #3b82f6;
}

/* ------------------------------------------------------------
   13. Support Page
   ------------------------------------------------------------ */
.support-section {
  max-width: 800px;
  margin: 0 auto;
}

.support-section .section-header {
  margin-bottom: 2.5rem;
}

.support-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.support-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(26, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.support-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  background: rgba(34, 34, 64, 0.8);
  border-color: rgba(108, 99, 255, 0.12);
}

.support-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(59, 130, 246, 0.1));
  color: #6c63ff;
  font-size: 1.5rem;
}

.support-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.support-card p {
  font-size: 0.925rem;
  color: #a0a0b8;
  margin-bottom: 1.25rem;
}

.support-card a {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ------------------------------------------------------------
   14. Scroll Reveal Animation
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   15. Hero Animations (Keyframes)
   ------------------------------------------------------------ */
@keyframes hero-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

@keyframes gradient-border-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ------------------------------------------------------------
   15b. Focus-Visible Styles (Keyboard Navigation)
   ------------------------------------------------------------ */
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid #6c63ff;
  outline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid #6c63ff;
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-question:focus-visible {
  outline: 2px solid #6c63ff;
  outline-offset: -2px;
  border-radius: 0.5rem;
}

.nav-toggle:focus-visible {
  outline: 2px solid #6c63ff;
  outline-offset: 3px;
  border-radius: 4px;
}

.platform-card:focus-visible {
  outline: 2px solid #6c63ff;
  outline-offset: 3px;
}

.feature-card:focus-visible,
.support-card:focus-visible {
  outline: 2px solid #6c63ff;
  outline-offset: 3px;
}

/* ------------------------------------------------------------
   16. Utilities
   ------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

.text-gradient {
  background: linear-gradient(135deg, #6c63ff 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ------------------------------------------------------------
   17. Responsive Breakpoints
   ------------------------------------------------------------ */

/* sm - 640px */
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }
}

/* md - 768px */
@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }

  .container {
    padding: 0 2rem;
  }

  .hero {
    padding: 10rem 0 5rem;
  }

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

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .legal-content {
    padding: 8rem 2rem 5rem;
  }

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

/* lg - 1024px */
@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero {
    padding: 0;
    min-height: 100vh;
  }

  .hero .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  }

  .hero-content {
    flex: 1;
    max-width: 540px;
  }

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

  .hero-visual {
    flex: 1;
    max-width: 500px;
  }

  .hero-mockup {
    flex: 1;
    max-width: 500px;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Desktop nav */
  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .nav .nav-list a {
    font-size: 0.9rem;
  }

  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-menu .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .nav-menu .nav-list a {
    font-size: 0.9rem;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-overlay {
    display: none;
  }
}

/* ------------------------------------------------------------
   18. Prefers Reduced Motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-mockup,
  .hero-visual {
    animation: none;
  }
}
