/* Vegas Night City Guide - Dark Neon Theme */
/* Extracted from app_theme.dart */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --color-primary: #4A148C;
  --color-primary-light: #7B1FA2;
  --color-accent: #E040FB;
  --color-accent-muted: #BB86FC;
  --color-bg: #000000;
  --color-surface: #0D0D0D;
  --color-card: #2E2E38;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #BB86FC;
  --color-text-muted: #666680;
  --color-destructive: #FF1744;
  --color-border: rgba(255,255,255,0.08);
  --border-radius: 10px;
  --font-family: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-brand .neon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent), 0 0 20px rgba(224, 64, 251, 0.3);
  flex-shrink: 0;
}

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

.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all 0.3s ease;
  display: block;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 20, 140, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(224, 64, 251, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content h1 .accent {
  color: var(--color-accent);
  text-shadow: 0 0 30px rgba(224, 64, 251, 0.4);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-device {
  flex-shrink: 0;
  width: 280px;
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-device {
    width: 220px;
  }
}

@media (max-width: 480px) {
  .hero-device {
    width: 180px;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: var(--color-text-primary);
  box-shadow: 0 4px 20px rgba(74, 20, 140, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(74, 20, 140, 0.6);
  color: var(--color-text-primary);
}

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

.btn-secondary:hover {
  background: rgba(187, 134, 252, 0.1);
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

/* ===== DEVICE MOCKUP ===== */
.device-mockup {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}

.device-frame {
  position: relative;
  background: #1a1a2e;
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(74, 20, 140, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.06);
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.device-frame img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 24px;
  position: relative;
}

.section-dark {
  background: var(--color-surface);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SCREENSHOT CAROUSEL ===== */
.screenshot-section {
  padding: 60px 24px;
  overflow: hidden;
}

.carousel-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--border-radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.carousel-slide .device-mockup {
  max-width: 240px;
}

.carousel-slide .device-frame img {
  max-height: 380px;
  object-fit: cover;
  cursor: pointer;
}

@media (max-width: 768px) {
  .carousel-slide .device-mockup {
    max-width: 180px;
  }

  .carousel-slide .device-frame img {
    max-height: 280px;
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(74, 20, 140, 0.6);
  border: 1px solid rgba(187, 134, 252, 0.3);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.carousel-btn:hover {
  background: rgba(74, 20, 140, 0.9);
  box-shadow: 0 0 20px rgba(224, 64, 251, 0.3);
}

.carousel-btn.prev {
  left: -8px;
}

.carousel-btn.next {
  right: -8px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-muted);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(224, 64, 251, 0.5);
  transform: scale(1.3);
}

/* ===== FEATURES ===== */
.feature-row {
  max-width: 1000px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-icon-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(74, 20, 140, 0.3);
}

.feature-content {
  flex: 1;
  text-align: left;
}

.feature-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

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

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 20, 140, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  position: relative;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 8px;
  line-height: 1.6;
}

.footer h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

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

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

.footer-bottom {
  max-width: 1000px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}

/* ===== CONTENT PAGES (Privacy, Terms, Contact) ===== */
.page-header {
  padding: 60px 24px 40px;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(74, 20, 140, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  position: relative;
}

.page-header .subtitle {
  color: var(--color-text-muted);
  margin-top: 8px;
  position: relative;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.content-container h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--color-accent-muted);
}

.content-container h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
}

.content-container p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
  text-align: left;
}

.content-container ul {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
  padding-left: 24px;
}

.content-container ul li {
  margin-bottom: 6px;
}

.content-container a {
  color: var(--color-accent);
}

/* ===== CONTACT FORM ===== */
.contact-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-card);
  border-radius: var(--border-radius);
  padding: 40px;
  border: 1px solid var(--color-border);
  width: 100%;
}

@media (max-width: 480px) {
  .contact-card {
    padding: 24px 20px;
  }
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  color: var(--color-text-primary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-muted);
}

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

.form-group input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-family);
  font-size: 0.85rem;
  cursor: pointer;
  margin-right: 10px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-submit:hover {
  box-shadow: 0 6px 30px rgba(74, 20, 140, 0.5);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success .check-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  color: var(--color-text-muted);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--border-radius);
  box-shadow: 0 0 60px rgba(74, 20, 140, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ===== PRIVACY ACCEPTANCE BUTTON ===== */
.privacy-accept-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  padding: 16px 24px 24px;
  background: linear-gradient(to top, var(--color-bg) 60%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-accept-btn.hidden {
  display: none;
}

.accept-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  max-width: 400px;
  width: 100%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(224, 64, 251, 0.3);
  text-align: center;
  line-height: 1;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
