/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: #2d2d3f; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color .25s; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ========== Colors ========== */
:root {
  --purple: #8b7aac;
  --purple-light: #c4bad6;
  --purple-lighter: #eee9f4;
  --purple-dark: #6b5d8a;
  --purple-300: #c4addd;
  --purple-100: #ede5f5;
  --purple-foreground: #ffffff;
  --text: #2d2d3f;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --bg-alt: #faf9fc;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.05);
  --shadow: 0 2px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.08);
  --shadow-purple: 0 8px 30px rgba(139,122,172,.1);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: .3s ease;
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #fafafa; }
::-webkit-scrollbar-thumb { background: var(--purple-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ========== Utilities ========== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 32px; } }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.text-gradient-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Title */
.section-title { margin-bottom: 32px; }
.section-title .tag {
  display: inline-block; font-size: .75rem; color: var(--purple);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
}
.section-title h2 { font-size: 2rem; font-weight: 700; color: var(--text); }
.section-title p { font-size: .9rem; color: var(--text-secondary); margin-top: 16px; max-width: 500px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 32px; height: 48px; border-radius: 4px; font-size: .875rem;
  font-weight: 500; transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-dark); box-shadow: 0 4px 20px rgba(139,122,172,.25); }
.btn-outline { border: 1px solid rgba(255,255,255,.3); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-outline-dark { border: 1px solid var(--border); color: var(--text); }
.btn-outline-dark:hover { border-color: var(--purple); color: var(--purple); }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: .875rem;
  color: var(--purple); letter-spacing: 1px; transition: gap .3s;
}
.btn-link:hover { gap: 10px; }
.btn-link svg { width: 16px; height: 16px; }

.btn-outline2 { border: 1px solid #dcdcdc; color:#16151a; }
.btn-outline2:hover { border:1px #7971ac solid; color:#7971ac;}

/* Cards */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all .5s;
}
.card:hover {
  border-color: rgba(139,122,172,.2); box-shadow: var(--shadow-purple);
}

/* Badge */
.badge {
  display: inline-block; font-size: .8rem; color: var(--purple);
  background: rgba(139,122,172,.1); padding: 4px 0px; border-radius: 4px;
  letter-spacing: 1px;
}
.badge-white {
  background: var(--purple); color: var(--white); font-size: .625rem;
  padding: 3px 8px; border-radius: 4px; letter-spacing: 1px; font-weight: 500;
}

/* ========== Header ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 80px; transition: all .5s;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.header.scrolled {
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--border);
}
/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 32px; height: 32px; color: var(--white); transition: color .3s;
}
.header.scrolled .logo-icon { color: var(--purple); }
.logo-text { font-size: 1.25rem; font-weight: 700; color: var(--white); transition: color .3s; letter-spacing: 2px; }
.header.scrolled .logo-text { color: var(--text); }
.logo-sub {
  font-size: .65rem; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.7); transition: color .3s; margin-left: 8px;
}
.header.scrolled .logo-sub { color: var(--purple); }
/* Nav */
.nav { display: flex; gap: 4px; }
.nav li{ display:block;}
.nav li a{padding: 8px 16px; font-size: .875rem; letter-spacing: .5px;
  color: rgba(255,255,255,.8); transition: color .3s; position: relative;}
.nav li a:hover,.nav li.active{color: var(--white);}
.header.scrolled .nav li a { color: rgba(45,45,63,.7); }
.header.scrolled .nav li a:hover, .header.scrolled .nav li a.active { color: var(--purple); }
.nav li.active a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; border-radius: 1px;
}
.nav li.active a::after { background: var(--white); }
.header.scrolled .nav li.active a::after { background: var(--purple); }

.header.scrolled .nav li a { color: rgba(45,45,63,.7); }
.header.scrolled .nav li a:hover, .header.scrolled .nav li.active a { color: var(--purple); }

.nav a {
  padding: 8px 16px; font-size: .875rem; letter-spacing: .5px;
  color: rgba(255,255,255,.8); transition: color .3s; position: relative;
}
.nav a:hover, .nav a.active { color: var(--white); }
.header.scrolled .nav a { color: rgba(45,45,63,.7); }
.header.scrolled .nav a:hover, .header.scrolled .nav a.active { color: var(--purple); }
.nav a.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; border-radius: 1px;
}
.nav a.active::after { background: var(--white); }
.header.scrolled .nav a.active::after { background: var(--purple); }
/* Mobile menu toggle */
.menu-toggle {
  display: none; padding: 8px; color: var(--white); transition: color .3s;
}
.header.scrolled .menu-toggle { color: var(--text); }
.menu-toggle svg { width: 24px; height: 24px; }
/* Mobile nav */
.mobile-nav {
  display: none; overflow: hidden; max-height: 0; transition: max-height .5s;
  background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open { max-height: 500px; }
.mobile-nav a {
  display: block; padding: 12px 24px; font-size: .875rem;
  color: var(--text-secondary); transition: all .2s; border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--purple); background: rgba(139,122,172,.05); }

/* ========== Hero (Full Screen) ========== */
.hero {
  position: relative; height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.7), rgba(0,0,0,.5), rgba(0,0,0,.2));
}
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 128px;
  background: linear-gradient(to top, var(--white), transparent);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; color: var(--white);
  padding: 0 24px; max-width: 800px; margin: 0 auto;
}
.hero-content .tag {
  font-size: .8rem; color: var(--purple-300); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 24px; font-weight: 300;
}
.hero-content h1 {
  font-size: 3.5rem; font-weight: 700; letter-spacing: -1px;
  line-height: 1.05; margin-bottom: 32px;
}
@media (min-width: 768px) { .hero-content h1 { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-content h1 { font-size: 5.5rem; } }
.hero-content h1 .highlight {
  background: linear-gradient(to right, var(--purple-300), rgba(255,255,255,.9));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-content .desc {
  font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 560px;
  line-height: 1.8; margin: 0 auto 48px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: heroBounce 2s infinite;
}
.hero-scroll span { font-size: .7rem; color: rgba(255,255,255,.5); letter-spacing: 2px; }
.hero-scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}
@keyframes heroBounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ========== Page Banner (Sub-pages) ========== */
.page-banner {
  position: relative; min-height: 320px; height: 40vh; display: flex;
  align-items: flex-end; overflow: hidden;
}
.page-banner-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.page-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.4), rgba(0,0,0,.1));
}
.page-banner-content { position: relative; z-index: 2; padding-bottom: 56px; width: 100%; }
.page-banner-content .tag {
  font-size: .8rem; color: var(--purple-300); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 16px; font-weight: 300;
}
.page-banner-content h1 {
  font-size: 2.5rem; font-weight: 700; color: var(--white);
  letter-spacing: -0.5px; margin-bottom: 16px;
}
@media (min-width: 768px) { .page-banner-content h1 { font-size: 3.75rem; } }
.page-banner-content .desc {
  font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 640px; line-height: 1.7;
}

/* Tool page banner (light gradient, no image) */
.tool-banner {
  position: relative; min-height: 240px; height: 30vh; display: flex;
  align-items: flex-end; overflow: hidden;
  background: linear-gradient(135deg, rgba(139,122,172,.05), var(--white), rgba(139,122,172,.1));
}
.tool-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(139,122,172,.08), transparent 50%);
}
.tool-banner-content { position: relative; padding-bottom: 40px; }
.tool-banner-content .tag {
  font-size: .8rem; color: var(--purple); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 16px; font-weight: 300;
}
.tool-banner-content h1 {
  font-size: 2.5rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.5px; margin-bottom: 12px;
}
@media (min-width: 768px) { .tool-banner-content h1 { font-size: 3rem; } }
.tool-banner-content .desc { font-size: 1rem; color: var(--text-secondary); max-width: 560px; }

/* ========== Features ========== */
.features-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}

@media (min-width: 640px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--white); transition: all .5s; height: 100%;
}
.feature-card:hover { border-color: rgba(139,122,172,.2); box-shadow: var(--shadow-purple); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(139,122,172,.2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  color: var(--purple);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: .875rem; color: var(--text-secondary); line-height: 1.7; }


.feature-icon3 { margin:0 auto;
  width: 62px; height: 62px; border-radius: 50%; border: 1px solid rgba(139,122,172,.2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  color: var(--purple);
}
.feature-icon3 svg { width: 24px; height: 24px; }


.features-grid2 { width:70%; margin:0 auto;
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 640px) { .features-grid2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid2 { grid-template-columns: repeat(2, 1fr); } }
.feature-card2 {
  padding: 36px 50px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--white); transition: all .5s; height: 100%;
}
.feature-card2:hover { border-color: rgba(139,122,172,.2); box-shadow: var(--shadow-purple); }
.feature-icon2 {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  color: var(--purple);
}
.feature-icon2 svg { width: 29px; height: 29px; font-weight:bold; }
.feature-card2 h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.feature-card2 p { font-size: .95rem; color: var(--text-secondary); line-height: 1.7; }

/* Teaching style tags */
.style-tag {
  display: inline-block; padding: 0.25rem 0.75rem; font-size: 0.75rem;
  background: rgba(149,133,184,0.1); color: var(--purple); border-radius: 2px;
}

.brands-filter {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center;
}
.brands-filter button {
  padding: 6px 18px; border-radius: 20px; font-size: .85rem; color: var(--text-secondary);
  border: 1px solid var(--border); transition: all var(--transition);
}
.brands-filter button:hover, .brands-filter button.active {
  background: var(--purple); color: var(--white); border-color: var(--purple);
}

/* ========== Metronome ========== */
.metro-container { text-align: center; padding: 40px 0; }
.metro-display {
  display: inline-flex; align-items: baseline; gap: 8px; margin: 24px 0;
}
.metro-display .bpm { font-size: 4rem; font-weight: 700; color: var(--purple-dark); }
.metro-display .unit { font-size: 1rem; color: var(--text-secondary); }
.metro-controls { display: flex; gap: 16px; justify-content: center; margin: 24px 0; }
.metro-controls button {
  width: 56px; height: 56px; border-radius: 50%; background: var(--purple-lighter);
  color: var(--purple-dark); font-size: 1.3rem; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.metro-controls button:hover { background: var(--purple); color: var(--white); }
.metro-play {
  width: 72px !important; height: 72px !important; background: var(--purple) !important;
  color: var(--white) !important; font-size: 1.5rem !important;
}
.metro-play:hover { background: var(--purple-dark) !important; }
.metro-slider {
  width: 300px; max-width: 100%; margin: 16px auto;
}
.metro-slider input[type="range"] {
  width: 100%; accent-color: var(--purple);
}
.metro-beats { display: flex; gap: 10px; justify-content: center; margin: 16px 0; }
.metro-beats button {
  padding: 6px 16px; border-radius: 20px; font-size: .85rem;
  border: 1px solid var(--border); color: var(--text-secondary); transition: all var(--transition);
}
.metro-beats button:hover, .metro-beats button.active {
  background: var(--purple); color: var(--white); border-color: var(--purple);
}
.metro-visual {
  display: flex; gap: 12px; justify-content: center; margin: 24px 0;
}
.metro-visual .beat-dot {
  width: 16px; height: 16px; border-radius: 50%; background: var(--purple-light);
  transition: all .15s;
}
.metro-visual .beat-dot.active {
  background: var(--purple); transform: scale(1.4);
  box-shadow: 0 0 12px rgba(149,133,184,.5);
}
.metro-terms {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px;
}
.metro-terms span {
  font-size: .75rem; color: var(--text-secondary); padding: 4px 12px;
  background: var(--bg-alt); border-radius: 12px; border: 1px solid var(--border);
}

/* ===== Grid Helpers ===== */
.grid-1 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2-lg { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}







/* ========== Brand Story ========== */


.story-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.stat-card {
  text-align: center; padding: 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--white);
}
.stat-card .number { font-size: 1.875rem; font-weight: 700; }
.stat-card .label { font-size: .7rem; color: var(--text-secondary); margin-top: 4px; }


/* ========== About Page ========== */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

@media (min-width:0) and (max-width:768px){.story-grid {grid-template-columns: 0fr; display:inherit; width:100%; margin:0 auto;}}
@media (min-width:0) and (max-width:768px){.story-text{ width:90%; display:inherit;}}
.story-text h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; }
.story-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.story-img {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}

@media (min-width:0) and (max-width:768px){.story-img{ display:none;}}

.story-img img { width: 100%; height: 360px; object-fit: cover; }
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.value-card {
  text-align: center; padding: 36px 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); transition: all var(--transition);
}
.value-card:hover { border-color: var(--purple-light); box-shadow: var(--shadow); }
.value-card .icon { font-size: 2rem; margin-bottom: 12px; width:24px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--purple-dark); }
.value-card p { font-size: .85rem; color: var(--text-secondary); line-height: 1.6; }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.team-card { text-align: center; }
.team-card img {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 12px; border: 3px solid var(--purple-light);
}
.team-card h4 { font-size: 1rem; color: var(--text); }
.team-card p { font-size: .8rem; color: var(--text-secondary); }


/* ========== Shop Preview ========== */
.shop-preview {
  position: relative; overflow: hidden;
}
.shop-preview-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.shop-preview-overlay {
  position: absolute; inset: 0; background: rgba(255,255,255,.85);
}
.shop-preview-content { position: relative; }

/* ========== News Cards (3-col) ========== */
.news-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 640px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  border: 1px solid var(--border); transition: all .5s;
}
.news-card:hover {
  border-color: rgba(139,122,172,.2); box-shadow: var(--shadow-purple);
  transform: translateY(-4px);
}
.news-card-img {
  aspect-ratio: 16/9; background-size: cover; background-position: center;
}
.news-card-body { padding: 20px; }
.news-card-body .meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.news-card-body .meta .date { font-size: .7rem; color: var(--text-light); }
.news-card-body h3 {
  font-size: 1rem; font-weight: 600; margin-bottom: 8px;
  line-height: 1.5; transition: color .3s;
}
.news-card:hover h3 { color: var(--purple); }
.news-card-body .summary {
  font-size: .875rem; color: var(--text-secondary); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-body .read-more {
  display: inline-flex; align-items: center; gap: 6px; font-size: .7rem;
  color: var(--purple); letter-spacing: 1px; margin-top: 12px; transition: gap .3s;
}
.news-card:hover .read-more { gap: 10px; }
.read-more svg { width: 12px; height: 12px; }

/* News Featured (first item) */
.news-featured {
  display: grid; grid-template-columns: 1fr; gap: 0; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white); border: 1px solid var(--border);
  margin-bottom: 48px; transition: all .5s;
}
@media (min-width: 1024px) { .news-featured { grid-template-columns: 1fr 1fr; } }
.news-featured:hover { border-color: rgba(139,122,172,.2); box-shadow: var(--shadow-purple); }
.news-featured-img {
  aspect-ratio: 16/10; background-size: cover; background-position: center;
}
@media (min-width: 1024px) { .news-featured-img { aspect-ratio: auto; } }
.news-featured-body {
  padding: 32px; display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 1024px) { .news-featured-body { padding: 48px; } }

/* News Category filter */
.category-filter {
  padding: 16px 0; border-bottom: 1px solid var(--border); background: var(--white);
  position: sticky; top: 80px; z-index: 30;
}
.category-filter .items {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px;
}
.category-filter .items span {
  padding: 8px 16px; font-size: .7rem; letter-spacing: 1px; border-radius: 4px;
  cursor: pointer; white-space: nowrap; transition: all .3s;
  border: 1px solid var(--border); color: var(--text-secondary);
}
.category-filter .items span:hover { color: var(--purple); border-color: rgba(139,122,172,.3); }
.category-filter .items span.active { background: var(--purple); color: var(--white); border-color: var(--purple); }

/* ========== Shop Page ========== */
.shop-banner {
  position: relative; min-height: 400px; height: 50vh; display: flex;
  align-items: flex-end; overflow: hidden;
}
.brands-row {
  padding: 24px 0; border-bottom: 1px solid var(--border); background: var(--white);
}
.brands-row .items {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}
.brands-row .items span {
  padding: 8px 20px; font-size: .875rem; color: var(--text-secondary);
  letter-spacing: 1px; border: 1px solid transparent; border-radius: 4px;
  cursor: pointer; transition: all .3s;
}
.brands-row .items span:hover { color: var(--purple); border-color: rgba(139,122,172,.2); }
.products-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 640px) { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  border: 1px solid var(--border); transition: all .5s;
}
.product-card:hover {
  border-color: rgba(139,122,172,.2); box-shadow: var(--shadow-purple);
  transform: translateY(-6px);
}
.product-card-img {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
}
.product-card-img-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .7s;
}
.product-card:hover .product-card-img-bg { transform: scale(1.1); }
.product-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.3), transparent);
  opacity: 0; transition: opacity .5s;
}
.product-card:hover .product-card-img-overlay { opacity: 1; }
.product-card-tags {
  position: absolute; top: 16px; left: 16px; display: flex; gap: 8px;
}
.product-card-cart {
  position: absolute; bottom: 16px; right: 16px; opacity: 0;
  transform: translateY(8px); transition: all .5s;
}
.product-card:hover .product-card-cart { opacity: 1; transform: translateY(0); }
.product-card-cart button {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: all .3s; box-shadow: var(--shadow);
}
.product-card-cart button:hover { background: var(--purple); color: var(--white); }
.product-card-cart svg { width: 16px; height: 16px; }
.product-card-body { padding: 24px; }
.product-card-body .category-line {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;
}
.product-card-body .rating {
  display: flex; align-items: center; gap: 4px; font-size: .7rem; color: var(--text-light);
}
.product-card-body .rating svg { width: 14px; height: 14px; fill: var(--purple); color: var(--purple); }
.product-card-body h3 {
  font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; transition: color .3s;
}
.product-card:hover h3 { color: var(--purple); }
.product-card-body .desc {
  font-size: .875rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px;
}
.product-card-body .price-line {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.product-card-body .price {
  font-size: 1.25rem; font-weight: 700; color: var(--purple);
}
.product-card-body .original {
  font-size: .7rem; color: var(--text-light); text-decoration: line-through;
  font-weight: 400; margin-left: 8px;
}
.product-card-body .add-cart {
  padding: 8px 16px; font-size: .7rem; font-weight: 500;
  border: 1px solid var(--purple); color: var(--purple); border-radius: 4px;
  transition: all .3s;
}
.product-card-body .add-cart:hover { background: var(--purple); color: var(--white); }

/* Service guarantee */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  text-align: center; padding: 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--white); transition: all .3s;
}
.service-card:hover { border-color: rgba(139,122,172,.2); }
.service-card svg { width: 24px; height: 24px; color: var(--purple); margin: 0 auto 12px; }
.service-card h3 { font-size: .875rem; font-weight: 600; margin-bottom: 4px; }
.service-card p { font-size: .7rem; color: var(--text-secondary); }

/* ========== About Page ========== */
.milestones { max-width: 640px; margin: 0 auto; }
.milestone {
  display: flex; gap: 24px; margin-bottom: 32px;
}
.milestone-dot {
  display: flex; flex-direction: column; align-items: center;
}
.milestone-dot .dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--purple); flex-shrink: 0;
}
.milestone-dot .line { width: 1px; flex: 1; background: var(--border); margin-top: 8px; }
.milestone .year { font-size: 1.1rem; font-weight: 700; color: var(--purple); }
.milestone .event { font-size: .875rem; color: var(--text-secondary); margin-top: 4px; }

.team-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--white); transition: all .5s;
}
.team-card:hover { border-color: rgba(139,122,172,.2); box-shadow: var(--shadow-purple); }
.team-card .avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(139,122,172,.1); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; font-weight: 700;
  color: var(--purple); font-size: 1.1rem;
}
.team-card .title {
  font-size: .7rem; color: var(--purple); letter-spacing: 1px; margin-top: 4px; margin-bottom: 8px;
}

.credentials-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (min-width: 768px) { .credentials-grid { grid-template-columns: repeat(4, 1fr); } }
.credential-card {
  text-align: center; padding: 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--white); transition: all .3s;
}
.credential-card:hover { border-color: rgba(139,122,172,.2); }
.credential-card svg { width: 32px; height: 32px; color: var(--purple); margin: 0 auto 12px; }

/* ========== Teaching Page ========== */
.course-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .course-grid { grid-template-columns: repeat(3, 1fr); } }
.course-card {
  padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--white); transition: all .5s; height: 100%;
}
.course-card:hover { border-color: rgba(139,122,172,.2); box-shadow: var(--shadow-purple); }
.course-card .icon-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(139,122,172,.1); display: flex; align-items: center;
  justify-content: center; margin-bottom: 24px; color: var(--purple);
}
.course-card .icon-circle svg { width: 24px; height: 24px; }
.course-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.course-card .meta-line {
  display: flex; align-items: center; gap: 16px; font-size: .7rem;
  color: var(--text-secondary); margin-bottom: 16px;
}
.course-card .desc { font-size: .875rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.course-card .topics { }
.course-card .topic-item {
  display: flex; align-items: center; gap: 8px; font-size: .875rem;
  color: var(--text-secondary); padding: 4px 0;
}
.course-card .topic-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple); flex-shrink: 0;
}

.style-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 768px) { .style-grid { grid-template-columns: repeat(3, 1fr); } }
.style-card {
  padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--white); transition: all .5s;
}
.style-card:hover { border-color: rgba(139,122,172,.2); box-shadow: var(--shadow-purple); }
.style-card .emoji { font-size: 2.5rem; margin-bottom: 16px; }
.style-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.style-card .desc { font-size: .875rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.style-card .features { display: flex; flex-wrap: wrap; gap: 8px; }
.style-card .features span {
  padding: 4px 12px; font-size: .7rem; background: rgba(139,122,172,.1);
  color: var(--purple); border-radius: 4px;
}

.format-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (min-width: 768px) { .format-grid { grid-template-columns: repeat(4, 1fr); } }
.format-card {
  text-align: center; padding: 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--white); transition: all .3s;
}
.format-card:hover { border-color: rgba(139,122,172,.2); }
.format-card .icon-circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(139,122,172,.2); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px; color: var(--purple);
}
.format-card .icon-circle svg { width: 24px; height: 24px; }
.format-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.format-card p { font-size: .7rem; color: var(--text-secondary); line-height: 1.6; }

.process-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 800px; margin: 0 auto;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step { text-align: center; }
.process-step .step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--purple);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; margin: 0 auto 16px;
}
.process-step h3 { font-size: .875rem; font-weight: 600; margin-bottom: 4px; }
.process-step p { font-size: .7rem; color: var(--text-secondary); }

/* ========== Tuner ========== */
.tuner-strings {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (min-width: 640px) { .tuner-strings { grid-template-columns: repeat(6, 1fr); } }
.string-btn {
  padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  text-align: center; background: var(--white); transition: all .3s; cursor: pointer;
}
.string-btn:hover { border-color: rgba(139,122,172,.3); box-shadow: var(--shadow-purple); }
.string-btn.playing {
  background: var(--purple); border-color: var(--purple); color: var(--white);
  box-shadow: 0 4px 20px rgba(139,122,172,.2); transform: scale(1.05);
}
.string-btn .note { font-size: 1.5rem; font-weight: 700; color: var(--purple); }
.string-btn.playing .note { color: var(--white); }
.string-btn .label { font-size: .7rem; color: var(--text-secondary); margin-top: 4px; }
.string-btn.playing .label { color: rgba(255,255,255,.8); }
.tuner-status {
  text-align: center; padding: 12px; background: rgba(139,122,172,.05);
  border: 1px solid rgba(139,122,172,.1); border-radius: var(--radius-lg);
}
.tuner-status p { font-size: .875rem; color: var(--purple); font-weight: 500; }
.tuner-dots { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.tuner-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple);
  animation: pulse 1.5s infinite;
}
.tuner-dots span:nth-child(2) { animation-delay: .2s; }
.tuner-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.tuner-tips {
  padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--white);
}
.tuner-tips h4 { font-size: .875rem; font-weight: 600; margin-bottom: 12px; }
.tuner-tips li {
  display: flex; align-items: flex-start; gap: 8px; font-size: .7rem;
  color: var(--text-secondary); padding: 4px 0;
}
.tuner-tips li .dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--purple);
  flex-shrink: 0; margin-top: 6px;
}

/* ========== Metronome ========== */


.metro-bpm-presets button {
  padding: 6px 12px; font-size: .7rem; border-radius: 4px;
  border: 1px solid var(--border); color: var(--text-secondary);
  transition: all .3s; background: var(--white);
}
.metro-bpm-presets button:hover { border-color: rgba(139,122,172,.3); }
.metro-bpm-presets button.active { background: var(--purple); color: var(--white); border-color: var(--purple); }
.metro-beat-visual { display: flex; justify-content: center; gap: 12px; }
.metro-beat-dot {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 700; color: var(--text-secondary);
  transition: all .15s; background: var(--white);
}
.metro-beat-dot.active {
  background: var(--purple); border-color: var(--purple); color: var(--white);
  transform: scale(1.1); box-shadow: 0 4px 20px rgba(139,122,172,.2);
}
.metro-time-sigs { display: flex; justify-content: center; gap: 12px; }
.metro-time-sigs button {
  padding: 8px 20px; font-size: .875rem; border-radius: 4px;
  border: 1px solid var(--border); color: var(--text-secondary);
  transition: all .3s; background: var(--white);
}
.metro-time-sigs button:hover { border-color: rgba(139,122,172,.3); }
.metro-time-sigs button.active { background: var(--purple); color: var(--white); border-color: var(--purple); }
.metro-terms {
  padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--white);
}
.metro-terms h4 { font-size: .875rem; font-weight: 600; margin-bottom: 12px; }
.metro-terms-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
@media (min-width: 640px) { .metro-terms-grid { grid-template-columns: repeat(5, 1fr); } }
.metro-terms-grid span {
  font-size: .7rem; padding: 8px; border-radius: 4px; text-align: center;
  color: var(--text-secondary);
}
.metro-terms-grid span.active { background: rgba(139,122,172,.1); color: var(--purple); font-weight: 500; }
.metro-terms-grid span small { display: block; font-size: .6rem; opacity: .6; }

/* ========== Contact ========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 64px; } }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px;
}
.contact-info-item .icon-circle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(139,122,172,.2); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; color: var(--purple);
}
.contact-info-item .icon-circle svg { width: 16px; height: 16px; }
.contact-info-item .label { font-size: .7rem; color: var(--text-secondary); margin-bottom: 4px; }
.contact-info-item .value { font-size: .875rem; font-weight: 500; }
.qr-card {
  padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--white);
}
.qr-card .qr-label { font-size: .7rem; color: var(--text-secondary); margin-bottom: 12px; letter-spacing: 1px; }
.qr-card .qr-placeholder {
  width: 128px; height: 128px; background: var(--bg-alt); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: var(--text-light);
}
.stores-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .stores-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .stores-grid { grid-template-columns: repeat(3, 1fr); } }
.store-card {
  padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--white); transition: all .3s;
}
.store-card:hover { border-color: rgba(139,122,172,.2); }
.store-card h4 { font-size: 1rem; font-weight: 600; color: var(--purple); margin-bottom: 12px; }
.store-card .info-line {
  display: flex; align-items: flex-start; gap: 10px; font-size: .875rem;
  color: var(--text-secondary); padding: 4px 0;
}
.store-card .info-line svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--text-light); }

/* ========== Footer ========== */
.footer {
  border-top: 1px solid var(--border); background: var(--white); padding: 48px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px;
}
@media (min-width:0) and (max-width:768px){.footer-grid { display:none;}}

.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo-icon {
  width: 36px; height: 36px; border-radius: 4px; background: var(--purple);
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.footer-brand .logo-icon svg { width: 20px; height: 20px; }
.footer-brand .logo-text { font-size: 1.1rem; font-weight: 700; transition: color .3s; }
.footer-brand .logo-text:hover { color: var(--purple); }
.footer-brand p { font-size: .875rem; color: var(--text-secondary); line-height: 1.7; }
.footer h4 { font-size: .875rem; font-weight: 600; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: .875rem; color: var(--text-secondary); transition: color .3s; }
.footer ul li a:hover { color: var(--purple); }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px;
}
.footer-contact li svg { width: 16px; height: 16px; color: var(--purple); flex-shrink: 0; margin-top: 2px; }
.footer-contact li span { font-size: .875rem; color: var(--text-secondary); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 24px 0;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: .82rem; color: var(--text-light); }
.footer-bottom .links { display: flex; gap: 24px; font-size: .82rem; color: var(--text-light); }
.footer-bottom .links span:hover { color: var(--purple); cursor: pointer; }

/* ========== Forms ========== */
.form-row { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: .7rem; color: var(--text-secondary);
  margin-bottom: 8px; letter-spacing: 1px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; height: 44px; padding: 0 16px; border: 1px solid var(--border);
  border-radius: 4px; font-size: .875rem; color: var(--text);
  background: var(--white); transition: border-color .3s;
}
.form-group textarea { height: auto; padding: 12px 16px; resize: vertical; min-height: 120px; }
.form-group select { color: var(--text-secondary); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139,122,172,.1);
}

.xwss{ margin-top:20px; margin-bottom:50px; font-size:1.32em; line-height:31px;}
.xwss p{ line-height:31px;}
.xwss p img{ text-align: center; vertical-align: middle; width:100%; display:inherit;}

.xwss img{ text-align: center; vertical-align: middle; width:100%; display:inherit;}

.navigations-part{ font-size:0.91em; border-top:1px #d5d5d5 solid; line-height:29px; padding-top:15px; }




/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: block; }
}
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-content .desc { font-size: .9rem; }
  .section { padding: 48px 0; }
  .section-title h2 { font-size: 1.5rem; }
  .page-banner { min-height: 260px; height: 35vh; }
  .page-banner-content h1 { font-size: 1.8rem; }
  .shop-banner { min-height: 320px; height: 40vh; }
}
