/* ===================================================================
   RESPONSEIQ BROCHURE PAGE - GLASSMORPHIC DESIGN
   =================================================================== */

:root {
  --primary: #00b7ff;
  --primary-glow: rgba(0, 183, 255, 0.4);
  --secondary: #0077cc;
  --success: #22c55e;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-hover: rgba(255, 255, 255, 0.08);

  --dark-bg: rgba(0, 0, 0, 0.6);
  --darker-bg: rgba(0, 0, 0, 0.8);

  --text-primary: #e1e5eb;
  --text-secondary: #a0aec0;
  --text-muted: #718096;

  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px var(--primary-glow);

  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
  height: 100dvh;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background: #000;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  min-height: 100%;
  min-height: 100dvh;
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  object-fit: cover;
  z-index: -1;
  filter: brightness(8%) blur(2px);
}

/* Top Navigation */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
  padding-top: env(safe-area-inset-top);
}

.top-nav-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  padding-left: max(2rem, env(safe-area-inset-left));
  padding-right: max(2rem, env(safe-area-inset-right));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.nav-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px var(--primary-glow));
}

.nav-logo-img {
  height: 50px;
  width: auto;
  filter: brightness(1.1);
}

.nav-links-container {
  display: flex;
  gap: 0.5rem;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  touch-action: manipulation;
}

.nav-item:hover {
  color: var(--primary);
  background: var(--glass-bg);
  transform: translateY(-1px);
}

/* Main Content */
.main-content {
  padding-top: 100px;
  padding-bottom: 3rem;
  min-height: 100vh;
}

.brochure-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header Section */
.brochure-header {
  text-align: center;
  margin-bottom: 4rem;
}

.header-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 183, 255, 0.2), rgba(0, 119, 204, 0.2));
  border: 1px solid var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 183, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 183, 255, 0.6);
  }
}

.header-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  text-shadow: 0 0 30px var(--primary-glow);
  line-height: 1.2;
}

.header-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Section Titles */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
}

/* Preview Section */
.preview-section {
  margin-bottom: 4rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.preview-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  text-align: center;
}

.preview-card:hover {
  border-color: var(--primary);
  background: var(--glass-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.preview-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.preview-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

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

/* Customization Section */
.customization-section {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
}

.custom-form {
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  background: var(--dark-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  font-size: 16px; /* Prevents iOS zoom */
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition);
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
}

.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(--primary);
  box-shadow: 0 0 0 3px rgba(0, 183, 255, 0.1);
}

.checkbox-group {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.checkbox-group h3 {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--dark-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.checkbox-label:hover {
  border-color: var(--primary);
  background: var(--glass-hover);
}

.checkbox-label input[type="checkbox"] {
  cursor: pointer;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  -webkit-appearance: checkbox;
}

.checkbox-label input[type="checkbox"]:checked + span {
  color: var(--primary);
}

/* Download Section */
.download-section {
  text-align: center;
  margin: 4rem 0;
}

.download-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
  border: none;
  padding: 1.5rem 3rem;
  border-radius: var(--radius-lg);
  font-size: 1.375rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  box-shadow: var(--shadow-glow);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 183, 255, 0.6);
}

.download-btn:active {
  transform: translateY(-1px);
}

.btn-icon {
  font-size: 2rem;
}

.download-note {
  color: var(--text-secondary);
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* Sample Preview Section */
.sample-section {
  margin: 4rem 0;
}

.sample-pages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.sample-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-label {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.page-preview {
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  aspect-ratio: 8.5 / 11;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.page-preview:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(0, 183, 255, 0.3);
}

.preview-content {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, #fff, #f8f9fa);
}

.preview-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.preview-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #000;
}

.preview-subtitle {
  font-size: 0.875rem;
  color: #666;
}

.preview-line {
  width: 80%;
  height: 2px;
  background: var(--primary);
  margin: 1rem 0;
}

.preview-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #000;
  text-align: center;
}

.preview-text-sm {
  font-size: 0.75rem;
  color: #666;
  text-align: center;
}

.preview-checklist {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.preview-checkbox {
  font-size: 0.75rem;
  color: #333;
  text-align: left;
  padding-left: 1rem;
}

.preview-pricing {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.preview-tier {
  font-size: 0.75rem;
  color: #333;
  text-align: center;
  font-weight: 600;
}

/* Testimonial Section */
.testimonial-section {
  margin: 4rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-author strong {
  color: var(--text-primary);
  font-size: 1.125rem;
}

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

/* Footer */
.footer {
  background: var(--darker-bg);
  border-top: 1px solid var(--glass-border);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

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

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

.footer a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-title {
    font-size: 2.5rem;
  }

  .header-subtitle {
    font-size: 1.125rem;
  }

  .nav-links-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .brochure-container {
    padding: 0 1rem;
  }

  .header-title {
    font-size: 2rem;
  }

  .header-subtitle {
    font-size: 1rem;
  }

  .customization-section {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .preview-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .sample-pages {
    grid-template-columns: 1fr;
  }

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

  .download-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
  }

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

@media (max-width: 480px) {
  .main-content {
    padding-top: 80px;
  }

  .header-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .customization-section {
    padding: 1.5rem;
  }

  .preview-card {
    padding: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   HAMBURGER MENU - Mobile Navigation (Production)
   ═══════════════════════════════════════════════════════════════════════ */

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 183, 255, 0.1);
  border: 1px solid rgba(0, 183, 255, 0.3);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  z-index: 10001;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: all 0.2s ease;
}

.hamburger-btn:active {
  background: rgba(0, 183, 255, 0.25);
  transform: scale(0.95);
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  margin: 2.5px 0;
}

.hamburger-btn.active {
  background: rgba(0, 183, 255, 0.2);
}

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

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 10, 20, 0.98) 0%, rgba(0, 0, 0, 0.99) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  padding-top: max(2rem, env(safe-area-inset-top));
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.mobile-nav-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  z-index: 10000;
}

.mobile-nav-close:active {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(0.9);
}

.mobile-nav-menu .nav-item {
  width: 100%;
  max-width: 280px;
  padding: 1rem 1.5rem;
  margin: 0.4rem 0;
  font-size: 1.15rem;
  font-weight: 500;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 183, 255, 0.08) 0%, rgba(0, 119, 204, 0.05) 100%);
  border: 1px solid rgba(0, 183, 255, 0.2);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-menu .nav-item:active {
  background: linear-gradient(135deg, rgba(0, 183, 255, 0.2) 0%, rgba(0, 119, 204, 0.15) 100%);
  border-color: rgba(0, 183, 255, 0.4);
  transform: scale(0.98);
}

.mobile-nav-menu .nav-item.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: var(--primary);
  color: #000;
  font-weight: 600;
}

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

  .mobile-nav-menu {
    display: flex;
  }

  .mobile-menu-overlay {
    display: block;
  }

  .header-nav {
    display: none;
  }
}

/* Desktop: hide hamburger */
@media only screen and (min-width: 769px) {
  .hamburger-btn,
  .mobile-nav-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}
