/* Cyber-Speakeasy Design System */
:root {
  /* Color Palette */
  --color-primary: #050505;
  --color-secondary: #B45309;
  --color-accent: #92400E;
  --color-highlight: #E0F2FE;
  --color-text-primary: #E0F2FE;
  --color-text-secondary: #B45309;
  --color-text-muted: #9CA3AF;
  
  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Shadows & Effects */
  --shadow-spotlight: 0 0 40px rgba(180, 83, 9, 0.3);
  --shadow-glow: 0 0 20px rgba(180, 83, 9, 0.2);
  --shadow-deep: 0 10px 40px rgba(0, 0, 0, 0.5);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Header */
.site-header {
  position: relative;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.8) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(180, 83, 9, 0.2);
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  font-weight: 600;
}

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

.main-nav a {
  font-size: clamp(0.875rem, 2vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: var(--space-sm) 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition-fast);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Burger Menu */
.burger-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-secondary);
  color: var(--color-text-secondary);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: absolute;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  z-index: 101;
  line-height: 1;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.burger-toggle:hover {
  background: rgba(180, 83, 9, 0.1);
  box-shadow: var(--shadow-glow);
}

.burger-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, var(--color-primary) 0%, rgba(5, 5, 5, 0.98) 100%);
  border-left: 1px solid rgba(180, 83, 9, 0.3);
  padding: var(--space-xl) var(--space-lg);
  z-index: 2000;
  transition: right var(--transition-smooth);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

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

.burger-menu-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.burger-menu-nav a {
  display: block;
  padding: var(--space-md);
  border-bottom: 1px solid rgba(180, 83, 9, 0.1);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.burger-close {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-sm);
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  transition: color var(--transition-fast);
}

.burger-close:hover {
  color: var(--color-highlight);
}

.burger-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.8);
  z-index: 1500;
  backdrop-filter: blur(5px);
}

.burger-overlay.active {
  display: block;
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  
  .burger-toggle {
    display: flex !important;
  }
  
  .header-container {
    padding-right: 50px;
  }
}

/* Hero Banners */
.hero-banner {
  width: 100vw;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(5, 5, 5, 0.6) 0%, rgba(5, 5, 5, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.hero-image {
  display: none;
}

.hero-content h1 {
  color: var(--color-text-secondary);
  text-shadow: 0 0 30px rgba(180, 83, 9, 0.5);
  margin-bottom: var(--space-lg);
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-text-primary);
  max-width: 800px;
  margin: 0 auto;
}

/* Sections */
.content-section {
  padding: var(--space-2xl) var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.content-section .section-header {
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  color: var(--color-text-secondary);
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-md);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--color-secondary);
  box-shadow: var(--shadow-glow);
}

/* Grid Layouts */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-md);
}

.grid-item {
  background: rgba(180, 83, 9, 0.05);
  border: 1px solid rgba(180, 83, 9, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(180, 83, 9, 0.1), transparent);
  transition: left var(--transition-smooth);
}

.grid-item:hover::before {
  left: 100%;
}

.grid-item:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-spotlight);
  transform: translateY(-5px);
}

.grid-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  display: block;
}

/* Spotlight Effect */
.spotlight-section {
  position: relative;
  padding: var(--space-2xl) var(--space-lg);
  background: radial-gradient(ellipse at center, rgba(180, 83, 9, 0.05) 0%, var(--color-primary) 100%);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(0.875rem, 2vw, 1rem);
  cursor: pointer;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: var(--font-body);
  margin-top: 10px;
}

.btn:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-spotlight);
}

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-accent);
  color: black;
  border-color: var(--color-accent);
}

/* Forms */
.form-container {
  max-width: 600px;
  margin: var(--space-xl) auto;
  padding: var(--space-xl);
  background: rgba(180, 83, 9, 0.05);
  border: 1px solid rgba(180, 83, 9, 0.2);
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-md);
  background: rgba(5, 5, 5, 0.5);
  border: 1px solid rgba(180, 83, 9, 0.3);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23B45309' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-right: calc(var(--space-md) + 20px);
}

.form-group select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 10px rgba(180, 83, 9, 0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 10px rgba(180, 83, 9, 0.3);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Google Maps */
.map-container {
  width: 100%;
  height: 400px;
  margin: var(--space-xl) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(180, 83, 9, 0.2);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.product-card {
  background: rgba(180, 83, 9, 0.05);
  border: 1px solid rgba(180, 83, 9, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-fast);
}

.product-card:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-spotlight);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.product-card h3 {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.5rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin: var(--space-md) 0;
}

/* Footer */
.site-footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.8) 0%, var(--color-primary) 100%);
  border-top: 1px solid rgba(180, 83, 9, 0.2);
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: var(--space-lg);
}

.footer-nav a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-info {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-top: var(--space-md);
}

/* Privacy Popup */
.privacy-popup {
  display: none;
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: calc(100% - var(--space-xl));
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.95) 100%);
  border: 1px solid rgba(180, 83, 9, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  z-index: 3000;
  box-shadow: var(--shadow-deep);
}

.privacy-popup.active {
  display: block;
}

.privacy-popup p {
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

/* Interactive Tool */
.interactive-tool {
  background: rgba(180, 83, 9, 0.05);
  border: 1px solid rgba(180, 83, 9, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.tool-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.tool-result {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(5, 5, 5, 0.5);
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tool-result img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-top: var(--space-md);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

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

/* Lists */
ul, ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

ul li, ol li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
  line-height: 1.6;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

/* 404 Page */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.error-page h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .content-section {
    padding: var(--space-xl) var(--space-md);
  }
  
  .grid-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .tool-controls {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    gap: var(--space-md);
  }
}

@media (max-width: 320px) {
  .site-header {
    padding: var(--space-sm) var(--space-md);
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .content-section {
    padding: var(--space-lg) var(--space-sm);
  }
}

