/* assets/css/home.css */

/* ===== VARIABLES ===== */
:root {
  /* Colors */
  --primary: #667eea;
  --primary-dark: #5a6fd8;
  --primary-light: #8a9ef0;
  --primary-soft: rgba(102, 126, 234, 0.1);
  
  --secondary: #6c757d;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;
  
  --dark: #2d3748;
  --light: #f8f9fa;
  --white: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-dark: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  --gradient-success: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Spacing */
  --section-py: 5rem;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(118, 75, 162, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 20%, rgba(102, 126, 234, 0.2) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge .badge {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-actions .btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.hero-actions .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 var(--transition-slow);
}

.hero-actions .btn:hover::before {
  left: 100%;
}

.hero-search {
  max-width: 500px;
}

.search-form .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.search-form .form-control {
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.search-form .form-control:focus {
  box-shadow: none;
}

.search-form .btn {
  padding: 0 1.5rem;
  border: none;
}

.hero-stats {
  margin-top: 3rem;
}

.stat-item {
  position: relative;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.floating-cards {
  position: relative;
  height: 100%;
}

.floating-card {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: none;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.floating-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  z-index: 1;
}

.floating-card .card-body {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}

.floating-card.card-1 {
  top: 10%;
  left: 0;
  width: 180px;
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-2 {
  top: 5%;
  right: 10%;
  width: 160px;
  animation: float 7s ease-in-out infinite 1s;
}

.floating-card.card-3 {
  bottom: 20%;
  left: 15%;
  width: 170px;
  animation: float 5s ease-in-out infinite 0.5s;
}

.floating-card.card-4 {
  bottom: 10%;
  right: 5%;
  width: 165px;
  animation: float 6.5s ease-in-out infinite 1.5s;
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  transition: all var(--transition-normal);
  animation: bounce 2s infinite;
}

.scroll-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* ===== SECTIONS COMMON STYLES ===== */
.section-py {
  padding: var(--section-py) 0;
}

.section-badge {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  background: var(--white);
}

.feature-card {
  position: relative;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  height: 100%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-description {
  margin-bottom: 0;
}

.feature-decoration {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 60px;
  height: 60px;
  opacity: 0.05;
  background: var(--primary);
  border-radius: 50%;
}

/* ===== PRODUCT SECTIONS ===== */
.bg-light {
  background-color: #f8f9fa !important;
}

.bg-dark {
  background-color: var(--dark) !important;
}

.product-card {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
  height: 100%;
  background: var(--white);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .card-img-top {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.product-card .card-body {
  padding: 1.5rem;
}

.product-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description {
  font-size: 0.875rem;
  color: var(--secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-price {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--secondary);
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
  background: var(--white);
}

.category-card {
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  text-decoration: none;
}

.category-card.border-dashed {
  border: 2px dashed #dee2e6;
}

.category-card.border-dashed:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.category-icon {
  transition: transform var(--transition-normal);
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.category-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: inherit;
}

.category-description {
  margin-bottom: 1rem;
}

.category-count .badge {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 50px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: var(--light);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--primary-soft);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 3px solid var(--primary-soft);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta-shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
}

.cta-shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: 10%;
}

.cta-shape-3 {
  width: 150px;
  height: 150px;
  top: 20%;
  left: -75px;
}

.cta-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-actions .btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-normal);
}

.cta-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

/* ===== TRUST SECTION ===== */
.trust-section {
  background: var(--dark) !important;
}

.trust-label {
  font-weight: 600;
  opacity: 0.8;
}

.trust-item {
  padding: 0.5rem;
}

.trust-item div {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* ===== BUTTON VARIANTS ===== */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #6b46c1 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-light:hover {
  transform: translateY(-2px);
}

/* ===== BADGE VARIANTS ===== */
.bg-primary-soft {
  background-color: var(--primary-soft) !important;
  color: var(--primary) !important;
}

.bg-success-soft {
  background-color: rgba(40, 167, 69, 0.1) !important;
  color: var(--success) !important;
}

.bg-warning-soft {
  background-color: rgba(255, 193, 7, 0.1) !important;
  color: var(--warning) !important;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: translateX(400px);
  transition: transform var(--transition-normal);
  z-index: 1060;
  max-width: 300px;
  display: flex;
  align-items: center;
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  border-left: 4px solid var(--success);
}

.toast-error {
  border-left: 4px solid var(--danger);
}

.toast-info {
  border-left: 4px solid var(--info);
}

.toast-content {
  display: flex;
  align-items: center;
}

/* ===== ANIMATIONS ===== */
.pulse {
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== 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;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  :root {
    --section-py: 4rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-visual {
    display: none;
  }
  
  .floating-card {
    position: relative;
    margin-bottom: 1rem;
    animation: none !important;
  }
  
  .feature-card {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-actions .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-actions .btn:not(:last-child) {
    margin-right: 0;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon i {
    font-size: 1.5rem !important;
  }
  
  .cta-actions .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .cta-actions .btn:not(:last-child) {
    margin-right: 0;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .hero-section,
  .cta-section,
  .trust-section {
    background: white !important;
    color: black !important;
  }
  
  .btn,
  .scroll-indicator,
  .loading-spinner {
    display: none !important;
  }
}

/* Homepage Specific Styles */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --light-bg: #f8fafc;
    --dark-bg: #1f2937;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(79, 70, 229, 0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-weight: 800;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.bg-primary-soft {
    background-color: rgba(99, 102, 241, 0.1) !important;
    color: var(--primary-color) !important;
}

.bg-warning-soft {
    background-color: rgba(245, 158, 11, 0.1) !important;
    color: var(--warning-color) !important;
}

.bg-success-soft {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: var(--success-color) !important;
}

/* Floating Cards */
.floating-cards {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-1 {
    top: 10%;
    left: 10%;
    width: 180px;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 30%;
    right: 15%;
    width: 160px;
    animation: float 7s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    width: 170px;
    animation: float 5s ease-in-out infinite 0.5s;
}

.card-4 {
    bottom: 10%;
    right: 10%;
    width: 150px;
    animation: float 6.5s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-link {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Section Spacing */
.section-py {
    padding: 5rem 0;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-decoration {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transition: width 0.3s ease;
}

.feature-card:hover .feature-decoration {
    width: 50px;
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.category-card.border-dashed {
    border-style: dashed;
    border-color: #dee2e6;
}

.category-card.border-dashed:hover {
    border-color: var(--primary-color);
}

.category-icon {
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-role {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

.cta-shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
}

.cta-title {
    font-weight: 700;
}

.cta-features .feature-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

/* Trust Section */
.trust-section {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-label {
    font-weight: 600;
    color: #9ca3af;
}

.trust-item {
    padding: 0.5rem;
}

/* Section Headers */
.section-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.section-title {
    font-weight: 700;
    color: #1f2937;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-py {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .floating-cards {
        display: none;
    }
    
    .feature-card {
        padding: 1.5rem 0.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Loading States */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

/* 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;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 1px solid #000;
    }
    
    .text-gradient {
        background: none;
        -webkit-text-fill-color: initial;
        color: #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .floating-card,
    .feature-card,
    .category-card,
    .testimonial-card,
    .product-card {
        animation: none;
        transition: none;
    }
    
    .scroll-link {
        animation: none;
    }
}