/* CSS Design System for Live Meet AI Website */

:root {
  --bg-dark: #0b0f19;
  --bg-card: rgba(17, 24, 39, 0.6);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --primary: #10b981; /* emerald green */
  --primary-glow: rgba(16, 185, 129, 0.15);
  --accent: #3b82f6; /* royal blue */
  --accent-glow: rgba(59, 130, 246, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

img {
  max-width: 100%;
  height: auto;
}

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

/* Navbar */
.navbar {
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
}

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

.nav-btn {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  border: 1px solid transparent;
}

.nav-btn:hover {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  background-image: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.tagline {
  background: var(--primary-glow);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 30%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.flex-row {
  display: flex;
}

.items-center {
  align-items: center;
}

.gap-8 {
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-muted);
}

.installer-version {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: #111827;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.image-wrapper:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(16, 185, 129, 0.3);
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Features */
.features {
  padding: 100px 0;
  background: #0d1222;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 12px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Pricing */
.pricing {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
  background: rgba(16, 185, 129, 0.02);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 30px;
  letter-spacing: 0.5px;
}

.pricing-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  font-family: var(--font-title);
  margin-bottom: 8px;
}

.pricing-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  flex: 1;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.pricing-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
}

.pricing-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
}

.pricing-btn.btn-accent {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.pricing-btn.btn-accent:hover {
  background: #059669;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* Steps Section */
.steps {
  background: #0d1222;
  padding: 100px 0;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 24px;
}

.step-num {
  width: 50px;
  height: 50px;
  background: var(--primary-glow);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-title);
  box-shadow: 0 0 15px var(--primary-glow);
}

.step-card h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Footer */
.footer {
  background: #070912;
  padding: 60px 0 30px 0;
  border-top: 1px solid var(--border);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand h3 {
  font-family: var(--font-title);
  font-weight: 700;
  margin-bottom: 10px;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none; /* simple mobile override */
  }
  
  .navbar-container {
    justify-content: center;
  }
}

/* Interactive Simulator Styles */
.simulator-container {
  position: relative;
  min-height: 400px;
  background: #0d1117;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
}

.demo-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: #0b0f19;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.demo-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  position: absolute;
  top: 0;
  left: 0;
}

.play-demo-btn {
  position: relative;
  z-index: 11;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.play-demo-btn:hover {
  transform: scale(1.05);
  background: #059669;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
}

.play-icon {
  font-size: 1.2rem;
}

/* Simulator Screen */
.simulator-screen {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  background: #161b22;
}

.sim-header {
  height: 38px;
  background: #0d1117;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  justify-content: space-between;
}

.sim-dots {
  display: flex;
  gap: 6px;
}

.sim-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

.sim-dots span:nth-child(2) { background: #f59e0b; }
.sim-dots span:nth-child(3) { background: #10b981; }

.sim-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.protection-status-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #10b981;
  transition: var(--transition);
}

.sim-body {
  flex: 1;
  display: flex;
  position: relative;
  min-height: 310px;
  background: #090d16;
}

.meeting-feeds {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  border-right: 1px solid var(--border);
}

.feed {
  background: #161b22;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid rgba(255,255,255,0.02);
}

.feed-avatar {
  font-size: 2rem;
  margin-bottom: 8px;
}

.feed-name {
  font-size: 0.7rem;
  color: var(--text-muted);
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.6);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Floating Live Meet AI Widget inside Simulator */
.floating-widget {
  width: 250px;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Simulated Content Protection Effect */
.floating-widget.invisible-mode {
  opacity: 0 !important; /* completely invisible on interviewer's simulated Zoom share! */
  transform: scale(0.98);
  pointer-events: none;
}

.widget-header {
  height: 36px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 10px;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.widget-logo {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.protection-toggle-btn {
  background: #3b82f6;
  color: #fff;
  border: none;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.protection-toggle-btn.active {
  background: #10b981;
}

.widget-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

/* Simulated Wave visualizer */
.audio-wave-container {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.wave-bar {
  width: 3px;
  height: 12px;
  background: var(--primary);
  border-radius: 3px;
  animation: wavePulse 1s infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.6s; }

.wave-text {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-left: 4px;
}

@keyframes wavePulse {
  0% { height: 4px; }
  100% { height: 16px; }
}

/* Dialogue Transcript Bubble */
.transcription-bubble {
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  padding: 10px;
  font-size: 0.7rem;
  line-height: 1.4;
  border-left: 3px solid var(--primary);
  transition: var(--transition);
  text-align: left;
}

.speaker-tag {
  font-weight: 700;
  color: var(--primary);
}

/* Answer Card Inside Widget */
.answer-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.answer-tab-headers {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

.answer-tab-headers .tab {
  flex: 1;
  padding: 6px;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.answer-tab-headers .tab.active {
  color: var(--primary);
  background: rgba(255,255,255,0.03);
  border-bottom: 2px solid var(--primary);
}

.answer-content {
  padding: 10px;
  font-size: 0.65rem;
  line-height: 1.4;
  overflow-y: auto;
  max-height: 160px;
  background: #0d1117;
  text-align: left;
}

.answer-content pre {
  margin: 0;
  font-family: monospace;
  color: #34d399;
}

/* SQL Joins circles */
.sql-demo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circles-wrapper {
  display: flex;
  position: relative;
  width: 120px;
  height: 60px;
  margin: 10px 0;
}

.circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  position: absolute;
}

.circle-a {
  left: 15px;
  background: rgba(16, 185, 129, 0.3);
}

.circle-b {
  right: 15px;
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--accent);
}

/* Alert overlay banner */
.share-alert-banner {
  position: absolute;
  top: 48px;
  left: 12px;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 15;
  box-shadow: 0 0 10px rgba(239,68,68,0.5);
  animation: pulseAlert 1.5s infinite;
}

@keyframes pulseAlert {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Simulation Controls bar */
.sim-controls {
  height: 42px;
  background: #0d1117;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  justify-content: space-between;
}

.sim-status {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 500;
}

.sim-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.65rem;
  cursor: pointer;
  transition: var(--transition);
}

.sim-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
}

