*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --accent-color: #d45a2a;
  --accent-glow: rgba(212, 90, 42, 0.6);
  --navbar-bg: rgba(10, 10, 10, 0.95);
  --divider-color: rgba(255, 255, 255, 0.1);
  --transition-speed: 0.3s;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.splash-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-overlay.hidden {
  display: none;
}

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

.splash-logo {
  width: 150px;
  height: auto;
  opacity: 0;
  animation: dissolveIn 1.5s ease-out 0.3s forwards;
}

.splash-tagline {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-top: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 2s forwards;
}

@keyframes dissolveIn {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-logo,
  .splash-tagline {
    opacity: 1;
    animation: none;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--navbar-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px var(--accent-glow), 0 0 40px rgba(212, 90, 42, 0.2);
  border-bottom: 1px solid rgba(212, 90, 42, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-speed), opacity var(--transition-speed);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent-color);
  outline: none;
}

.nav-link:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

.nav-icon {
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: color var(--transition-speed);
}

.nav-icon:hover,
.nav-icon:focus {
  color: var(--accent-color);
}

.nav-icon:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-speed);
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-left,
  .nav-right {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--navbar-bg);
    padding: 1rem;
    gap: 1rem;
  }

  .nav-left.active,
  .nav-right.active {
    display: flex;
  }

  .nav-right {
    top: auto;
    bottom: 0;
    border-top: 1px solid var(--divider-color);
    flex-direction: row;
    justify-content: center;
  }

  .mobile-menu-btn {
    display: flex;
    position: absolute;
    right: 1rem;
  }

  .nav-logo {
    position: absolute;
    left: 1rem;
  }
}

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

.main-content {
  padding-top: 64px;
}

.section {
  padding: 6rem 0;
}

.hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.hero-description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--divider-color), transparent);
  margin: 0 auto;
  max-width: 80%;
}

.product-section {
  background-color: var(--bg-primary);
}

.product-section-alt {
  background-color: var(--bg-secondary);
}

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

.product-grid-reverse {
  direction: rtl;
}

.product-grid-reverse > * {
  direction: ltr;
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.product-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-speed);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #e06a3a;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 90, 42, 0.3);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

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

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

  .product-grid-reverse {
    direction: ltr;
  }

  .product-content h2 {
    font-size: 2rem;
  }

  .section {
    padding: 4rem 0;
  }
}

.footer {
  background-color: var(--bg-secondary);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

.footer-column h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
  color: var(--accent-color);
}

.footer-column p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-form input[type="email"] {
  padding: 0.75rem 1rem;
  border: 1px solid var(--divider-color);
  border-radius: 6px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-color);
}

.newsletter-form .btn {
  width: 100%;
}

.newsletter-message {
  font-size: 0.9rem;
  min-height: 1.5rem;
}

.newsletter-message.success {
  color: #4ade80;
}

.newsletter-message.error {
  color: #f87171;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-list svg {
  flex-shrink: 0;
  color: var(--accent-color);
}

.social-list .pending {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: var(--divider-color);
  margin: 3rem 0 1.5rem;
}

.copyright {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1rem;
  }
}

:focus {
  outline-color: var(--accent-color);
}

::selection {
  background-color: var(--accent-color);
  color: var(--text-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
