/* ===========================
   PAGES - Unified page styles
   Combined from: home.css, about.css, contacts.css, reviews.css, 404.css, privacy-policy.css
   =========================== */

/* ===== KEYFRAMES (shared animations) ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

@keyframes glow {
  from { text-shadow: 0 0 20px rgba(255,255,255,0.5); }
  to { text-shadow: 0 0 40px rgba(255,255,255,0.8), 0 0 60px rgba(255,255,255,0.4); }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

@keyframes patternMove {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(20px) translateY(20px); }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== ENTRANCE ANIMATIONS (page-wide) ===== */
.section-header,
.feature-card,
.category-card,
.product-card,
.review-card,
.contact-item,
.social-icon,
.contact-info,
.contact-form-wrapper,
.about-text,
.history-text,
.cta,
.cta-section,
.cta-content,
.leave-review-content,
.privacy-content,
.map-container,
.error-content {
  animation: fadeInUp 0.8s ease-out both;
}

.about-image,
.history-image {
  animation: slideInLeft 0.8s ease-out both;
}

.feature-card:nth-child(odd),
.category-card:nth-child(odd),
.product-card:nth-child(odd),
.review-card:nth-child(odd),
.contact-item:nth-child(odd),
.social-icon:nth-child(odd) {
  animation-delay: 0.06s;
}

.feature-card:nth-child(even),
.category-card:nth-child(even),
.product-card:nth-child(even),
.review-card:nth-child(even),
.contact-item:nth-child(even),
.social-icon:nth-child(even) {
  animation-delay: 0.14s;
}

.contact-info {
  animation-delay: 0.05s;
}

.contact-form-wrapper {
  animation-delay: 0.12s;
}

.about-text,
.history-text {
  animation-delay: 0.05s;
}

.about-image,
.history-image {
  animation-delay: 0.12s;
}

/* ===== HOME PAGE ===== */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, var(--accent-blue) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(91, 141, 199, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(74, 111, 165, 0.1) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeIn 1s ease-in-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: var(--text-gray);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Section */
.features {
  background-color: var(--background-light);
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(26, 47, 79, 0.15);
  border-color: var(--highlight);
}

.feature-icon {
  font-size: 3rem;
  color: var(--highlight);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Categories Section */
.categories {
  background-color: var(--background-white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  align-items: stretch;
}

.category-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(26, 47, 79, 0.15);
  border-color: var(--highlight);
}

.category-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--light-blue) 100%);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: var(--transition);
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-name {
  padding: 20px;
  font-size: 1.1rem;
  text-align: center;
  color: var(--text-dark);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border-color);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(26, 47, 79, 0.15);
  border-color: var(--highlight);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--error) 0%, #dc2626 100%);
  color: var(--text-light);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--light-blue) 100%);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  min-height: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1rem;
}

.price-new, .price-current {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--highlight);
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 20px;
}

.stock-status i {
  font-size: 0.8rem;
}

.in-stock {
  background-color: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.out-of-stock {
  background-color: rgba(239, 68, 68, 0.2);
  color: var(--error);
}

.pre-order {
  background-color: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

/* About Section */
.about-home {
  background-color: var(--background-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 30px;
}

.about-text h2::after {
  left: 0;
  transform: none;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text .btn {
  margin-top: 20px;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--highlight) 100%);
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--background-white);
}

.cta p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--background-white);
  opacity: 0.9;
}

/* ===== ABOUT PAGE ===== */
.about-page {
  min-height: 100vh;
}

.hero-section {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--neutral-100);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--neutral-600);
  max-width: 600px;
  margin: 0 auto;
}

/* History Section */
.history-section {
  padding: 80px 0;
  background-color: var(--neutral-50);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.history-text p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--neutral-700);
  margin-bottom: 20px;
}

.history-text p:last-child {
  margin-bottom: 0;
}

.history-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Values Section */
.values-section {
  padding: 80px 0;
  background-color: var(--neutral-100);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.value-card {
  background: var(--neutral-50);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.value-card:nth-child(n) { animation-delay: calc(0.1s * var(--index, 1)); }

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--neutral-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--neutral-700);
  box-shadow: var(--shadow-md);
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: 16px;
}

.value-card p {
  color: var(--neutral-600);
  line-height: 1.6;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background-color: var(--neutral-200);
  color: var(--neutral-800);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--neutral-50);
  border-radius: 16px;
  border: 1px solid var(--neutral-300);
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--neutral-800);
  margin-bottom: 12px;
  display: block;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--neutral-600);
  font-weight: 500;
  margin-bottom: 8px;
}

.stat-card p {
  font-size: 0.95rem;
  color: var(--neutral-600);
  margin: 0;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background-color: var(--neutral-50);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.team-member {
  background: var(--neutral-100);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.member-photo {
  height: 250px;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
  transform: scale(1.05);
}

.team-member h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--neutral-800);
  margin: 24px 24px 8px;
}

.member-role {
  color: var(--primary-600);
  font-weight: 500;
  margin: 0 24px 16px;
}

.member-bio {
  color: var(--neutral-600);
  line-height: 1.6;
  margin: 0 24px 24px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background-color: var(--neutral-100);
  color: var(--neutral-800);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--neutral-800);
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: var(--neutral-600);
  line-height: 1.6;
}

.cta-content .btn {
  background: var(--neutral-800);
  color: var(--neutral-50);
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: var(--transition);
  display: inline-block;
  border: 1px solid var(--neutral-800);
}

.cta-content .btn:hover {
  background: var(--neutral-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== CONTACTS PAGE ===== */
.contacts-page {
  min-height: 100vh;
}

.contacts-section {
  padding: 80px 0;
  background: var(--neutral-50);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-info {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--neutral-200);
}

.contact-info .section-header {
  margin-bottom: 2.5rem;
}

.contact-info .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 1rem;
}

.contact-info .section-description {
  color: var(--neutral-600);
  font-size: 1.125rem;
  line-height: 1.6;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--neutral-50);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--neutral-200);
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-200);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--neutral-600);
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

.social-links {
  margin-top: 2rem;
}

.social-links h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-600);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: white;
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--neutral-200);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-form-wrapper .section-title {
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.contact-form .btn {
  margin-top: auto;
  align-self: flex-start;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group:last-child textarea {
  flex: 1;
  height: 100%;
  resize: none;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--neutral-50);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: white;
}

.form-group textarea {
  resize: vertical;
}

/* Buttons defined in main.css */

/* Messages */
.success-message,
.error-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-weight: 500;
}

.success-message {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success-700);
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--error-700);
}

.success-message i,
.error-message i {
  font-size: 1.25rem;
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background: white;
}

.map-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--neutral-200);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* ===== REVIEWS PAGE ===== */
.reviews-page {
  min-height: 100vh;
}

.reviews-section {
  padding: 80px 0;
  background-color: var(--neutral-100);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.review-card {
  background: var(--neutral-100);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-200);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--neutral-300);
}

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

.reviewer-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: 5px;
}

.review-rating {
  color: #fbbf24;
  font-size: 0.9rem;
}

.review-date {
  font-size: 0.875rem;
  color: var(--neutral-500);
  font-weight: 500;
}

.review-body {
  margin-bottom: 20px;
}

.review-body p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--neutral-700);
  margin: 0;
}

.review-footer {
  border-top: 1px solid var(--neutral-200);
  padding-top: 15px;
}

.review-product {
  font-size: 0.875rem;
  color: var(--primary-600);
  font-weight: 500;
}

.text-center {
  text-align: center;
}

/* .btn-outline defined in main.css */

/* Leave Review Section */
.leave-review-section {
  padding: 80px 0;
  background-color: var(--neutral-200);
  color: var(--neutral-800);
}

.leave-review-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.leave-review-content .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--neutral-800);
}

.leave-review-content .section-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: var(--neutral-600);
  line-height: 1.6;
}

/* ===== 404 PAGE ===== */
.error-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.error-404::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"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: twinkle 3s ease-in-out infinite;
}

.error-content {
  text-align: center;
  color: white;
  z-index: 1;
  max-width: 600px;
  padding: 2rem;
}

.error-code {
  font-size: 12rem;
  font-weight: 900;
  margin: 0;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

.error-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.error-msg {
  font-size: 1.2rem;
  margin: 1.5rem 0;
  opacity: 0.9;
  line-height: 1.6;
}

.led-bulb {
  font-size: 4rem;
  margin: 2rem 0;
  animation: flicker 1.5s ease-in-out infinite;
}

.error-actions {
  margin-top: 2rem;
}

/* .btn-home is unique to 404 page */
.btn-home {
  display: inline-block;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-home:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.floating-lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.light {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.light:nth-child(1) { top: 20%; left: 10%; }
.light:nth-child(2) { top: 60%; left: 20%; }
.light:nth-child(3) { top: 40%; left: 70%; }
.light:nth-child(4) { top: 80%; left: 80%; }
.light:nth-child(5) { top: 30%; left: 90%; }

/* ===== PRIVACY POLICY PAGE ===== */
.privacy-policy-page {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

.privacy-policy-page .hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-policy-page .hero-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 100 100"><defs><pattern id="privacy-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23privacy-pattern)"/></svg>');
  animation: patternMove 20s linear infinite;
}

.privacy-policy-page .hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.privacy-icon {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  animation: shieldPulse 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.privacy-policy-page .hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.privacy-section {
  padding: 4rem 0;
  background: white;
  margin-top: -2rem;
  border-radius: 20px 20px 0 0;
  position: relative;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.privacy-text {
  line-height: 1.8;
  color: #333;
}

.privacy-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 2.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #3498db;
  position: relative;
}

.privacy-text h3::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
}

.privacy-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-align: justify;
}

.privacy-text ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.privacy-text li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1rem;
}

.privacy-text li::before {
  content: '•';
  color: #3498db;
  font-weight: bold;
  position: absolute;
  left: -1rem;
  font-size: 1.2rem;
}

.privacy-text strong {
  color: #2c3e50;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .section-header,
  .feature-card,
  .category-card,
  .product-card,
  .review-card,
  .contact-item,
  .social-icon,
  .contact-info,
  .contact-form-wrapper,
  .about-text,
  .history-text,
  .cta,
  .cta-section,
  .cta-content,
  .leave-review-content,
  .privacy-content,
  .map-container,
  .error-content,
  .about-image,
  .history-image {
    animation: none;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-info,
  .contact-form-wrapper {
    padding: 2rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid,
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .hero-section {
    height: 500px;
  }

  .section-title {
    font-size: 2rem;
  }

  .history-content,
  .about-content {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .error-code {
    font-size: 8rem;
  }

  .privacy-policy-page .hero-title {
    font-size: 2.2rem;
  }

  .privacy-text h3 {
    font-size: 1.3rem;
  }

  .map-container iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .categories-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .error-code {
    font-size: 6rem;
  }
}

/* Animations for sections */
.contacts-section,
.map-section,
.stats-section,
.reviews-section,
.leave-review-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.contacts-section.animate-in,
.map-section.animate-in,
.stats-section.animate-in,
.reviews-section.animate-in,
.leave-review-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .product-card,
  .category-card,
  .review-card {
    transition: none;
    animation: none;
  }

  .product-card:active,
  .category-card:active,
  .review-card:active,
  .product-card:hover,
  .category-card:hover,
  .review-card:hover,
  .product-card:hover .product-image img,
  .category-card:hover .category-image img {
    transform: none;
  }
}
