@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --bg: #09090b;
  --bg-secondary: #121216;
  --card-bg: rgba(24, 24, 27, 0.7);
  --accent: #ef233c;
  --accent-hover: #d90429;
  --accent-glow: rgba(239, 35, 60, 0.25);
  --text-main: #fafafa;
  --text-muted: #a1a1aa;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(239, 35, 60, 0.5);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Manrope', sans-serif;
}

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

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #09090b;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  height: 70px;
  display: flex;
  align-items: center;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #ef233c, #800f2f);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 0 16px rgba(239, 35, 60, 0.4);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(239, 35, 60, 0.15);
  color: #ef233c;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(239, 35, 60, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

/* Hero Section */
.hero {
  padding-top: 130px;
  padding-bottom: 50px;
  position: relative;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 280px;
  background: radial-gradient(circle, rgba(239, 35, 60, 0.15) 0%, rgba(9, 9, 11, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(24, 24, 27, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 13px;
  color: #d4d4d8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero-badge span.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef233c;
  box-shadow: 0 0 8px #ef233c;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  max-width: 850px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, #ef233c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Stats Badges */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #d4d4d8;
}

.stat-item strong {
  color: var(--text-main);
  font-weight: 700;
  font-size: 15px;
}

/* Search & Filter Bar */
.search-filter-bar {
  max-width: 720px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(24, 24, 27, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 6px 16px;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.4);
}

.search-input-wrapper:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(239, 35, 60, 0.15);
}

.search-input-wrapper svg {
  color: var(--text-muted);
  margin-right: 12px;
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 15px;
  padding: 8px 0;
}

.search-input::placeholder {
  color: #71717a;
}

/* Categories Pills */
.categories-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.category-pill {
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.category-pill:hover {
  background: rgba(39, 39, 42, 0.7);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
}

.category-pill.active {
  background: #ef233c;
  color: #ffffff;
  border-color: #ef233c;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(239, 35, 60, 0.4);
}

/* Section Titles */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Model Grid */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

/* Model Card */
.model-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.model-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 35, 60, 0.35);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 24px -6px rgba(239, 35, 60, 0.2);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #121216;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Card Badges */
.badge-top-left {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.badge-top-right {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.badge-tag {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: #e4e4e7;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.badge-featured {
  background: linear-gradient(135deg, #ef233c, #9d0208);
  color: #fff;
  border: none;
  box-shadow: 0 0 10px rgba(239, 35, 60, 0.5);
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--text-main);
}

.card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Card Meta (Price + Proof) */
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #22c55e;
}

.price-value.consult {
  font-size: 14px;
  color: #e4e4e7;
  font-weight: 600;
}

.order-counter {
  font-size: 12px;
  font-weight: 600;
  color: #f97316;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(249, 115, 22, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

/* CTA Button */
.btn-order {
  width: 100%;
  background: #ef233c;
  color: #fff;
  border: none;
  padding: 11px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(239, 35, 60, 0.3);
}

.btn-order:hover {
  background: #d90429;
  box-shadow: 0 6px 20px rgba(239, 35, 60, 0.5);
  transform: scale(1.01);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.8), 0 0 32px rgba(239, 35, 60, 0.15);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.modal-body {
  padding: 24px;
}

/* Galeria e Preview no Modal */
.modal-gallery-box {
  background: rgba(9, 9, 11, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 20px;
}

.modal-main-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.modal-thumbs-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.modal-thumbs-row::-webkit-scrollbar {
  height: 4px;
}
.modal-thumbs-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.thumb-item {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--border-subtle);
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.55;
  transition: all 0.2s ease;
  background: #000;
}

.thumb-item:hover {
  opacity: 0.9;
  border-color: rgba(239, 35, 60, 0.5);
}

.thumb-item.active {
  opacity: 1;
  border-color: #ef233c;
  box-shadow: 0 0 10px rgba(239, 35, 60, 0.4);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.parts-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e4e4e7;
}

.form-input, .form-textarea {
  width: 100%;
  background: #09090b;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(239, 35, 60, 0.2);
}

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

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #ef233c, #d90429);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(239, 35, 60, 0.35);
  transition: all 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 35, 60, 0.5);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Modal Success State */
.modal-success-box {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-wa-direct {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 16px;
  transition: all 0.2s ease;
}

.btn-wa-direct:hover {
  background: #1ebd5a;
  transform: scale(1.02);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.footer a {
  color: #ef233c;
  text-decoration: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .stats-strip {
    gap: 16px;
  }
  .models-grid {
    grid-template-columns: 1fr;
  }
  .navbar {
    height: 60px;
  }
}
