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

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

:root {
  --bg: #080808;
  --bg2: #111111;
  --bg3: #1a1a1a;
  --card: #141414;
  --border: rgba(255,255,255,0.07);
  --text: #f5f5f5;
  --muted: #888;
  --accent: #d4a853;
  --accent2: #e8c070;
  --gold-grad: linear-gradient(135deg, #c9954a, #e8c070, #c9954a);
  --radius: 20px;
  --radius-sm: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
nav.scrolled { padding: 12px 60px; }

.nav-logo {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.5px;
  background: var(--gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .875rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s;
  border: none;
  padding: 10px 24px;
  cursor: pointer;
}
.nav-cta:hover {
  background: #b58d40;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,83,.35);
}

/* Mobile specific menu elements */
.mobile-only { display: none; }
@media (max-width: 768px) {
  .mobile-only { display: block; margin-top: 20px; }
  .nav-cta-mobile {
    display: block; width: 100%; text-align: center;
    background: var(--accent); color: var(--bg); padding: 14px;
    border-radius: 10px; font-weight: 700; text-decoration: none;
    box-shadow: 0 8px 20px rgba(212,168,83,0.2);
  }
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* Language Switcher */
.lang-switcher {
  margin-right: 20px;
  display: flex;
  align-items: center;
}
.lang-select {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s ease;
}
.lang-select:focus {
  border-color: var(--accent);
}
.lang-select option {
  background: var(--bg);
  color: var(--text);
}

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 60px 80px; position: relative; overflow: hidden; text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(212,168,83,.12) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 20%, rgba(212,168,83,.06) 0%, transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-content { position: relative; max-width: 860px; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,168,83,.1); border: 1px solid rgba(212,168,83,.3);
  border-radius: 100px; padding: 6px 18px; margin-bottom: 32px;
  font-size: .8rem; font-weight: 600; color: var(--accent); letter-spacing: .08em; text-transform: uppercase;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; line-height: 1.05;
  letter-spacing: -2px; margin-bottom: 24px;
}
.hero h1 .gold { background: var(--gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub {
  font-size: 1.2rem; color: var(--muted); max-width: 620px; margin: 0 auto 48px; font-weight: 400;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #000; border: none; padding: 16px 36px;
  border-radius: 100px; font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: transform .25s, box-shadow .25s; text-decoration: none; display: inline-block;
  text-align: center;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(212,168,83,.4); }
.btn-outline {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  padding: 16px 36px; border-radius: 100px; font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: border-color .2s, background .2s; text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); }

.hero-features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  width: 100%; max-width: 1000px; margin: 48px auto 0; padding: 0 20px; z-index: 2; position: relative;
}
.feat-item {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  padding: 16px; border-radius: var(--radius-sm); font-size: 0.9rem;
  font-weight: 600; color: var(--text); transition: all 0.3s;
}
.feat-item:hover {
  background: rgba(212,168,83,0.05); border-color: var(--accent);
}

/* SECTION COMMONS */
section { padding: 100px 60px; }
.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1px; line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 520px; }

/* CATEGORY CATALOG GUIDE (Screen 2) */
.cat-guide-section {
  background: var(--bg2); padding: 100px 60px;
}
.cat-guide-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  max-width: 1200px; margin: 0 auto;
}
.cat-guide-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: left; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px; transition: all 0.3s; position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
}
.cat-guide-card:hover {
  transform: translateY(-6px); border-color: rgba(212,168,83,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.cat-guide-icon { font-size: 2.25rem; margin-bottom: 20px; }
.cat-guide-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.cat-guide-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* FACTORY STRENGTH (Screen 3) */
.factory-strength-section { background: var(--bg); }
.factory-strength { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1200px; margin: 0 auto; align-items: center; }
.strength-stats { display: flex; flex-direction: column; gap: 20px; }
.stat-box { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; align-items: center; gap: 24px; transition: border-color .3s; }
.stat-box:hover { border-color: rgba(212,168,83,.4); }
.stat-num { font-size: 2.5rem; font-weight: 900; color: var(--accent); min-width: 100px; }
.stat-text h4 { font-size: 1.1rem; color: var(--text); margin-bottom: 4px; }
.stat-text p { font-size: .85rem; color: var(--muted); }
.factory-video-wrap { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,.5); aspect-ratio: 16/9; background: #000; }
.factory-video-wrap video { width: 100%; height: 100%; object-fit: cover; }

/* TRUST SIGNALS & LOGS (Screen 4) */
.trust-section { background: var(--bg2); border-top: 1px solid var(--border); }
.trust-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1200px; margin: 0 auto 60px;
}
.trust-metric-box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 32px; text-align: center;
}
.trust-metric-box h3 { font-size: 3rem; font-weight: 900; color: var(--accent); margin-bottom: 8px; }
.trust-metric-box p { font-size: 0.9rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.shipping-log-container {
  background: #0d0d0d; border: 1px solid var(--border); border-radius: var(--radius);
  max-width: 1200px; margin: 40px auto 0; padding: 32px; overflow: hidden;
}
.shipping-log-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.shipping-log-item:last-child { border-bottom: none; }
.ship-badge {
  background: rgba(40,167,69,0.1); border: 1px solid rgba(40,167,69,0.3);
  color: #28a745; font-size: 0.75rem; padding: 4px 12px; border-radius: 100px; font-weight: 700;
}
.ship-info { font-size: 0.9rem; color: var(--text); font-weight: 500; }
.ship-time { font-size: 0.8rem; color: var(--muted); }

/* PRODUCT CENTER (products.html) */
.products-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  max-width: 1200px; margin: 0 auto; padding-bottom: 100px;
}
.products-sidebar {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; position: sticky; top: 120px; height: fit-content;
}
.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
.filter-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.filter-list label { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; cursor: pointer; color: var(--muted); }
.filter-list input[type="radio"], .filter-list input[type="checkbox"] { accent-color: var(--accent); }
.filter-list label:hover { color: var(--text); }

.products-grid-container { display: flex; flex-direction: column; gap: 32px; }
.products-waterfall {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.prod-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all 0.3s;
}
.prod-card:hover {
  transform: translateY(-6px); border-color: rgba(212,168,83,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.prod-card-img { height: 260px; background: #111; position: relative; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.prod-card-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-card-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: var(--bg); font-size: 0.7rem;
  font-weight: 700; padding: 4px 10px; border-radius: 100px;
}
.prod-card-content { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.prod-card-content h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.prod-card-specs {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px;
  border-top: 1px solid rgba(255,255,255,0.05); padding-top: 12px;
}
.prod-card-spec-row { display: flex; justify-content: space-between; font-size: 0.8rem; }
.prod-card-spec-row .label { color: var(--muted); }
.prod-card-spec-row .val { color: var(--text); font-weight: 600; }
.prod-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* CASES PAGE */
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1200px; margin: 0 auto 80px;
}
.case-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.3s;
}
.case-card:hover {
  transform: translateY(-6px); border-color: rgba(212,168,83,0.3);
}
.case-img { height: 200px; background: #1a1a1a; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.case-content { padding: 24px; }
.case-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.case-content p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* NEWS PAGE */
.news-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 1200px; margin: 0 auto 80px;
}
.blog-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px); border-color: rgba(212,168,83,0.3);
}
.blog-img { height: 240px; background: #1a1a1a; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.blog-content { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
.blog-meta { display: flex; gap: 12px; font-size: 0.75rem; color: var(--muted); margin-bottom: 12px; }
.blog-category { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-content h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; line-height: 1.3; color: var(--text); }
.blog-content p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.blog-readmore { font-size: 0.85rem; font-weight: 700; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }

/* TESTIMONIALS */
.proof-section { background: var(--bg); }
.testimonials { max-width: 1200px; margin: 60px auto 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px;
}
.testi-stars { color: var(--accent); font-size: 1rem; margin-bottom: 14px; }
.testi-text { font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #2a1f0a, #3a2f1a);
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--accent); font-size: .9rem;
}
.testi-name { font-size: .875rem; font-weight: 700; }
.testi-role { font-size: .75rem; color: var(--muted); }

/* B2B INQUIRY FORM */
.b2b-form { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 40px; }
.b2b-form h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.b2b-form p { color: var(--muted); font-size: .875rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); padding: 12px 16px; font-size: .9rem; font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: rgba(212,168,83,.5);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select option { background: #1a1a1a; }

/* WHATSAPP CONNECTOR */
.whatsapp-widget {
  background: rgba(40,167,69,0.05); border: 1px solid rgba(40,167,69,0.2);
  border-radius: var(--radius); padding: 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  width: 100%; max-width: 440px; margin: 0 auto;
}
.whatsapp-qr {
  width: 160px; height: 160px; background: #fff; padding: 10px;
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.whatsapp-btn {
  background: #25d366; color: #fff; border: none; padding: 12px 28px;
  border-radius: 100px; font-weight: 700; font-size: 0.95rem; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s;
}
.whatsapp-btn:hover { background: #20ba5a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }

/* PRODUCT DETAIL PAGE */
.product-detail-section { padding-top: 140px; }
.product-detail { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-media { position: sticky; top: 120px; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/5; background: #000; }
.product-info h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.product-price { font-size: 1.5rem; color: var(--accent); font-weight: 700; margin-bottom: 30px; display: flex; align-items: center; gap: 12px; }
.factory-direct-badge { background: rgba(212,168,83,.1); color: var(--accent); font-size: .8rem; padding: 4px 12px; border-radius: 100px; font-weight: 700; border: 1px solid rgba(212,168,83,.3); }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 40px; }
.spec-table th, .spec-table td { padding: 16px; border-bottom: 1px solid var(--border); text-align: left; }
.spec-table th { width: 35%; color: var(--muted); font-weight: 500; font-size: .9rem; }
.spec-table td { color: var(--text); font-weight: 600; font-size: .95rem; }
.inquiry-box { background: rgba(212,168,83,.05); border: 1px solid rgba(212,168,83,.2); border-radius: 16px; padding: 32px; text-align: center; }
.inquiry-box .btn-primary { width: 100%; margin-bottom: 16px; }
.inquiry-note { font-size: .8rem; color: var(--muted); }

/* FACTORY TOUR PAGE */
.page-hero { text-align: center; padding: 160px 60px 80px; background: linear-gradient(180deg, rgba(212,168,83,.05) 0%, transparent 100%); }
.page-hero h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 20px; }
.tour-section { max-width: 1000px; margin: 0 auto; padding: 0 24px 100px; }
.tour-step { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; border-bottom: 1px solid var(--border); padding-bottom: 80px; }
.tour-step:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.tour-step:nth-child(even) { direction: rtl; }
.tour-step:nth-child(even) > * { direction: ltr; }
.tour-img { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(212,168,83,0.05) 100%); display: flex; align-items: center; justify-content: center; transition: border-color 0.3s; }
.tour-img:hover { border-color: rgba(212,168,83,0.3); }
.tour-img video { width: 100%; height: 100%; object-fit: cover; }
.tour-content h3 { font-size: 1.8rem; margin-bottom: 16px; color: var(--accent); }
.tour-content p { color: var(--muted); line-height: 1.7; margin-bottom: 16px; }

/* Bento Tag and Perks List */
.bento-tag {
  display: inline-block;
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.2);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.b2b-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
}
.b2b-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
}
.b2b-perks li .icon {
  width: 20px;
  height: 20px;
  background: rgba(40,167,69,0.1);
  border: 1px solid rgba(40,167,69,0.3);
  color: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}


/* FOOTER */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 60px 60px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: .875rem; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-col h5 { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .875rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .8rem; color: var(--muted); }
.footer-bottom .cert { display: flex; gap: 16px; }
.footer-bottom .cert span { font-size: .75rem; color: var(--muted); background: var(--bg2); border: 1px solid var(--border); padding: 4px 12px; border-radius: 100px; }

/* CONTACT PAGE SPECIFICS */
.contact-section {
  padding: 60px;
  max-width: 1200px;
  margin: 0 auto 100px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

/* SCROLL ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE & LAYOUT OPTIMIZATIONS */
@media (max-width: 1024px) {
  nav, nav.scrolled { padding: 16px 24px; }
  section { padding: 80px 24px; }
  .hero { padding: 140px 24px 60px; }
  
  .cat-guide-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cat-guide-card { min-height: auto; height: 100%; padding: 20px; }
  .factory-strength, .product-detail, .tour-step { grid-template-columns: 1fr; gap: 40px; }
  .tour-section { padding: 0 24px 80px; }
  .tour-step { margin-bottom: 60px; padding-bottom: 60px; }
  .tour-step:nth-child(even) { direction: ltr; }
  
  .products-layout { grid-template-columns: 1fr; gap: 32px; }
  .products-sidebar {
    position: relative; top: 0; width: 100%;
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px;
    padding: 20px;
  }
  .filter-group { margin-bottom: 0; }
  .filter-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .filter-list li {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 100px;
  }
  .filter-list li:has(input:checked) {
    border-color: var(--accent);
    background: rgba(212,168,83,0.08);
  }
  
  .products-waterfall { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cases-grid, .news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
    background: var(--bg); border-left: 1px solid var(--border);
    flex-direction: column; padding: 100px 40px; gap: 32px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
  }
  .nav-links.active { right: 0; box-shadow: -20px 0 60px rgba(0,0,0,0.5); }
  .mobile-toggle { display: block; }
  .mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  
  .nav-actions { margin-right: 0; gap: 12px; }
  .lang-switcher { margin-right: 0; }
  .nav-cta { display: none; }
  
  .hero h1 { font-size: 2.25rem; letter-spacing: -1px; line-height: 1.2; }
  .hero-sub { font-size: 1rem; padding: 0 10px; margin-bottom: 32px; }
  .hero-features { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  
  .cat-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-metrics { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .trust-metric-box { padding: 24px; }
  .trust-metric-box h3 { font-size: 2.2rem; }
  .shipping-log-container { padding: 20px; margin-top: 24px; }
  .shipping-log-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 0; }
  .ship-time { align-self: flex-end; font-size: 0.75rem; }
  
  .products-sidebar { grid-template-columns: 1fr; gap: 20px; }
  .products-waterfall { grid-template-columns: 1fr; }
  .cases-grid, .news-grid { grid-template-columns: 1fr; }
  
  .testimonials { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .b2b-form { padding: 24px 16px; border-radius: 16px; }
  .b2b-form h3 { font-size: 1.3rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .whatsapp-widget { padding: 24px 16px; }
  
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  
  .product-detail-section { padding-top: 100px; }
  .product-detail { gap: 32px; }
  .product-media { position: relative; top: 0; aspect-ratio: 1/1; border-radius: 16px; }
  .product-info h1 { font-size: 1.8rem; }
  .spec-table th, .spec-table td { padding: 12px 8px; font-size: 0.85rem; }
  .spec-table th { width: 40%; }
  .inquiry-box { padding: 20px 16px; }
  
  .page-hero { padding: 120px 16px 60px; }
  .page-hero h1 { font-size: 2.25rem; }
  
  .contact-section { padding: 40px 16px; margin-bottom: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  
  .tour-section { padding: 0 16px 60px; }
  .tour-step { margin-bottom: 40px; padding-bottom: 40px; gap: 24px; }
  .tour-img { border-radius: 12px; }
}

@media (max-width: 480px) {
  nav, nav.scrolled { padding: 12px 12px; }
  section { padding: 48px 16px; }
  .hero { padding: 100px 12px 32px; }
  .nav-logo { font-size: 1.05rem; }
  .lang-select { padding: 4px 6px; font-size: 0.75rem; max-width: 90px; }
  .mobile-toggle { padding: 4px; }
  
  .hero h1 { font-size: 1.8rem; }
  .hero-badge { font-size: 0.7rem; padding: 4px 12px; margin-bottom: 20px; }
  .hero-features { grid-template-columns: 1fr; margin-top: 24px; gap: 10px; }
  .feat-item { padding: 12px; font-size: 0.85rem; }
  
  .cat-guide-grid { grid-template-columns: 1fr; }
  .tour-section { padding: 0 12px 40px; }
}

