/*
Theme Name: Sylk Foods Theme
Theme URI: https://example.com/sylk-foods-theme
Author: Antigravity
Author URI: https://example.com
Description: A custom WordPress theme for Sylk Foods, converted from HTML.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sylk-foods-theme
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  box-sizing: border-box;
  font-family: 'Sora', sans-serif;
  overflow-x: hidden;
  background: #0a0e0d;
  color: #ffffff;
}

html, body {
  height: 100%;
}

/* Animated Gradient Background */
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #0a0e0d 0%, #1a2e1a 50%, #0a0e0d 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Particle System */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(139, 195, 74, 0.3);
  border-radius: 50%;
  animation: float-particle 20s infinite ease-in-out;
}

@keyframes float-particle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 2rem 5%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  background: rgba(10, 14, 13, 0.8);
  backdrop-filter: blur(20px);
  padding: 1.2rem 5%;
  border-bottom: 1px solid rgba(139, 195, 74, 0.1);
}

.nav-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-symbol {
  position: relative;
  width: 48px;
  height: 48px;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8bc34a, #cddc39);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: #8bc34a;
}

.nav-links a:hover::before {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.mobile-menu-btn span {
  width: 28px;
  height: 3px;
  background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100%;
  background: rgba(10, 14, 13, 0.98);
  backdrop-filter: blur(20px);
  padding: 8rem 3rem 3rem;
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid rgba(139, 195, 74, 0.2);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.3s ease;
}

.mobile-menu.active li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active li:nth-child(4) { transition-delay: 0.4s; }

.mobile-menu a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 600;
  display: block;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem;
}

.mobile-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #8bc34a, #cddc39);
  transition: width 0.3s ease;
}

.mobile-menu a:hover {
  color: #8bc34a;
  padding-left: 2rem;
}

.mobile-menu a:hover::before {
  width: 1rem;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 5% 4rem;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(139, 195, 74, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 195, 74, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero-content {
  max-width: 1400px;
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: rgba(139, 195, 74, 0.1);
  border: 1px solid rgba(139, 195, 74, 0.3);
  border-radius: 50px;
  color: #8bc34a;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: fadeInDown 1s ease;
}

.hero h1 {
  font-size: 6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #8bc34a 30%, #cddc39 60%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -3px;
  animation: fadeInUp 1s ease 0.2s backwards, gradientFlow 8s ease infinite;
  text-shadow: 0 0 80px rgba(139, 195, 74, 0.5);
}

@keyframes gradientFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button {
  padding: 1.3rem 3rem;
  background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
  color: #0a0e0d;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(139, 195, 74, 0.4);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 30px 80px rgba(139, 195, 74, 0.6);
}

.cta-secondary {
  background: transparent;
  border: 2px solid rgba(139, 195, 74, 0.5);
  color: #8bc34a;
  box-shadow: none;
}

.cta-secondary:hover {
  background: rgba(139, 195, 74, 0.1);
  border-color: #8bc34a;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating 3D Cards */
.floating-cards {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.float-card {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(139, 195, 74, 0.05);
  border: 1px solid rgba(139, 195, 74, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  animation: float3d 20s infinite ease-in-out;
}

.float-card-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.float-card-2 {
  top: 60%;
  right: 15%;
  animation-delay: 5s;
}

.float-card-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 10s;
}

/* Floating Food Packages */
.float-food {
  position: absolute;
  opacity: 0.4;
  animation: float3d 25s infinite ease-in-out;
}

.float-food-1 {
  top: 20%;
  right: 8%;
  animation-delay: 2s;
}

.float-food-2 {
  top: 70%;
  left: 12%;
  animation-delay: 7s;
}

.float-food-3 {
  top: 40%;
  left: 5%;
  animation-delay: 12s;
}

.float-food-4 {
  bottom: 15%;
  right: 10%;
  animation-delay: 17s;
}

.float-food-5 {
  top: 35%;
  right: 18%;
  animation-delay: 22s;
}

@keyframes float3d {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(5deg);
  }
  66% {
    transform: translate(-30px, 30px) rotate(-5deg);
  }
}

/* About Section */
.about {
  padding: 10rem 5%;
  position: relative;
  z-index: 1;
}

.about-container {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.about-content {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-content.visible {
  opacity: 1;
  transform: translateX(0);
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(139, 195, 74, 0.1);
  border: 1px solid rgba(139, 195, 74, 0.3);
  border-radius: 50px;
  color: #8bc34a;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-content h2 {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #8bc34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -2px;
}

.about-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.about-visual {
  position: relative;
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-visual.visible {
  opacity: 1;
  transform: translateX(0);
}

.visual-card {
  background: rgba(139, 195, 74, 0.05);
  border: 1px solid rgba(139, 195, 74, 0.2);
  border-radius: 30px;
  padding: 4rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 195, 74, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.visual-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 195, 74, 0.5);
  box-shadow: 0 30px 80px rgba(139, 195, 74, 0.3);
}

.visual-content {
  position: relative;
  z-index: 1;
}

.visual-icon {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.visual-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 10rem 5%;
  position: relative;
  z-index: 1;
}

.services-container {
  max-width: 1600px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-header h2 {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #8bc34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.services-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card {
  background: rgba(139, 195, 74, 0.03);
  border: 1px solid rgba(139, 195, 74, 0.15);
  border-radius: 30px;
  padding: 3.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 195, 74, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(139, 195, 74, 0.5);
  box-shadow: 0 30px 80px rgba(139, 195, 74, 0.3);
  background: rgba(139, 195, 74, 0.08);
}

.service-icon {
  margin-bottom: 2rem;
  display: block;
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) translateY(-5px);
}

.service-card:hover .service-icon svg {
  filter: drop-shadow(0 10px 20px rgba(139, 195, 74, 0.4));
}

.service-card h3 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.service-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(139, 195, 74, 0.1);
  z-index: 0;
}

/* Footer */
.footer {
  background: rgba(10, 14, 13, 0.95);
  border-top: 1px solid rgba(139, 195, 74, 0.2);
  padding: 6rem 5% 2rem;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(20px);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(139, 195, 74, 0.02) 0%, transparent 100%);
  pointer-events: none;
}

.footer-container {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 6rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(139, 195, 74, 0.15);
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo span {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(139, 195, 74, 0.05);
  border: 1px solid rgba(139, 195, 74, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(139, 195, 74, 0.15);
  border-color: rgba(139, 195, 74, 0.5);
  color: #8bc34a;
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 1rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-column a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #8bc34a, #cddc39);
  transition: width 0.3s ease;
}

.footer-column a:hover {
  color: #8bc34a;
  transform: translateX(3px);
}

.footer-column a:hover::before {
  width: 100%;
}

.footer-bottom {
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #8bc34a;
}

.footer-legal .separator {
  color: rgba(139, 195, 74, 0.3);
  font-size: 0.8rem;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
}

.chat-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(139, 195, 74, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.chat-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chat-button:hover::before {
  opacity: 1;
}

.chat-button:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 40px rgba(139, 195, 74, 0.6);
}

.chat-button:active {
  transform: scale(1.05);
}

.chat-button.animating {
  animation: chatButtonRotate 2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

@keyframes chatButtonRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.chat-button-icon {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.chat-button:hover .chat-button-icon {
  transform: rotate(5deg) scale(1.1);
}

.chat-window {
  position: absolute;
  bottom: 90px;
  right: 0;
  width: 380px;
  height: 550px;
  background: rgba(10, 14, 13, 0.98);
  border: 1px solid rgba(139, 195, 74, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: chatOpen 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-window.active {
  display: flex;
}

@keyframes chatOpen {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.chat-header {
  background: linear-gradient(135deg, rgba(139, 195, 74, 0.15) 0%, rgba(205, 220, 57, 0.1) 100%);
  border-bottom: 1px solid rgba(139, 195, 74, 0.2);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chat-header-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.chat-header-info {
  flex: 1;
}

.chat-header-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.chat-header-status {
  font-size: 0.85rem;
  color: rgba(139, 195, 74, 0.9);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #8bc34a;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

.chat-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.chat-close:hover {
  background: rgba(139, 195, 74, 0.1);
  color: #8bc34a;
}

.chat-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: rgba(139, 195, 74, 0.05);
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(139, 195, 74, 0.3);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 195, 74, 0.5);
}

.chat-message {
  display: flex;
  gap: 0.8rem;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.message-content {
  flex: 1;
}

.message-text {
  background: rgba(139, 195, 74, 0.1);
  border: 1px solid rgba(139, 195, 74, 0.2);
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

.message-time {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.4rem;
  padding-left: 0.2rem;
}

.chat-input-area {
  padding: 1.2rem;
  border-top: 1px solid rgba(139, 195, 74, 0.2);
  background: rgba(10, 14, 13, 0.5);
}

.chat-input-wrapper {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.chat-input {
  flex: 1;
  background: rgba(139, 195, 74, 0.05);
  border: 1px solid rgba(139, 195, 74, 0.2);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: 'Sora', sans-serif;
  outline: none;
  transition: all 0.3s ease;
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.chat-input:focus {
  border-color: rgba(139, 195, 74, 0.5);
  background: rgba(139, 195, 74, 0.08);
}

.chat-send {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.chat-send:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(139, 195, 74, 0.4);
}

.chat-send:active {
  transform: scale(0.95);
}

.chat-quick-questions {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(139, 195, 74, 0.2);
  background: rgba(10, 14, 13, 0.5);
}

.quick-questions-title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.quick-questions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.quick-question-btn {
  background: rgba(139, 195, 74, 0.08);
  border: 1px solid rgba(139, 195, 74, 0.25);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Sora', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.quick-question-btn:hover {
  background: rgba(139, 195, 74, 0.15);
  border-color: rgba(139, 195, 74, 0.4);
  transform: translateX(3px);
}

.quick-question-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8bc34a;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content h2,
  .services-header h2 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cta-group {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-content h2,
  .services-header h2 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .chat-widget {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .chat-button {
    width: 60px;
    height: 60px;
  }

  .chat-window {
    width: calc(100vw - 3rem);
    height: 500px;
    right: -1.5rem;
  }
}