/* ============================================================
   CRNZY AI — Design System & Stylesheet
   ============================================================ */

/* Global Reset & Base */
:root {
  --bg-main: #090611;
  --bg-card: rgba(18, 14, 29, 0.5);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(139, 92, 246, 0.25);
  --text-main: #f3f4f6;
  --text-secondary: #9ca3af;
  
  /* Accent Gradients */
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  
  --grad-purple-pink: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  --grad-blue-cyan: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  --grad-glow: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
  
  /* Fonts */
  --font-headings: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background Glowing Orbs */
.glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.glow-1 {
  background: var(--accent-purple);
  top: -100px;
  right: -100px;
}

.glow-2 {
  background: var(--accent-blue);
  top: 40%;
  left: -200px;
}

.glow-3 {
  background: var(--accent-pink);
  bottom: -100px;
  right: -150px;
}

/* Typography & Layout Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
  position: relative;
  z-index: 1;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(to bottom, #ffffff 40%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Glassmorphism Panel Base */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--grad-purple-pink);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  background: rgba(9, 6, 17, 0.7);
}

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

.logo {
  text-decoration: none;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.logo-accent {
  background: var(--grad-purple-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-dot {
  color: var(--text-main);
}

.nav-menu {
  display: flex;
  gap: 32px;
}

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

.nav-link:hover {
  color: var(--text-main);
}

.btn-outline-nav {
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: 20px;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline-nav:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-purple);
}

/* Hero Section */
.hero-section {
  padding-top: 150px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #c084fc;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-pink);
  box-shadow: 0 0 8px var(--accent-pink);
}

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

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 36px;
  max-width: 540px;
}

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

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

.node-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
}

.center-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--grad-purple-pink);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
  z-index: 10;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 50%;
}

.ring-1 {
  width: 180px;
  height: 180px;
  animation: rotateClockwise 20s linear infinite;
}

.ring-2 {
  width: 280px;
  height: 280px;
  animation: rotateCounterClockwise 30s linear infinite;
}

.satellite-node {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.sat-1 {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation: floatNode 4s ease-in-out infinite;
}

.sat-2 {
  bottom: 15%;
  left: 15%;
  animation: floatNode 5s ease-in-out infinite 1s;
}

.sat-3 {
  bottom: 15%;
  right: 15%;
  animation: floatNode 6s ease-in-out infinite 2s;
}

.satellite-node:hover {
  color: white;
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

/* Animations */
@keyframes rotateClockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes floatNode {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
  100% { transform: translateY(0px) scale(1); }
}

/* Products Section */
.products-section {
  background-color: rgba(9, 6, 17, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.1);
}

.product-card:hover .card-glow {
  opacity: 1;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.03), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-purple { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); }
.icon-blue { background: rgba(59, 130, 246, 0.12); color: var(--accent-blue); }
.icon-pink { background: rgba(236, 72, 153, 0.12); color: var(--accent-pink); }
.icon-gold { background: rgba(245, 158, 11, 0.12); color: var(--accent-gold); }

.product-status-badge {
  position: absolute;
  top: 40px;
  right: 40px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-status-badge.status-edge {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
}

.product-name {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: white;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-features li span {
  color: var(--accent-purple);
  font-weight: 700;
}

/* Interactive Sandbox (Terminal) */
.terminal-container {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.08);
}

.terminal-header {
  background: rgba(0, 0, 0, 0.3);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}

.terminal-actions {
  display: flex;
  gap: 6px;
}

.terminal-actions .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-actions .red { background-color: #ef4444; }
.terminal-actions .yellow { background-color: #f59e0b; }
.terminal-actions .green { background-color: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #10b981;
  font-family: var(--font-mono);
}

.status-pulse {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.terminal-tabs {
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  border-bottom: 1px solid var(--glass-border);
}

.tab-btn {
  background: transparent;
  border: none;
  border-right: 1px solid var(--glass-border);
  padding: 12px 20px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

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

.tab-btn.active {
  background: rgba(139, 92, 246, 0.05);
  color: var(--accent-purple);
  border-bottom: 1px solid var(--accent-purple);
}

.terminal-screen {
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
  min-height: 300px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #a78bfa;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt {
  color: var(--accent-cyan);
}

.cursor {
  animation: blink 1s step-end infinite;
  color: var(--accent-purple);
}

@keyframes blink {
  50% { opacity: 0; }
}

.terminal-output {
  margin-top: 14px;
  color: #e2e8f0;
  white-space: pre-wrap;
  line-height: 1.5;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  padding: 32px;
}

.service-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: white;
}

.service-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Connect Section (Contact) */
.connect-card {
  max-width: 750px;
  margin: 0 auto;
  padding: 50px;
}

.connect-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 8px;
  color: white;
}

.connect-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  text-align: center;
  margin-bottom: 40px;
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  font-family: var(--font-headings);
}

.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.05);
}

.btn-submit {
  align-self: center;
  width: 100%;
  margin-top: 10px;
  border-radius: 8px;
  padding: 14px;
}

.success-message {
  text-align: center;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.success-message svg {
  color: #10b981;
}

.success-message h3 {
  font-size: 1.5rem;
  color: white;
}

.success-message p {
  color: var(--text-secondary);
  max-width: 400px;
}

/* Footer */
.main-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.2);
  padding: 60px 0 20px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 12px;
}

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

.link-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-group h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-purple);
  margin-bottom: 8px;
}

.link-group a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.link-group a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.03);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* simple burger menu fallback or hide */
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .connect-card {
    padding: 30px 20px;
  }
}

/* Scroll Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Locked/Classified Products Styling */
.product-card-locked {
  position: relative;
  overflow: hidden;
}

.blur-text {
  filter: blur(5px);
  opacity: 0.3;
  user-select: none;
  pointer-events: none;
}

.badge-locked {
  background: rgba(245, 158, 11, 0.08) !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
  color: var(--accent-gold) !important;
}

.lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 6, 17, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
  transition: all 0.3s ease;
}

.product-card-locked:hover .lock-overlay {
  background: rgba(9, 6, 17, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.lock-icon {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
  transition: all 0.3s ease;
}

.product-card-locked:hover .lock-icon {
  transform: scale(1.1);
  background: rgba(245, 158, 11, 0.2);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
}

.lock-text {
  font-family: var(--font-headings);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   Dropdown Navigation Menu
   ============================================================ */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 320px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
  margin-top: 8px;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.dropdown-item:not(.locked):hover {
  background: rgba(139, 92, 246, 0.1);
  color: white;
  border-left: 3px solid var(--accent-purple);
  padding-left: 11px;
}

.dropdown-item.locked {
  opacity: 0.6;
  cursor: not-allowed;
}

.dropdown-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-item-title {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
}

.dropdown-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-weight: bold;
}

.dropdown-badge.badge-locked {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
}

.dropdown-item-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .arrow {
  transform: rotate(180deg);
}

/* ============================================================
   Pricing Section
   ============================================================ */
.pricing-section {
  background-color: rgba(9, 6, 17, 0.1);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.highlight {
  border-color: var(--glass-border-hover);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
  background: rgba(18, 14, 29, 0.7);
}

.pricing-card.highlight::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  z-index: -1;
  opacity: 0.3;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.25);
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.pricing-badge.badge-cyan {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
}

.pricing-badge.badge-purple {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
  color: #c084fc;
}

.tier-name {
  font-size: 1.6rem;
  color: white;
  margin-bottom: 8px;
}

.tier-price {
  font-size: 2.8rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
}

.tier-price .currency {
  font-size: 1.5rem;
  vertical-align: super;
  margin-right: 4px;
}

.tier-price .period {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-left: 4px;
}

.tier-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.tier-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier-features li span {
  color: var(--accent-purple);
  font-weight: bold;
}

.btn-pricing {
  width: 100%;
  border-radius: 8px;
  font-size: 0.9rem;
  padding: 10px;
}

.pricing-enterprise-banner {
  margin-top: 40px;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.pricing-enterprise-banner:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
}

.banner-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 70%;
}

.banner-title {
  font-size: 1.5rem;
  color: white;
  font-family: var(--font-headings);
}

.banner-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.banner-btn {
  flex-shrink: 0;
  white-space: nowrap;
  border-radius: 8px;
  font-size: 0.95rem;
  padding: 12px 28px;
}

/* ============================================================
   Floating AI Agent Widget
   ============================================================ */
.ai-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.widget-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-purple-pink);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  outline: none;
}

.widget-toggle:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.widget-toggle svg {
  transition: transform 0.3s ease;
}

.widget-toggle.active svg {
  transform: rotate(90deg);
}

.chat-window {
  width: 380px;
  height: 520px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  border-color: rgba(255,255,255,0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}

.chat-window.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-info h4 {
  font-size: 0.95rem;
  color: white;
}

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

.close-chat {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
  outline: none;
}

.close-chat:hover {
  color: white;
}

.chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(0, 0, 0, 0.2);
}

.message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-wrap: break-word;
  animation: messageFadeIn 0.25s ease forwards;
}

@keyframes messageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.message.assistant {
  background: rgba(255, 255, 255, 0.05);
  color: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom-left-radius: 2px;
  align-self: flex-start;
}

.message.user {
  background: var(--grad-purple-pink);
  color: white;
  border-bottom-right-radius: 2px;
  align-self: flex-end;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.chat-input-form {
  padding: 14px;
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 10px;
}

.chat-input-form input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 10px 18px;
  color: white;
  outline: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.chat-input-form input:focus {
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.06);
}

.chat-input-form button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-purple-pink);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.3);
  outline: none;
}

.chat-input-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Scrollbars */
.chat-messages::-webkit-scrollbar, .dropdown-menu::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track, .dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb, .dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Extra Responsiveness Media Queries */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-enterprise-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 30px 20px;
  }
  .banner-content {
    max-width: 100%;
    align-items: center;
  }
  .banner-btn {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .chat-window {
    width: calc(100vw - 40px);
    height: 480px;
  }
  .ai-widget-container {
    bottom: 20px;
    right: 20px;
    left: 20px;
  }
}

