/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #FFB236;
  --gold-dark: #E89E1E;
  --red: #CD2122;
  --red-dark: #A81B1C;
  --white: #FFFFFF;
  --off-white: #F8F8F6;
  --near-black: #1A1A1A;
  --text-secondary: #555555;
  --text-light: #888888;
  --border-light: #E8E8E8;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
  --shadow-hover: 0 12px 48px rgba(0,0,0,0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Barlow Semi Condensed', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--near-black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--near-black);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: var(--gold);
  color: var(--near-black);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,178,54,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--near-black);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}
.btn:hover svg { transform: translateX(4px); }

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  transition: all var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
}

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

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--near-black);
  position: relative;
  padding: 4px 0;
}

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

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gold);
  color: var(--near-black) !important;
  border-radius: 4px;
  font-weight: 600;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-dark) !important;
  color: var(--near-black) !important;
}

.lang-switch { display: flex; align-items: center; gap: 8px; margin-left: 16px; flex-shrink: 0; white-space: nowrap; }
.lang-switch a { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: #888; text-decoration: none; transition: color 0.3s; letter-spacing: 0.5px; }
.lang-switch a.active { color: #1A1A1A; font-weight: 700; }
.lang-switch a:hover { color: #CD2122; }
.lang-flag { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; border: 1px solid rgba(0,0,0,0.1); vertical-align: middle; flex-shrink: 0; }
.lang-divider { color: #ccc; font-size: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--near-black);
  border-radius: 2px;
  transition: all var(--transition);
}
.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(6px, -6px); }

/* ========== PAGE HERO ========== */
.page-hero {
  position: relative;
  padding: 180px 0 80px;
  background: linear-gradient(135deg, var(--near-black) 0%, #2A2A2A 50%, #3A2A1A 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,178,54,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--gold));
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero-content h1 span { color: var(--gold); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }
.breadcrumb-current { color: var(--gold); }

/* ========== PRODUCT OVERVIEW ========== */
.product-overview {
  padding: 100px 0;
  background: var(--white);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.overview-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.overview-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.overview-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 24px;
  line-height: 1.15;
}

.overview-text h2 span { color: var(--red); }

.overview-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.overview-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.overview-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}

.overview-highlight svg {
  width: 18px;
  height: 18px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* ========== PRODUCT LINEUP ========== */
.product-lineup {
  padding: 100px 0;
  background: var(--off-white);
}

.lineup-header {
  text-align: center;
  margin-bottom: 64px;
}

.lineup-header .section-desc {
  margin: 0 auto;
}

.lineup-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.lineup-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lineup-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.lineup-card-image {
  height: 100%;
  min-height: 280px;
  position: relative;
}

.gradient-gold {
  background: linear-gradient(135deg, #3A2A1A 0%, #FFB236 50%, #E89E1E 100%);
}

.gradient-silver {
  background: linear-gradient(135deg, #2A2A2A 0%, #A0A0A0 50%, #C0C0C0 100%);
}

.gradient-diamond {
  background: linear-gradient(135deg, #1A1A2A 0%, #6BA3D6 50%, #A8D8EA 100%);
}

.gradient-cbn {
  background: linear-gradient(135deg, #1A1A1A 0%, #8B4513 50%, #CD853F 100%);
}

.gradient-cermet {
  background: linear-gradient(135deg, #2A1A1A 0%, #CD2122 50%, #E85555 100%);
}

.lineup-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--near-black);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}

.lineup-card-body {
  padding: 40px;
}

.lineup-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.lineup-card-body > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.lineup-features {
  list-style: none;
  margin-bottom: 28px;
}

.lineup-features li {
  position: relative;
  padding-left: 20px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.lineup-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ========== TECHNICAL SPECS ========== */
.tech-specs {
  padding: 100px 0;
  background: var(--white);
}

.specs-header {
  text-align: center;
  margin-bottom: 48px;
}

.specs-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 700px;
}

.specs-table thead {
  background: var(--near-black);
}

.specs-table th {
  padding: 16px 20px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left;
}

.specs-table th:first-child {
  background: #111;
}

.specs-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--near-black);
  background: var(--off-white);
}

.specs-table tbody tr:hover td {
  background: rgba(255,178,54,0.04);
}

.specs-table tbody tr:hover td:first-child {
  background: rgba(255,178,54,0.08);
}

.specs-table tbody tr:last-child td {
  border-bottom: none;
}

/* ========== RELATED CATEGORIES ========== */
.related-categories {
  padding: 100px 0;
  background: var(--off-white);
}

.related-header {
  text-align: center;
  margin-bottom: 48px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.related-card {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-card:hover {
  transform: translateY(-4px);
}

.related-card-inner {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.related-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-card:hover .related-card-inner::before { transform: scaleX(1); }

.related-card:hover .related-card-inner {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.related-card-inner h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.related-card-inner p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}

.related-card-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.related-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.related-card:hover .related-card-link { color: var(--red); }
.related-card:hover .related-card-link svg { transform: translateX(4px); }

/* ========== CTA BANNER ========== */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--near-black) 0%, #2A2A2A 100%);
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,178,54,0.08) 0%, transparent 70%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-text h2 span { color: var(--gold); }

.cta-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--near-black);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--near-black);
}
.footer-social a svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
}
.footer-col ul a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { color: var(--gold-dark); }

.footer-credit {
  text-align: center;
  padding: 20px 0 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: #888;
}
.footer-credit a {
  color: #888;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.footer-credit a:hover { color: #FFB236; }
.footer-credit img {
  height: 14px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.footer-credit a:hover img { opacity: 1; }

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

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

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--near-black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}
.scroll-top svg { width: 22px; height: 22px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    gap: 0;
  }
  .nav-links.open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-links.open a:last-child { border: none; }

  .nav-cta { white-space: nowrap; }
  .nav-links.open .lang-switch { margin-left: 0; margin-top: 8px; padding: 14px 0; border-bottom: none; }

  .overview-grid { grid-template-columns: 1fr; gap: 48px; }
  .overview-image img { height: 350px; }

  .lineup-card { grid-template-columns: 1fr; }
  .lineup-card-image { min-height: 200px; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text p { margin: 0 auto; }
  .cta-buttons { justify-content: center; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
  .overview-highlights { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .page-hero { padding: 140px 0 60px; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .lineup-card-body { padding: 24px; }

  .nav-cta { white-space: nowrap; }
  .lang-switch { gap: 4px; font-size: 10px; }
  .lang-switch a { font-size: 10px; gap: 3px; }
  .lang-flag { width: 16px; height: 11px; }
  .lang-divider { display: none; }
}