/* ==========================================================================
   Creaxela - AI-Powered Creative Production Studio
   Design System & Modern Dark Aesthetic
   ========================================================================== */

:root {
  --bg-primary: #0b0f17;
  --bg-secondary: #111724;
  --bg-card: #151d2c;
  --bg-card-hover: #1b2538;
  --bg-glass: rgba(21, 29, 44, 0.75);
  
  --border-subtle: #1f2b3e;
  --border-glow: rgba(0, 223, 216, 0.3);
  --border-focus: #00dfd8;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #00dfd8;
  --accent-blue: #0070f3;
  --accent-purple: #7928ca;
  --accent-rose: #ff0080;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;

  --grad-primary: linear-gradient(135deg, #00dfd8 0%, #0070f3 50%, #7928ca 100%);
  --grad-accent: linear-gradient(135deg, #7928ca 0%, #ff0080 100%);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(0, 223, 216, 0.15), transparent 70%);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 223, 216, 0.2);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 10% 20%, rgba(121, 40, 202, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(0, 223, 216, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 0.8rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

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

a:hover {
  color: #fff;
}

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

.section {
  padding: 5rem 0;
  position: relative;
}

.section-tight {
  padding: 3rem 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.text-gradient-rose {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  background: rgba(0, 223, 216, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 223, 216, 0.25);
  margin-bottom: 1rem;
}

.badge-purple {
  background: rgba(121, 40, 202, 0.15);
  color: #c084fc;
  border-color: rgba(121, 40, 202, 0.3);
}

.badge-rose {
  background: rgba(255, 0, 128, 0.15);
  color: #ff4db8;
  border-color: rgba(255, 0, 128, 0.3);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.brand-logo .logo-spark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0f17;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 0 15px rgba(0, 223, 216, 0.5);
}

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

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 100;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}

.nav-item:hover .dropdown-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #0b0f17;
  box-shadow: 0 4px 15px rgba(0, 223, 216, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(0, 223, 216, 0.5);
  transform: translateY(-2px);
  color: #0b0f17;
}

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

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

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

/* Grid & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 980px;
  margin: 0 auto;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* Studio Family Cards */
.studio-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.studio-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 223, 216, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(0, 223, 216, 0.2);
}

.studio-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.studio-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.studio-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.studio-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.studio-features li::before {
  content: "✓";
  color: var(--accent-cyan);
  font-weight: bold;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 223, 216, 0.15);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: 'BEST VALUE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #0b0f17;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
}

.price-tag {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin: 1.5rem 0 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-tag .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dim);
}

.price-deliverables {
  list-style: none;
  margin: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}

.price-deliverables li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.price-deliverables li::before {
  content: "✓";
  color: var(--accent-cyan);
  font-weight: bold;
}

/* Portfolio Showcase */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
}

.portfolio-media {
  width: 100%;
  height: 240px;
  background: #111724;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-mockup {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-mockup {
  transform: scale(1.05);
}

.portfolio-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-info h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.portfolio-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.portfolio-results {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Reusable CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(21, 29, 44, 0.95), rgba(11, 15, 23, 0.98)),
              radial-gradient(circle at top right, rgba(0, 223, 216, 0.25), transparent 60%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  max-width: 650px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
}

.cta-banner .cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Floating Sticky Contact Widget */
.floating-contact-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  color: #fff;
}

.floating-btn.whatsapp {
  background: #25d366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
}

.floating-btn.phone {
  background: var(--accent-blue);
  box-shadow: 0 4px 20px rgba(0, 112, 243, 0.5);
}

.floating-tooltip {
  position: absolute;
  right: 65px;
  background: var(--bg-card);
  color: var(--text-main);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--border-subtle);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Quote Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: #fff;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 223, 216, 0.2);
}

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

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

/* FAQs Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

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

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  user-select: none;
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

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

/* Footer */
.site-footer {
  background: #070a10;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 3rem auto 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--bg-primary);
    flex-direction: column;
    padding: 2rem;
    align-items: flex-start;
    display: none;
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .mobile-toggle { display: block; }
  .grid-2, .grid-3, .portfolio-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Social Media Icons & Community Cards
   ========================================================================== */
.social-links-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icon-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 223, 216, 0.3);
}

.social-instagram:hover { color: #f43f5e; border-color: #f43f5e; }
.social-youtube:hover { color: #f87171; border-color: #f87171; }
.social-linkedin:hover { color: #60a5fa; border-color: #60a5fa; }
.social-twitter:hover { color: #fff; border-color: #fff; }
.social-facebook:hover { color: #3b82f6; border-color: #3b82f6; }
.social-behance:hover { color: #0057ff; border-color: #0057ff; }

.social-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Pretty Links & Keyword Auto-Linker
   ========================================================================== */
.affiliate-pretty-link {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1.5px dashed rgba(0, 223, 216, 0.6);
  font-weight: 600;
  padding-bottom: 1px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.affiliate-pretty-link:hover {
  color: #fff;
  border-bottom-color: var(--accent-cyan);
  background: rgba(0, 223, 216, 0.1);
  border-radius: 3px;
  padding: 0 3px;
}

.affiliate-pretty-link::after {
  content: " ↗";
  font-size: 0.75em;
  opacity: 0.75;
}

/* ==========================================================================
   Outstanding AI Studio Concierge Chatbot Widget
   ========================================================================== */
.chatbot-launcher-container {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 1001;
}

.chatbot-launcher-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--grad-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0f17;
  box-shadow: 0 4px 20px rgba(0, 223, 216, 0.4), 0 0 25px rgba(121, 40, 202, 0.3);
  transition: var(--transition);
  position: relative;
}

.chatbot-launcher-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 223, 216, 0.6);
}

.bot-status-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  background: #10b981;
  border: 2px solid #0b0f17;
  border-radius: 50%;
}

.chatbot-tooltip {
  position: absolute;
  right: 65px;
  background: var(--bg-card);
  color: var(--text-main);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid var(--border-subtle);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.chatbot-launcher-btn:hover .chatbot-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Chatbot Floating Window */
.chatbot-window {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  height: 560px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 48px);
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  display: none;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  z-index: 1002;
  overflow: hidden;
  backdrop-filter: blur(16px);
  animation: botSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-window.open {
  display: flex;
}

@keyframes botSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header {
  padding: 1rem 1.25rem;
  background: rgba(11, 15, 23, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bot-avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 223, 216, 0.15);
  border: 1px solid rgba(0, 223, 216, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  position: relative;
}

.bot-avatar-badge .online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  border: 1.5px solid #0b0f17;
}

.bot-header-action {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.bot-header-action:hover {
  color: #fff;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(11, 15, 23, 0.4);
}

.chat-msg {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  max-width: 88%;
}

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

.chat-msg.user-msg {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(121, 40, 202, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.bot-msg .msg-bubble {
  background: #192233;
  border: 1px solid var(--border-subtle);
  border-top-left-radius: 4px;
}

.user-msg .msg-bubble {
  background: var(--grad-primary);
  color: #0b0f17;
  font-weight: 500;
  border-top-right-radius: 4px;
}

.chat-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.chat-chip {
  background: rgba(0, 223, 216, 0.08);
  border: 1px solid rgba(0, 223, 216, 0.25);
  color: var(--accent-cyan);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chat-chip:hover {
  background: rgba(0, 223, 216, 0.2);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-1px);
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.6rem 0.85rem;
  background: #192233;
  border-radius: 14px;
  border-top-left-radius: 4px;
  width: fit-content;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* Chat Lead Drawer */
.chat-lead-drawer {
  background: #111724;
  border-top: 1px solid var(--border-glow);
  padding: 0.85rem 1rem;
}

.chat-drawer-input {
  width: 100%;
  padding: 0.45rem 0.75rem;
  background: #0b0f17;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.chat-drawer-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

/* Chat Input Footer */
.chatbot-footer {
  padding: 0.75rem 1rem;
  background: #111724;
  border-top: 1px solid var(--border-subtle);
}

.chatbot-input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  background: #0b0f17;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
  transition: var(--transition);
}

.chatbot-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.chatbot-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-primary);
  border: none;
  color: #0b0f17;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.chatbot-send-btn:hover {
  transform: scale(1.05);
}

.chatbot-powered-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  color: var(--text-dim);
}
