/* =====================================================
   MASAL YUVASI - MODERN MAGICAL LANDING PAGE
   Warm, Cozy, Child-Friendly Design
   ===================================================== */

/* CSS Variables */
:root {
  /* Background Colors */
  --bg-primary: #02243A;
  --bg-secondary: #06324A;
  --bg-card: #0a3d5a;
  --bg-darker: #011828;

  /* Accent Colors */
  --gold: #F3B24D;
  --gold-light: #f8c977;
  --gold-dark: #d99a3a;
  --gold-glow: rgba(243, 178, 77, 0.3);

  /* Text Colors */
  --text-primary: #FFF8F0;
  --text-secondary: #a8c5d8;
  --text-muted: #7a9bb0;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1140px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 20px rgba(243, 178, 77, 0.25);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Transitions */
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(2, 36, 58, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

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

.nav-logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-darker) 100%);
  overflow: hidden;
}

/* Stars Background */
.hero-stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-logo-wrapper {
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.hero-logo {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 30px rgba(243, 178, 77, 0.4)) drop-shadow(0 0 60px rgba(243, 178, 77, 0.2));
  animation: float 4s ease-in-out infinite, golden-glow 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes golden-glow {

  0%,
  100% {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 30px rgba(243, 178, 77, 0.3)) drop-shadow(0 0 60px rgba(243, 178, 77, 0.15));
  }

  50% {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 50px rgba(243, 178, 77, 0.6)) drop-shadow(0 0 80px rgba(243, 178, 77, 0.4));
  }
}

/* Logo Sparkles */
.logo-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #FFD700 0%, #F3B24D 40%, transparent 70%);
  border-radius: 50%;
  animation: sparkle-float 3s ease-in-out infinite;
}

.sparkle::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
  animation: sparkle-pulse 1.5s ease-in-out infinite;
}

.sparkle:nth-child(1) {
  top: 5%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  top: 15%;
  right: 5%;
  animation-delay: 0.4s;
}

.sparkle:nth-child(3) {
  top: 40%;
  left: -5%;
  animation-delay: 0.8s;
}

.sparkle:nth-child(4) {
  top: 60%;
  right: -10%;
  animation-delay: 1.2s;
}

.sparkle:nth-child(5) {
  bottom: 20%;
  left: 0%;
  animation-delay: 1.6s;
}

.sparkle:nth-child(6) {
  bottom: 5%;
  right: 15%;
  animation-delay: 2s;
}

.sparkle:nth-child(7) {
  top: 30%;
  left: -15%;
  animation-delay: 0.3s;
  width: 4px;
  height: 4px;
}

.sparkle:nth-child(8) {
  bottom: 40%;
  right: -5%;
  animation-delay: 1s;
  width: 8px;
  height: 8px;
}

@keyframes sparkle-float {

  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0) scale(0.8);
  }

  50% {
    opacity: 1;
    transform: translateY(-8px) scale(1.2);
  }
}

@keyframes sparkle-pulse {

  0%,
  100% {
    box-shadow: 0 0 4px 2px rgba(255, 215, 0, 0.4);
  }

  50% {
    box-shadow: 0 0 12px 6px rgba(255, 215, 0, 0.7);
  }
}

.hero-title {
  font-family: 'Mountains of Christmas', cursive;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  text-shadow: 0 2px 20px var(--gold-glow),
    0 4px 40px rgba(243, 178, 77, 0.3);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.btn svg {
  width: 22px;
  height: 22px;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(243, 178, 77, 0.4);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-coming-soon {
  font-size: 0.95rem;
  color: var(--gold);
  opacity: 0.9;
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.85rem;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-hint svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(243, 178, 77, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

/* =====================================================
   SCREENSHOTS SECTION
   ===================================================== */
.screenshots {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.screenshots-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Phone Mockup */
.phone-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.phone-mockup:hover {
  transform: scale(1.02);
}

.phone-mockup:hover .phone-frame {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15),
    0 0 40px rgba(243, 178, 77, 0.15);
}

.phone-click-hint {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.7;
  transition: var(--transition);
}

.phone-mockup:hover .phone-click-hint {
  opacity: 1;
  color: var(--gold);
}

.phone-frame {
  position: relative;
  width: 280px;
  background: linear-gradient(145deg, #1a1a2e 0%, #0d0d1a 100%);
  border-radius: 40px;
  padding: 8px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.phone-notch {
  display: none;
}

.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9/19.5;
  background: var(--bg-darker);
  border-radius: 32px;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: opacity 0.3s ease;
  background: #0a1929;
}

/* Phone Modal/Lightbox */
.phone-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.phone-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  z-index: 1;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.phone-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: -50px;
  right: -10px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-phone-frame {
  position: relative;
  width: 360px;
  max-width: 90vw;
  max-height: 85vh;
  background: linear-gradient(145deg, #1a1a2e 0%, #0d0d1a 100%);
  border-radius: 50px;
  padding: 10px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.7),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15),
    0 0 60px rgba(243, 178, 77, 0.2);
}

.modal-phone-frame .phone-notch {
  display: none;
}

.modal-phone-frame .phone-screen {
  border-radius: 42px;
  aspect-ratio: 9/19.5;
}

.modal-phone-frame .phone-screen img {
  object-fit: contain;
  object-position: center center;
  background: #0a1929;
}

/* Screenshots Info */
.screenshots-info {
  padding: 20px 0;
}

.screenshots-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.screenshots-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.screenshot-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumbnail {
  background: var(--bg-secondary);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.thumbnail img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-sm);
  max-height: 140px;
}

.thumbnail span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.thumbnail:hover {
  background: var(--bg-card);
  border-color: rgba(243, 178, 77, 0.3);
}

.thumbnail.active {
  background: var(--bg-card);
  border-color: var(--gold);
}

.thumbnail.active span {
  color: var(--gold);
}

/* =====================================================
   SOCIAL SECTION
   ===================================================== */
.social {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  min-width: 200px;
  max-width: 200px;
  min-height: 180px;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(243, 178, 77, 0.2);
}

.social-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.social-icon svg {
  width: 30px;
  height: 30px;
}

.social-icon.youtube {
  background: rgba(255, 0, 0, 0.15);
  color: #ff0000;
}

.social-icon.instagram {
  background: linear-gradient(45deg, rgba(255, 220, 128, 0.15), rgba(225, 48, 108, 0.15));
  color: #e1306c;
}

.social-icon.tiktok {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.social-card:hover .social-icon {
  transform: scale(1.1);
}

.social-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.social-handle {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  word-break: break-all;
  max-width: 100%;
  line-height: 1.4;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-wrapper.contact-form-only {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  padding: 20px 0;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-item .contact-icon {
  font-size: 1.5rem;
}

.contact-details h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-details a {
  font-size: 1.1rem;
  color: var(--gold);
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--gold-light);
}

.contact-note {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Contact Form - Modern Design */
.contact-form {
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-card));
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.form-icon {
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(243, 178, 77, 0.05);
  box-shadow: 0 0 0 4px rgba(243, 178, 77, 0.1);
}

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

.contact-form .btn-primary {
  margin-top: 8px;
  padding: 16px 32px;
  font-size: 1.05rem;
}

.contact-form .btn-primary:hover {
  gap: 14px;
}

.contact-form .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 16px;
  padding: 0;
  text-align: center;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.form-status.success {
  padding: 16px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
  padding: 16px;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Form Success Container */
.form-success-container {
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-card));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.form-success-container .success-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  display: block;
}

.form-success-container h3 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.form-success-container p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.form-success-container .btn {
  margin-top: 8px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  padding: 40px 0;
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 60px;
  width: auto;
  opacity: 0.8;
}

.footer-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-text strong {
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-links span {
  color: var(--text-muted);
  opacity: 0.5;
}

/* =====================================================
   LEGAL PAGES (Privacy Policy & Terms of Use)
   ===================================================== */
.legal-page {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-darker) 100%);
  min-height: 100vh;
}

.legal-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-header h1 {
  font-family: 'Mountains of Christmas', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  text-shadow: 0 2px 20px var(--gold-glow);
}

.legal-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-intro.highlight {
  color: var(--text-primary);
  font-weight: 600;
  padding: 20px 24px;
  background: rgba(243, 178, 77, 0.08);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 24px;
  margin-bottom: 40px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(243, 178, 77, 0.2);
}

.legal-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 20px;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section a {
  color: var(--gold);
  transition: var(--transition);
}

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

.legal-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.legal-section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-section ul li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--gold);
  font-weight: 700;
}

.contact-box {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 16px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-box strong {
  color: var(--text-primary);
  font-size: 1rem;
}

.contact-box a {
  color: var(--gold);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-box a:hover {
  color: var(--gold-light);
}

.info-box {
  background: rgba(243, 178, 77, 0.08);
  border: 1px solid rgba(243, 178, 77, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0;
}

.info-box strong {
  color: var(--gold);
}

.legal-footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal Page Responsive */
@media (max-width: 600px) {
  .legal-page {
    padding: 120px 0 60px;
  }

  .legal-header h1 {
    font-size: 1.8rem;
  }

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

  .legal-intro.highlight {
    padding: 16px 20px;
  }

  .contact-box,
  .info-box {
    padding: 16px 20px;
  }
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Tablet */
@media (max-width: 900px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: 100px 32px 40px;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

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

  .nav-link {
    padding: 14px 20px;
    font-size: 1.1rem;
  }

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

  .screenshots-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .phone-mockup {
    order: -1;
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --section-padding: 60px 0;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-logo {
    width: 180px;
  }

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

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-scroll-hint {
    display: none;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .feature-card {
    padding: 24px;
  }

  .phone-frame {
    width: 240px;
  }

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

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .social-card {
    width: 100%;
    max-width: 300px;
    padding: 24px;
  }

  .contact-form {
    padding: 24px;
  }
}

/* Extra small */
@media (max-width: 380px) {
  .hero-logo {
    width: 150px;
  }

  .phone-frame {
    width: 220px;
  }

  .screenshot-thumbnails {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

/* =====================================================
   IMAGE PROTECTION STYLES
   ===================================================== */
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  pointer-events: auto;
}

/* Protected image wrapper with invisible overlay */
.protected-image-wrapper {
  position: relative;
  display: inline-block;
}

.protected-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 5;
}