/* ==========================================================================
   CHATBOTINI PREMIUM GLOBAL STYLESHEET
   ========================================================================== */

/* Design Tokens & Custom Properties */
:root {
  --bg-dark: #070709;
  --bg-darker: #020204;
  --bg-card: rgba(15, 23, 42, 0.45);
  
  --accent-gold: #e5b842;
  --accent-amber: #ff8c00;
  --accent-blue: #38bdf8;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: url('https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(2, 2, 4, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 15px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-amber) 100%);
  color: #000 !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(229, 184, 66, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 184, 66, 0.45);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(229, 184, 66, 0.05) 0%, transparent 60%);
  z-index: 1;
}

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

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-block;
  background: rgba(229, 184, 66, 0.08);
  border: 1px solid rgba(229, 184, 66, 0.25);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-amber) 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(229, 184, 66, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(229, 184, 66, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: #fff;
}

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

/* Hero Bot Preview Graphic */
.hero-graphic-card {
  position: relative;
  padding: 25px;
  border-color: rgba(229, 184, 66, 0.15);
  background: rgba(15, 23, 42, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  overflow: hidden;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(229, 184, 66, 0.05) 0%, transparent 60%);
  pointer-events: none;
  animation: rotateGlow 15s linear infinite;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.bot-header-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.bot-status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
}

.bot-chat-preview {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.preview-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
}

.preview-msg.bot {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.preview-msg.user {
  background: rgba(229, 184, 66, 0.1);
  border: 1px solid rgba(229, 184, 66, 0.2);
  color: var(--accent-gold);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.bot-controls-preview {
  display: flex;
  gap: 15px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.preview-icon {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   SECTIONS & UTILITIES
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-top: 15px;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-gold {
  background: rgba(229, 184, 66, 0.08);
  border: 1px solid rgba(229, 184, 66, 0.25);
  color: var(--accent-gold);
}

.badge-amber {
  background: rgba(255, 140, 0, 0.08);
  border: 1px solid rgba(255, 140, 0, 0.25);
  color: var(--accent-amber);
}

/* Card Grid Layout */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 10px rgba(229, 184, 66, 0.15));
}

.glass-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 15px;
}

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

/* Solutions Point Items */
.solution-points {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.solution-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.solution-icon {
  background: rgba(229, 184, 66, 0.08);
  border: 1px solid rgba(229, 184, 66, 0.2);
  color: var(--accent-gold);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.solution-item strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 5px;
}

.solution-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.channel-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  transition: var(--transition-smooth);
}

.channel-card:hover {
  border-color: var(--accent-gold);
  background: rgba(229, 184, 66, 0.04);
}

/* ==========================================================================
   INTERACTIVE CHATBOT SIMULATOR
   ========================================================================== */
.chatbot-container {
  display: flex;
  flex-direction: column;
  height: 520px;
  border-color: rgba(229,184,66,0.15);
  background: rgba(10, 15, 30, 0.6);
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0,0,0,0.6);
}

.chatbot-header {
  padding: 20px 25px;
  background: rgba(2, 2, 4, 0.5);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-messages {
  flex: 1;
  padding: 25px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Chat Bubbles */
.chat-bubble {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble.bot-bubble {
  align-self: flex-start;
}

.chat-bubble.user-bubble {
  align-self: flex-end;
}

.bubble-text {
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.bot-bubble .bubble-text {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  border-bottom-left-radius: 2px;
}

.user-bubble .bubble-text {
  background: rgba(229, 184, 66, 0.12);
  border: 1px solid rgba(229, 184, 66, 0.25);
  color: var(--accent-gold);
  border-bottom-right-radius: 2px;
}

.bubble-actions {
  display: flex;
  gap: 10px;
}

.bot-action-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.bot-action-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.bot-action-btn.speaker-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.bot-action-btn.report-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* Quick Replies */
.chat-quick-replies {
  display: flex;
  gap: 10px;
  padding: 0 25px 15px 25px;
  overflow-x: auto;
}

.quick-reply-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.quick-reply-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(229, 184, 66, 0.05);
}

/* Input Area */
.chatbot-input-area {
  padding: 15px 25px 20px 25px;
  background: rgba(2, 2, 4, 0.4);
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 15px;
}

.chatbot-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 12px 18px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.chatbot-input-area input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(229,184,66,0.15);
}

/* ==========================================================================
   PRICING STRATEGY
   ========================================================================== */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 40px;
}

.pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li {
  position: relative;
  padding-left: 24px;
}

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

/* ==========================================================================
   CONTACT FORM & CONTROLS
   ========================================================================== */
.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 12px 18px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px rgba(229,184,66,0.15);
}

textarea.form-control {
  resize: vertical;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.toast {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--accent-gold);
  color: #fff;
  padding: 16px 24px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  font-size: 0.92rem;
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.error {
  border-color: #ef4444;
}

@keyframes slideIn {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo-desc p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 15px;
  max-width: 280px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   RESPONSIVE DESIGN EDGE CASES
   ========================================================================== */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-description {
    margin: 0 auto 30px auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 89px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 89px);
    background-color: var(--bg-darker);
    flex-direction: column;
    padding: 50px 0;
    gap: 35px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--glass-border);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
}

/* Permanent Background Section Overlays */
.section {
  background-color: rgba(7, 7, 9, 0.88) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero {
  background-color: rgba(7, 7, 9, 0.7) !important;
}

section#services {
  background-color: rgba(2, 2, 4, 0.88) !important;
}

section#demo {
  background-color: rgba(7, 7, 9, 0.88) !important;
}

section#pricing {
  background-color: rgba(2, 2, 4, 0.88) !important;
}


