/* No Pages Demo Site - Unified Design System */

/* CSS Variables for Theme Colors */
:root {
  /* Base Colors */
  --primary-gradient-start: #667eea;
  --primary-gradient-end: #764ba2;
  
  /* Page-Specific Themes (set via data-theme attribute) */
  --theme-primary: var(--primary-gradient-start);
  --theme-secondary: var(--primary-gradient-end);
  --theme-accent: rgba(255,255,255,0.2);
  
  /* Text */
  --text-primary: #fff;
  --text-secondary: rgba(255,255,255,0.9);
  --text-muted: rgba(255,255,255,0.7);
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-medium: 0 8px 30px rgba(0,0,0,0.2);
}

/* Theme Definitions */
[data-theme="purple"] { --theme-primary: #667eea; --theme-secondary: #764ba2; }
[data-theme="coffee"] { --theme-primary: #8b4513; --theme-secondary: #cd853f; }
[data-theme="amber"] { --theme-primary: #f59e0b; --theme-secondary: #d97706; }
[data-theme="violet"] { --theme-primary: #8b5cf6; --theme-secondary: #7c3aed; }
[data-theme="dark"] { --theme-primary: #1a1a2e; --theme-secondary: #16213e; }
[data-theme="emerald"] { --theme-primary: #059669; --theme-secondary: #047857; }
[data-theme="rose"] { --theme-primary: #e11d48; --theme-secondary: #be123c; }
[data-theme="blue"] { --theme-primary: #3b82f6; --theme-secondary: #2563eb; }
[data-theme="cyan"] { --theme-primary: #06b6d4; --theme-secondary: #0891b2; }
[data-theme="slate"] { --theme-primary: #475569; --theme-secondary: #334155; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  min-height: 100vh;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Unified Header */
.np-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.np-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.np-logo:hover {
  opacity: 0.9;
}

.np-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.np-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, opacity 0.2s;
}

.np-nav a:hover {
  color: var(--text-primary);
}

.np-nav a.active {
  background: rgba(255,255,255,0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}

/* Container */
.np-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.np-container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
.np-hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
}

.np-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.np-hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Cards */
.np-card {
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.2s, border-color 0.2s;
}

.np-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.2);
}

.np-card.featured {
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
}

.np-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.np-card p {
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Grid Layouts */
.np-grid {
  display: grid;
  gap: 1.5rem;
}

.np-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.np-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.np-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Buttons */
.np-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: rgba(255,255,255,0.2);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.np-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.np-btn-primary {
  background: #fff;
  color: var(--theme-primary);
}

.np-btn-primary:hover {
  background: rgba(255,255,255,0.9);
}

/* Pill / Badge */
.np-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Section Styling */
.np-section {
  padding: 3rem 2rem;
}

.np-section-alt {
  background: rgba(0,0,0,0.1);
}

.np-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

/* Unified Footer */
.np-footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: rgba(0,0,0,0.1);
  margin-top: 2rem;
}

.np-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.np-footer a:hover {
  color: var(--text-primary);
}

.np-footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Voice Hint */
.np-voice-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.15);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  margin-top: 1.5rem;
}

.np-voice-hint .arrow {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* Suggested Prompts */
.np-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.np-prompt {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.np-prompt:hover {
  background: rgba(255,255,255,0.2);
  color: var(--text-primary);
}

/* Form Elements */
.np-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.np-input::placeholder {
  color: var(--text-muted);
}

.np-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
}

/* Icon Wrapper */
.np-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Lists */
.np-list {
  list-style: none;
  text-align: left;
}

.np-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.np-list li:last-child {
  border-bottom: none;
}

.np-list li::before {
  content: "\2713 ";
  color: rgba(144, 238, 144, 0.9);
  margin-right: 0.5rem;
}

/* Pricing Specific */
.np-price {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 1rem 0;
}

.np-price span {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: normal;
}

/* Testimonial */
.np-testimonial {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.np-testimonial blockquote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.np-testimonial cite {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .np-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .np-nav {
    justify-content: center;
  }
  
  .np-hero {
    padding: 2.5rem 1.5rem;
  }
  
  .np-hero h1 {
    font-size: 1.75rem;
  }
  
  .np-container,
  .np-container-narrow {
    padding: 1.5rem;
  }
}
