/* Executive Charcoal/Gold Design System - MCPCIO */
/* Following dai-infrastructure-design.md RULE 7 specifications */
/* Harvard Business Review/McKinsey Typography Quality */
/* Phase 2: Email System Integration Styles */

/* ===== EXECUTIVE COLOR PALETTE ===== */
:root {
  /* Charcoal Gradient Backgrounds */
  --charcoal-primary: #1a1a1a;
  --charcoal-secondary: #2d2d2d;
  --charcoal-tertiary: #404040;
  --charcoal-gradient: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #404040 100%);
  
  /* Gold Accent System */
  --gold-primary: #f59e0b;
  --gold-secondary: #fbbf24;
  --gold-tertiary: #fcd34d;
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);

  /* Executive Interaction States */
  --surface-hover: rgba(255, 255, 255, 0.05);
  --surface-active: rgba(255, 255, 255, 0.1);
  --accent-hover: rgba(245, 158, 11, 0.8);
  --accent-active: rgba(245, 158, 11, 0.9);
  
  /* Premium Typography Scale */
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --type-scale-6xl: 3.75rem;   /* 60px - Hero headlines */
  --type-scale-5xl: 3rem;      /* 48px - Page titles */
  --type-scale-4xl: 2.25rem;   /* 36px - Section headers */
  --type-scale-3xl: 1.875rem;  /* 30px - Subsection titles */
  --type-scale-2xl: 1.5rem;    /* 24px - Card titles */
  --type-scale-xl: 1.25rem;    /* 20px - Large body */
  --type-scale-lg: 1.125rem;   /* 18px - Medium body */
  --type-scale-base: 1rem;     /* 16px - Base body */
  --type-scale-sm: 0.875rem;   /* 14px - Small text */
  
  /* Executive Spacing Ratios */
  --golden-ratio: 1.618;
  --spacing-unit: 1rem;
}

/* Icon Color Classes */
.icon-gold { color: var(--gold-primary); }
.icon-success { color: #22c55e; }
.icon-error { color: #ef4444; }
.icon-warning { color: #f59e0b; }
.icon-info { color: #3b82f6; }
.icon-muted { color: #6b7280; }

/* ===== EXECUTIVE FOUNDATION ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--charcoal-gradient);
  color: rgba(255, 255, 255, 0.9);
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== EXECUTIVE TYPOGRAPHY ===== */
.executive-typography {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.premium-headline {
  font-size: var(--type-scale-5xl);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: calc(var(--spacing-unit) * var(--golden-ratio));
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: var(--type-scale-4xl);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  color: rgba(255, 255, 255, 0.95);
}

.card-title {
  font-size: var(--type-scale-2xl);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--spacing-unit);
  color: var(--gold-secondary);
}

.body-text {
  font-size: var(--type-scale-base);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: calc(var(--spacing-unit) * 1.2);
}

.small-text {
  font-size: var(--type-scale-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ===== SOPHISTICATED LAYOUT PATTERNS ===== */

/* Magazine-Style Layout */
.magazine-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 12fr 1fr;
  gap: 2rem;
}

.magazine-content {
  grid-column: 2;
}

/* Premium Spacing System */
.premium-spacing {
  padding: calc(var(--spacing-unit) * 2);
  margin-bottom: calc(var(--spacing-unit) * var(--golden-ratio));
}

/* Card-Based Flowing Grids */
.flowing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.flow-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Story-Driven Vertical Flow */
.story-section {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.story-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.story-anchor {
  position: relative;
  padding-left: 2rem;
}

.story-anchor::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
}

/* Interactive Content Sections */
.interactive-section {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.section-header {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.section-header:hover {
  background: var(--surface-hover);
}

.section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.section-content.expanded {
  max-height: 1000px;
  padding: 1rem 1.5rem;
}

/* ===== ELEGANT CARD COMPONENTS ===== */
.elegant-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 
    0 4px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.elegant-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 8px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(245, 158, 11, 0.2);
}

.pricing-card {
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.pricing-tier {
  font-size: var(--type-scale-lg);
  font-weight: 500;
  color: var(--gold-secondary);
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: var(--type-scale-4xl);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

/* ===== PROFESSIONAL NAVIGATION ===== */
.executive-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

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

.nav-logo {
  height: 40px;
  width: auto;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 400;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--gold-secondary);
  background: var(--surface-hover);
}

.nav-cta {
  background: var(--gold-gradient);
  color: var(--charcoal-primary);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

/* ===== GOOGLE-INSPIRED INTERFACE ===== */
.hero-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 120px 2rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

/* Home page hero should be full height */
.home-hero {
  justify-content: center;
  padding: 80px 2rem 8rem 2rem;
}

/* Magazine content within hero section */
.magazine-content {
  width: 100%;
  max-width: 1200px;
  margin-top: 2rem;
}

.hero-content {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-logo {
  width: 200px;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 16px rgba(245, 158, 11, 0.3));
}

.hero-title {
  font-size: var(--type-scale-5xl);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: var(--type-scale-lg);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
  max-width: 650px;
  line-height: 1.6;
}

.hero-subtitle-balanced {
  font-size: var(--type-scale-2xl);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  max-width: 700px;
  line-height: 1.5;
  font-weight: 400;
}

.query-interface {
  width: 100%;
  max-width: 600px;
  position: relative;
  margin-bottom: 2rem;
}

.query-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--type-scale-base);
  outline: none;
  transition: all 0.2s ease;
}

.query-input:focus {
  border-color: var(--gold-secondary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.query-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== MOBILE-FIRST RESPONSIVE DESIGN ===== */

/* Touch-friendly interactions */
.touch-target {
  min-height: 44px;
  min-width: 44px;
  padding: 12px;
}

.interactive-element:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* Content-aware breakpoints */
@media (max-width: 768px) {
  .magazine-layout {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .flowing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  
  .story-section {
    margin-bottom: 2rem;
  }
  
  .interactive-section .section-header {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .premium-headline {
    font-size: var(--type-scale-4xl);
  }
  
  .hero-title {
    font-size: var(--type-scale-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--type-scale-lg);
  }
  
  .nav-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .executive-typography h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .premium-spacing {
    padding: 1rem;
  }
  
  .hero-logo {
    width: 150px;
  }
  
  .query-interface {
    max-width: 100%;
  }
}

/* Thumb navigation zones */
@media (max-width: 768px) {
  .bottom-nav {
    display: none !important; /* Hide bottom nav on mobile for now */
  }
  
  .bottom-nav-item {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: var(--type-scale-sm);
  }
  
  .bottom-nav-item:hover,
  .bottom-nav-item.active {
    color: var(--gold-secondary);
    background: var(--surface-hover);
  }
}

/* ===== EXECUTIVE FORMS ===== */
.executive-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: var(--type-scale-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--type-scale-base);
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold-secondary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

.form-button {
  background: var(--gold-gradient);
  color: var(--charcoal-primary);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: var(--type-scale-base);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.form-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.form-button:active {
  transform: translateY(0);
}

/* ===== VALUE PROPS SPACING ===== */
.value-props {
  margin-bottom: 0; /* Footer has its own margin-top */
  padding-bottom: 2rem;
}

.value-prop {
  position: relative;
  z-index: 2; /* Ensure cards stay above footer */
}

/* ===== EXECUTIVE FOOTER ===== */
.executive-footer {
  background: var(--charcoal-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0 2rem;
  margin-top: 6rem; /* Increased spacing to prevent overlap */
  position: relative;
  z-index: 1; /* Ensure footer stays below other content */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: var(--gold-secondary);
  margin-bottom: 1rem;
  font-size: var(--type-scale-lg);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: var(--gold-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--type-scale-sm);
}

/* ===== POWERED BY AI BADGE ===== */
.ai-powered-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold-secondary);
  font-size: var(--type-scale-sm);
  font-weight: 500;
  z-index: 100;
  transition: all 0.2s ease;
}

.ai-powered-badge:hover {
  background: rgba(26, 26, 26, 1);
  border-color: var(--gold-secondary);
}

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-unit); }
.mt-2 { margin-top: calc(var(--spacing-unit) * 2); }
.mt-3 { margin-top: calc(var(--spacing-unit) * 3); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-unit); }
.mb-2 { margin-bottom: calc(var(--spacing-unit) * 2); }
.mb-3 { margin-bottom: calc(var(--spacing-unit) * 3); }

.hidden { display: none; }
.visible { display: block; }

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --charcoal-primary: #000000;
    --gold-primary: #ffb000;
  }
  
  body {
    background: #000000;
  }
  
  .elegant-card {
    border-color: rgba(255, 255, 255, 0.3);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .story-section {
    opacity: 1;
    transform: none;
  }
}

/* ===== ENHANCED QUERY INTERFACE ===== */
.query-interface {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.query-submit {
  align-self: center;
  padding: 0.75rem 2rem;
  background: var(--gold-gradient);
  border: none;
  border-radius: 24px;
  color: var(--charcoal-primary);
  font-size: var(--type-scale-base);
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  min-height: 44px;
}

.query-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.query-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Voice Button Styles - Executive Design */
.query-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.query-input-wrapper .query-input {
  margin-bottom: 0;
  padding-right: 3rem;
}

.voice-button {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  z-index: 10;
}

/* Voice Button States */
.voice-button:hover {
  color: var(--gold-secondary);
  background: rgba(251, 191, 36, 0.1);
  transform: translateY(-50%) scale(1.05);
}

.voice-button.listening {
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.15);
  animation: voice-pulse 1.5s ease-in-out infinite;
}

.voice-button.processing {
  color: var(--gold-secondary);
  animation: voice-spin 1s linear infinite;
}

.voice-button.error {
  color: #ff6b6b;
  animation: voice-shake 0.5s ease-in-out;
}

.voice-button:disabled {
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
  transform: translateY(-50%);
}

/* Voice Animations */
@keyframes voice-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    transform: translateY(-50%) scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.1);
    transform: translateY(-50%) scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    transform: translateY(-50%) scale(1);
  }
}

@keyframes voice-spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes voice-shake {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  25% { transform: translateY(-50%) translateX(-2px); }
  75% { transform: translateY(-50%) translateX(2px); }
}

.query-status {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--type-scale-sm);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.voice-status {
  color: var(--gold-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.voice-status.active {
  opacity: 1;
}

.queries-remaining {
  display: inline-block;
}

.query-response {
  width: 100%;
  max-width: 800px;
  margin: 1rem auto 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  height: 350px;
  overflow-y: auto;
}

.response-content {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: var(--type-scale-base);
  text-align: left;
}

.response-content pre {
  white-space: pre-wrap;
  font-family: var(--font-body);
  margin: 0;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-secondary);
  font-style: italic;
}

.error {
  color: #ff6b6b;
  text-align: center;
}

.copy-response {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--type-scale-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.copy-response:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold-secondary);
}

.hero-subtitle-primary {
  font-size: var(--type-scale-2xl);
  font-weight: 500;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.5rem 0 1rem 0;
  line-height: 1.3;
}

.query-input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* ===== PHASE 2: EMAIL FORM INTEGRATION STYLES ===== */

/* Form Field Error States */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.field-error {
  color: #ef4444;
  font-size: var(--type-scale-sm);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.field-error::before {
  content: "⚠";
  font-size: 12px;
}

/* Form Submission States */
.form-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--charcoal-secondary);
}

/* Executive Notification System */
.mcpcio-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mcpcio-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.mcpcio-notification.hide {
  opacity: 0;
  transform: translateY(-20px);
}

.notification-content {
  background: var(--charcoal-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}

.notification-icon {
  font-size: 18px;
  font-weight: 600;
  margin-top: 2px;
  flex-shrink: 0;
}

.notification-message {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--type-scale-sm);
  line-height: 1.5;
  flex-grow: 1;
}

.notification-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.notification-close:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Notification Type Styles */
.mcpcio-notification.success .notification-content {
  border-left: 4px solid #22c55e;
}

.mcpcio-notification.success .notification-icon {
  color: #22c55e;
}

.mcpcio-notification.error .notification-content {
  border-left: 4px solid #ef4444;
}

.mcpcio-notification.error .notification-icon {
  color: #ef4444;
}

.mcpcio-notification.info .notification-content {
  border-left: 4px solid var(--gold-secondary);
}

.mcpcio-notification.info .notification-icon {
  color: var(--gold-secondary);
}

/* Interactive Section Enhancement */
.section-content.expanded {
  max-height: 1000px;
  padding: 1rem 1.5rem;
  opacity: 1;
}

.section-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  padding: 0 1.5rem;
}

.section-header {
  cursor: pointer;
  transition: background 0.2s ease;
}

.section-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.section-header span {
  font-size: 18px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

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

/* Mobile screens */
@media (max-width: 768px) {
  .hero-content {
    padding: 2rem 1rem;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .query-interface {
    padding: 1.5rem;
  }

  .query-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .query-submit {
    min-height: 44px; /* Touch-friendly */
  }

  .voice-button {
    width: 44px; /* Touch-friendly on mobile */
    height: 44px;
    right: 0.5rem;
  }

  .value-props {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.25rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  transform-origin: center;
}

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

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

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

/* Mobile and tablet devices */
@media (max-width: 768px) {
  /* Ensure body and html don't have overflow issues */
  * {
    box-sizing: border-box;
  }

  html {
    font-size: 16px; /* Prevent zoom on iOS */
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
  }

  /* Fix header for mobile */
  .executive-header {
    position: fixed !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    padding: 0.75rem 0 !important;
    background: rgba(26, 26, 26, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Fix hero section for mobile */
  .hero-section {
    min-height: 100vh;
    padding: 100px 1rem 2rem 1rem; /* More top padding for fixed header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 2;
  }

  .nav-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: block !important; /* Override the display: none */
  }

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

  .nav-menu-wrapper.active .nav-menu {
    display: flex !important;
    flex-direction: column !important;
  }

  .nav-menu {
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    margin: 0.5rem 0;
    text-align: center;
  }

  /* Fix hero content for mobile */
  .hero-logo {
    width: 120px;
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle-primary {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .query-interface {
    padding: 1rem;
  }

  .query-response {
    height: 250px; /* Slightly taller on mobile */
    margin-top: 0.5rem;
  }

  .nav-container {
    padding: 0 1rem !important;
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .nav-logo {
    height: 32px;
    width: auto;
  }

  .nav-brand {
    order: 1;
    flex-grow: 1;
  }

  .nav-menu-wrapper {
    order: 3;
    width: 100%;
  }

  /* Hide desktop navigation items on mobile */
  .nav-menu {
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    margin: 0;
    list-style: none;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
  }

  .nav-link:hover,
  .nav-link:focus {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-secondary);
  }

  .nav-cta {
    background: var(--gold-secondary);
    color: var(--charcoal-primary);
    border-radius: 6px;
    border-bottom: none;
    font-weight: 600;
  }

  .nav-cta:hover {
    background: var(--gold-primary);
    color: var(--charcoal-primary);
  }

  /* Fix info cards for mobile */
  .elegant-card {
    padding: 1.5rem 1rem !important;
    margin: 0.5rem 0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
  }

  .card-title {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
    color: var(--gold-secondary) !important;
  }

  .value-props {
    display: block !important;
    margin-top: 2rem !important;
    padding: 0 !important;
  }

  .value-prop {
    display: block !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }

  /* Hide floating elements on mobile */
  .ai-powered-badge {
    display: none !important;
  }

  /* Disable content fading and parallax effects on mobile */
  .hero-content {
    transform: none !important;
    opacity: 1 !important;
  }

  /* Ensure all content sections are visible on mobile */
  .value-props,
  .elegant-card,
  .query-interface,
  .executive-footer {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }

  /* Mobile Responsive Notification */
  .mcpcio-notification {
    left: 16px;
    right: 16px;
    max-width: none;
    top: 16px;
  }

  .notification-content {
    padding: 14px 16px;
  }

  .notification-message {
    font-size: 13px;
  }
}

/* Tablet responsive adjustments */
@media (max-width: 768px) and (min-width: 481px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle-primary {
    font-size: 1.3rem;
  }

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

  .query-interface {
    padding: 1.5rem;
  }

  .nav-container {
    padding: 1rem 1.5rem;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: var(--type-scale-sm);
    padding: 0.5rem 1rem;
  }

  .executive-form {
    padding: 1.5rem;
  }

  .form-input,
  .form-textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Ultra-wide desktop optimizations */
@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
    padding: 0 2rem;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .hero-subtitle-primary {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
  }

  .query-interface {
    max-width: 700px;
  }
}

/* Touch and hover refinements */
@media (hover: none) and (pointer: coarse) {
  .cta-button:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  }

  .nav-link:hover {
    background: none;
    color: var(--gold-secondary);
  }

  .copy-response:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* Increase touch targets */
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cta-button {
    min-height: 44px;
    padding: 0.75rem 2rem;
  }
}

/* Print styles */
@media print {
  .nav-container,
  .cta-button,
  .copy-response,
  .mobile-menu-toggle,
  .bottom-nav {
    display: none !important;
  }

  .hero-section {
    page-break-inside: avoid;
  }

  .query-response {
    border: 1px solid #000;
    box-shadow: none;
    background: white;
    color: black;
  }

  .response-content {
    color: black;
  }
}

/* Enhanced Mobile Responsive Styles for Pricing Page */
@media (max-width: 768px) {
  .flowing-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 1rem !important;
  }

  .pricing-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .pricing-amount {
    font-size: var(--type-scale-3xl);
  }
  
  .form-button {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
  }
  
  .magazine-layout {
    margin-top: 80px !important;
    padding: 0 1rem;
  }
  
  .premium-headline {
    font-size: var(--type-scale-3xl);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: var(--type-scale-base);
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 1rem;
  }
  
  .premium-headline {
    font-size: var(--type-scale-2xl);
  }
  
  .pricing-amount {
    font-size: var(--type-scale-2xl);
  }
  
  .magazine-layout {
    margin-top: 60px !important;
  }
}


