/* ================================================================
   海外FXキャッシュバック完全攻略 | TariTali公式パートナー
   メインスタイルシート
================================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700;900&family=Noto+Sans+JP:wght@300;400;500;700&family=Playfair+Display:wght@400;700;900&display=swap');

/* --- CSS Variables --- */
:root {
  --gold: #c9a84c;
  --gold-light: #e8c96d;
  --gold-dark: #9d7a2e;
  --gold-gradient: linear-gradient(135deg, #c9a84c 0%, #e8c96d 50%, #c9a84c 100%);
  --gold-shine: linear-gradient(90deg, #9d7a2e 0%, #e8c96d 30%, #f5e0a3 50%, #e8c96d 70%, #9d7a2e 100%);
  --navy: #1a1a2e;
  --navy-light: #16213e;
  --white: #ffffff;
  --off-white: #faf8f3;
  --warm-gray: #f2ede4;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #8a8a9a;
  --border-color: #e8e0d0;
  --shadow-sm: 0 2px 8px rgba(26,26,46,0.08);
  --shadow-md: 0 4px 20px rgba(26,26,46,0.12);
  --shadow-lg: 0 8px 40px rgba(26,26,46,0.15);
  --shadow-gold: 0 4px 20px rgba(201,168,76,0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.3s ease;
  --font-serif: 'Noto Serif JP', 'Playfair Display', serif;
  --font-sans: 'Noto Sans JP', 'Helvetica Neue', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--off-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

/* --- Reading Progress Bar --- */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold-gradient);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(201,168,76,0.6);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}

.logo-text {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  font-family: var(--font-sans);
  margin-top: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-cta {
  background: var(--gold-gradient);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 9px 20px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.03em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
  color: var(--navy);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 40%, #0f2040 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 24px 80px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 60%);
  animation: shimmer 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--off-white), transparent);
}

@keyframes shimmer {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 20px;
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title .gold-text {
  background: var(--gold-shine);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--gold-gradient);
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.05rem;
  padding: 16px 40px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.5);
  color: var(--navy);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 32px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Main Layout --- */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold-light); opacity: 0.5; }

/* --- Section Titles --- */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.8;
}

.section-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.section-line::before,
.section-line::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--gold-gradient);
  opacity: 0.5;
}

.section-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* --- Gold Divider --- */
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

/* --- Broker Ranking Section --- */
.broker-section {
  background: var(--white);
  padding: 80px 24px;
  border-top: 1px solid var(--border-color);
}

.broker-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.broker-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.broker-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--border-color);
  transition: var(--transition);
}

.broker-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.broker-card:hover::before {
  background: var(--gold-gradient);
}

.broker-card.rank-1::before { background: linear-gradient(to bottom, #FFD700, #FFA500); }
.broker-card.rank-2::before { background: linear-gradient(to bottom, #C0C0C0, #A8A8A8); }
.broker-card.rank-3::before { background: linear-gradient(to bottom, #CD7F32, #A0522D); }

.broker-rank {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-align: center;
  min-width: 40px;
}

.broker-rank-num {
  font-size: 2rem;
  font-weight: 900;
  display: block;
  color: var(--gold);
}

.broker-card.rank-1 .broker-rank-num { color: #D4AF37; }
.broker-card.rank-2 .broker-rank-num { color: #9E9E9E; }
.broker-card.rank-3 .broker-rank-num { color: #B87333; }

.broker-info { flex: 1; }

.broker-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.broker-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.broker-tag {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.tag-green { background: #e8f5e9; color: #2e7d32; }
.tag-blue { background: #e3f2fd; color: #1565c0; }
.tag-gold { background: #fff8e1; color: #e65100; }
.tag-purple { background: #f3e5f5; color: #6a1b9a; }

.broker-cashback {
  text-align: right;
}

.cashback-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

.cashback-rate {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  display: block;
  line-height: 1;
}

.cashback-rate span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.btn-broker {
  display: inline-block;
  margin-top: 12px;
  background: var(--gold-gradient);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}

.btn-broker:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
  color: var(--navy);
}

/* --- Feature Section --- */
.features-section {
  padding: 80px 24px;
  background: var(--off-white);
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px;
  border: 1px solid rgba(201,168,76,0.3);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- Article Grid --- */
.articles-section {
  padding: 80px 24px;
  background: var(--white);
}

.article-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.article-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, #0f2040 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.article-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-gradient);
  opacity: 0.1;
}

.article-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.article-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: 12px;
}

/* --- Cashback Calculator --- */
.calculator-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, #0f2040 100%);
}

.calculator-inner {
  max-width: 800px;
  margin: 0 auto;
}

.calculator-title {
  color: var(--white);
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.calculator-subtitle {
  color: rgba(255,255,255,0.6);
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.calculator-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.calc-field label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  font-weight: 500;
}

.calc-field select,
.calc-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition);
}

.calc-field select:focus,
.calc-field input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}

.calc-field select option { background: var(--navy); color: var(--white); }

.calc-btn {
  width: 100%;
  padding: 16px;
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
}

.calc-result {
  display: none;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.calc-result.show { display: block; }

.calc-result-amount {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}

.calc-result-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 24px;
  background: var(--off-white);
  text-align: center;
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.cta-tag {
  display: inline-block;
  background: var(--gold-gradient);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 16px;
}

.cta-text {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 36px;
}

.btn-cta-main {
  display: inline-block;
  background: var(--gold-gradient);
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.05rem;
  padding: 18px 52px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
  transition: var(--transition);
  letter-spacing: 0.03em;
}

.btn-cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.5);
  color: var(--navy);
}

.cta-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* --- Article Content Styles --- */
.article-header {
  background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 60%, #0f2040 100%);
  padding: 60px 24px 80px;
  position: relative;
  overflow: hidden;
}

.article-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--off-white), transparent);
}

.article-header-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.article-category-tag {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.article-main-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.article-main-title .gold-text {
  background: var(--gold-shine);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: textShimmer 4s linear infinite;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.meta-item {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item span { color: rgba(255,255,255,0.8); }

/* --- Article Body --- */
.article-body {
  max-width: 820px;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin: 56px 0 24px;
  padding: 20px 24px 20px 28px;
  background: var(--warm-gray);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.4;
  position: relative;
}

.article-body h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.article-body h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gold-gradient);
}

.article-body h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h4::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

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

.article-body ul,
.article-body ol {
  margin: 16px 0 20px 0;
  padding-left: 0;
  list-style: none;
}

.article-body ul li,
.article-body ol li {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.9;
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid rgba(232,224,208,0.5);
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--gold-gradient);
  border-radius: 50%;
}

.article-body ol {
  counter-reset: ol-counter;
}

.article-body ol li {
  counter-increment: ol-counter;
}

.article-body ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 6px;
  width: 22px;
  height: 22px;
  background: var(--gold-gradient);
  color: var(--navy);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
}

/* --- Special Boxes --- */
.box-merit {
  background: linear-gradient(135deg, #f0fff4, #e8f5e9);
  border: 1px solid #a5d6a7;
  border-left: 5px solid #2e7d32;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0;
}

.box-demerit {
  background: linear-gradient(135deg, #fff8f0, #fff3e0);
  border: 1px solid #ffcc80;
  border-left: 5px solid #e65100;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0;
}

.box-warning {
  background: linear-gradient(135deg, #fff9f0, #fff3cd);
  border: 1px solid #ffd54f;
  border-left: 5px solid #f57f17;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0;
}

.box-info {
  background: linear-gradient(135deg, #f3f8ff, #e3f2fd);
  border: 1px solid #90caf9;
  border-left: 5px solid #1565c0;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0;
}

.box-gold {
  background: linear-gradient(135deg, #fffdf0, #fff8e1);
  border: 1px solid rgba(201,168,76,0.4);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0;
}

.box-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.box-merit .box-title { color: #2e7d32; }
.box-demerit .box-title { color: #e65100; }
.box-warning .box-title { color: #f57f17; }
.box-info .box-title { color: #1565c0; }
.box-gold .box-title { color: var(--gold-dark); }

/* --- Table --- */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
}

.data-table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.data-table th.gold { background: var(--gold-gradient); color: var(--navy); }

.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--off-white); }
.data-table tr:hover td { background: rgba(201,168,76,0.05); }

.td-gold {
  color: var(--gold-dark);
  font-weight: 700;
  font-family: var(--font-serif);
}

.td-green { color: #2e7d32; font-weight: 600; }
.td-orange { color: #e65100; font-weight: 600; }

/* --- TOC (Table of Contents) --- */
.toc-box {
  background: var(--warm-gray);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin: 40px 0;
}

.toc-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  padding: 0;
  counter-reset: toc-counter;
}

.toc-list li {
  counter-increment: toc-counter;
  border-bottom: 1px solid var(--border-color);
  padding: 0;
}

.toc-list li:last-child { border-bottom: none; }

.toc-list a {
  display: block;
  padding: 10px 0 10px 28px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition);
}

.toc-list a::before {
  content: counter(toc-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--gold-gradient);
  color: var(--navy);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toc-list a:hover { color: var(--gold-dark); padding-left: 32px; }

/* --- Sidebar --- */
.sidebar { position: sticky; top: 90px; }

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 14px 20px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-body { padding: 20px; }

/* Sidebar CTA */
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy), #0f2040);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 28px;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: var(--shadow-md);
}

.sidebar-cta-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.sidebar-cta-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  line-height: 1.7;
}

.btn-sidebar-cta {
  display: block;
  background: var(--gold-gradient);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 13px 20px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  text-align: center;
  letter-spacing: 0.02em;
}

.btn-sidebar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.45);
  color: var(--navy);
}

/* Popular Articles Widget */
.popular-list { list-style: none; padding: 0; }

.popular-list li {
  border-bottom: 1px solid var(--border-color);
  counter-increment: popular-counter;
}

.popular-list li:last-child { border-bottom: none; }

.popular-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: var(--transition);
  line-height: 1.5;
}

.popular-list a:hover { color: var(--gold-dark); }

.popular-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--warm-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.popular-list li:nth-child(1) .popular-num { background: #ffd700; color: #5a3e00; }
.popular-list li:nth-child(2) .popular-num { background: #c0c0c0; color: #3a3a3a; }
.popular-list li:nth-child(3) .popular-num { background: #cd7f32; color: #4a2a00; }

/* Cashback Mini Calculator Widget */
.mini-calc input, .mini-calc select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition);
}

.mini-calc input:focus, .mini-calc select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.mini-calc-btn {
  width: 100%;
  padding: 11px;
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.mini-calc-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.mini-calc-result {
  text-align: center;
  padding: 12px;
  background: var(--warm-gray);
  border-radius: var(--radius-sm);
  margin-top: 12px;
  display: none;
}

.mini-calc-result.show { display: block; }

.mini-calc-amount {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-dark);
}

/* --- FAQ Accordion --- */
.faq-section {
  padding: 80px 24px;
  background: var(--off-white);
}

.faq-inner { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.faq-question:hover { background: var(--warm-gray); }

.faq-q-label {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--gold-gradient);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
  font-family: var(--font-serif);
}

.faq-q-text {
  flex: 1;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.5;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer { max-height: 500px; }

.faq-answer-inner {
  padding: 0 24px 24px 68px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* --- Social Share --- */
.social-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0;
  padding: 24px;
  background: var(--warm-gray);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.share-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.share-x { background: #000; color: #fff; }
.share-line { background: #06C755; color: #fff; }
.share-copy { background: var(--warm-gray); color: var(--text-secondary); border: 1px solid var(--border-color); }
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* --- Floating CTA --- */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 200;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-cta.show {
  transform: translateY(0);
  opacity: 1;
}

.floating-cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gold-gradient);
  color: var(--navy);
  font-weight: 900;
  font-size: 0.88rem;
  padding: 14px 24px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
  transition: var(--transition);
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}

.floating-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.6);
  color: var(--navy);
}

.floating-cta-icon {
  width: 32px;
  height: 32px;
  background: rgba(26,26,46,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* --- Back to Top --- */
#back-to-top {
  position: fixed;
  bottom: 32px;
  left: 24px;
  z-index: 200;
  width: 48px;
  height: 48px;
  background: var(--navy);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

#back-to-top.show { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 60px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text span { color: var(--gold-light); }

.footer-desc {
  font-size: 0.8rem;
  line-height: 1.9;
  margin-top: 16px;
  color: rgba(255,255,255,0.45);
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer-disclaimer {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.9;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --- Utility Classes --- */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.highlight { background: linear-gradient(transparent 60%, rgba(201,168,76,0.25) 60%); }

/* Related Articles */
.related-articles {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.related-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.related-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-gradient);
  opacity: 0.3;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  line-height: 1.5;
}

.related-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 60px 20px 60px; }
  .hero-stats { gap: 24px; }
  .broker-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .broker-cashback { grid-column: 2; }
  .calc-row { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .article-body h2 { font-size: 1.25rem; }
  .floating-cta-btn span { display: none; }
  .faq-answer-inner { padding-left: 24px; }
  .article-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .header-inner { padding: 0 16px; }
  .hero { padding: 50px 16px 50px; }
  .main-wrapper { padding: 40px 16px; }
  .broker-card { padding: 20px; }
  .hero-cta-group { flex-direction: column; align-items: center; }
}
