/* ============================================
   THE VISITOR'S GUIDE - Modern Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-light);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
  background: var(--bg-dark);
  color: var(--text-primary-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

[data-theme="dark"] .nav-container {
  background: rgba(15, 15, 15, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-preorder {
  background: var(--brand-gradient);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
  margin-left: 1rem;
}

.nav-preorder:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.5);
}

.nav-logo {
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

.logo-light {
  display: block;
}

.logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

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

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

[data-theme="dark"] .nav-link {
  color: var(--text-primary-dark);
}

.nav-link:hover {
  color: var(--brand-primary);
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 2px solid var(--brand-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: rotate(180deg);
  background: var(--brand-primary);
}

.theme-toggle:hover svg {
  color: white;
}

.sun-icon {
  display: block;
  color: var(--brand-primary);
}

.moon-icon {
  display: none;
  color: var(--brand-secondary);
}

[data-theme="dark"] .sun-icon {
  display: none;
}

[data-theme="dark"] .moon-icon {
  display: block;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

[data-theme="dark"] .hamburger span {
  background: var(--text-primary-dark);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--brand-gradient);
  opacity: 0.05;
}

[data-theme="dark"] .hero-bg {
  opacity: 0.1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  padding: 2rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  background: linear-gradient(90deg, #FF6B6B, #FFB700, #FF6B6B);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite, fadeInUp 1s ease forwards;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

[data-theme="dark"] .hero-subtitle {
  color: var(--text-secondary-dark);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.2s forwards;
  letter-spacing: 2px;
}

[data-theme="dark"] .hero-title {
  background: var(--brand-gradient-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.4s forwards;
}

[data-theme="dark"] .hero-description {
  color: var(--text-secondary-dark);
}

/* Compass Animation */
.compass-container {
  width: 200px;
  height: 200px;
  margin: 3rem auto;
  position: relative;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

.compass-icon {
  width: 100%;
  height: 100%;
  opacity: 1;
  filter: drop-shadow(0 10px 30px rgba(255, 107, 107, 0.3));
}

.compass-light {
  display: block;
}

.compass-dark {
  display: none;
}

[data-theme="dark"] .compass-light {
  display: none;
}

[data-theme="dark"] .compass-dark {
  display: block;
}

.compass-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 85px;
  background: linear-gradient(to top, 
    transparent 0%, 
    rgba(255, 107, 107, 0.4) 30%,
    rgba(255, 107, 107, 0.6) 60%,
    rgba(255, 183, 0, 0.8) 85%,
    rgba(255, 183, 0, 1) 100%);
  transform-origin: center bottom;
  transition: none;
  animation: phaseInOut 8s ease-in-out infinite;
  box-shadow: 
    0 0 20px rgba(255, 107, 107, 0.3),
    0 0 40px rgba(255, 183, 0, 0.15);
}

@keyframes phaseInOut {
  0%, 100% { opacity: 0.2; filter: blur(2px); }
  20% { opacity: 0.9; filter: blur(0px); }
  50% { opacity: 1; filter: blur(0px); }
  80% { opacity: 0.9; filter: blur(0px); }
}

.compass-arrow::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 10px solid rgba(255, 183, 0, 0.8);
  filter: drop-shadow(0 0 8px rgba(255, 183, 0, 0.6));
}

.compass-arrow::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, 
    rgba(255, 107, 107, 0.8) 0%, 
    rgba(255, 107, 107, 0.4) 50%, 
    transparent 100%);
  border-radius: 50%;
}

@keyframes compassRotate {
  0% { transform: translate(-50%, -100%) rotate(0deg); }
  100% { transform: translate(-50%, -100%) rotate(360deg); }
}


@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--brand-primary);
  position: relative;
}

[data-theme="dark"] .btn-secondary {
  color: var(--text-primary-dark);
}

.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary:not(:disabled):hover {
  background: var(--brand-gradient);
  color: white;
  border-color: transparent;
}

/* Campaign Section */
.campaign-section {
  padding: 80px 0;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

[data-theme="dark"] .section-title {
  color: var(--text-primary-dark);
}

.campaign-status {
  font-size: 2rem;
  margin: 2rem 0;
}

/* Glitch Effect */
.glitch {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-primary);
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.glitch:before,
.glitch:after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch:before {
  animation: glitch-1 0.5s infinite;
  color: var(--brand-secondary);
  z-index: -1;
}

.glitch:after {
  animation: glitch-2 0.5s infinite;
  color: var(--brand-primary);
  z-index: -2;
}

@keyframes glitch-1 {
  0%, 100% { clip: rect(0, 900px, 0, 0); }
  5% { clip: rect(20px, 900px, 30px, 0); }
  10% { clip: rect(50px, 900px, 60px, 0); }
  15% { clip: rect(10px, 900px, 20px, 0); }
  20% { clip: rect(30px, 900px, 40px, 0); }
  25% { clip: rect(0, 900px, 10px, 0); }
}

@keyframes glitch-2 {
  0%, 100% { clip: rect(0, 900px, 0, 0); }
  5% { clip: rect(25px, 900px, 35px, 0); transform: translateX(-2px); }
  10% { clip: rect(45px, 900px, 55px, 0); transform: translateX(2px); }
  15% { clip: rect(15px, 900px, 25px, 0); transform: translateX(-1px); }
  20% { clip: rect(35px, 900px, 45px, 0); transform: translateX(1px); }
  25% { clip: rect(5px, 900px, 15px, 0); transform: translateX(-2px); }
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--bg-light);
}

[data-theme="dark"] .features {
  background: rgba(255, 255, 255, 0.02);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

[data-theme="dark"] .faq-item {
  border-color: var(--border-medium);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  color: var(--text-primary);
}

[data-theme="dark"] .faq-question {
  color: var(--text-primary-dark);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--brand-primary);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

[data-theme="dark"] .faq-answer {
  color: var(--text-secondary-dark);
}

/* Newsletter Section */
.newsletter {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(255, 183, 0, 0.05));
  text-align: center;
}

[data-theme="dark"] .newsletter {
  background: linear-gradient(135deg, rgba(255, 138, 138, 0.05), rgba(255, 215, 0, 0.05));
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

[data-theme="dark"] .section-description {
  color: var(--text-secondary-dark);
}

.newsletter-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

/* EmailOctopus Form Styling */
.emailoctopus-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.emailoctopus-form-wrapper input[type="email"] {
  width: 100%;
  padding: 15px 20px !important;
  font-size: 1rem !important;
  border: 2px solid var(--border-soft) !important;
  border-radius: 50px !important;
  background: white !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  transition: all 0.3s ease !important;
}

[data-theme="dark"] .emailoctopus-form-wrapper input[type="email"] {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-primary-dark) !important;
  border-color: var(--border-medium) !important;
}

.emailoctopus-form-wrapper input[type="email"]:focus {
  outline: none !important;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1) !important;
}

.emailoctopus-form-wrapper button {
  margin-top: 1rem !important;
  padding: 15px 40px !important;
  background: var(--brand-gradient) !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.emailoctopus-form-wrapper button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4) !important;
}

/* Footer */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border-soft);
  color: var(--text-secondary);
}

[data-theme="dark"] .footer {
  border-color: var(--border-medium);
  color: var(--text-secondary-dark);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 10000;
}

[data-theme="dark"] .cookie-consent {
  background: var(--bg-accent);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    padding: 2rem 0;
  }
  
  [data-theme="dark"] .nav-menu {
    background: var(--bg-dark);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}