/*
Theme Name: BYA Media Customizer
Description: Apple Glassmorphism Theme with Fluid Gradients
Author: Antigravity
Version: 4.0
*/

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --color-text: #f5f5f7;
  --color-text-muted: #86868b;
  --color-primary: #0a84ff;
  --color-secondary: #5e5ce6;
  --color-accent: #ff2d55;
  
  --glass-bg: rgba(30, 30, 30, 0.45);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  
  --transition-fast: 0.2s ease;
  --transition-slow: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 3D Background */
#vanta-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -3;
  background: #030014;
}



/* Apple-Style Preloader */
.loader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #030014;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.loader-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.loader-icon {
  font-size: 3rem;
  color: #fff;
  animation: pulse-icon 2s infinite ease-in-out;
}
@keyframes pulse-icon {
  0%, 100% { transform: scale(1); opacity: 0.7; filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)); }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 20px rgba(255,255,255,0.8)); }
}
.loader-bar-container {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.loader-bar {
  width: 0%;
  height: 100%;
  background: #fff;
  border-radius: 4px;
  transition: width 0.1s linear;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: rgba(20, 20, 25, 0.45);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  padding: 2.5rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.glass-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all var(--transition-slow);
}
.navbar.scrolled {
  padding: 1rem 5%;
  background: rgba(3, 0, 20, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand-wording strong {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 1px;
}
.brand-wording em {
  font-style: normal;
  font-weight: 300;
  color: var(--color-text-muted);
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(12, 12, 22, 0.65);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 0.4rem 0.6rem;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  display: inline-block;
}
.nav-links a:hover, .nav-links li.current-menu-item a {
  opacity: 1;
  color: #00f2fe;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(79, 172, 254, 0.15));
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
  transform: translateY(-1px);
}
.nav-cta {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #000;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.7);
  color: #000;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: var(--transition-fast);
}

/* Page Layout */
.page-wrapper {
  padding-top: 100px;
  min-height: calc(100vh - 100px);
}
.page-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.page-title {
  font-size: 3.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-desc {
  font-size: 1.3rem;
  color: var(--color-text-muted);
}

/* Image & Content Helpers (Futuristic Cyber-Glass Upgrade) */
.content-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  margin-bottom: 2rem;
  padding: 6px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.6) 0%, rgba(79, 172, 254, 0.1) 50%, rgba(255, 0, 128, 0.4) 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.25);
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.content-image:hover {
  transform: scale(1.03) translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 242, 254, 0.45);
}

/* Hide Any External AI / Gemini Watermarks or Logos */
a[href*="gemini"], div[class*="gemini"], iframe[src*="gemini"], img[src*="gemini"], #gemini-badge, .gemini-watermark {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

/* Hero Front Page */
.hero-full {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  margin-top: -100px;
}
.hero-content {
  max-width: 1000px;
}
.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1.2rem;
  color: #fff;
}
.hero-title-gradient {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: #a1a1a6;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}
.btn-primary-glass {
  background: rgba(255, 255, 255, 1);
  color: #000;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.btn-primary-glass:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}
.btn-secondary-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  animation: bounce 2s infinite;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.scroll-indicator:hover { opacity: 1; }
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  padding: 1.8rem 0;
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.marquee-content {
  display: inline-block;
  animation: scroll-marquee 25s linear infinite;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.marquee-content span {
  margin: 0 1.2rem;
}
.marquee-content span.dot {
  color: #0a84ff;
  opacity: 0.8;
}
@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  text-align: left;
}
.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-author img {
  width: 50px; height: 50px; border-radius: 50%;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--glass-border);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 2rem;
}
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline-item:nth-child(even) {
  left: 50%;
}
.timeline-dot {
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-primary);
}
.timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; }

/* Progress Bars */
.progress-container {
  margin-bottom: 1.5rem;
}
.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.progress-bg {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0; /* Animated via JS */
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 4px;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}
.faq-question i {
  transition: transform 0.3s;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--color-text-muted);
  padding-top: 0;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-item.active .faq-answer {
  padding-top: 1rem;
}

/* Pricing Table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.pricing-card {
  text-align: center;
  position: relative;
}
.pricing-card.popular {
  border-color: var(--color-primary);
  transform: scale(1.05);
}
.pricing-card.popular::before {
  content: 'En Çok Tercih Edilen';
  position: absolute;
  top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--color-primary);
  color: #000;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}
.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  margin: 1.5rem 0;
}
.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}
.pricing-features li {
  margin-bottom: 0.8rem;
  color: #ccc;
}
.pricing-features li i {
  color: var(--color-primary);
  margin-right: 10px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.service-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
.services-grid h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* Filterable Gallery */
.filter-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover {
  background: #fff;
  color: #000;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.project-card {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  padding: 2rem;
  transition: all 0.4s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.3);
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.1));
  z-index: 0;
}
.project-card img.bg-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 0.5s ease;
}
.project-card:hover img.bg-img {
  transform: scale(1.1);
}
.project-content {
  position: relative;
  z-index: 1;
}

/* Contact */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}
.contact-info {
  flex: 1 1 350px;
}
.contact-form-wrapper {
  flex: 1 1 400px;
}
.contact-info-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.contact-info-box i {
  font-size: 2rem;
  color: var(--color-primary);
}
.contact-map {
  width: 100%;
  height: 300px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  margin-top: 2rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 500;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #0a84ff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(10, 132, 255, 0.3);
}
.contact-form-wrapper h3 {
  color: #fff;
}
.submit-btn-glass {
  width: 100%;
  background: #fff;
  color: #000;
  border: none;
  padding: 1.2rem;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.submit-btn-glass:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 5rem 2rem;
  background: rgba(3, 0, 20, 0.6);
  backdrop-filter: blur(20px);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}
.footer-links a {
  margin: 0 1rem;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* Responsive */
@media(max-width: 768px) {
  .two-col-section, .contact-container, .timeline-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }
  .contact-info, .contact-form-wrapper {
    flex: 1 1 100%;
    width: 100%;
  }
  .timeline::before { left: 0; }
  .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; text-align: left; }
  .timeline-dot { left: -10px !important; }
  
  .page-title {
    font-size: 3rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: rgba(3,0,20,0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
  }
}

/* Success Modal Animations */
.success-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease forwards;
}
.success-modal-content {
  text-align: center;
  max-width: 500px;
  padding: 3rem 2rem;
  transform: scale(0.8);
  opacity: 0;
  animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s forwards;
}
.success-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 4;
  stroke: #0a84ff;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #0a84ff;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}
.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 4;
  stroke-miterlimit: 10;
  stroke: #0a84ff;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}
@keyframes scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
  100% { box-shadow: inset 0px 0px 0px 30px rgba(10, 132, 255, 0.2); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes popIn {
  to { transform: scale(1); opacity: 1; }
}

/* =========================================
   BYA AI Floating Chatbot Widget (Siri & Glass)
   ========================================= */
.bya-ai-container {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 99999;
}
.bya-ai-orb-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}
.bya-ai-tooltip {
  background: rgba(10, 132, 255, 0.15);
  border: 1px solid rgba(10, 132, 255, 0.4);
  backdrop-filter: blur(12px);
  padding: 0.7rem 1.2rem;
  border-radius: 16px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  animation: floatTooltip 3s ease-in-out infinite;
}
.bya-ai-tooltip span {
  font-size: 0.8rem;
  color: #a0d4ff;
  font-weight: 400;
}
@keyframes floatTooltip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.bya-ai-orb {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #5e5ce6, #0a84ff, #030014);
  box-shadow: 0 0 30px rgba(10, 132, 255, 0.6), 0 0 60px rgba(94, 92, 230, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bya-ai-orb-wrapper:hover .bya-ai-orb {
  transform: scale(1.12) rotate(15deg);
  box-shadow: 0 0 45px rgba(10, 132, 255, 0.9), 0 0 80px rgba(94, 92, 230, 0.6);
}
.orb-ring {
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 50%;
  border: 2px transparent solid;
  background: linear-gradient(135deg, #0a84ff, #5e5ce6, #30d158) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spinRing 4s linear infinite;
}
.ring-2 {
  top: -8px; left: -8px; right: -8px; bottom: -8px;
  opacity: 0.5;
  animation: spinRing 7s linear infinite reverse;
}
@keyframes spinRing {
  to { transform: rotate(360deg); }
}
.orb-icon {
  color: #fff;
  font-size: 1.6rem;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.8));
  animation: pulseIcon 2s ease-in-out infinite;
}
@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Chat Window */
.bya-ai-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 400px;
  height: 560px;
  background: rgba(10, 10, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(10, 132, 255, 0.25);
  backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.8) translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bya-ai-window.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.bya-ai-header {
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-header-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.ai-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a84ff, #5e5ce6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(10, 132, 255, 0.4);
}
.ai-header-info h4 {
  font-size: 1rem;
  margin: 0;
  color: #fff;
  font-weight: 700;
}
.ai-status {
  font-size: 0.75rem;
  color: #30d158;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 10px #30d158;
  animation: blinkDot 1.5s ease-in-out infinite;
}
@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.ai-close-btn {
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.ai-close-btn:hover { color: #fff; }

.bya-ai-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ai-message {
  max-width: 85%;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  font-size: 0.92rem;
  line-height: 1.5;
  word-wrap: break-word;
}
.bot-msg {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e0e0e5;
  border-bottom-left-radius: 4px;
}
.user-msg {
  align-self: flex-end;
  background: linear-gradient(135deg, #0a84ff, #0056b3);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 15px rgba(10, 132, 255, 0.3);
}

.bya-ai-chips {
  padding: 0.5rem 1.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ai-chip {
  background: rgba(10, 132, 255, 0.12);
  border: 1px solid rgba(10, 132, 255, 0.3);
  color: #a0d4ff;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ai-chip:hover {
  background: rgba(10, 132, 255, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.bya-ai-input-area {
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 0.8rem;
}
#byaAiInput {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 0.75rem 1.2rem;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}
#byaAiInput:focus {
  border-color: #0a84ff;
  box-shadow: 0 0 15px rgba(10, 132, 255, 0.3);
}
#byaAiSend {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0a84ff;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
#byaAiSend:hover { transform: scale(1.08); }

/* Typing animation dots */
.ai-typing {
  display: inline-flex;
  gap: 5px;
  padding: 0.9rem 1.3rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.ai-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0a84ff;
  animation: typingBounce 1.4s infinite ease-in-out;
}
.ai-typing span:nth-child(1) { animation-delay: 0s; }
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@media (max-width: 500px) {
  .bya-ai-container {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  .bya-ai-tooltip { display: none; }
  .bya-ai-window {
    width: calc(100vw - 3rem);
    height: 500px;
    bottom: 75px;
  }
}
