/*
Theme Name: TechPulley
Theme URI: https://techpulley.com
Author: TechPulley / 車樺有限公司
Author URI: https://techpulley.com
Description: CVT 傳動性能零件品牌官網佈景主題。Industrial performance 風格，深色系高科技質感。
Version: 1.0.0
License: Private
License URI: https://techpulley.com
Text Domain: techpulley
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Tags: one-column, custom-menu, featured-images, translation-ready, full-width-template
*/

/* ============================================================
   TECHPULLEY DESIGN SYSTEM
   Industrial Performance — dark, aggressive, precision
   ============================================================ */

:root {
  --tp-flame: #FF3C00;
  --tp-flame-hot: #FF6B35;
  --tp-cyan: #00E5FF;
  --tp-gold: #FFB800;
  --tp-black: #060609;
  --tp-void: #0A0A10;
  --tp-surface: #101018;
  --tp-surface-up: #16161F;
  --tp-surface-hover: #1C1C28;
  --tp-border: rgba(255,255,255,0.05);
  --tp-border-active: rgba(255,60,0,0.3);
  --tp-text: #EAEAEF;
  --tp-text-sec: #8888A0;
  --tp-text-dim: #55556A;
  --tp-head: 'Bebas Neue', sans-serif;
  --tp-body: 'Noto Sans TC', sans-serif;
  --tp-mono: 'DM Mono', monospace;
  --tp-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* === RESET === */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background: var(--tp-black);
  color: var(--tp-text);
  font-family: var(--tp-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display:block; max-width:100%; height:auto; }
a { color:inherit; text-decoration:none; }

/* === GRAIN OVERLAY === */
body::after {
  content:''; position:fixed; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events:none; z-index:10000;
}

/* === SCROLL REVEAL === */
.tp-reveal {
  opacity:0; transform:translateY(40px);
  transition: opacity 0.8s var(--tp-ease), transform 0.8s var(--tp-ease);
}
.tp-reveal.visible { opacity:1; transform:translateY(0); }
.tp-d1 { transition-delay:0.1s; }
.tp-d2 { transition-delay:0.2s; }
.tp-d3 { transition-delay:0.3s; }

/* === LAYOUT === */
.tp-container { max-width:1440px; margin:0 auto; padding:0 48px; }
.tp-section { padding:120px 0; }

/* === TYPOGRAPHY === */
.tp-label {
  font-family: var(--tp-mono); font-size:0.68rem;
  letter-spacing:4px; text-transform:uppercase; color:var(--tp-flame);
  display:flex; align-items:center; gap:14px; margin-bottom:14px;
}
.tp-label::before { content:''; width:32px; height:1px; background:var(--tp-flame); }
.tp-title {
  font-family: var(--tp-head);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  letter-spacing:2px; line-height:1; margin-bottom:16px;
}
.tp-subtitle { font-size:1rem; color:var(--tp-text-sec); max-width:560px; font-weight:300; }

/* ============================================================
   HEADER
   ============================================================ */
.tp-header {
  position:fixed; top:0; left:0; right:0; z-index:999;
  transition: background 0.4s, border-color 0.4s;
  border-bottom:1px solid transparent;
}
.tp-header.scrolled {
  background: rgba(6,6,9,0.92);
  backdrop-filter: blur(24px) saturate(140%);
  border-bottom-color: var(--tp-border);
}
.tp-header-inner {
  max-width:1440px; margin:0 auto; padding:0 48px;
  height:76px; display:flex; align-items:center; justify-content:space-between;
}
.tp-logo { height:42px; width:auto; filter:brightness(1.1); transition:filter 0.3s; }
.tp-logo:hover { filter:brightness(1.3); }

.tp-nav { display:flex; align-items:center; gap:36px; list-style:none; }
.tp-nav a {
  font-family:var(--tp-mono); font-size:0.78rem;
  letter-spacing:1.5px; text-transform:uppercase;
  color:var(--tp-text-sec); transition:color 0.3s; position:relative;
}
.tp-nav a::after {
  content:''; position:absolute; bottom:-4px; left:0;
  width:0; height:1px; background:var(--tp-flame);
  transition:width 0.3s var(--tp-ease);
}
.tp-nav a:hover { color:var(--tp-text); }
.tp-nav a:hover::after { width:100%; }
.tp-nav .tp-cta-btn {
  background:var(--tp-flame); color:#fff !important; padding:8px 22px;
  border-radius:5px; font-weight:500;
}
.tp-nav .tp-cta-btn::after { display:none; }
.tp-nav .tp-cta-btn:hover {
  background:var(--tp-flame-hot); transform:translateY(-1px);
  box-shadow:0 6px 24px rgba(255,60,0,0.35);
}

/* Mobile toggle */
.tp-menu-toggle { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.tp-menu-toggle span { display:block; width:24px; height:2px; background:var(--tp-text); margin:5px 0; transition:0.3s; }

/* ============================================================
   HERO
   ============================================================ */
.tp-hero { min-height:100vh; position:relative; display:flex; align-items:center; overflow:hidden; }
.tp-hero-atm { position:absolute; inset:0; pointer-events:none; }
.tp-hero-orb1 {
  position:absolute; top:-15%; right:-5%; width:800px; height:800px;
  background:radial-gradient(circle, rgba(255,60,0,0.07) 0%, transparent 65%);
  animation:tpDrift 25s ease-in-out infinite;
}
.tp-hero-orb2 {
  position:absolute; bottom:-20%; left:-8%; width:600px; height:600px;
  background:radial-gradient(circle, rgba(0,229,255,0.03) 0%, transparent 65%);
  animation:tpDrift 30s ease-in-out infinite reverse;
}
@keyframes tpDrift {
  0%,100% { transform:translate(0,0) scale(1); }
  33% { transform:translate(40px,-25px) scale(1.08); }
  66% { transform:translate(-30px,40px) scale(0.96); }
}
.tp-hero-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,60,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,60,0,0.025) 1px, transparent 1px);
  background-size:100px 100px;
  mask-image:radial-gradient(ellipse 55% 55% at 50% 50%, rgba(0,0,0,0.6), transparent);
}
.tp-hero-inner {
  max-width:1440px; margin:0 auto; padding:120px 48px 80px;
  display:grid; grid-template-columns:1fr 1fr; gap:60px;
  align-items:center; width:100%; position:relative; z-index:2;
}
.tp-hero-tag {
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--tp-mono); font-size:0.72rem;
  letter-spacing:2.5px; text-transform:uppercase; color:var(--tp-flame);
  margin-bottom:24px;
}
.tp-hero-tag .dot {
  width:7px; height:7px; background:var(--tp-flame); border-radius:50%;
  animation:tpPulse 2.5s ease-in-out infinite;
}
@keyframes tpPulse {
  0%,100% { opacity:1; box-shadow:0 0 0 0 rgba(255,60,0,0.5); }
  50% { opacity:0.6; box-shadow:0 0 0 8px rgba(255,60,0,0); }
}
.tp-hero h1 {
  font-family:var(--tp-head); font-size:clamp(4rem,8vw,7.5rem);
  line-height:0.92; letter-spacing:3px; margin-bottom:8px;
}
.tp-hero-zh {
  font-size:clamp(1.6rem,3vw,2.6rem); font-weight:900;
  background:linear-gradient(135deg, var(--tp-flame), var(--tp-gold));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  margin-bottom:24px;
}
.tp-hero-desc {
  font-size:1.05rem; color:var(--tp-text-sec); max-width:500px;
  line-height:1.85; margin-bottom:48px; font-weight:300;
}
.tp-stats { display:flex; gap:40px; }
.tp-stat { padding-left:18px; border-left:2px solid var(--tp-flame); }
.tp-stat-val {
  font-family:var(--tp-head); font-size:2.6rem; line-height:1; letter-spacing:1px;
}
.tp-stat-val small {
  font-family:var(--tp-mono); font-size:0.7rem; color:var(--tp-flame);
  margin-left:3px; vertical-align:super;
}
.tp-stat-label {
  font-family:var(--tp-mono); font-size:0.68rem; color:var(--tp-text-dim);
  letter-spacing:2px; text-transform:uppercase; margin-top:6px;
}

/* Hero ring */
.tp-hero-product { position:relative; display:flex; align-items:center; justify-content:center; }
.tp-ring-frame { position:relative; width:480px; height:480px; }
.tp-ring { position:absolute; border-radius:50%; border:1px solid; }
.tp-ring-1 { inset:0; border-color:rgba(255,60,0,0.12); animation:tpSpin 35s linear infinite; }
.tp-ring-2 { inset:35px; border-color:rgba(0,229,255,0.07); animation:tpSpin 28s linear infinite reverse; }
.tp-ring-3 { inset:70px; border-color:rgba(255,184,0,0.05); animation:tpSpin 22s linear infinite; border-style:dashed; }
@keyframes tpSpin { to { transform:rotate(360deg); } }
.tp-ring-dot {
  position:absolute; width:8px; height:8px;
  background:var(--tp-flame); border-radius:50%; box-shadow:0 0 12px var(--tp-flame);
}
.tp-ring-dot:nth-child(4) { top:-4px; left:50%; }
.tp-ring-dot:nth-child(5) { bottom:-4px; left:50%; }
.tp-ring-dot:nth-child(6) { top:50%; left:-4px; }
.tp-ring-dot:nth-child(7) { top:50%; right:-4px; }
.tp-hero-img {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:260px; height:260px; border-radius:50%; overflow:hidden;
  box-shadow:0 0 80px rgba(255,60,0,0.12), 0 0 160px rgba(255,60,0,0.05), inset 0 0 40px rgba(0,0,0,0.6);
  border:2px solid rgba(255,60,0,0.15);
}
.tp-hero-img img { width:100%; height:100%; object-fit:cover; filter:brightness(1.1) contrast(1.05); }

/* ============================================================
   MARQUEE
   ============================================================ */
.tp-marquee {
  border-top:1px solid var(--tp-border); border-bottom:1px solid var(--tp-border);
  padding:32px 0; overflow:hidden; background:var(--tp-void);
}
.tp-marquee-track { display:flex; gap:20px; animation:tpScroll 35s linear infinite; width:max-content; }
@keyframes tpScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.tp-marquee-item {
  font-family:var(--tp-head); font-size:1.6rem; letter-spacing:6px;
  color:rgba(255,255,255,0.06); white-space:nowrap; flex-shrink:0;
}
.tp-marquee-item.accent { color:rgba(255,60,0,0.12); }
.tp-marquee-sep { color:rgba(255,60,0,0.15); font-size:1rem; align-self:center; flex-shrink:0; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.tp-products { background:var(--tp-black); }
.tp-products-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:64px; }
.tp-card {
  background:var(--tp-surface); border:1px solid var(--tp-border); border-radius:14px;
  overflow:hidden; transition:all 0.45s var(--tp-ease); cursor:pointer; position:relative;
}
.tp-card:hover {
  transform:translateY(-8px);
  box-shadow:0 24px 64px rgba(0,0,0,0.5), 0 0 48px rgba(255,60,0,0.06);
  border-color:var(--tp-border-active);
}
.tp-card-img {
  height:280px; background:var(--tp-void);
  position:relative; overflow:hidden;
}
.tp-card-img::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:60%;
  background:linear-gradient(to top, var(--tp-surface), transparent); pointer-events:none;
}
.tp-card-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.6s var(--tp-ease); filter:brightness(0.95); }
.tp-card:hover .tp-card-img img { transform:scale(1.06); filter:brightness(1.05); }
.tp-card-badge {
  position:absolute; top:16px; right:16px; z-index:2;
  background:var(--tp-flame); color:#fff; font-family:var(--tp-mono);
  font-size:0.62rem; letter-spacing:1.5px; padding:5px 12px; border-radius:4px;
}
.tp-card-body { padding:28px 28px 32px; }
.tp-card-en { font-family:var(--tp-head); font-size:1.5rem; letter-spacing:2px; margin-bottom:2px; }
.tp-card-zh { font-size:0.85rem; color:var(--tp-text-sec); margin-bottom:16px; }
.tp-card-desc { font-size:0.88rem; color:var(--tp-text-sec); line-height:1.75; margin-bottom:20px; font-weight:300; }
.tp-card-tags { display:flex; flex-wrap:wrap; gap:8px; }
.tp-tag {
  font-family:var(--tp-mono); font-size:0.68rem; color:var(--tp-cyan);
  background:rgba(0,229,255,0.06); border:1px solid rgba(0,229,255,0.12);
  padding:4px 11px; border-radius:4px;
}

/* ============================================================
   FEATURE BANNER
   ============================================================ */
.tp-banner { position:relative; height:50vh; min-height:380px; overflow:hidden; }
.tp-banner img { width:100%; height:100%; object-fit:cover; filter:brightness(0.5); }
.tp-banner-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to right, rgba(6,6,9,0.95) 0%, rgba(6,6,9,0.3) 60%, rgba(6,6,9,0.7) 100%);
  display:flex; align-items:center;
}
.tp-banner-content { max-width:1440px; margin:0 auto; padding:0 48px; width:100%; }
.tp-banner-content .tp-title { font-size:clamp(2.2rem,4vw,4rem); }
.tp-banner-content p { color:var(--tp-text-sec); max-width:480px; font-weight:300; line-height:1.8; }

/* ============================================================
   TECH SECTION
   ============================================================ */
.tp-tech {
  position:relative; overflow:hidden; padding:120px 0;
}
.tp-tech::before {
  content:'TECHNOLOGY'; position:absolute; font-family:var(--tp-head);
  font-size:16vw; color:rgba(255,255,255,0.012); top:50%; left:50%;
  transform:translate(-50%,-50%); white-space:nowrap; pointer-events:none; letter-spacing:20px;
}
.tp-tech::after {
  content:''; position:absolute; width:700px; height:700px;
  background:radial-gradient(circle,rgba(255,60,0,0.06) 0%,transparent 70%);
  top:50%; left:50%; transform:translate(-50%,-50%); pointer-events:none;
}
.tp-tech-header { text-align:center; margin-bottom:72px; position:relative; z-index:1; }
.tp-tech-header .tp-label { justify-content:center; }
.tp-tech-header .tp-label::before { display:none; }
.tp-tech-header .tp-subtitle { margin:0 auto; }
.tp-tech-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
  max-width:1440px; margin:0 auto; padding:0 48px; position:relative; z-index:1;
}
.tp-tech-cell {
  background:rgba(16,16,24,0.6); backdrop-filter:blur(20px);
  border:1px solid var(--tp-border); border-radius:18px;
  padding:44px 32px 40px; position:relative; overflow:hidden;
  transition:all 0.5s var(--tp-ease);
}
.tp-tech-cell:hover {
  transform:translateY(-8px); border-color:var(--tp-border-active);
  box-shadow:0 24px 64px rgba(0,0,0,0.4),0 0 80px rgba(255,60,0,0.06),inset 0 1px 0 rgba(255,255,255,0.04);
}
.tp-tech-cell::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--tp-flame),var(--tp-gold),var(--tp-flame));
  opacity:0; transition:opacity 0.5s var(--tp-ease);
}
.tp-tech-cell:hover::before { opacity:1; }
.tp-tech-cell::after {
  content:''; position:absolute; top:-40px; right:-40px; width:160px; height:160px; border-radius:50%;
  background:radial-gradient(circle,rgba(255,60,0,0.08) 0%,transparent 70%);
  opacity:0; transition:opacity 0.5s var(--tp-ease); pointer-events:none;
}
.tp-tech-cell:hover::after { opacity:1; }
.tp-tech-icon {
  width:64px; height:64px; margin-bottom:24px; object-fit:contain;
  filter:drop-shadow(0 0 12px rgba(255,60,0,0.2)); transition:all 0.5s var(--tp-ease);
}
.tp-tech-cell:hover .tp-tech-icon {
  filter:drop-shadow(0 0 24px rgba(255,60,0,0.4)); transform:scale(1.1);
}
.tp-tech-num {
  font-family:var(--tp-mono); font-size:0.68rem; color:var(--tp-flame);
  letter-spacing:2px; margin-bottom:6px; opacity:0.6;
}
.tp-tech-cell:hover .tp-tech-num { opacity:1; }
.tp-tech-cell h3 {
  font-family:var(--tp-head); font-size:1.4rem; letter-spacing:3px;
  margin-bottom:14px; line-height:1.2; transition:color 0.3s;
}
.tp-tech-cell:hover h3 { color:var(--tp-flame); }
.tp-tech-cell p { font-size:0.88rem; color:var(--tp-text-sec); line-height:1.8; font-weight:300; }
.tp-tech-stat {
  margin-top:24px; padding-top:20px; border-top:1px solid var(--tp-border);
  display:flex; align-items:baseline; gap:6px;
}
.tp-tech-stat .val { font-family:var(--tp-head); font-size:2rem; color:var(--tp-flame); letter-spacing:1px; line-height:1; }
.tp-tech-stat .unit { font-family:var(--tp-mono); font-size:0.65rem; color:var(--tp-text-dim); letter-spacing:1px; }


/* ============================================================
   SPRING SECTION
   ============================================================ */
.tp-spring { background:var(--tp-black); }
.tp-spring-intro { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; margin-bottom:60px; }
.tp-spring-quote {
  background:var(--tp-surface); border-left:3px solid var(--tp-flame);
  padding:24px 28px; margin-top:24px; border-radius:0 8px 8px 0;
}
.tp-spring-quote p { font-size:0.92rem; color:var(--tp-text-sec); line-height:1.75; font-weight:300; }
.tp-spring-gallery { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.tp-spring-item { aspect-ratio:1; border-radius:10px; overflow:hidden; cursor:pointer; }
.tp-spring-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s var(--tp-ease); filter:brightness(0.9); }
.tp-spring-item:hover img { transform:scale(1.08); filter:brightness(1.05); }

/* ============================================================
   FR GALLERY
   ============================================================ */
.tp-gallery { background:var(--tp-black); padding:100px 0; border-top:1px solid var(--tp-border); }
.tp-gallery .tp-container { margin-bottom:48px; }
.tp-gallery-scroll {
  display:flex; gap:16px; overflow-x:auto; padding:0 48px 20px;
  scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:var(--tp-surface-hover) transparent;
}
.tp-gallery-card {
  flex-shrink:0; width:320px; border-radius:12px; overflow:hidden;
  border:1px solid var(--tp-border); scroll-snap-align:start;
  transition:border-color 0.3s, transform 0.4s var(--tp-ease);
}
.tp-gallery-card:hover { border-color:var(--tp-border-active); transform:scale(1.02); }
.tp-gallery-card img { width:100%; height:400px; object-fit:cover; filter:brightness(0.95); transition:filter 0.4s; }
.tp-gallery-card:hover img { filter:brightness(1.05); }

/* ============================================================
   COMPATIBILITY
   ============================================================ */
.tp-compat { background:var(--tp-void); }
.tp-compat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:56px; }
.tp-compat-card {
  background:var(--tp-surface); border:1px solid var(--tp-border); border-radius:10px;
  padding:32px 24px; text-align:center; transition:all 0.35s var(--tp-ease);
}
.tp-compat-card:hover { border-color:var(--tp-border-active); background:var(--tp-surface-up); transform:translateY(-4px); }
.tp-compat-brand { font-family:var(--tp-head); font-size:1.4rem; letter-spacing:4px; margin-bottom:12px; }
.tp-compat-models { font-size:0.82rem; color:var(--tp-text-sec); line-height:1.8; font-weight:300; }

/* ============================================================
   CTA
   ============================================================ */
.tp-cta { padding:0 48px 140px; }
.tp-cta-box {
  max-width:1344px; margin:0 auto;
  background:linear-gradient(145deg, var(--tp-surface) 0%, rgba(255,60,0,0.06) 100%);
  border:1px solid rgba(255,60,0,0.12); border-radius:20px;
  padding:80px 64px; text-align:center; position:relative; overflow:hidden;
}
.tp-cta-box::before {
  content:''; position:absolute; top:-120px; right:-80px; width:400px; height:400px;
  background:radial-gradient(circle, rgba(255,60,0,0.08), transparent); border-radius:50%;
}
.tp-cta-box .tp-title, .tp-cta-box p { position:relative; z-index:1; }
.tp-cta-box p { color:var(--tp-text-sec); font-size:1.05rem; margin-bottom:40px; font-weight:300; }
.tp-cta-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; position:relative; z-index:1; }
.tp-btn {
  display:inline-flex; align-items:center; gap:8px; padding:14px 36px;
  font-family:var(--tp-head); font-size:1rem; letter-spacing:2px;
  border-radius:6px; cursor:pointer; transition:all 0.3s var(--tp-ease); border:none;
}
.tp-btn-flame { background:var(--tp-flame); color:#fff; }
.tp-btn-flame:hover { background:var(--tp-flame-hot); transform:translateY(-2px); box-shadow:0 8px 32px rgba(255,60,0,0.35); }
.tp-btn-ghost { background:transparent; color:var(--tp-text); border:1px solid rgba(255,255,255,0.12); }
.tp-btn-ghost:hover { border-color:var(--tp-flame); color:var(--tp-flame); }

/* ============================================================
   FOOTER
   ============================================================ */
.tp-footer { background:var(--tp-void); border-top:1px solid var(--tp-border); padding:64px 48px 32px; }
.tp-footer-grid {
  max-width:1440px; margin:0 auto; display:grid;
  grid-template-columns:2fr 1fr 1fr 1.5fr; gap:60px;
  padding-bottom:48px; border-bottom:1px solid var(--tp-border);
}
.tp-footer-brand p { color:var(--tp-text-sec); font-size:0.88rem; line-height:1.75; margin-top:18px; max-width:340px; font-weight:300; }
.tp-footer-col h5 { font-family:var(--tp-head); font-size:0.95rem; letter-spacing:3px; margin-bottom:20px; }
.tp-footer-col a { display:block; font-size:0.85rem; color:var(--tp-text-sec); padding:5px 0; transition:color 0.3s; font-weight:300; }
.tp-footer-col a:hover { color:var(--tp-flame); }
.tp-footer-contact { display:flex; align-items:flex-start; gap:10px; margin-bottom:14px; font-size:0.85rem; color:var(--tp-text-sec); font-weight:300; }
.tp-footer-contact .ico { color:var(--tp-flame); flex-shrink:0; }
.tp-footer-bottom {
  max-width:1440px; margin:0 auto; padding-top:24px;
  display:flex; justify-content:space-between; align-items:center;
}
.tp-footer-bottom span { font-size:0.72rem; color:var(--tp-text-dim); }
.tp-lang { display:flex; gap:10px; }
.tp-lang a {
  font-family:var(--tp-mono); font-size:0.72rem; letter-spacing:1px;
  color:var(--tp-text-dim); padding:4px 12px; border:1px solid var(--tp-border);
  border-radius:4px; transition:all 0.3s;
}
.tp-lang a.active { border-color:var(--tp-flame); color:var(--tp-flame); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px) {
  .tp-hero-inner { grid-template-columns:1fr; text-align:center; }
  .tp-hero-desc { margin-left:auto; margin-right:auto; }
  .tp-stats { justify-content:center; }
  .tp-hero-product { display:none; }
  .tp-products-grid { grid-template-columns:1fr 1fr; }
  .tp-tech-grid { grid-template-columns:1fr 1fr; padding:0 24px; }
  .tp-compat-grid { grid-template-columns:1fr 1fr; }
  .tp-spring-intro { grid-template-columns:1fr; gap:40px; }
  .tp-spring-gallery { grid-template-columns:1fr 1fr; }
  .tp-footer-grid { grid-template-columns:1fr 1fr; gap:40px; }
}

@media (max-width:640px) {
  .tp-header-inner { padding:0 20px; }
  .tp-nav a:not(.tp-cta-btn) { display:none; }
  .tp-menu-toggle { display:block; }
  .tp-container { padding:0 20px; }
  .tp-section { padding:80px 0; }
  .tp-hero-inner { padding:100px 20px 60px; }
  .tp-stats { flex-direction:column; gap:20px; align-items:center; }
  .tp-stat { text-align:center; border-left:none; border-bottom:2px solid var(--tp-flame); padding:0 0 12px; }
  .tp-products-grid, .tp-tech-grid, .tp-compat-grid, .tp-spring-gallery { grid-template-columns:1fr; }
  .tp-footer-grid { grid-template-columns:1fr; gap:32px; }
  .tp-cta { padding:0 20px 80px; }
  .tp-cta-box { padding:48px 24px; }
  .tp-cta-btns { flex-direction:column; align-items:center; }
  .tp-footer { padding:48px 20px 24px; }
  .tp-gallery-scroll { padding:0 20px 20px; }
  .tp-banner-content { padding:0 20px; }
}
