/* ═══════════════════════════════════════════════════════════════════════════
   FlameStudios Official Website - Enhanced Styles
   Modern, Responsive, Accessible Design
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Colors */
  --ember: #E8520A;
  --ember-light: #ff6b00;
  --ember-dark: #c04408;
  --gold: #C8A84B;
  --gold-light: #d4b85f;
  --cream: #F0EAE0;
  --dark-bg: #0D0500;
  --dark-surface: #1a0f08;
  --dark-card: rgba(14, 6, 0, 0.85);
  --dark-card-hover: rgba(14, 6, 0, 0.95);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--ember) 0%, var(--gold) 100%);
  --gradient-primary-hover: linear-gradient(135deg, var(--ember-light) 0%, var(--gold-light) 100%);
  --gradient-dark: linear-gradient(155deg, #060200 0%, #0C0500 50%, #120700 100%);
  --gradient-radial: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(232, 82, 10, 0.12) 0%, transparent 70%);
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 120px 0;
  --card-padding: 32px;
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 32px rgba(232, 82, 10, 0.2);
  --shadow-glow: 0 0 40px rgba(232, 82, 10, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Base Styles
   ═══════════════════════════════════════════════════════════════════════════ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--dark-bg);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 5, 0, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 82, 10, 0.1);
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-bottom-color: rgba(232, 82, 10, 0.2);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.nav-brand:hover {
  transform: translateY(-2px);
}

.logo-container {
  width: 42px;
  height: 50px;
  transition: var(--transition);
}

.logo {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(232, 82, 10, 0.5));
  transition: var(--transition);
  animation: flameDance 3s ease-in-out infinite;
}

@keyframes flameDance {
  0%, 100% { transform: scaleX(1) scaleY(1); filter: drop-shadow(0 0 8px rgba(232, 82, 10, 0.5)); }
  25% { transform: scaleX(0.97) scaleY(1.02); filter: drop-shadow(0 0 12px rgba(255, 107, 0, 0.7)); }
  50% { transform: scaleX(1.02) scaleY(0.98); filter: drop-shadow(0 0 10px rgba(255, 200, 0, 0.6)); }
  75% { transform: scaleX(0.98) scaleY(1.01); filter: drop-shadow(0 0 14px rgba(232, 82, 10, 0.8)); }
}

.nav-brand:hover .logo {
  filter: drop-shadow(0 0 16px rgba(255, 150, 0, 0.9));
  animation: none;
  transform: scaleY(1.1);
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: rgba(240, 234, 224, 0.7);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--cream);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
  z-index: 0;
}

.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-radial);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(232, 82, 10, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 82, 10, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
}

#particlesCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(232, 82, 10, 0.1);
  border: 1px solid rgba(232, 82, 10, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ember);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-badge svg {
  color: var(--gold);
}

.hero-title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
  animation: fadeUp 0.8s ease 0.3s both;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
}

.gradient-text::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  opacity: 0.3;
}

.hero-subtitle {
  font-size: clamp(16px, 3vw, 20px);
  color: rgba(240, 234, 224, 0.7);
  margin-bottom: 40px;
  font-weight: 500;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.5s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(232, 82, 10, 0.1);
  animation: fadeUp 0.8s ease 0.6s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.hero-stat .stat-label {
  font-size: 13px;
  color: rgba(240, 234, 224, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(232, 82, 10, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 82, 10, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(232, 82, 10, 0.1);
  color: var(--ember);
  border: 1px solid rgba(232, 82, 10, 0.3);
}

.btn-secondary:hover {
  background: rgba(232, 82, 10, 0.2);
  border-color: rgba(232, 82, 10, 0.5);
  transform: translateY(-2px);
}

.btn-download {
  width: 100%;
  background: var(--gradient-primary);
  color: white;
}

.btn-download:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 82, 10, 0.4);
}

.btn-download:disabled,
.btn-disabled {
  background: rgba(232, 82, 10, 0.2);
  color: rgba(240, 234, 224, 0.5);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(240, 234, 224, 0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ember), transparent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Section Headers
   ═══════════════════════════════════════════════════════════════════════════ */

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(232, 82, 10, 0.1);
  border: 1px solid rgba(232, 82, 10, 0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ember);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(16px, 2.5vw, 18px);
  color: rgba(240, 234, 224, 0.6);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Products Section
   ═══════════════════════════════════════════════════════════════════════════ */

.products {
  padding: var(--section-padding);
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--dark-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 82, 10, 0.1);
  border-radius: 20px;
  padding: var(--card-padding);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(232, 82, 10, 0.05), transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 82, 10, 0.3);
  box-shadow: var(--shadow-lg);
  background: var(--dark-card-hover);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover::after {
  opacity: 1;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.product-icon {
  width: 64px;
  height: 64px;
  background: rgba(232, 82, 10, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ember);
  transition: var(--transition);
  position: relative;
}

.product-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: 18px;
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.product-card:hover .product-icon {
  background: rgba(232, 82, 10, 0.15);
  transform: scale(1.05) rotate(5deg);
}

.product-card:hover .product-icon::before {
  opacity: 0.2;
}

.product-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-status.available {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.product-status.available svg circle {
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.product-status.coming-soon {
  background: rgba(200, 168, 75, 0.1);
  color: var(--gold);
  border: 1px solid rgba(200, 168, 75, 0.2);
}

.product-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.product-description {
  color: rgba(240, 234, 224, 0.7);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(240, 234, 224, 0.8);
  font-weight: 500;
}

.feature-item svg {
  color: var(--ember);
  flex-shrink: 0;
  stroke-width: 2.5;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.feature-tag {
  padding: 6px 12px;
  background: rgba(232, 82, 10, 0.08);
  border: 1px solid rgba(232, 82, 10, 0.15);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ember);
  transition: var(--transition-fast);
}

.product-card:hover .feature-tag {
  background: rgba(232, 82, 10, 0.12);
  border-color: rgba(232, 82, 10, 0.25);
}

/* ═══════════════════════════════════════════════════════════════════════════
   About Section
   ═══════════════════════════════════════════════════════════════════════════ */

.about {
  padding: var(--section-padding);
  background: rgba(14, 6, 0, 0.5);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(232, 82, 10, 0.05), transparent);
  pointer-events: none;
}

.about-content {
  display: grid;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
}

.about-description {
  font-size: 17px;
  color: rgba(240, 234, 224, 0.8);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-description strong {
  color: var(--cream);
  font-weight: 700;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.value-item {
  text-align: center;
  padding: 24px;
  background: rgba(232, 82, 10, 0.05);
  border: 1px solid rgba(232, 82, 10, 0.1);
  border-radius: 16px;
  transition: var(--transition);
}

.value-item:hover {
  background: rgba(232, 82, 10, 0.08);
  border-color: rgba(232, 82, 10, 0.2);
  transform: translateY(-4px);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(232, 82, 10, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--ember);
  transition: var(--transition);
}

.value-item:hover .value-icon {
  background: rgba(232, 82, 10, 0.15);
  transform: scale(1.1);
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--cream);
}

.value-item p {
  font-size: 13px;
  color: rgba(240, 234, 224, 0.6);
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--dark-card);
  border: 1px solid rgba(232, 82, 10, 0.1);
  border-radius: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 82, 10, 0.2);
  box-shadow: var(--shadow-md);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(232, 82, 10, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--ember);
  transition: var(--transition);
}

.stat-item:hover .stat-icon {
  background: rgba(232, 82, 10, 0.15);
  transform: scale(1.1) rotate(5deg);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-number {
  display: block;
  font-size: 48px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(240, 234, 224, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Contact Section
   ═══════════════════════════════════════════════════════════════════════════ */

.contact {
  padding: var(--section-padding);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.contact-item {
  text-align: center;
  padding: 40px 32px;
  background: var(--dark-card);
  border: 1px solid rgba(232, 82, 10, 0.1);
  border-radius: 20px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(232, 82, 10, 0.08), transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.contact-item:hover {
  border-color: rgba(232, 82, 10, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.contact-item:hover::before {
  opacity: 1;
}

.contact-icon {
  width: 72px;
  height: 72px;
  background: rgba(232, 82, 10, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--ember);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.contact-item:hover .contact-icon {
  background: rgba(232, 82, 10, 0.15);
  transform: scale(1.1) rotate(5deg);
}

.contact-icon svg {
  width: 32px;
  height: 32px;
}

.contact-item h3 {
  font-size: 22px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.contact-item p {
  color: rgba(240, 234, 224, 0.7);
  font-size: 14px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ember);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.contact-item:hover .contact-link {
  gap: 10px;
  color: var(--ember-light);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
  background: rgba(14, 6, 0, 0.95);
  border-top: 1px solid rgba(232, 82, 10, 0.1);
  padding: 80px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2.5fr;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-container {
  width: 56px;
  height: 67px;
}

.footer-logo {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(232, 82, 10, 0.4));
  animation: flameDance 3s ease-in-out infinite;
}

.footer-brand h3 {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: rgba(240, 234, 224, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(232, 82, 10, 0.1);
  border: 1px solid rgba(232, 82, 10, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ember);
  transition: var(--transition);
}

.social-links a:hover {
  background: rgba(232, 82, 10, 0.2);
  border-color: rgba(232, 82, 10, 0.4);
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 40px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--cream);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: rgba(240, 234, 224, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  display: inline-block;
}

.footer-column a:hover {
  color: var(--cream);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(232, 82, 10, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom p {
  color: rgba(240, 234, 224, 0.5);
  font-size: 13px;
}

.footer-made {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.heart {
  color: #ff4757;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.1); }
  20%, 40% { transform: scale(1); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Toast Notifications
   ═══════════════════════════════════════════════════════════════════════════ */

.toast-container {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(20, 10, 2, 0.95);
  border: 1px solid rgba(232, 82, 10, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  pointer-events: all;
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  min-width: 280px;
  max-width: 400px;
}

.toast.toast-success { border-color: rgba(76, 175, 80, 0.4); }
.toast.toast-error   { border-color: rgba(244, 67, 54, 0.4); }
.toast.toast-info    { border-color: rgba(232, 82, 10, 0.4); }

.toast-icon { font-size: 18px; flex-shrink: 0; }

.toast.hiding {
  animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(10px) scale(0.95); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Back to Top Button
   ═══════════════════════════════════════════════════════════════════════════ */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(232, 82, 10, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(232, 82, 10, 0.5);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Animations & Utilities
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(232, 82, 10, 0.3); }
  50% { box-shadow: 0 0 40px rgba(232, 82, 10, 0.6); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.fade-in {
  animation: fadeUp 0.6s ease;
}

.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(232, 82, 10, 0.1), transparent);
  animation: shimmer 2s infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Legal Pages
   ═══════════════════════════════════════════════════════════════════════════ */

.legal-page {
  min-height: 100vh;
  padding: 120px 0 80px;
  background: var(--dark-bg);
}

.legal-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(232, 82, 10, 0.1);
}

.legal-header h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-date {
  color: rgba(240, 234, 224, 0.6);
  font-size: 14px;
  font-weight: 500;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(14, 6, 0, 0.5);
  padding: 48px;
  border-radius: 20px;
  border: 1px solid rgba(232, 82, 10, 0.1);
}

.legal-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--cream);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(232, 82, 10, 0.2);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-content p {
  color: rgba(240, 234, 224, 0.8);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-content ul {
  margin: 20px 0;
  padding-left: 24px;
}

.legal-content li {
  color: rgba(240, 234, 224, 0.8);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content a {
  color: var(--ember);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.legal-content a:hover {
  color: var(--ember-light);
  border-bottom-color: var(--ember-light);
}

.legal-content strong {
  color: var(--cream);
  font-weight: 700;
}

.legal-footer {
  text-align: center;
  margin-top: 60px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Responsive Design
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
    --card-padding: 28px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .hero-stats {
    gap: 32px;
  }
  
  .about-values {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --card-padding: 24px;
  }
  
  .navbar {
    padding: 16px 0;
  }
  
  .navbar.scrolled {
    padding: 12px 0;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(13, 5, 0, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: var(--transition);
    border-left: 1px solid rgba(232, 82, 10, 0.2);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 18px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero {
    min-height: 90vh;
    padding-top: 100px;
  }
  
  .hero-title {
    font-size: clamp(32px, 10vw, 48px);
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .about-content {
    gap: 40px;
  }
  
  .about-values {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer {
    padding: 60px 0 24px;
  }
  
  .footer-content {
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
  
  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-badge {
    font-size: 11px;
    padding: 6px 16px;
  }
  
  .hero-title {
    font-size: 28px;
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 32px;
  }
  
  .hero-stats {
    padding-top: 32px;
    margin-top: 40px;
  }
  
  .hero-stat .stat-value {
    font-size: 24px;
  }
  
  .hero-stat .stat-label {
    font-size: 11px;
  }
  
  .section-badge {
    font-size: 10px;
    padding: 5px 14px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .product-card {
    padding: 24px;
  }
  
  .product-icon {
    width: 56px;
    height: 56px;
  }
  
  .product-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .product-title {
    font-size: 22px;
  }
  
  .product-description {
    font-size: 13px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 36px;
  }
  
  .contact-item {
    padding: 32px 24px;
  }
  
  .contact-icon {
    width: 64px;
    height: 64px;
  }
  
  .contact-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .footer-brand h3 {
    font-size: 20px;
  }
  
  .footer-brand p {
    font-size: 13px;
  }
  
  .social-links a {
    width: 36px;
    height: 36px;
  }
  
  .social-links svg {
    width: 18px;
    height: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Print Styles
   ═══════════════════════════════════════════════════════════════════════════ */

@media print {
  .navbar,
  .hero-buttons,
  .scroll-indicator,
  .back-to-top,
  .mobile-menu-toggle {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero-background {
    display: none;
  }
  
  .section-title,
  .hero-title {
    color: black;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Accessibility
   ═══════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scroll-indicator {
    animation: none;
  }
  
  .heart {
    animation: none;
  }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 4px;
  border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --ember: #ff6b00;
    --gold: #d4b85f;
    --cream: #ffffff;
  }
  
  .product-card,
  .contact-item,
  .stat-item {
    border-width: 2px;
  }
}

/* Dark mode support (already dark by default) */
@media (prefers-color-scheme: light) {
  /* Optional: Add light mode styles if needed */
}

/* ═══════════════════════════════════════════════════════════════════════════
   Loading States
   ═══════════════════════════════════════════════════════════════════════════ */

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(232, 82, 10, 0.05) 0%,
    rgba(232, 82, 10, 0.1) 50%,
    rgba(232, 82, 10, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Scrollbar Styling
   ═══════════════════════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(232, 82, 10, 0.3);
  border-radius: 6px;
  border: 2px solid var(--dark-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(232, 82, 10, 0.5);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 82, 10, 0.3) var(--dark-bg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Selection
   ═══════════════════════════════════════════════════════════════════════════ */

::selection {
  background: rgba(232, 82, 10, 0.3);
  color: var(--cream);
}

::-moz-selection {
  background: rgba(232, 82, 10, 0.3);
  color: var(--cream);
}


@media (max-width: 768px) {
  .legal-page {
    padding: 100px 0 60px;
  }
  
  .legal-content {
    padding: 32px 24px;
  }
  
  .legal-content h2 {
    font-size: 24px;
    margin-top: 36px;
  }
  
  .legal-content h3 {
    font-size: 20px;
    margin-top: 24px;
  }
  
  .legal-content p,
  .legal-content li {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .legal-content {
    padding: 24px 16px;
  }
  
  .legal-content h2 {
    font-size: 22px;
  }
  
  .legal-content h3 {
    font-size: 18px;
  }
}
