/* ============================================
   Zaitun Mehendi - Home Page Styles
   Mobile-First, Islamic Themed
   Updated with Digital Clock & Modern Link Animations
   Version: 2.0
   ============================================ */

/* Import base variables if not already imported */
@import url('./global.css');

/* ===== Digital Clock Section ===== */
.clock-section {
  padding: 20px 0 10px;
  background: linear-gradient(to bottom, var(--cream-200), transparent);
  position: relative;
  z-index: 5;
}

.clock-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 60px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 15px 35px rgba(47, 79, 47, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.clock-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(47, 79, 47, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
}

.clock-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--olive-700), var(--olive-800));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-size: 1.8rem;
  box-shadow: 0 8px 16px rgba(47, 79, 47, 0.3);
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.clock-card:hover .clock-icon {
  transform: rotate(15deg);
  color: var(--gold-300);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.clock-display {
  flex: 1;
}

.clock-time {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--olive-900);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 6px;
}

.clock-time .colon {
  color: var(--gold-600);
  animation: pulse 1.5s infinite;
  font-weight: 400;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.clock-time .ampm {
  font-size: 0.9rem;
  background: var(--olive-100);
  color: var(--olive-800);
  padding: 3px 8px;
  border-radius: 30px;
  margin-left: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: 1px solid var(--gold-300);
}

.clock-date {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  font-size: 0.85rem;
  color: var(--ink-700);
}

.clock-date > div {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.05);
  padding: 4px 12px;
  border-radius: 30px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.clock-date i {
  color: var(--gold-600);
  font-size: 0.9rem;
}

/* ===== Modern Link Styles ===== */
a {
  color: var(--olive-700);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

/* Animated underline effect on hover */
a:not(.btn):not(.product-card):not(.design-card):not(.instagram-card):not(.feature-card):not(.btn-whatsapp):not(.filter-pill)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--olive-600));
  transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  border-radius: 2px;
}

a:not(.btn):not(.product-card):not(.design-card):not(.instagram-card):not(.feature-card):not(.btn-whatsapp):not(.filter-pill):hover::after {
  width: 100%;
}

a:not(.btn):not(.product-card):not(.design-card):not(.instagram-card):not(.feature-card):not(.btn-whatsapp):not(.filter-pill):hover {
  color: var(--gold-600);
  transform: translateY(-1px);
}

/* Remove underline on click - using :active pseudo-class */
a:active {
  outline: none;
  text-decoration: none;
}

/* Instagram profile link special style */
.instagram-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  background: linear-gradient(135deg, #f09433 0%, #d62976 100%);
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(214, 41, 118, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.instagram-profile-link i {
  font-size: 1.2rem;
}

.instagram-profile-link:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 25px rgba(214, 41, 118, 0.4);
}

.instagram-profile-link::after {
  display: none !important;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  padding: 40px 0 30px;
  background: linear-gradient(135deg, var(--cream-100) 0%, var(--cream-200) 100%);
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><path d="M20,20 L30,15 L40,20 L50,10 L60,20 L70,15 L80,20 L85,30 L80,40 L85,50 L80,60 L85,70 L80,80 L70,85 L60,80 L50,90 L40,80 L30,85 L20,80 L15,70 L20,60 L15,50 L20,40 L15,30 L20,20" fill="none" stroke="%232F4F2F" stroke-width="0.5"/></svg>');
  background-repeat: repeat;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: clamp(1.8rem, 7vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 700;
}

.brand-highlight {
  background: linear-gradient(135deg, var(--olive-800) 0%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  text-align: center;
}

.hero-tagline {
  font-size: clamp(1rem, 3.5vw, 1.5rem);
  color: var(--ink-700);
  margin-bottom: 24px;
  line-height: 1.5;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 48px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-large {
  padding: 14px 28px;
  font-size: 1rem;
  flex: 1 1 auto;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--olive-700);
  color: white;
  box-shadow: 0 8px 20px rgba(47, 79, 47, 0.3);
}

.btn-primary:hover {
  background: var(--olive-800);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(47, 79, 47, 0.4);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-outline {
  background: transparent;
  border-color: var(--olive-600);
  color: var(--olive-800);
}

.btn-outline:hover {
  background: var(--olive-50);
  border-color: var(--olive-800);
  transform: translateY(-3px) scale(1.02);
}

.btn-outline:active {
  transform: translateY(0) scale(0.98);
}

/* ===== Trust Badges ===== */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 16px 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 25px rgba(47, 79, 47, 0.1);
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: transform 0.3s ease;
}

.badge-item:hover {
  transform: translateY(-3px);
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: var(--olive-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-700);
  font-size: 1.1rem;
  border: 1px solid var(--gold-300);
  transition: all 0.3s ease;
}

.badge-item:hover .badge-icon {
  background: var(--gold-100);
  color: var(--gold-700);
  border-color: var(--gold-500);
  transform: rotate(5deg);
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-size: 0.8rem;
  color: var(--ink-900);
}

.badge-text small {
  font-size: 0.65rem;
  color: var(--ink-600);
}

/* ===== Hero Media ===== */
.hero-media {
  position: relative;
  border-radius: 24px 24px 24px 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
  box-shadow: 0 25px 40px -15px rgba(47, 79, 47, 0.4);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-media:hover img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(47,79,47,0.2) 100%);
  pointer-events: none;
}

/* ===== Section Styles ===== */
.section {
  padding: 50px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  color: var(--olive-900);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--olive-600));
  border-radius: 3px;
  transition: width 0.4s ease;
}

.section:hover .section-title::after {
  width: 100px;
}

.section-subtitle {
  color: var(--ink-600);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 20px;
}

.section-footer {
  text-align: center;
  margin-top: 40px;
}

/* ===== Review Filter Pills ===== */
.review-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
  margin-bottom: 25px;
}

.filter-pill {
  background: white;
  border: 1px solid var(--olive-200);
  color: var(--ink-700);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.filter-pill i {
  font-size: 0.9rem;
  color: var(--gold-600);
  transition: all 0.3s ease;
}

.filter-pill:hover {
  background: var(--olive-50);
  border-color: var(--olive-400);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(47, 79, 47, 0.15);
}

.filter-pill.active {
  background: var(--olive-700);
  color: white;
  border-color: var(--olive-700);
  box-shadow: 0 8px 16px rgba(47, 79, 47, 0.2);
}

.filter-pill.active i {
  color: var(--gold-300);
  transform: scale(1.1);
}

.filter-pill::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.filter-pill:active::before {
  width: 200px;
  height: 200px;
}

/* ===== Products Grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(212, 175, 55, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 18px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--gold-500), var(--olive-600)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover::after {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 35px rgba(47, 79, 47, 0.2);
  border-color: transparent;
}

.product-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--cream-100);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.15);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold-500);
  color: var(--olive-900);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.product-body {
  padding: 16px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.price-current {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--olive-800);
}

.price-old {
  font-size: 0.8rem;
  color: var(--ink-500);
  text-decoration: line-through;
}

.product-action {
  margin-top: auto;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  padding: 8px 10px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-whatsapp i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover i {
  transform: rotate(5deg) scale(1.1);
}

.btn-whatsapp:active {
  transform: scale(0.98);
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-whatsapp:active::before {
  width: 300px;
  height: 300px;
}

/* ===== Features Grid ===== */
.features-section {
  background: linear-gradient(135deg, var(--cream-200) 0%, var(--cream-100) 100%);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: white;
  padding: 30px 20px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(47, 79, 47, 0.08);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.8s ease;
  z-index: -1;
}

.feature-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--olive-500), var(--gold-500));
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 45px rgba(47, 79, 47, 0.2);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--olive-100), var(--gold-100));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--olive-700);
  border: 2px solid var(--gold-300);
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(47, 79, 47, 0.15);
}

.feature-card:hover .feature-icon-wrapper {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(135deg, var(--gold-100), var(--olive-100));
  color: var(--gold-700);
  border-color: var(--gold-500);
}

.feature-card h3 {
  font-size: 1.4rem;
  color: var(--olive-900);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.feature-card:hover h3 {
  color: var(--olive-800);
}

.feature-card p {
  color: var(--ink-700);
  line-height: 1.6;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.feature-stats {
  margin-top: 12px;
}

.stat-badge {
  background: var(--cream-200);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--olive-800);
  font-weight: 500;
  border: 1px solid var(--gold-300);
  display: inline-block;
  transition: all 0.3s ease;
}

.feature-card:hover .stat-badge {
  background: var(--olive-100);
  border-color: var(--gold-500);
  transform: scale(1.05);
}

/* ===== Designs Grid ===== */
.designs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.design-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
}

.design-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 35px rgba(47, 79, 47, 0.25);
  border-color: var(--gold-400);
}

.design-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.design-card:hover img {
  transform: scale(1.15);
}

.design-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(47,79,47,0.95) 0%, transparent 100%);
  color: white;
  padding: 18px 15px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.design-card:hover .design-overlay {
  transform: translateY(0);
}

.design-category {
  font-size: 0.9rem;
  font-weight: 500;
}

.design-overlay i {
  font-size: 1.2rem;
  color: var(--gold-400);
  transition: transform 0.3s ease;
}

.design-card:hover .design-overlay i {
  transform: translateX(5px);
}

/* ===== Testimonials / Reviews Section ===== */
.testimonials-section {
  background: white;
  overflow: hidden;
}

/* Swiper Customization */
.review-swiper {
  width: 100%;
  padding: 10px 5px 50px !important;
}

.review-swiper .swiper-button-prev,
.review-swiper .swiper-button-next {
  color: var(--olive-700);
  background: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

.review-swiper .swiper-button-prev:hover,
.review-swiper .swiper-button-next:hover {
  background: var(--olive-700);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(47, 79, 47, 0.3);
}

.review-swiper .swiper-button-prev::after,
.review-swiper .swiper-button-next::after {
  font-size: 1.2rem;
  font-weight: bold;
}

.review-swiper .swiper-button-prev {
  left: 5px;
}

.review-swiper .swiper-button-next {
  right: 5px;
}

.review-swiper .swiper-pagination-bullet {
  background: var(--olive-300);
  opacity: 0.7;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}

.review-swiper .swiper-pagination-bullet-active {
  background: var(--olive-700);
  opacity: 1;
  width: 30px;
  border-radius: 10px;
}

.testimonial-card {
  background: var(--cream-50);
  padding: 28px 22px;
  border-radius: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 35px rgba(47, 79, 47, 0.15);
  border-color: var(--gold-300);
  background: white;
}

.testimonial-rating {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-800);
  margin-bottom: 18px;
  font-style: italic;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--gold-300);
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: -5px;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--olive-100);
  border: 2px solid var(--gold-300);
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.testimonial-card:hover .author-avatar {
  border-color: var(--gold-500);
  transform: scale(1.05);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  background-color: var(--olive-700);
}

.author-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.author-info strong {
  font-size: 1rem;
  color: var(--ink-900);
}

.author-info small {
  font-size: 0.75rem;
  color: var(--ink-600);
}

.verified-badge {
  color: #1DA1F2;
  font-size: 1.1rem;
  margin-left: auto;
  animation: verifiedPulse 2s infinite;
}

@keyframes verifiedPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Testimonial Image */
.testimonial-image {
  margin-top: 15px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1/1;
  max-width: 90px;
  cursor: pointer;
  border: 2px solid var(--gold-200);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-image:hover {
  transform: scale(1.1) rotate(2deg);
  border-color: var(--gold-500);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Instagram Feed ===== */
.instagram-feed {
  background: linear-gradient(135deg, var(--olive-900) 0%, var(--olive-800) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.instagram-feed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path d="M20,20 L30,15 L40,20 L50,10 L60,20 L70,15 L80,20 L85,30 L80,40 L85,50 L80,60 L85,70 L80,80 L70,85 L60,80 L50,90 L40,80 L30,85 L20,80 L15,70 L20,60 L15,50 L20,40 L15,30 L20,20" fill="none" stroke="%23D4AF37" stroke-width="0.8"/></svg>');
  background-repeat: repeat;
  opacity: 0.3;
}

.instagram-feed .section-title,
.instagram-feed .section-subtitle {
  color: white;
  position: relative;
  z-index: 2;
}

.instagram-feed .section-title::after {
  background: linear-gradient(90deg, var(--gold-400), white);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.instagram-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
}

.instagram-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold-400);
  box-shadow: 0 20px 35px rgba(212, 175, 55, 0.3);
}

.instagram-image {
  width: 100%;
  height: 100%;
}

.instagram-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.instagram-card:hover .instagram-image img {
  transform: scale(1.15);
}

.instagram-video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  background: rgba(0,0,0,0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold-400);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 3;
}

.instagram-card:hover .instagram-video-icon {
  opacity: 1;
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(47,79,47,0.95), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.instagram-card:hover .instagram-overlay {
  opacity: 1;
}

.instagram-caption {
  color: white;
  margin-bottom: 0.5rem;
}

.instagram-caption i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  color: var(--gold-400);
}

.instagram-caption p {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}

.instagram-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
}

.instagram-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.instagram-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
}

.instagram-link:hover {
  color: var(--gold-400);
  transform: translateX(5px);
}

.instagram-link i {
  transition: transform 0.3s ease;
}

.instagram-link:hover i {
  transform: translateX(3px);
}

/* ===== Empty State & Error State ===== */
.empty-state,
.error-state {
  text-align: center;
  padding: 50px 20px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border: 1px dashed var(--olive-300);
  transition: all 0.4s ease;
}

.empty-state:hover,
.error-state:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(47, 79, 47, 0.1);
}

.empty-state i,
.error-state i {
  font-size: 3.5rem;
  color: var(--olive-400);
  margin-bottom: 20px;
  animation: float 3s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.empty-state p,
.error-state p {
  color: var(--ink-600);
  margin-bottom: 20px;
  font-size: 1rem;
}

.error-state i {
  color: #dc3545;
}

/* ===== Loading Skeletons ===== */
.loading-skeleton {
  display: contents;
}

.skeleton-card {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
  border-radius: 18px;
  aspect-ratio: 1/1;
  width: 100%;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 10001;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.open .lightbox-container {
  transform: scale(1);
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--olive-800);
  color: white;
}

.lightbox-title {
  font-size: 1.1rem;
  font-weight: 500;
}

.lightbox-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.lightbox-body {
  max-height: calc(90vh - 70px);
  overflow: auto;
}

.lightbox-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Animations ===== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Toast Container ===== */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: white;
  border-radius: 50px;
  padding: 14px 22px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: auto;
  border-left: 4px solid;
}

.toast-success {
  border-left-color: #28a745;
}

.toast-success i {
  color: #28a745;
}

.toast-error {
  border-left-color: #dc3545;
}

.toast-error i {
  color: #dc3545;
}

.toast-info {
  border-left-color: var(--olive-600);
}

.toast-info i {
  color: var(--olive-600);
}

.toast i {
  font-size: 1.3rem;
}

.toast span {
  font-size: 0.95rem;
  color: var(--ink-800);
  flex: 1;
}

.toast-hide {
  animation: slideOut 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ===== Mobile Optimizations ===== */
@media (max-width: 480px) {
  .clock-card {
    padding: 12px 16px;
    gap: 12px;
  }
  
  .clock-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .clock-time {
    font-size: 1.4rem;
  }
  
  .clock-time .ampm {
    font-size: 0.7rem;
    padding: 2px 6px;
  }
  
  .clock-date {
    gap: 8px;
    font-size: 0.75rem;
  }
  
  .product-body {
    padding: 12px 10px;
  }
  
  .product-name {
    font-size: 0.85rem;
  }
  
  .price-current {
    font-size: 1rem;
  }
  
  .price-old {
    font-size: 0.7rem;
  }
  
  .btn-whatsapp span {
    display: none;
  }
  
  .btn-whatsapp i {
    font-size: 1.2rem;
  }
  
  .btn-whatsapp {
    padding: 8px;
  }
  
  .design-overlay .design-category {
    font-size: 0.7rem;
  }
  
  .design-overlay i {
    font-size: 0.9rem;
  }
  
  .badge-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .badge-text strong {
    font-size: 0.7rem;
  }
  
  .badge-text small {
    font-size: 0.6rem;
  }
  
  .filter-pill {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
  
  .review-swiper .swiper-button-prev,
  .review-swiper .swiper-button-next {
    display: none;
  }
  
  .testimonial-card {
    padding: 22px 16px;
  }
  
  .testimonial-text {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
  }
  
  .author-avatar {
    width: 40px;
    height: 40px;
  }
  
  .avatar-initial {
    font-size: 1rem;
  }
  
  .instagram-card {
    border-radius: 16px;
  }
}

/* ===== Responsive Design ===== */
@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  
  .designs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .trust-badges {
    padding: 18px 16px;
  }
  
  .badge-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  
  .review-swiper .swiper-button-prev {
    left: -10px;
  }
  
  .review-swiper .swiper-button-next {
    right: -10px;
  }
  
  .toast-container {
    left: auto;
    right: 20px;
    max-width: 350px;
  }
}

@media (min-width: 768px) {
  .clock-date {
    gap: 20px;
    font-size: 0.9rem;
  }
  
  .hero {
    padding: 50px 0 40px;
  }
  
  .hero-grid {
    gap: 40px;
  }
  
  .hero-cta {
    margin-bottom: 40px;
  }
  
  .filter-pill {
    padding: 8px 24px;
    font-size: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  
  .hero {
    min-height: 80vh;
    padding: 60px 0;
  }
  
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .designs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .trust-badges {
    padding: 20px 24px;
  }
  
  .badge-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .badge-text strong {
    font-size: 0.9rem;
  }
  
  .badge-text small {
    font-size: 0.7rem;
  }
  
  .review-swiper {
    padding: 10px 30px 50px !important;
  }
  
  .review-swiper .swiper-button-prev {
    left: -10px;
  }
  
  .review-swiper .swiper-button-next {
    right: -10px;
  }
}

@media (min-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .designs-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .review-swiper {
    padding: 10px 40px 50px !important;
  }
}

/* ===== Print Styles ===== */
@media print {
  .clock-section,
  .hero-media,
  .btn,
  .instagram-feed,
  .review-swiper .swiper-button-prev,
  .review-swiper .swiper-button-next,
  .review-swiper .swiper-pagination,
  .filter-pill,
  .toast-container,
  .lightbox {
    display: none;
  }
  
  .section {
    padding: 25px 0;
    page-break-inside: avoid;
  }
  
  .product-card,
  .feature-card,
  .testimonial-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .testimonial-card {
    page-break-inside: avoid;
  }
}