:root {
  --brand-primary: #667eea;
  --brand-primary-dark: #5a67d8;
  --brand-secondary: #764ba2;
  --brand-success: #48bb78;
  --brand-info: #4299e1;
  --brand-warning: #ed8936;
  --brand-danger: #f56565;
  
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-white: #ffffff;
  
  --surface-primary: #ffffff;
  --surface-secondary: #f7fafc;
  --surface-alt: #edf2f7;
  --surface-dark: #1a202c;
  
  --border-radius: 0.75rem;
  --border-radius-lg: 1rem;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --box-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  --gradient-info: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  --gradient-warning: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
  --gradient-dark: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

/* Base Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.display-4 {
  font-weight: 700;
}

.display-5 {
  font-weight: 700;
}

/* Section Spacing */
.section {
  padding: 5rem 0;
}

.section--alt {
  background-color: var(--surface-secondary);
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: slideInLeft 1s ease-out;
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.25rem;
  animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-content .btn {
  animation: slideInUp 1s ease-out 0.4s both;
}

.hero-image {
  position: relative;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.hero-image i {
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 2;
}

.hero-icon-wrapper {
  position: relative;
  display: inline-block;
}

.hero-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

/* Floating particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: floatUp 15s infinite linear;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Google-style Logo */
.google-logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo-letter {
  display: inline-block;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-letter.J { color: #4285F4; }
.logo-letter.o { color: #EA4335; }
.logo-letter.R { color: #FBBC05; }
.logo-letter.r { color: #34A853; }
.logo-letter.S { color: #4285F4; }
.logo-letter.s { color: #EA4335; }
.logo-letter.O { color: #34A853; }
.logo-letter.F { color: #FBBC05; }
.logo-letter.T { color: #EA4335; }

.google-logo:hover .logo-letter {
  transform: translateY(-2px) scale(1.1);
}

.google-logo:hover .logo-letter.J { color: #1a73e8; }
.google-logo:hover .logo-letter.o { color: #d33b27; }
.google-logo:hover .logo-letter.R { color: #fbbc04; }
.google-logo:hover .logo-letter.r { color: #0f9d58; }
.google-logo:hover .logo-letter.S { color: #1a73e8; }
.google-logo:hover .logo-letter.s { color: #d33b27; }
.google-logo:hover .logo-letter.O { color: #0f9d58; }
.google-logo:hover .logo-letter.F { color: #fbbc04; }
.google-logo:hover .logo-letter.T { color: #d33b27; }

/* Dark Mode Styles */
body.dark-mode {
  background-color: #1a1a1a;
  color: #ffffff;
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body.dark-mode .navbar {
  background: rgba(26, 26, 26, 0.95) !important;
}

body.dark-mode .section--alt {
  background-color: #2d2d2d;
}

body.dark-mode .card {
  background-color: #2d2d2d;
  border: 1px solid #404040;
  color: #ffffff;
}

body.dark-mode .card-text {
  color: #b0b0b0;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
  background-color: #2d2d2d;
  border-color: #404040;
  color: #ffffff;
}

body.dark-mode .form-control::placeholder {
  color: #808080;
}

body.dark-mode .testimonial-text {
  color: #b0b0b0;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

body.dark-mode .accordion-button {
  background: linear-gradient(135deg, #2d2d2d 0%, #404040 100%);
  color: #ffffff;
}

body.dark-mode .accordion-body {
  background: #2d2d2d;
  color: #ffffff;
}

body.dark-mode footer {
  background: #0d0d0d !important;
}

body.dark-mode .whatsapp-messages {
  background: #2d2d2d;
}

body.dark-mode .bot-message {
  background: #404040;
  color: #ffffff;
}

body.dark-mode .user-message {
  background: #1a73e8;
  color: #ffffff;
}

/* Enhanced Mobile Navigation */
.navbar-actions {
  order: 3;
}

@media (max-width: 991px) {
  .navbar-actions {
    order: 2;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav {
    width: 100%;
    text-align: center;
  }
  
  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.25rem 0;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }
  
  .navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    color: var(--text-white) !important;
  }
}

/* Enhanced Mobile Menu Animation */
.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  transform: rotate(45deg);
}

/* Dark Mode Toggle Button */
#darkModeToggle {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#darkModeToggle:hover {
  transform: scale(1.1) rotate(180deg);
  background: rgba(255, 255, 255, 0.2);
}

#darkModeToggle i {
  font-size: 18px;
  transition: all 0.3s ease;
}

body.dark-mode #darkModeToggle i {
  color: #ffd700;
}

/* Navigation */
.navbar {
  backdrop-filter: blur(20px);
  background: rgba(102, 126, 234, 0.95) !important;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(102, 126, 234, 0.98) !important;
  box-shadow: var(--box-shadow-lg);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  position: relative;
  color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, #e0e7ff);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--text-white) !important;
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.875rem 2.5rem;
  border-radius: var(--border-radius);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-outline-primary {
  border: 2px solid #667eea;
  color: #667eea;
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Cards */
.card {
  border-radius: var(--border-radius-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  overflow: hidden;
  position: relative;
  background: var(--surface-primary);
  box-shadow: var(--box-shadow);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--box-shadow-xl);
}

.card-body {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.card-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Forms */
.form-control,
.form-select {
  border-radius: var(--border-radius);
  border: 1px solid #ced4da;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  outline: none;
}

.form-label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.invalid-feedback {
  display: block;
  color: var(--brand-danger);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Footer */
footer {
  background-color: var(--surface-dark) !important;
}

footer h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

footer p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Icons */
.bi {
  vertical-align: middle;
}

/* Loading States */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

.user-message {
  background: #DCF8C6;
  color: #2d3748;
  align-self: flex-end;
  margin-left: auto;
}

.user-message p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    padding-top: 5rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero {
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 3rem;
  }
  
  .d-flex.gap-3 {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-lg {
    width: 100%;
    max-width: 300px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States */
.btn:focus,
.nav-link:focus,
.form-control:focus,
.form-select:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Pricing Section */
#pricing {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

#pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.03;
  pointer-events: none;
}

.pricing-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
  border-radius: 50%;
}

.pricing-card:hover::before {
  transform: scale(1);
}

.pricing-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.pricing-card.featured {
  border: 2px solid var(--gradient-primary);
  position: relative;
}

.pricing-card.featured::after {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  transform: rotate(45deg);
}

.pricing-price {
  position: relative;
  margin-bottom: 1.5rem;
}

.pricing-price .display-4 {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.pricing-tag {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--gradient-primary);
  color: white;
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 600;
  transform: rotate(3deg);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
}

.pricing-card h4 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  position: relative;
}

.pricing-card .list-unstyled {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card .list-unstyled li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.pricing-card .list-unstyled i {
  color: var(--brand-success);
  font-size: 1.1rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.pricing-card .btn {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.pricing-card .btn:hover::before {
  left: 100%;
}

.pricing-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Responsive Pricing */
@media (max-width: 991px) {
  .pricing-card {
    margin-bottom: 2rem;
  }
  
  .pricing-price .display-4 {
    font-size: 2.8rem;
  }
  
  .pricing-card h3 {
    font-size: 1.3rem;
  }
  
  .pricing-card h4 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .pricing-card {
    margin-bottom: 1.5rem;
  }
  
  .pricing-price .display-4 {
    font-size: 2.5rem;
  }
  
  .pricing-card h3 {
    font-size: 1.2rem;
  }
  
  .pricing-card h4 {
    font-size: 1.8rem;
  }
  
  .pricing-card .list-unstyled {
    margin-bottom: 1.5rem;
  }
  
  .pricing-card .btn {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }
}

.premium-card {
  border: 3px solid var(--gradient-primary);
  position: relative;
  overflow: hidden;
  transform: scale(1.05);
  box-shadow: 0 0 20px 40px rgba(102, 126, 234, 0.3);
}

.premium-card::before {
  content: 'PREMIUM';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gradient-primary);
  color: white;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  transform: rotate(45deg);
  z-index: 1;
}

.premium-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
  border-radius: 50%;
}

.premium-card:hover::after {
  transform: scale(1);
}

.premium-card:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4);
}

/* Enhanced Portfolio Styles */

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
}

.whatsapp-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-btn i {
  font-size: 24px;
  z-index: 2;
}

.whatsapp-float-tooltip {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1001;
}

.whatsapp-float-btn:hover .whatsapp-float-tooltip {
  opacity: 1;
  bottom: 80px;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    left: 20px;
  }
  
  .whatsapp-float-btn {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-float-btn i {
    font-size: 20px;
  }
}
.portfolio-item {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  perspective: 1000px;
}

.portfolio-item:hover {
  transform: translateY(-15px) rotateX(5deg);
}

.portfolio-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.portfolio-image::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.6s;
}

.portfolio-item:hover .portfolio-image::before {
  left: 100%;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-tags {
  margin-top: 1rem;
}

.portfolio-tags .badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.portfolio-tags .badge:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Enhanced Pricing Styles */
.pricing-price {
  font-size: 1.25rem;
  position: relative;
}

.pricing-price .display-4 {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.pricing-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
  border-radius: 50%;
}

.pricing-card:hover::before {
  transform: scale(1);
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--box-shadow-xl);
}

/* Enhanced Testimonials Styles */
.testimonial-text {
  font-style: italic;
  line-height: 1.8;
  color: var(--text-secondary);
  position: relative;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid;
  border-image: var(--gradient-primary) 1;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--brand-primary);
  position: absolute;
  top: -1rem;
  left: 1rem;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-text::after {
  content: '"';
  font-size: 4rem;
  color: var(--brand-primary);
  position: absolute;
  bottom: -2.5rem;
  right: 1rem;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-rating {
  color: var(--brand-warning);
  margin-bottom: 1rem;
}

.testimonial-rating i {
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(237, 137, 54, 0.3));
}

.testimonial-card:hover .testimonial-rating i {
  transform: scale(1.1) rotate(5deg);
}

.author-avatar {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.author-avatar::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Glassmorphism Effects */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Enhanced FAQ Styles */
.accordion-button {
  font-weight: 600;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--surface-primary) 0%, var(--surface-secondary) 100%);
  border: none;
  padding: 1.25rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23667eea'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(180deg);
}

.accordion-button:not(.collapsed) {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--brand-primary);
}

.accordion-item {
  border-radius: var(--border-radius-lg) !important;
  overflow: hidden;
  margin-bottom: 1rem;
  border: none;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: var(--box-shadow-lg);
  transform: translateY(-2px);
}

.accordion-body {
  padding: 1.5rem;
  line-height: 1.7;
  background: var(--surface-primary);
}

/* Enhanced Newsletter Styles */
.newsletter-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.newsletter-form {
  position: relative;
  z-index: 2;
}

.newsletter-form .form-control {
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control:focus {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.newsletter-form .btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-primary);
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
  background: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Footer Styles */
footer {
  background-color: var(--surface-dark) !important;
}

footer h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

footer h6 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

footer ul {
  padding-left: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--text-white) !important;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--brand-primary);
  transform: translateY(-3px);
}

/* Enhanced Animations */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

/* Button Hover Effects */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* Icon Animations */
.bi {
  transition: transform 0.3s ease;
}

.card:hover .bi {
  transform: scale(1.1);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-success));
  z-index: 9999;
  transition: width 0.3s ease;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--brand-primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: var(--box-shadow-lg);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--brand-primary-dark);
  transform: translateY(-3px);
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--text-white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Enhanced Focus States */
.btn:focus,
.nav-link:focus,
.form-control:focus,
.form-select:focus,
.accordion-button:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .pricing-price .display-4 {
    font-size: 2.5rem;
  }
  
  .testimonial-text::before,
  .testimonial-text::after {
    font-size: 2rem;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
    line-height: 35px;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}
