/* ================================================
   ApsKitchen.com - Innovative Editorial Design
   Premium Cookware Review Website
   ================================================ */

/* CSS Variables */
:root {
  --primary-dark: #1a1a2e;
  --primary: #16213e;
  --accent: #e74c3c;
  --accent-hover: #c0392b;
  --cream: #faf8f5;
  --warm-white: #fffef9;
  --text-dark: #2c3e50;
  --text-light: #5d6d7e;
  --gold: #d4a574;
  --silver: #a8b5c4;
  --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-medium: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-hover: 0 30px 80px rgba(0,0,0,0.18);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ================================================
   Navigation - Floating Glass Effect
   ================================================ */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1400px;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 0 0 20px 20px;
  box-shadow: var(--shadow-soft);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 50px;
  width: auto;
}

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

.logo-text span:first-child {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 1px;
}

.logo-text span:last-child {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary-dark);
  transition: var(--transition-smooth);
}

/* ================================================
   Hero Section - Cinematic Editorial
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, #f5f0eb 100%);
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.hero-circle:nth-child(1) {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}

.hero-circle:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--gold);
  bottom: -100px;
  left: -100px;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 0;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dark);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 30px;
  animation: slideIn 0.8s ease-out;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-dark);
  margin-bottom: 30px;
  animation: slideIn 0.8s ease-out 0.2s backwards;
}

.hero-title span {
  color: var(--accent);
  font-style: italic;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 500px;
  margin-bottom: 40px;
  animation: slideIn 0.8s ease-out 0.4s backwards;
}

.hero-cta {
  display: flex;
  gap: 20px;
  animation: slideIn 0.8s ease-out 0.6s backwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  color: white;
}

.hero-visual {
  position: relative;
  height: 600px;
}

.hero-image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

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

.hero-image-float {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-image-float:nth-child(2) {
  top: 10%;
  right: 0;
  animation: fadeInUp 1s ease-out 0.5s backwards;
}

.hero-image-float:nth-child(3) {
  bottom: 10%;
  left: 0;
  animation: fadeInUp 1s ease-out 0.7s backwards;
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* ================================================
   Section Styles
   ================================================ */
.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* ================================================
   Product Grid - Bento Box Style
   ================================================ */
.products-section {
  background: var(--warm-white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 400px);
  gap: 30px;
}

.product-card {
  position: relative;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-card:first-child {
  grid-row: span 2;
}

.product-card-image {
  position: relative;
  height: 60%;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.product-card:first-child .product-card-image {
  height: 70%;
}

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

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

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.product-card:first-child .product-card-title {
  font-size: 1.6rem;
}

.product-card-description {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
  flex: 1;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.product-price .original {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
}

.product-link:hover {
  gap: 12px;
}

/* ================================================
   Features Section - Horizontal Scroll
   ================================================ */
.features-section {
  background: var(--primary-dark);
  color: white;
  overflow: hidden;
}

.features-section .section-label {
  color: var(--gold);
}

.features-section .section-title {
  color: white;
}

.features-section .section-description {
  color: rgba(255,255,255,0.7);
}

.features-scroll {
  display: flex;
  gap: 30px;
  padding: 40px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.features-scroll::-webkit-scrollbar {
  display: none;
}

.feature-card {
  flex: 0 0 350px;
  background: rgba(255,255,255,0.05);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  scroll-snap-align: start;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.feature-description {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ================================================
   Comparison Section
   ================================================ */
.comparison-section {
  background: var(--cream);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.comparison-table th,
.comparison-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.comparison-table th {
  background: var(--primary-dark);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comparison-table th:first-child {
  text-align: left;
  padding-left: 30px;
}

.comparison-table td:first-child {
  text-align: left;
  padding-left: 30px;
  font-weight: 600;
  color: var(--primary-dark);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(231, 76, 60, 0.02);
}

.comparison-table .check {
  color: #27ae60;
  font-size: 1.2rem;
}

.comparison-table .cross {
  color: #e74c3c;
  font-size: 1.2rem;
}

/* ================================================
   Testimonials - Floating Cards
   ================================================ */
.testimonials-section {
  background: linear-gradient(135deg, var(--cream) 0%, #f0ebe5 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 30px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-info h4 {
  font-weight: 600;
  color: var(--primary-dark);
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.testimonial-rating {
  color: var(--gold);
  margin-top: 5px;
}

/* ================================================
   CTA Section
   ================================================ */
.cta-section {
  background: var(--primary-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ================================================
   Footer
   ================================================ */
.footer {
  background: #0f0f1a;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-column h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--accent);
}

/* ================================================
   GDPR Popup
   ================================================ */
.gdpr-popup {
  position: fixed;
  bottom: 30px;
  left: 30px;
  max-width: 420px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.2);
  z-index: 10000;
  overflow: hidden;
  transform: translateY(200%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.gdpr-popup.active {
  transform: translateY(0);
  opacity: 1;
}

.gdpr-header {
  background: var(--primary-dark);
  color: white;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gdpr-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gdpr-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 5px;
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.gdpr-close:hover {
  opacity: 1;
}

.gdpr-content {
  padding: 25px;
}

.gdpr-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.gdpr-content a {
  color: var(--accent);
  text-decoration: underline;
}

.gdpr-buttons {
  display: flex;
  gap: 10px;
}

.gdpr-buttons .btn {
  flex: 1;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.9rem;
}

/* ================================================
   Legal Pages
   ================================================ */
.legal-page {
  padding: 150px 0 100px;
  background: var(--cream);
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 60px;
  box-shadow: var(--shadow-soft);
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--accent);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin: 35px 0 15px;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 20px 0;
  padding-left: 25px;
}

.legal-content li {
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.7;
}

.legal-content .last-updated {
  background: var(--cream);
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* ================================================
   Product Detail Page
   ================================================ */
.product-detail {
  padding: 150px 0 100px;
  background: var(--warm-white);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 120px;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
}

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

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.product-thumbnail {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  background: white;
}

.product-thumbnail.active,
.product-thumbnail:hover {
  border-color: var(--accent);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding-top: 20px;
}

.product-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.product-breadcrumb a {
  color: var(--accent);
}

.product-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.product-sku {
  font-size: 0.85rem;
  color: var(--text-light);
  background: var(--cream);
  padding: 5px 12px;
  border-radius: 5px;
}

.product-price-detail {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.product-price-detail .original-price {
  font-size: 1.2rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 10px;
}

.product-description {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.product-features {
  margin-bottom: 30px;
}

.product-features h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.product-features ul {
  list-style: none;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-light);
}

.product-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  flex-shrink: 0;
}

.product-cta-box {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 30px;
}

.product-cta-box .btn {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 18px;
}

.affiliate-disclaimer {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  padding: 15px;
  background: var(--cream);
  border-radius: 10px;
}

/* ================================================
   Animations
   ================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card:first-child {
    grid-row: span 1;
  }

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

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 40px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-gallery {
    position: relative;
    top: 0;
  }

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

@media (max-width: 768px) {
  .navbar-inner {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    margin-top: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

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

  .section {
    padding: 80px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .legal-content {
    padding: 40px 25px;
  }

  .gdpr-popup {
    left: 15px;
    right: 15px;
    max-width: none;
  }
}

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

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================
   Print Styles
   ================================================ */
@media print {
  .navbar,
  .gdpr-popup,
  .footer,
  .hero-visual,
  .hero-cta {
    display: none;
  }

  .legal-page,
  .product-detail {
    padding-top: 50px;
  }
}