* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #fed829;
  --red: #ff0000;
  --orange: #f26520;
  --dark: #222;
  --gray: #333;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
header.site-header {
  background: #111;
  border-bottom: 3px solid var(--gold);
}
.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.brand img { width: 42px; height: 42px; }
.brand span i { color: var(--gold); font-style: normal; }
nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
nav a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 3px;
}
nav a:hover, nav a.active {
  background: var(--gold);
  color: #111;
  text-decoration: none;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown .dropbtn { cursor: pointer; }
.dropdown .dropbtn i { font-size: 11px; margin-left: 4px; }
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  min-width: 200px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 1000;
  border: 1px solid #333;
}
.dropdown-content a {
  display: block;
  padding: 10px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #2a2a2a;
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover {
  background: var(--gold);
  color: #111;
  text-decoration: none;
}
.dropdown:hover .dropdown-content { display: block; }

/* Hero */
.hero {
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65)),
    url('images/banner.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 110px 24px;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #000;
}
.hero h1 .gold { color: var(--gold); }
.hero h1 .red { color: var(--red); }
.hero p.sub {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Page banner (inner pages) */
.page-banner {
  background: #111;
  border-bottom: 3px solid var(--gold);
  color: #fff;
  text-align: center;
  padding: 70px 24px;
}
.page-banner h2 {
  font-size: 42px;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 2px 2px 0 #000;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: #111 !important;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  border: 2px solid #111;
  margin-top: 24px;
  transition: all 0.2s;
}
.btn:hover {
  background: var(--red);
  color: #fff !important;
  text-decoration: none;
}
.btn.silver {
  background: #e8e8e8;
  color: #111 !important;
}
.btn.silver:hover {
  background: var(--gold);
}

/* Sections */
section { padding: 70px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.center { text-align: center; }

h2.section-title {
  font-size: 36px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 10px;
}
h2.section-title .accent { color: var(--red); }
hr.divider {
  width: 80px;
  border: none;
  border-top: 4px solid var(--orange);
  margin: 12px auto 30px;
}

.intro-text {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 17px;
}

/* Feature boxes */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.feature {
  text-align: center;
  padding: 30px 20px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 4px;
}
.feature .icon {
  font-size: 48px;
  color: var(--orange);
  margin-bottom: 16px;
}
.feature p { font-size: 16px; color: #555; }

/* Alt background */
.alt-bg { background: #f6f6f6; }
.dark-bg {
  background: #111;
  color: #fff;
}
.dark-bg h2.section-title { color: var(--gold); }
.dark-bg h5 { color: #fff; font-size: 16px; margin-bottom: 10px; letter-spacing: 1px; }

/* Q&A */
.qa { max-width: 820px; margin: 0 auto; }
.qa .item { margin-bottom: 30px; }
.qa h3 {
  color: var(--orange);
  font-size: 22px;
  margin-bottom: 8px;
}
.qa p { color: #555; }

/* Blog / Posts */
.posts-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .posts-layout { grid-template-columns: 1fr; }
}
.post-card {
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 20px;
  background: #fff;
}
.post-card h3 a { color: #222; }
.post-card h3 a:hover { color: var(--orange); }
.post-card .meta {
  font-size: 13px;
  color: #888;
  margin: 6px 0 12px;
}
.widget {
  background: #111;
  color: #fff;
  padding: 24px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.widget h2 {
  color: var(--gold);
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
}
.widget ul { list-style: none; }
.widget li { margin: 8px 0; }
.widget a { color: #fff; }
.widget a:hover { color: var(--gold); }

/* Blog post body */
article.post h1 {
  font-size: 38px;
  color: #222;
  margin-bottom: 20px;
}
article.post h2 {
  font-size: 26px;
  color: var(--orange);
  margin: 28px 0 10px;
}
article.post p { margin-bottom: 16px; font-size: 17px; }
article.post img {
  max-width: 100%;
  border-radius: 4px;
  margin: 20px 0;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}
form.contact input,
form.contact textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
}
form.contact textarea { resize: vertical; }
.info-box {
  text-align: center;
  padding: 40px 24px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 4px;
}
.info-box .icon {
  font-size: 54px;
  color: var(--orange);
  margin-bottom: 14px;
}
.info-box h5 {
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

/* Download page */
.download-cta {
  background: linear-gradient(135deg, #111 0%, #333 100%);
  color: #fff;
  text-align: center;
  padding: 90px 24px;
}
.download-cta .icon {
  font-size: 80px;
  color: #fff;
  margin-bottom: 20px;
}
.download-cta h2 {
  color: var(--gold);
  font-size: 42px;
  text-transform: uppercase;
}
.download-cta h4 {
  font-size: 22px;
  margin: 10px 0 16px;
  font-weight: 400;
}

/* Footer */
footer.site-footer {
  background: #0c0c0c;
  color: #ccc;
  padding: 50px 24px 24px;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}
footer h3 {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 10px;
}
footer h2 {
  color: #fff;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
footer a { color: var(--gold); }
.copyright {
  max-width: 1100px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid #222;
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* Platform pages - tool cards */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.tool-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}
.tool-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.tool-card h3 {
  font-size: 22px;
  color: #222;
  margin-bottom: 4px;
}
.tool-card .badge {
  display: inline-block;
  background: var(--gold);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin: 6px 4px 12px 0;
  letter-spacing: 0.5px;
}
.tool-card .badge.green { background: #27ae60; color: #fff; }
.tool-card .badge.blue { background: #2980b9; color: #fff; }
.tool-card .badge.red { background: var(--red); color: #fff; }
.tool-card p { color: #555; font-size: 15px; margin-bottom: 10px; }
.tool-card ul { list-style: none; margin: 10px 0 16px; }
.tool-card li {
  padding: 4px 0;
  font-size: 14px;
  color: #555;
}
.tool-card li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--orange);
  margin-right: 8px;
  font-size: 12px;
}
.tool-card .btn { margin-top: 10px; padding: 10px 24px; font-size: 14px; }

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 15px;
}
.comparison-table th {
  background: #111;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  text-align: left;
}
.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  color: #444;
}
.comparison-table tr:nth-child(even) { background: #f9f9f9; }
.comparison-table tr:hover { background: #fff8dc; }

/* Platform FAQ */
.platform-faq { max-width: 820px; margin: 0 auto; }
.platform-faq details {
  margin-bottom: 12px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
}
.platform-faq summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  color: #222;
}
.platform-faq summary:hover { color: var(--orange); }
.platform-faq details[open] summary { border-bottom: 1px solid #eee; color: var(--orange); }
.platform-faq details p { padding: 16px 20px; color: #555; font-size: 15px; margin: 0; }

/* Code blocks */
.code-block {
  background: #1a1a2e;
  border-radius: 6px;
  margin: 20px 0;
  overflow: hidden;
}
.code-block .code-header {
  background: #16213e;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2a2a4a;
}
.code-block .code-header span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.code-block .code-header .lang {
  color: #888;
  font-size: 12px;
  text-transform: uppercase;
}
.code-block pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
}
.code-block code {
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  color: #e2e8f0;
}
.code-block .comment { color: #6b7280; }
.code-block .keyword { color: #c084fc; }
.code-block .string { color: #34d399; }
.code-block .function { color: #60a5fa; }
.code-block .number { color: #f59e0b; }
.code-block .type { color: #38bdf8; }

/* Tutorial steps */
.step {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: #111;
  font-size: 22px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content { flex: 1; }
.step-content h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 8px;
}
.step-content p { color: #555; font-size: 16px; margin-bottom: 10px; }
@media (max-width: 640px) {
  .step { flex-direction: column; gap: 10px; }
}

/* Language tabs */
.lang-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.lang-tab {
  padding: 10px 20px;
  background: #222;
  color: #aaa;
  border: none;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.lang-tab:hover { color: #fff; background: #333; }
.lang-tab.active { background: #1a1a2e; color: var(--gold); }
.lang-panel { display: none; }
.lang-panel.active { display: block; }

/* Simple icon replacements using unicode */
.fa { font-family: inherit; font-style: normal; }
