/* ==========================================================================
   AIN Studio - Modern High-Tech Glassmorphism & Neon Glow Stylesheet
   ========================================================================== */

:root {
  --bg-dark: #070a12;
  --bg-darker: #04060b;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-active: rgba(0, 242, 254, 0.3);

  --accent-cyan: #00f2fe;
  --accent-blue: #3b82f6;
  --accent-violet: #8b5cf6;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;

  --gradient-main: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #8b5cf6 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(139, 92, 246, 0.2));

  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-glow-cyan: 0 0 30px rgba(0, 242, 254, 0.25);
  --shadow-glow-violet: 0 0 30px rgba(139, 92, 246, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(139, 92, 246, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Layout Components */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Buttons & UI Controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-main);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 242, 254, 0.4);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Glass Card Component */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
}

.glass-card:hover {
  border-color: var(--glass-border-active);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.35rem;
}

.brand-logo-img,
.brand-logo img {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-glow-cyan);
  transition: var(--transition);
  display: inline-block;
  vertical-align: middle;
}

.brand-logo:hover .brand-logo-img,
.brand-logo:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-main);
  color: #000;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: var(--shadow-glow-cyan);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-cyan);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
}

/* SECTION 1: HERO */
.hero-section {
  padding: 160px 0 100px 0;
  position: relative;
  overflow: hidden;
}

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

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-h1 {
  font-size: 3.25rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .hero-h1 {
    font-size: 2.25rem;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-triggers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 576px) {
  .hero-triggers {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.trigger-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.trigger-icon {
  color: var(--accent-cyan);
  font-weight: bold;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .hero-cta-group {
    justify-content: center;
  }
}

/* Hero Visual Animation */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: var(--shadow-glow-cyan);
}

.visual-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;

  animation: float 4s ease-in-out infinite alternate;
}

.visual-node:nth-child(2) { animation-delay: 1s; }
.visual-node:nth-child(3) { animation-delay: 2s; }

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* SECTION 2: TRUST BLOCK */
.trust-section {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.01);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 768px) {
  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* SECTION 3: PAIN POINTS */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

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

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  padding: 20px;
  border-radius: var(--radius-md);
}

.pain-icon {
  color: #ef4444;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pain-summary-card {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid var(--accent-cyan);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
}

/* SECTION 4: CORE BENEFITS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.benefit-card {
  text-align: left;
}

.benefit-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.benefit-title {
  font-size: 1.35rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

/* SECTION 5: CAPABILITIES */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.cap-badge {
  font-size: 0.8rem;
  color: var(--accent-purple);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.cap-list {
  list-style: none;
  margin-top: 16px;
}

.cap-list li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cap-list li::before {
  content: "✦";
  color: var(--accent-cyan);
}

/* SECTION 6: INTEGRATIONS LAYER */
.integrations-box {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}

.flow-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 36px 0;
}

.chip {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  font-weight: 600;
}

.chip.ain-layer {
  background: var(--gradient-main);
  color: #000;
  font-weight: 800;
  box-shadow: var(--shadow-glow-cyan);
}

.flow-arrow {
  color: var(--accent-cyan);
  font-weight: bold;
  font-size: 1.2rem;
}

/* SECTION 7: CASES */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.case-state {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

.case-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.case-was { color: #f87171; }
.case-did { color: #60a5fa; }
.case-now { color: #34d399; }

/* SECTION 8: HOW WE WORK */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 992px) {
  .steps-timeline {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

/* SECTION 9: MID CTA */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  box-shadow: var(--shadow-glow-violet);
}

/* SECTION 10: TARGET AUDIENCE */
.target-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

/* SECTION 11: WORK FORMATS */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .formats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* SECTION 12: ABOUT TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

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

.team-avatar {
  width: 100%;
  height: 220px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 2.5rem;
  border: 1px dashed var(--glass-border);
  margin-bottom: 16px;
}

/* SECTION 13: DATA SECURITY */
.security-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .security-list {
    grid-template-columns: 1fr;
  }
}

/* SECTION 14: FAQ ACCORDION */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  font-size: 0.98rem;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

/* SECTION 15: FINAL LEAD FORM */
.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

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

/* Toast Message */
.toast-msg {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-weight: 600;
  text-align: center;
}

.toast-msg.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.toast-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* SECTION 16: FOOTER & CONTACTS */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px 0;
  background: var(--bg-darker);
}

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

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

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-cyan);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* MODAL WINDOW */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 6, 11, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--glass-border-active);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-glow-cyan);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--accent-cyan);
}

/* BACK TO TOP WIDGET */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--glass-border-active);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gradient-main);
  color: #000;
  border-color: transparent;
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-4px);
}

/* FORM TABS & AI CHATBOT STYLES */
.form-tabs {
  display: flex !important;
  gap: 10px;
  margin-bottom: 24px;
  background: rgba(15, 23, 42, 0.9);
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border-active);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.form-tab-btn {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.form-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.form-tab-btn.active {
  background: var(--gradient-main) !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: var(--shadow-glow-cyan) !important;
}

.tab-content {
  display: none !important;
}

.tab-content.active {
  display: block !important;
}

/* CHATBOT WIDGET */
.chat-container {
  display: flex;
  flex-direction: column;
  background: rgba(7, 10, 18, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  gap: 16px;
}

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

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--gradient-glow);
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 320px;
  min-height: 220px;
  overflow-y: auto;
  padding-right: 6px;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
}

.chat-bubble.model {
  align-self: flex-start;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--gradient-main);
  color: #000;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-chip {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.chat-chip:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
}

.chat-input-row {
  display: flex;
  gap: 10px;
}
