/* ===== TrendVault — 2026 Dark Mode + Glassmorphism Design ===== */

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #e8e8e8;
  background: #0a0a0f;
  line-height: 1.65;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
::selection { background: #fe2c55; color: #fff; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 17px; color: #fff;
  text-decoration: none;
}
.logo-icon { font-size: 20px; }
.nav { display: flex; gap: 8px; align-items: center; }
.nav-link {
  text-decoration: none; color: rgba(255,255,255,0.55); font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: 8px; transition: all 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-link.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav-cta {
  background: #fe2c55 !important; color: #fff !important; padding: 7px 16px;
  border-radius: 8px; font-weight: 600; font-size: 12px;
}
.nav-cta:hover { background: #e0264c !important; }
.mobile-menu { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: #fff; }

/* ===== Hero ===== */
.hero {
  padding: 130px 0 80px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(254,44,85,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(37,244,238,0.08) 0%, transparent 50%),
              #0a0a0f;
}
.hero-badge {
  display: inline-block; background: rgba(254,44,85,0.1); color: #fe2c55;
  padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
  margin-bottom: 24px; border: 1px solid rgba(254,44,85,0.15);
}
.hero h1 { font-size: 48px; line-height: 1.15; margin-bottom: 18px; font-weight: 800; letter-spacing: -1.5px; color: #fff; }
.gradient-text {
  background: linear-gradient(135deg, #fe2c55, #25f4ee, #fe2c55);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% center; } 50% { background-position: 200% center; } }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.5); margin-bottom: 36px; line-height: 1.7; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-bottom: 40px; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 30px; font-weight: 800; color: #25f4ee; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 4px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-trust { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary { background: #fe2c55; color: #fff; }
.btn-primary:hover { background: #e0264c; transform: translateY(-1px); box-shadow: 0 8px 30px rgba(254,44,85,0.35); }
.btn-outline {
  background: transparent; color: #e8e8e8; border: 1px solid rgba(255,255,255,0.15);
}
.btn-outline:hover { border-color: #fe2c55; color: #fe2c55; }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-full { width: 100%; text-align: center; }

/* ===== Glass Card ===== */
.glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; backdrop-filter: blur(12px);
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: rgba(255,255,255,0.02); }
.section-title { font-size: 30px; font-weight: 800; text-align: center; margin-bottom: 8px; color: #fff; letter-spacing: -0.5px; }
.section-sub { text-align: center; color: rgba(255,255,255,0.4); font-size: 15px; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.section-title-left { font-size: 26px; font-weight: 800; margin-bottom: 6px; color: #fff; }
.section-sub-left { color: rgba(255,255,255,0.4); font-size: 14px; margin-bottom: 28px; }

/* ===== Page Hero (sub-pages) ===== */
.page-hero {
  padding: 100px 0 40px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(254,44,85,0.08) 0%, transparent 60%), #0a0a0f;
}
.page-hero h1 { font-size: 34px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.4); font-size: 15px; }

/* ===== Filter Chips ===== */
.filter-chips { display: flex; justify-content: center; gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
.chip {
  padding: 7px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
  background: transparent; color: rgba(255,255,255,0.5); font-size: 13px;
  cursor: pointer; transition: all 0.2s; font-weight: 500;
}
.chip.active, .chip:hover { background: #fe2c55; color: #fff; border-color: #fe2c55; }

/* ===== Product Cards ===== */
.product-grid { display: flex; flex-direction: column; gap: 10px; }
.product-card {
  background: rgba(255,255,255,0.03); border-radius: 14px; padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid rgba(255,255,255,0.06); transition: all 0.2s; position: relative;
}
.product-card.free:hover { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); }
.product-card.locked { opacity: 0.85; }
.rank {
  min-width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #888; background: rgba(255,255,255,0.06); flex-shrink: 0;
}
.rank-1 { background: linear-gradient(135deg, #ffd700, #f0c800); color: #7a6200; }
.rank-2 { background: linear-gradient(135deg, #e0e0e0, #b0b0b0); color: #444; }
.rank-3 { background: linear-gradient(135deg, #e8a87c, #cd7f32); color: #5a3610; }
.product-info { flex: 1; min-width: 0; }
.product-info h3 { font-size: 16px; margin-bottom: 8px; font-weight: 700; color: #fff; }
.product-meta { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; align-items: center; }
.tag { padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.tag-beauty { background: rgba(254,44,85,0.15); color: #fe6b8a; }
.tag-fashion { background: rgba(99,102,241,0.15); color: #a5b4fc; }
.tag-health { background: rgba(34,197,94,0.15); color: #6ee7a0; }
.tag-tech { background: rgba(37,244,238,0.15); color: #25f4ee; }
.tag-home { background: rgba(251,146,60,0.15); color: #fdba74; }
.sales { font-size: 12px; color: #fe2c55; font-weight: 600; }
.commission { font-size: 11px; color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); padding: 2px 8px; border-radius: 4px; }
.product-desc { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 10px; line-height: 1.6; }
.product-tips {
  background: rgba(37,244,238,0.05); padding: 10px 14px; border-radius: 8px;
  font-size: 12px; color: rgba(255,255,255,0.5); border-left: 3px solid #25f4ee;
}
.product-tips strong { color: #25f4ee; }

/* Blur & Lock */
.blur { filter: blur(5px); user-select: none; pointer-events: none; }
.lock-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(10,10,15,0.7); border-radius: 14px;
  font-weight: 600; color: #fe2c55; gap: 6px; cursor: pointer;
  backdrop-filter: blur(2px); transition: all 0.2s; font-size: 14px;
}
.lock-overlay:hover { background: rgba(254,44,85,0.08); }
.lock-icon { font-size: 24px; }

/* ===== Hashtag Cards ===== */
.hashtag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.hashtag-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.03); padding: 14px 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06); transition: all 0.2s;
}
.hashtag-card.free:hover { border-color: rgba(255,255,255,0.12); }
.hashtag-card.locked { cursor: pointer; }
.hashtag-card.locked:hover { border-color: #fe2c55; }
.hashtag-rank {
  min-width: 26px; height: 26px; border-radius: 6px;
  background: #fe2c55; color: #fff; display: flex;
  align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.hashtag-name { font-weight: 600; font-size: 14px; flex: 1; color: #fff; }
.hashtag-views { font-size: 12px; color: rgba(255,255,255,0.35); }
.lock-badge {
  font-size: 10px; background: rgba(254,44,85,0.15); color: #fe2c55;
  padding: 3px 10px; border-radius: 6px; font-weight: 600; white-space: nowrap;
}

/* ===== Hashtag Pills (landing) ===== */
.hashtag-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hashtag-pill {
  background: rgba(255,255,255,0.06); color: #fff; padding: 10px 18px; border-radius: 30px;
  font-size: 13px; font-weight: 600; border: 1px solid rgba(255,255,255,0.08);
}
.hashtag-pill span { color: #25f4ee; margin-left: 6px; font-size: 11px; }
.locked-pill {
  background: rgba(254,44,85,0.08); color: #fe2c55; cursor: pointer;
  border: 1px solid rgba(254,44,85,0.15);
}
.locked-pill:hover { background: rgba(254,44,85,0.15); }

/* ===== Korean Section ===== */
.section-korean {
  background: radial-gradient(ellipse at 30% 50%, rgba(254,44,85,0.06) 0%, transparent 50%),
              rgba(255,255,255,0.02);
}
.korean-flag { font-size: 36px; display: block; text-align: center; margin-bottom: 12px; }
.korean-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.korean-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 24px; position: relative; transition: all 0.2s;
}
.korean-card.free:hover { border-color: rgba(37,244,238,0.2); }
.korean-card.locked { cursor: pointer; }
.korean-card.locked:hover { border-color: rgba(254,44,85,0.2); }
.korean-label { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: #25f4ee; margin-bottom: 12px; }
.korean-label.pro { color: #fe2c55; }
.korean-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.korean-card p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; }
.read-more { color: #25f4ee; font-size: 13px; font-weight: 600; text-decoration: none; display: inline-block; margin-top: 12px; }

/* ===== Strategy Cards ===== */
.strategy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.strategy-card {
  background: rgba(255,255,255,0.03); padding: 24px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06); position: relative; transition: all 0.2s;
}
.strategy-card.free:hover { border-color: rgba(255,255,255,0.12); }
.strategy-card.locked { cursor: pointer; }
.strategy-card.locked:hover { border-color: #fe2c55; }
.strategy-icon { font-size: 28px; margin-bottom: 12px; }
.strategy-card h3 { font-size: 15px; margin-bottom: 8px; font-weight: 700; color: #fff; }
.strategy-card p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.strategy-detail {
  margin-top: 10px; padding: 10px 12px; background: rgba(255,255,255,0.03);
  border-radius: 8px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.7;
}
.strategy-detail strong { color: rgba(255,255,255,0.6); }
.strategy-tag { display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.free-tag { background: rgba(34,197,94,0.15); color: #6ee7a0; }
.pro-tag { background: rgba(254,44,85,0.15); color: #fe2c55; }

/* ===== Creative Center Cards ===== */
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.cc-card {
  display: block; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 22px; text-decoration: none; color: #fff; transition: all 0.2s;
}
.cc-card:hover { border-color: #25f4ee; background: rgba(37,244,238,0.04); transform: translateY(-2px); }
.cc-icon { font-size: 24px; margin-bottom: 10px; }
.cc-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.cc-card p { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.cc-link { font-size: 12px; color: #25f4ee; font-weight: 600; }
.cc-disclaimer { margin-top: 20px; font-size: 11px; color: rgba(255,255,255,0.25); text-align: center; }
.cc-disclaimer a { color: #25f4ee; }

/* ===== Korea Why Cards ===== */
.korea-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.korea-why-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 28px; text-align: center;
}
.korea-why-num { font-size: 30px; font-weight: 800; color: #fe2c55; margin-bottom: 8px; }
.korea-why-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.korea-why-card p { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* ===== Highlight Grid (landing) ===== */
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.highlight-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 18px; transition: all 0.2s;
}
.highlight-card:hover { border-color: rgba(255,255,255,0.12); }
.highlight-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.highlight-card p { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 6px; line-height: 1.5; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.pricing-card {
  background: rgba(255,255,255,0.03); border-radius: 16px; padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.06); text-align: center; position: relative;
}
.pricing-card.featured { border-color: #fe2c55; background: rgba(254,44,85,0.04); }
.pricing-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: #fe2c55; color: #fff; padding: 4px 16px; border-radius: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
}
.pricing-name { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.pricing-price { font-size: 38px; font-weight: 800; color: #fff; }
.pricing-price span { font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.4); }
.pricing-desc { font-size: 12px; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.pricing-features { list-style: none; text-align: left; margin: 20px 0; }
.pricing-features li { padding: 6px 0; font-size: 13px; color: rgba(255,255,255,0.6); border-bottom: 1px solid rgba(255,255,255,0.04); }
.pricing-features li::before { content: '✓ '; color: #25f4ee; font-weight: 700; }
.pricing-features li.disabled { color: rgba(255,255,255,0.2); }
.pricing-features li.disabled::before { content: '— '; color: rgba(255,255,255,0.15); }
.pricing-save { color: #fe2c55; font-size: 13px; font-weight: 600; }

/* Pricing Mini (landing) */
.pricing-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; max-width: 760px; margin: 0 auto; }
.pricing-mini-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 22px; text-align: center; position: relative;
}
.pricing-mini-card.featured { border-color: #fe2c55; }
.pricing-mini-card p { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 8px; }

/* ===== Comparison Table ===== */
.comparison-table-wrap { overflow-x: auto; }
.comparison-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
  background: rgba(255,255,255,0.02); border-radius: 12px; overflow: hidden;
}
.comparison-table th, .comparison-table td { padding: 12px 16px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.04); }
.comparison-table th { background: rgba(255,255,255,0.04); font-weight: 700; font-size: 12px; color: rgba(255,255,255,0.5); }
.comparison-table td:first-child, .comparison-table th:first-child { text-align: left; }
.comparison-table td { color: rgba(255,255,255,0.6); }
.highlight-col { background: rgba(254,44,85,0.04); }
.comparison-table th.highlight-col { color: #fe2c55; }

/* ===== Data Tables ===== */
.data-header { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 11px; color: rgba(255,255,255,0.3); }
.data-table-wrap { overflow-x: auto; }
.data-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
  background: rgba(255,255,255,0.02); border-radius: 12px; overflow: hidden;
}
.data-table th {
  padding: 12px 14px; text-align: left; background: rgba(255,255,255,0.04);
  font-weight: 700; font-size: 11px; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap;
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.04); white-space: nowrap; color: rgba(255,255,255,0.6); }
.data-table tr:hover { background: rgba(255,255,255,0.02); }
.data-table .locked-row { cursor: pointer; }
.data-table .locked-row:hover { background: rgba(254,44,85,0.03); }
.product-name-cell { max-width: 260px; white-space: normal !important; line-height: 1.4; }
.rank-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 7px;
  font-weight: 800; font-size: 12px; color: #888; background: rgba(255,255,255,0.06);
}
.rank-badge.rank-1 { background: linear-gradient(135deg, #ffd700, #f0c800); color: #7a6200; }
.rank-badge.rank-2 { background: linear-gradient(135deg, #e0e0e0, #b0b0b0); color: #444; }
.rank-badge.rank-3 { background: linear-gradient(135deg, #e8a87c, #cd7f32); color: #5a3610; }
.revenue { font-weight: 700; color: #fff; }
.positive { color: #22c55e; font-weight: 600; }
.negative { color: #ef4444; font-weight: 600; }

/* Unlock Banner */
.unlock-banner {
  margin-top: 18px; padding: 14px 20px;
  background: rgba(254,44,85,0.06); border: 1px dashed rgba(254,44,85,0.2);
  border-radius: 12px; text-align: center; color: #fe2c55; font-size: 13px;
  cursor: pointer; transition: all 0.2s;
}
.unlock-banner:hover { background: rgba(254,44,85,0.1); border-style: solid; }

/* ===== Email CTA ===== */
.section-cta {
  background: radial-gradient(ellipse at 50% 50%, rgba(254,44,85,0.08) 0%, transparent 60%), #0a0a0f;
  text-align: center; padding: 80px 0;
}
.section-cta h2 { font-size: 26px; color: #fff; margin-bottom: 10px; }
.section-cta p { color: rgba(255,255,255,0.4); margin-bottom: 24px; }
.email-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.email-input {
  flex: 1; min-width: 220px; padding: 12px 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04);
  color: #fff; font-size: 14px; outline: none;
}
.email-input:focus { border-color: #25f4ee; }
.email-input::placeholder { color: rgba(255,255,255,0.25); }
.cta-note { font-size: 11px; color: rgba(255,255,255,0.2); margin-top: 10px; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 6px; }
.faq-item { border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; }
.faq-q {
  width: 100%; padding: 14px 18px; background: rgba(255,255,255,0.02); border: none;
  font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; color: #fff;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q:hover { background: rgba(255,255,255,0.04); }
.faq-q span { font-size: 18px; color: rgba(255,255,255,0.3); transition: transform 0.2s; }
.faq-q.open span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; padding: 0 18px; }
.faq-a.open { max-height: 300px; padding: 0 18px 14px; }

/* ===== Footer ===== */
.footer { padding: 50px 0 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-desc { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.6; }
.footer h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: rgba(255,255,255,0.6); }
.footer a { display: block; font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; margin-bottom: 6px; }
.footer a:hover { color: #fe2c55; }
.footer-bottom { text-align: center; font-size: 11px; color: rgba(255,255,255,0.15); border-top: 1px solid rgba(255,255,255,0.04); padding-top: 20px; }

/* ===== Modal ===== */
.modal {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7); z-index: 200;
  align-items: center; justify-content: center; backdrop-filter: blur(6px);
}
.modal.active { display: flex; }
.modal-content {
  background: #16161e; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 36px; max-width: 420px; width: 90%;
  position: relative; text-align: center;
}
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: rgba(255,255,255,0.4); }
.modal-content h2 { margin-bottom: 8px; font-size: 20px; color: #fff; }
.modal-content > p { color: rgba(255,255,255,0.4); font-size: 13px; margin-bottom: 20px; }
.modal-pricing { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; text-align: left; }
.modal-plan {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; cursor: pointer; transition: all 0.15s;
}
.modal-plan:hover { border-color: #fe2c55; }
.modal-plan:has(input:checked) { border-color: #fe2c55; background: rgba(254,44,85,0.08); }
.modal-plan input { accent-color: #fe2c55; }
.modal-plan label { cursor: pointer; display: flex; flex-direction: column; flex: 1; }
.modal-plan label strong { font-size: 14px; color: #fff; }
.modal-plan label span { font-size: 12px; color: rgba(255,255,255,0.35); }
.modal-note { font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 10px; }

/* ===== Utilities ===== */
.text-center { text-align: center; }

/* ===== Article Styling ===== */
.tv-article { max-width: 720px; margin: 0 auto; }
.tv-article h3 { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.tv-article h4 { font-size: 17px; font-weight: 700; color: #25f4ee; margin-top: 24px; margin-bottom: 10px; }
.tv-article p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 12px; }
.tv-article strong { color: rgba(255,255,255,0.85); }
.tv-article em { color: #fe2c55; font-style: normal; font-weight: 600; }
.tv-article ol, .tv-article ul { padding-left: 20px; margin-bottom: 16px; }
.tv-article li {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8;
  margin-bottom: 10px; padding-left: 4px;
}
.tv-article li strong { color: #fff; }

/* Practice Box (action items) */
.practice-box {
  background: rgba(37,244,238,0.05); border-left: 4px solid #25f4ee;
  padding: 22px 24px; margin: 28px 0; border-radius: 0 12px 12px 0;
}
.practice-box h4 { color: #25f4ee; font-size: 16px; margin-bottom: 12px; margin-top: 0; }
.practice-box ol, .practice-box ul { padding-left: 18px; }
.practice-box li { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 8px; }
.practice-box li strong { color: rgba(255,255,255,0.8); }

/* ===== Page Hero Variants ===== */
.page-hero-icon { font-size: 48px; margin-bottom: 12px; }
.hero-glow-red {
  background: radial-gradient(ellipse at 50% 0%, rgba(254,44,85,0.15) 0%, transparent 60%), #0a0a0f;
}
.hero-glow-cyan {
  background: radial-gradient(ellipse at 50% 0%, rgba(37,244,238,0.12) 0%, transparent 60%), #0a0a0f;
}
.hero-glow-purple {
  background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.12) 0%, transparent 60%), #0a0a0f;
}
.hero-glow-green {
  background: radial-gradient(ellipse at 50% 0%, rgba(34,197,94,0.12) 0%, transparent 60%), #0a0a0f;
}
.hero-glow-orange {
  background: radial-gradient(ellipse at 50% 0%, rgba(251,146,60,0.12) 0%, transparent 60%), #0a0a0f;
}
.hero-glow-korea {
  background: radial-gradient(ellipse at 30% 30%, rgba(254,44,85,0.1) 0%, transparent 40%),
              radial-gradient(ellipse at 70% 60%, rgba(37,244,238,0.08) 0%, transparent 40%), #0a0a0f;
}

/* Mini Stats in Page Hero */
.hero-mini-stats { display: flex; justify-content: center; gap: 36px; margin-top: 24px; }
.mini-stat { display: flex; flex-direction: column; align-items: center; }
.mini-num { font-size: 22px; font-weight: 800; color: #fff; }
.mini-label { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 2px; }

/* ===== Insight Box ===== */
.insight-box {
  background: rgba(254,44,85,0.05); border: 1px solid rgba(254,44,85,0.12);
  border-radius: 14px; padding: 22px; display: flex; gap: 16px; align-items: flex-start;
}
.insight-box.insight-cyan { background: rgba(37,244,238,0.04); border-color: rgba(37,244,238,0.12); }
.insight-box.insight-purple { background: rgba(139,92,246,0.04); border-color: rgba(139,92,246,0.12); }
.insight-box.insight-green { background: rgba(34,197,94,0.04); border-color: rgba(34,197,94,0.12); }
.insight-box.insight-orange { background: rgba(251,146,60,0.04); border-color: rgba(251,146,60,0.12); }
.insight-icon { font-size: 24px; flex-shrink: 0; }
.insight-box h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.insight-box p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

@media (max-width: 768px) {
  .hero-mini-stats { gap: 16px; }
  .mini-num { font-size: 18px; }
  .insight-box { flex-direction: column; }
}

/* ===== Blog Cards ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.blog-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 24px; transition: all 0.2s; display: flex; flex-direction: column;
}
.blog-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }
.blog-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.blog-date { font-size: 12px; color: rgba(255,255,255,0.3); }
.blog-tag { padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.blog-tag-strategy { background: rgba(37,244,238,0.15); color: #25f4ee; }
.blog-tag-korea { background: rgba(254,44,85,0.15); color: #fe6b8a; }
.blog-tag-content { background: rgba(139,92,246,0.15); color: #a78bfa; }
.blog-tag-data { background: rgba(251,146,60,0.15); color: #fdba74; }
.blog-tag-growth { background: rgba(34,197,94,0.15); color: #6ee7a0; }
.blog-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; flex: 1; }
.blog-card .read-more { margin-top: 14px; }

/* ===== Testimonials ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.testimonial-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 24px; transition: all 0.2s;
}
.testimonial-card:hover { border-color: rgba(255,255,255,0.12); }
.testimonial-stars { color: #fbbf24; font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #fe2c55, #25f4ee);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testimonial-name { font-size: 13px; font-weight: 600; color: #fff; }
.testimonial-role { font-size: 11px; color: rgba(255,255,255,0.3); }

/* ===== Toast Notifications ===== */
.tv-toast {
  position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%);
  padding: 12px 24px; border-radius: 12px; font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 8px; z-index: 1000;
  transition: bottom 0.3s ease; max-width: 90%; white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.tv-toast-show { bottom: 24px; }
.tv-toast-success { background: #16a34a; color: #fff; }
.tv-toast-error { background: #dc2626; color: #fff; }
.tv-toast-info { background: #2563eb; color: #fff; }
.tv-toast-icon { font-size: 16px; }
.tv-toast-msg { overflow: hidden; text-overflow: ellipsis; }

/* ===== Newsletter Enhanced ===== */
.newsletter-benefits { display: flex; gap: 20px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.newsletter-benefit { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.4); }
.newsletter-benefit-icon { color: #25f4ee; font-size: 14px; }

/* ===== Mobile Card Layout for Tables ===== */
@media (max-width: 640px) {
  .data-table-wrap { overflow-x: visible; }
  .data-table { display: block; }
  .data-table thead { display: none; }
  .data-table tbody { display: flex; flex-direction: column; gap: 8px; }
  .data-table tr {
    display: flex; flex-wrap: wrap; gap: 4px 12px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; padding: 14px 16px; position: relative;
  }
  .data-table tr:hover { background: rgba(255,255,255,0.05); }
  .data-table td {
    border-bottom: none; padding: 2px 0; white-space: normal;
    font-size: 12px;
  }
  .data-table td:first-child { position: absolute; top: 14px; right: 16px; }
  .data-table td:nth-child(2) { width: 100%; font-size: 14px; font-weight: 600; color: #fff; padding-right: 40px; }
  .data-table td.revenue { color: #25f4ee; font-size: 15px; }
  .data-table td::before {
    content: attr(data-label);
    font-size: 10px; color: rgba(255,255,255,0.3); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.3px;
    margin-right: 6px;
  }
  .data-table .locked-row { opacity: 0.6; }
  .product-name-cell { max-width: none !important; }
}

/* ===== Skip to Content (A11y) ===== */
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: #fe2c55; color: #fff; padding: 8px 20px; border-radius: 0 0 8px 8px;
  font-size: 13px; font-weight: 600; z-index: 200; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ===== Focus Styles (A11y) ===== */
:focus-visible {
  outline: 2px solid #25f4ee;
  outline-offset: 2px;
}
.btn:focus-visible { box-shadow: 0 0 0 3px rgba(37,244,238,0.4); }
.nav-link:focus-visible { outline: 2px solid #25f4ee; outline-offset: 2px; }
.chip:focus-visible { outline: 2px solid #25f4ee; outline-offset: 2px; }

/* ===== Subscription Status Badge ===== */
.sub-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 6px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.3px;
}
.sub-badge-pro { background: rgba(34,197,94,0.15); color: #22c55e; }
.sub-badge-insider { background: rgba(139,92,246,0.15); color: #a78bfa; }

/* ===== Login Modal Enhancements ===== */
#loginModal .email-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
}
#loginModal .email-input:focus {
  border-color: #25f4ee;
}
#loginModal .email-input::placeholder {
  color: rgba(255,255,255,0.25);
}

/* ===== Account Dropdown ===== */
.account-dropdown {
  position: absolute;
  top: 54px;
  right: 20px;
  background: rgba(22,22,30,0.98);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 150;
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.account-dropdown button:hover {
  background: rgba(254,44,85,0.08);
}

/* ===== Paywall Login Link ===== */
.paywall-login-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  color: #25f4ee;
  font-size: 13px;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
}
.paywall-login-link:hover {
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu { display: block; }
  .hero { padding: 110px 0 50px; }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 22px; }
  .product-card { flex-direction: column; }
  .rank { min-width: 32px; height: 32px; font-size: 13px; }
  .section-title { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .korean-grid, .cc-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .comparison-table-wrap { font-size: 12px; }
  .page-hero h1 { font-size: 26px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .newsletter-benefits { flex-direction: column; align-items: center; gap: 8px; }
}
