@import url('https://googleapis.com');

:root {
  --purple-deep: #241047;
  --purple-dark: #3a1a70;
  --purple-main: #582ca6;
  --purple-tint: #f3effa;
  --purple-border: #b9a7db;
  --gold-top: #fff099;
  --gold-mid: #f5c71a;
  --gold-bot: #d9a300;
  --white: #ffffff;
  --page-bg: #e2dfeb;
  --text-dark: #1d1826;
  --text-muted: #4d455e;
  --code-bg: #171124;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, "Didact Gothic", Verdana, Tahoma, sans-serif;
  color: var(--text-dark);
  background: var(--page-bg);
  line-height: 1.5;
  font-size: 13.5px;
}

.container { max-width: 980px; margin: 0 auto; padding: 0 16px; }

code {
  font-family: Consolas, "Courier New", monospace;
  background: #f1ecfa;
  color: #421d82;
  border: 1px solid #d2c4ed;
  padding: 1px 5px;
  border-radius: 2px;
  font-size: 12px;
}

.icon-xs { width: 13px; height: 13px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.icon-lg { width: 24px; height: 24px; flex-shrink: 0; }
.icon-inline { display: inline-flex; align-items: center; gap: 6px; }
.icon-center { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }

.top-bar {
  background: linear-gradient(180deg, #331763 0%, #241047 50%, #1c0b38 51%, #26124a 100%);
  color: #e0d4f7;
  font-size: 11.5px;
  border-bottom: 1px solid #120626;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.top-tabs { display: flex; }
.top-tab {
  color: #e0d4f7;
  text-decoration: none;
  padding: 6px 13px;
  border-right: 1px solid #44237d;
}
.top-tab:hover, .top-tab.active {
  background: linear-gradient(180deg, #6838bd 0%, #4d2496 50%, #401b80 51%, #552aa3 100%);
  color: var(--white);
  font-weight: bold;
}
.top-meta { padding: 5px 0; font-family: Consolas, "Courier New", monospace; font-size: 11px; color: #cbbaf0; }

.site-header {
  background: linear-gradient(180deg, #6b3bc2 0%, #562aa3 50%, #48208c 51%, #5c2fad 100%);
  color: var(--white);
  border-bottom: 1px solid #2b1159;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  gap: 14px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: #28124f;
  border: 2px solid #9d77e6;
  padding: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.brand-title {
  display: block;
  font-size: 27px;
  font-weight: bold;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.55);
}
.brand-sub { font-family: Tahoma, Verdana, sans-serif; font-size: 11.5px; color: #e8defa; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search-box {
  display: flex;
  background: #2b1354;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid #8c63d9;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45);
}
.search-box input {
  background: var(--white);
  border: 1px solid #777;
  padding: 4px 9px;
  border-radius: 2px;
  font-family: Tahoma, sans-serif;
  font-size: 12px;
  width: 205px;
  color: var(--text-dark);
}
.search-box button {
  background: linear-gradient(180deg, #8b5ce0 0%, #6838bd 50%, #5528a6 51%, #6d3cc4 100%);
  color: var(--white);
  border: 1px solid #35156e;
  padding: 4px 11px;
  margin-left: 4px;
  border-radius: 3px;
  font-weight: bold;
  font-size: 11.5px;
  cursor: pointer;
}

.main-nav {
  background: linear-gradient(180deg, #f9f7fc 0%, #ebe5f5 50%, #dcd2ed 51%, #ebe5f5 100%);
  border-top: 1px solid #ffffff;
  border-bottom: 2px solid #48208c;
}
.nav-inner { display: flex; flex-wrap: wrap; }
.nav-inner a {
  color: #36176e;
  text-decoration: none;
  padding: 9px 16px;
  font-weight: bold;
  font-size: 12.5px;
  border-right: 1px solid #c8bae3;
  text-shadow: 0 1px 0 #ffffff;
}
.nav-inner a:hover {
  background: linear-gradient(180deg, #6e3ec2 0%, #53299e 50%, #441e87 51%, #5b2fab 100%);
  color: var(--white);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.btn {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  font-size: 12.5px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 1px 3px rgba(0, 0, 0, 0.25);
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-top) 0%, var(--gold-mid) 50%, var(--gold-bot) 51%, #f2c218 100%);
  color: #241047;
  border: 1px solid #9e7800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-white {
  background: linear-gradient(180deg, #ffffff 0%, #f0ecf7 50%, #dfd7ed 51%, #f2eef9 100%);
  color: #36176e;
  border: 1px solid #9f8cc4;
}
.btn-outline-light {
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.08) 50%, rgba(0,0,0,0.12) 51%, rgba(255,255,255,0.14) 100%);
  border: 1px solid #cbbaf0;
  color: var(--white);
}
.btn-purple {
  background: linear-gradient(180deg, #8454db 0%, #6333b8 50%, #50249e 51%, #6a39c2 100%);
  color: var(--white);
  border: 1px solid #321369;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.45);
}
.btn-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #f2eef9 50%, #e4dcf2 51%, #f5f2fa 100%);
  color: #3d1c78;
  border: 1px solid #b5a3d6;
  text-align: center;
}
.btn-large { font-size: 13.5px; padding: 10px 16px; text-align: center; }
.btn-sm { padding: 5px 10px; font-size: 11.5px; }

.hero-section {
  background: linear-gradient(180deg, #3a1a70 0%, #26104d 100%);
  color: var(--white);
  padding: 24px 0 28px;
  border-bottom: 3px solid var(--gold-mid);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: center; }

.code-window {
  background: var(--code-bg);
  border-radius: 4px;
  border: 1px solid #8964cf;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}
.code-tabs {
  display: flex;
  background: linear-gradient(180deg, #3c226b 0%, #2a164f 50%, #211040 51%, #2d1854 100%);
  border-bottom: 1px solid #593994;
}
.code-tab {
  background: transparent;
  color: #dcd0f5;
  border: none;
  border-right: 1px solid #482c7d;
  padding: 7px 11px;
  font-family: Tahoma, sans-serif;
  font-size: 11.5px;
  font-weight: bold;
  cursor: pointer;
}
.code-tab.active, .code-tab:hover { background: var(--code-bg); color: #ffe066; }
.code-body { padding: 13px 15px; min-height: 198px; overflow-x: auto; }
.code-body pre, .code-body code { background: transparent; border: none; color: #f3ebff; font-size: 12px; line-height: 1.45; padding: 0; }
.code-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  background: #231838;
  border-top: 1px solid #3c2b5c;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  color: #cbbaf0;
}
.btn-mini {
  background: linear-gradient(180deg, #5c3a99 0%, #432678 100%);
  color: var(--white);
  border: 1px solid #7b55bf;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
}

.hero-info h1 { font-size: 23px; line-height: 1.25; margin-bottom: 10px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
.highlight-text { color: #ffe066; }
.hero-info p { color: #ede6fa; margin-bottom: 16px; font-size: 13px; }
.hero-info code { background: #210e42; border-color: #6c46b5; color: #ffe066; }
.hero-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.main-content {
  background: var(--white);
  max-width: 980px;
  margin: 14px auto;
  border: 1px solid #b4a7cc;
  box-shadow: 0 2px 6px rgba(36, 16, 71, 0.14);
}

.section { padding: 28px 0; border-bottom: 1px solid #d5cde3; }
.section-alt { background: #f8f6fc; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 7px 12px;
  background: linear-gradient(180deg, #f5f2fa 0%, #e6dff2 50%, #dad0eb 51%, #e8e2f2 100%);
  border: 1px solid #b9a7db;
  border-left: 4px solid var(--purple-main);
  border-radius: 3px;
  flex-wrap: wrap;
  gap: 8px;
}
.section-header h2 {
  color: var(--purple-deep);
  font-size: 18px;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 0 #ffffff;
}
.section-sub { font-family: Tahoma, sans-serif; color: var(--text-muted); font-size: 11.5px; }
.badge-purple {
  background: linear-gradient(180deg, #6e3ec2 0%, #52279e 100%);
  color: var(--white);
  border: 1px solid #35156e;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: Tahoma, sans-serif;
  font-weight: bold;
  font-size: 11px;
}

.download-card {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  background: var(--white);
  border: 1px solid #b8a8d6;
  border-radius: 4px;
  padding: 18px;
  box-shadow: inset 0 1px 0 #ffffff, 0 1px 3px rgba(0, 0, 0, 0.08);
}
.zip-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.zip-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #eae3f5 50%, #dcd2ed 51%, #ebe5f5 100%);
  border: 1px solid #ab99cc;
  color: var(--purple-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.zip-header h3 { font-family: Consolas, "Courier New", monospace; font-size: 16px; color: var(--purple-deep); }
.zip-meta { color: var(--text-muted); font-size: 12px; font-family: Tahoma, sans-serif; }
.zip-contents h4 {
  color: var(--purple-dark);
  margin-bottom: 6px;
  font-size: 12.5px;
  border-bottom: 1px dotted #c4b6de;
  padding-bottom: 3px;
}
.zip-contents ul { padding-left: 18px; font-size: 12.5px; }
.zip-contents li { margin-bottom: 4px; }

.download-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, #f9f7fc 0%, #ede8f7 100%);
  padding: 14px;
  border-radius: 4px;
  border: 1px solid #c3b4de;
}
.install-steps {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dotted #b9a7db;
  font-family: Tahoma, sans-serif;
  font-size: 11.5px;
  color: var(--text-muted);
}
.install-steps ol { padding-left: 18px; margin-top: 4px; }

.stats-grid, .analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.stat-card, .analytic-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f0fa 100%);
  border: 1px solid #b9a7db;
  border-top: 3px solid var(--purple-main);
  border-radius: 3px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.stat-value, .analytic-num {
  font-family: Consolas, "Courier New", monospace;
  font-size: 20px;
  font-weight: bold;
  color: var(--purple-deep);
  display: block;
  margin: 3px 0;
}
.stat-label, .analytic-title { font-weight: bold; color: var(--text-dark); font-size: 12.5px; }
.stat-detail, .analytic-foot { font-family: Tahoma, sans-serif; font-size: 11px; color: var(--text-muted); margin-top: 2px; display: block; }

.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-box {
  background: var(--white);
  border: 1px solid #c2b3de;
  border-radius: 3px;
  padding: 13px 15px;
}
.feature-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.feature-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ffffff 0%, #e7dff5 100%);
  border: 1px solid #b3a1d4;
  color: var(--purple-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-box h3 { color: var(--purple-deep); font-size: 15px; }
.feature-box p { color: var(--text-muted); font-size: 12.5px; }

.status-pill {
  background: linear-gradient(180deg, #ffffff 0%, #ebe4f7 100%);
  color: var(--purple-deep);
  padding: 2px 9px;
  border-radius: 3px;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  font-weight: bold;
  border: 1px solid #b5a3d6;
}
.code-breakdown {
  background: var(--white);
  border: 1px solid #c2b3de;
  border-radius: 3px;
  padding: 12px 14px;
}
.breakdown-header { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 7px; }
.progress-track {
  display: flex;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid #9e8cc2;
  background: #ede8f7;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}
.seg-c { background: linear-gradient(180deg, #7c4bd4 0%, #52279e 100%); }
.seg-bd { background: linear-gradient(180deg, #ffe066 0%, #e0b00b 100%); }
.seg-bat { background: #a78bfa; }
.breakdown-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 7px; font-family: Tahoma, sans-serif; font-size: 11.5px; color: var(--text-muted); }
.dot { display: inline-block; width: 9px; height: 9px; border: 1px solid #6b5891; margin-right: 4px; }
.dot-c { background: var(--purple-main); }
.dot-bd { background: var(--gold-mid); }
.dot-bat { background: #a78bfa; }

.pdf-viewer-shell {
  background: var(--white);
  border: 1px solid #a998c9;
  border-radius: 4px;
  overflow: hidden;
}
.pdf-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, #fcfbfe 0%, #ebe4f5 50%, #dcd2ed 51%, #ebe4f5 100%);
  border-bottom: 1px solid #a998c9;
}
.pdf-tab {
  background: transparent;
  border: none;
  border-right: 1px solid #bdaed9;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
}
.pdf-tab:last-child { border-right: none; }
.pdf-tab:hover { background: rgba(255, 255, 255, 0.55); }
.pdf-tab.active {
  background: linear-gradient(180deg, #6e3ec2 0%, #53299e 50%, #441e87 51%, #5b2fab 100%);
  color: var(--white);
}
.doc-num { display: block; font-family: Consolas, monospace; font-size: 10.5px; font-weight: bold; color: var(--purple-main); }
.pdf-tab.active .doc-num { color: #ffe066; }
.doc-name { font-size: 12.5px; font-weight: bold; }
.pdf-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 12px;
  background: linear-gradient(180deg, #3c1c75 0%, #271052 100%);
  color: var(--white);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}
.btn-mini-purple {
  background: linear-gradient(180deg, var(--gold-top) 0%, var(--gold-mid) 50%, var(--gold-bot) 51%, #f2c218 100%);
  color: #241047;
  border: 1px solid #9e7800;
  padding: 3px 9px;
  border-radius: 3px;
  text-decoration: none;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  font-weight: bold;
}
.pdf-frame-wrapper { width: 100%; height: 720px; background: #3b3547; }
.pdf-frame-wrapper iframe { width: 100%; height: 100%; border: none; }

.site-footer {
  background: linear-gradient(180deg, #331763 0%, #1f0e3d 100%);
  color: #e0d4f7;
  padding: 20px 0;
  font-family: Tahoma, sans-serif;
  font-size: 11.5px;
  border-top: 2px solid var(--purple-main);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--white); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #d5c5f5; text-decoration: none; }
.footer-links a:hover { color: #ffe066; text-decoration: underline; }
.copyright { font-size: 11px; color: #b5a0de; }

@media (max-width: 900px) {
  .hero-grid, .download-card { grid-template-columns: 1fr; }
  .stats-grid, .analytics-grid, .pdf-tabs { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .stats-grid, .analytics-grid, .pdf-tabs { grid-template-columns: 1fr; }
  .pdf-frame-wrapper { height: 500px; }
}
