/* ═══ DESIGN TOKENS ═══ */
:root {
  --navy:    #06121e;
  --navy2:   #0a1c2e;
  --navy3:   #0f2438;
  --navy4:   #162f47;
  --gold:    #007a8a;
  --gold2:   #00c4d8;
  --gold3:   #7fe3ee;
  --red:     #e8502a;
  --white:   #ffffff;
  --mid:     #8890aa;
  --border:  rgba(0,158,176,0.18);
  --card-bg: #ffffff;
  --txt1:    #0d0b1e;
  --txt2:    #2d2b42;
  --txt3:    #6e6a88;
  --txt4:    #9e9ab8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #f0eef8;
  color: var(--txt1);
  overflow-x: hidden;
}


/* ═══ HERO BANNER ═══ */
.tc-hero {
  margin-top: 70px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a0a2e 50%, var(--navy2) 100%);
  position: relative; overflow: hidden;
  padding: 64px 40px 56px;
  border-bottom: 1px solid var(--border);
}
.tc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,158,176,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.tc-hero::after {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,158,176,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.tc-hero-inner {
  max-width: 1140px; margin: 0 auto;
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 24px;
}
.tc-hero-icon {
  width: 72px; height: 72px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,158,176,0.15), rgba(0,158,176,0.05));
  border: 1.5px solid rgba(0,158,176,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tc-hero-icon svg { width: 36px; height: 36px; }
.tc-hero-text {}
.tc-hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,158,176,0.1); border: 1px solid rgba(0,158,176,0.25);
  border-radius: 100px; padding: 5px 14px; margin-bottom: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold2);
}
.tc-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 700;
  color: #fff; letter-spacing: -0.5px; line-height: 1.1;
  margin-bottom: 10px;
}
.tc-hero-title em { color: var(--gold2); font-style: italic; }
.tc-hero-meta { font-size: 13px; color: var(--mid); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tc-hero-meta span { display: flex; align-items: center; gap: 5px; }

/* ═══ LAYOUT ═══ */
.tc-wrap {
  max-width: 1140px; margin: 0 auto;
  padding: 40px 20px 80px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

/* ═══ SIDEBAR TOC ═══ */
.tc-toc {
  position: sticky; top: 90px;
  background: #fff;
  border: 1.5px solid rgba(100,80,180,0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.tc-toc::-webkit-scrollbar { width: 4px; }
.tc-toc::-webkit-scrollbar-track { background: transparent; }
.tc-toc::-webkit-scrollbar-thumb { background: rgba(100,80,180,0.2); border-radius: 4px; }
.toc-head {
  padding: 14px 16px;
  background: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.toc-head-title {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold2);
}
.toc-list { list-style: none; padding: 8px 0; }
.toc-list li a {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  font-size: 12px; font-weight: 500; color: var(--txt3);
  text-decoration: none; transition: all 0.15s;
  border-left: 2px solid transparent;
  line-height: 1.35;
}
.toc-list li a:hover,
.toc-list li a.active {
  color: var(--navy);
  background: rgba(100,80,180,0.05);
  border-left-color: var(--gold);
  font-weight: 600;
}
.toc-num {
  font-size: 9px; font-weight: 800; color: var(--gold);
  background: rgba(0,158,176,0.1);
  border-radius: 4px; padding: 1px 5px;
  flex-shrink: 0;
}
.toc-divider { height: 1px; background: rgba(0,0,0,0.06); margin: 4px 10px; }

/* ═══ MAIN CONTENT ═══ */
.tc-content {}

/* Important notice bar */
.tc-notice {
  background: linear-gradient(135deg, #fff8e6, #fffbf0);
  border: 1.5px solid rgba(0,158,176,0.4);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex; gap: 12px; align-items: flex-start;
}
.tc-notice-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.tc-notice-text { font-size: 12px; color: #5a4a00; line-height: 1.6; }
.tc-notice-text strong { color: #3a2f00; font-weight: 700; }

/* Section cards */
.tc-section {
  background: #fff;
  border: 1.5px solid rgba(100,80,180,0.1);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}
.tc-section:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.tc-section:target { box-shadow: 0 0 0 2.5px var(--gold), 0 6px 28px rgba(0,158,176,0.15); }
.tc-section-head {
  padding: 18px 24px;
  background: linear-gradient(135deg, #fafafe, #f5f3fc);
  border-bottom: 1px solid rgba(100,80,180,0.08);
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.tc-section-num {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--navy); color: var(--gold2);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tc-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700; color: var(--navy);
  flex: 1; letter-spacing: -0.2px;
}
.tc-section-chevron {
  width: 20px; height: 20px;
  color: var(--txt4); transition: transform 0.22s;
  flex-shrink: 0;
}
.tc-section.open .tc-section-chevron { transform: rotate(180deg); }
.tc-section-body {
  display: none;
  padding: 22px 24px 24px;
}
.tc-section.open .tc-section-body { display: block; }

/* Typography inside sections */
.tc-section-body p {
  font-size: 13.5px; color: var(--txt2); line-height: 1.8;
  margin-bottom: 14px;
}
.tc-section-body p:last-child { margin-bottom: 0; }
.tc-section-body h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin: 18px 0 8px; letter-spacing: -0.1px;
}
.tc-section-body ul, .tc-section-body ol {
  padding-left: 20px; margin-bottom: 14px;
}
.tc-section-body li {
  font-size: 13.5px; color: var(--txt2);
  line-height: 1.75; margin-bottom: 5px;
}
.tc-section-body ul li::marker { color: var(--gold); }
.tc-section-body ol li::marker { color: var(--navy); font-weight: 700; font-size: 12px; }

/* Highlight boxes */
.tc-box {
  border-radius: 10px;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.7;
}
.tc-box.info { background: #f0f4ff; border-left: 3px solid #3b82f6; color: #1e3a6e; }
.tc-box.warn { background: #fff7ed; border-left: 3px solid #f59e0b; color: #78350f; }
.tc-box.danger { background: #fff1f2; border-left: 3px solid var(--red); color: #7f1d1d; }
.tc-box.success { background: #f0fdf4; border-left: 3px solid #16a34a; color: #14532d; }
.tc-box strong { font-weight: 700; }

/* Table */
.tc-table {
  width: 100%; border-collapse: collapse;
  font-size: 12.5px; margin: 16px 0; border-radius: 10px; overflow: hidden;
}
.tc-table th {
  background: var(--navy); color: var(--gold2);
  padding: 10px 14px; text-align: left;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
}
.tc-table td {
  padding: 10px 14px; border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--txt2); vertical-align: top;
}
.tc-table tr:last-child td { border-bottom: none; }
.tc-table tr:nth-child(even) td { background: rgba(100,80,180,0.03); }
.tc-table td:first-child { font-weight: 600; color: var(--navy); }

/* Contact CTA */
.tc-cta {
  background: linear-gradient(135deg, var(--navy), #1a0a2e);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  margin-top: 28px;
  border: 1px solid rgba(0,158,176,0.2);
}
.tc-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700; color: #fff;
  margin-bottom: 8px;
}
.tc-cta-sub { font-size: 13px; color: var(--mid); margin-bottom: 20px; line-height: 1.6; }
.tc-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.tc-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px;
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: all 0.18s; cursor: pointer; border: none;
  font-family: 'DM Sans', sans-serif;
}
.tc-cta-btn.primary { background: linear-gradient(135deg,var(--gold),var(--gold2)); color: var(--navy); }
.tc-cta-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,158,176,0.35); }
.tc-cta-btn.ghost { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.15); }
.tc-cta-btn.ghost:hover { background: rgba(255,255,255,0.14); }

/* Last updated bar */
.tc-footer-bar {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 11px; color: var(--mid);
}
.tc-footer-bar a { color: var(--gold2); text-decoration: none; }

/* ═══ MOBILE ═══ */
@media(max-width:900px){
  .navbar { padding: 0 16px; }
  .tc-hero { padding: 48px 20px 40px; }
  .tc-wrap { grid-template-columns: 1fr; padding: 20px 12px 60px; }
  .tc-toc { position: static; max-height: none; }
  .tc-section-body { padding: 16px 16px 18px; }
  .tc-section-head { padding: 14px 16px; }
}
@media(max-width:600px){
  .tc-hero-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tc-hero-title { font-size: 28px; }
  .tc-table { font-size: 11px; }
  .tc-table th, .tc-table td { padding: 8px 10px; }
}

