/* ============ BASE ============ */
:root {
  --primary: #e5a40f;
  --primary-dark: #c48a0d;
  --accent: #c4652a;
  --accent-dark: #a8541f;
  --beige: #f3ede8;
  --dark: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
}

/* ============ HEADER ============ */
#header {
  background: transparent;
  transition: background 0.3s;
}

#header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ============ WEAPON CARD ============ */
.weapon-card {
  min-width: 100%;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .weapon-card {
    flex-direction: row;
    padding: 2rem 4rem;
  }
}

.weapon-visual {
  flex-shrink: 0;
  width: 280px;
  height: 180px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .weapon-visual {
    width: 340px;
    height: 220px;
  }
}

.weapon-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.8s ease-out;
  width: 0;
}

/* ============ PRICING CARD ============ */
.pricing-card {
  transition: transform 0.2s;
  position: relative;
}

.pricing-card.recommended {
  border: 2px solid var(--accent);
}

.pricing-card.recommended::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background: var(--accent);
}

/* ============ FAQ ============ */
.faq-item {
  border: 1px solid #ddd;
  overflow: hidden;
  background: white;
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--dark);
  user-select: none;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* ============ TESTIMONIAL ============ */
.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
  text-align: center;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* ============ CAROUSEL DOTS ============ */
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ============ LANGUAGE SWITCHER ============ */
.lang-btn.active {
  color: white !important;
  background: rgba(196, 101, 42, 0.3);
}

/* ============ FORM STATUS ============ */
#formStatus.success {
  background: rgba(196, 101, 42, 0.1);
  color: var(--accent-dark);
}

#formStatus.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

/* ============ SCROLL ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ SELECTION ============ */
::selection {
  background: rgba(196, 101, 42, 0.3);
}
