/* ============================================
   طلای ناب — 3D Parallax Jewelry Website
   ============================================ */

:root {
  --gold: #d4a853;
  --gold-light: #f0d78c;
  --gold-dark: #a67c2e;
  --gold-glow: rgba(212, 168, 83, 0.4);
  --rose-gold: #c9a087;
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a26;
  --text-primary: #f5f0e8;
  --text-secondary: #a09a8e;
  --text-muted: #6b6560;
  --border-gold: rgba(212, 168, 83, 0.25);
  --shadow-gold: 0 0 40px rgba(212, 168, 83, 0.15);
  --font-display: 'Vazirmatn', sans-serif;
  --font-body: 'Vazirmatn', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::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(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
button, input, textarea, select {
  font-family: var(--font-body);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   Parallax Background Scene
   ============================================ */

.parallax-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  inset: -20%;
  will-change: transform;
}

.layer-stars {
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 50% 10%, rgba(212,168,83,0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 15% 85%, rgba(212,168,83,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 45% 75%, rgba(255,255,255,0.2) 50%, transparent 50%);
  background-size: 100% 100%;
}

.layer-glow {
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(212, 168, 83, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(212, 168, 83, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(201, 160, 135, 0.04) 0%, transparent 70%);
}

.layer-particles {
  background-image:
    radial-gradient(circle, var(--gold) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.06;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  color: var(--gold);
  font-size: 1.5rem;
  animation: gemPulse 3s ease-in-out infinite;
}

@keyframes gemPulse {
  0%, 100% { filter: drop-shadow(0 0 4px var(--gold-glow)); }
  50% { filter: drop-shadow(0 0 12px var(--gold-glow)); }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--gold-light);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.btn-outline:hover {
  background: rgba(212, 168, 83, 0.1);
  border-color: var(--gold);
}

.btn-full {
  width: 100%;
}

/* ============================================
   Sections Common
   ============================================ */

.section {
  position: relative;
  padding: 6rem 0;
}

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

.section-header.light .section-title {
  color: var(--text-primary);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* ============================================
   Scroll-Driven Video Showcase
   ============================================ */

.video-scroll {
  position: relative;
}

.video-scroll-inner {
  height: 500vh;
}

.video-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.scroll-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.frame-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--bg-dark);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.frame-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.frame-loader p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.loader-spinner {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(212, 168, 83, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.55) 0%, rgba(10, 10, 15, 0.2) 40%, rgba(10, 10, 15, 0.75) 100%),
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 30%, rgba(10, 10, 15, 0.4) 100%);
  pointer-events: none;
}

.video-ui {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 4rem;
  pointer-events: none;
}

.video-progress {
  margin-bottom: 2rem;
}

.video-progress-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.video-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 3px;
  transition: width 0.05s linear;
}

.video-slide-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all var(--transition);
}

.slide-dot.active {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
  transform: scale(1.25);
}

.video-captions {
  position: relative;
  min-height: 140px;
}

.video-caption {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.video-caption.active {
  opacity: 1;
  transform: translateY(0);
}

.caption-step {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.video-caption h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.video-caption p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 500px;
  font-weight: 400;
}

.video-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-muted);
  animation: hintPulse 2s ease-in-out infinite;
}

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

.video-scroll-spacer {
  display: none;
}

/* ============================================
   About Section
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-card {
  perspective: 800px;
}

.card-3d .card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
}

.card-3d:hover .card-inner {
  transform: translateY(-8px) rotateX(5deg);
  box-shadow: var(--shadow-gold);
}

.card-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--gold-light);
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.parallax-divider {
  margin-top: 4rem;
  height: 1px;
  position: relative;
  overflow: hidden;
}

.divider-gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 1s ease;
}

.divider-gold-line.visible {
  transform: scaleX(1);
}

/* ============================================
   Collection Section
   ============================================ */

.collection {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -30% 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.collection-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(212, 168, 83, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-elevated) 50%, var(--bg-dark) 100%);
}

.collection .container {
  position: relative;
  z-index: 1;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

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

.product-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(212, 168, 83, 0.1);
}

.product-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
  position: relative;
  overflow: hidden;
}

.product-3d-shape {
  transition: transform 0.6s ease;
}

.product-card:hover .product-3d-shape {
  transform: scale(1.15) rotateY(15deg);
}

.product-ring .product-3d-shape {
  width: 70px;
  height: 70px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 15px rgba(212, 168, 83, 0.3), 0 0 20px rgba(212, 168, 83, 0.2);
  position: relative;
}

.product-ring .product-3d-shape::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #fff, #88c0f0);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.product-necklace .product-3d-shape {
  width: 4px;
  height: 80px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 2px;
  position: relative;
}

.product-necklace .product-3d-shape::before,
.product-necklace .product-3d-shape::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.product-necklace .product-3d-shape::before {
  width: 20px;
  height: 12px;
  top: 10px;
}

.product-necklace .product-3d-shape::after {
  width: 24px;
  height: 28px;
  bottom: 0;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border: none;
  clip-path: polygon(50% 100%, 0% 30%, 20% 0%, 80% 0%, 100% 30%);
}

.product-bracelet .product-3d-shape {
  width: 90px;
  height: 90px;
  border: 3px solid var(--rose-gold);
  border-radius: 50%;
  border-top-color: transparent;
  transform: rotate(-45deg);
}

.product-earring .product-3d-shape {
  width: 12px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-radius: 6px;
  position: relative;
}

.product-earring .product-3d-shape::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ff6b6b, #c0392b);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  border-radius: 2px;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.product-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.price {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.95rem;
}

/* ============================================
   Craftsmanship Section
   ============================================ */

.craft-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.craft-visual {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.craft-3d-box {
  width: 250px;
  height: 250px;
  position: relative;
  transform-style: preserve-3d;
  animation: craftRotate 15s linear infinite;
}

@keyframes craftRotate {
  from { transform: rotateY(0deg) rotateX(-10deg); }
  to { transform: rotateY(360deg) rotateX(-10deg); }
}

.craft-face {
  position: absolute;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 26, 0.9);
  border: 1px solid var(--border-gold);
  backface-visibility: hidden;
}

.craft-front  { transform: translateZ(125px); }
.craft-back   { transform: rotateY(180deg) translateZ(125px); }
.craft-right  { transform: rotateY(90deg) translateZ(125px); }
.craft-left   { transform: rotateY(-90deg) translateZ(125px); }

.craft-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  font-weight: 600;
}

.craft-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.craft-text {
  color: var(--text-secondary);
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}

.craft-steps {
  list-style: none;
}

.craft-steps li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(212, 168, 83, 0.1);
  color: var(--text-primary);
  font-size: 0.9rem;
  position: relative;
  padding-right: 1.5rem;
}

.craft-steps li::before {
  content: '◆';
  position: absolute;
  right: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ============================================
   Stats Section
   ============================================ */

.stats {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.stats-bg {
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
}

.stats .container {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   Contact Section
   ============================================ */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-form:hover {
  box-shadow: var(--shadow-gold);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-gold);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--gold-light);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid .about-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

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

@media (max-width: 768px) {
  .video-scroll-inner {
    height: 400vh;
  }

  .video-ui {
    padding-bottom: 3rem;
  }

  .video-captions {
    min-height: 120px;
  }

  .video-caption h2 {
    font-size: 1.35rem;
  }

  .video-caption p {
    font-size: 0.85rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right var(--transition);
    border-left: 1px solid var(--border-gold);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .craft-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .craft-visual {
    order: -1;
  }

  .craft-3d-box {
    width: 200px;
    height: 200px;
  }

  .craft-face {
    width: 200px;
    height: 200px;
  }

  .craft-front  { transform: translateZ(100px); }
  .craft-back   { transform: rotateY(180deg) translateZ(100px); }
  .craft-right  { transform: rotateY(90deg) translateZ(100px); }
  .craft-left   { transform: rotateY(-90deg) translateZ(100px); }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .about-grid .about-card:last-child {
    max-width: 100%;
  }

  .collection-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .parallax-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }

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

  .stat-item {
    padding: 1rem 0.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .craft-3d-box {
    animation: none;
  }
}
