:root {
  --hero-gradient: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%);
  --hero-overlay: #a66503;
  --body-bg: #2d3748;
  --content-bg: #1a202c;
  --accent-orange: #f76a0c;
  --accent-amber: #a66607;
  --accent-gold: #f7c05a;
  --accent-green: #1a9b50;
  --accent-green-hover: #158443;
  --text-white: #ffffff;
  --text-muted: #cbd5e0;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Ubuntu", sans-serif;
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--body-bg);
  color: var(--text-white);
  font-size: 17px;
  line-height: 1.6;
}

header {
  position: sticky;
  top: 0;
  background: var(--text-white);
  border-top: 4px solid var(--accent-amber);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
  padding: 0 1.5rem;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

header img {
  height: 40px;
  width: auto;
}

header nav {
  display: none;
}

header nav.active {
  display: flex;
}

@media (min-width: 768px) {
  header nav {
    display: flex;
  }
}

header nav a {
  color: #333;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover {
  color: var(--accent-amber);
}

.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

/* Hero */
.hero {
  background: var(--hero-gradient);
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(166, 101, 3, 0.15);
  clip-path: polygon(100% 0%, 50% 0%, 100% 100%);
}

.hero .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
}

.hero-content h1 {
  font-size: 2.5rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-subtext {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.btn-download {
  display: inline-block;
  background: var(--accent-green);
  color: var(--text-white);
  padding: 14px 32px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-download:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.security-verified {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.security-verified h3 {
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.security-badges {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.security-badges span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 4px;
}

.security-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
}

/* Stats Bar */
.stats-bar {
  background: var(--content-bg);
  padding: 2rem 1.5rem;
}

.stats-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  color: var(--accent-gold);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Features Grid */
.features {
  background: var(--body-bg);
  padding: 3rem 1.5rem;
}

.features .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 3rem;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--content-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  border-top: 3px solid var(--accent-gold);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card .icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 600;
}

/* Feature Highlights */
.feature-highlight {
  padding: 3rem 1.5rem;
  background: var(--body-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

@media (max-width: 767px) {
  .feature-highlight {
    grid-template-columns: 1fr;
  }
}

.feature-highlight:nth-child(even) {
  direction: rtl;
}

.feature-highlight:nth-child(even) > * {
  direction: ltr;
}

.feature-highlight-text h2 {
  color: var(--accent-gold);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.feature-highlight-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.feature-highlight img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--accent-amber) 0%, #8b5a00 100%);
  padding: 3rem 1.5rem;
  text-align: center;
}

.cta-band .container {
  max-width: 1200px;
  margin: 0 auto;
}

.cta-band h2 {
  color: var(--text-white);
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Content Section */
.content-section {
  background: var(--body-bg);
  padding: 3rem 1.5rem;
}

.content-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.content-box {
  background: var(--content-bg);
  padding: 2rem;
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
}

.content-box h2 {
  color: var(--accent-gold);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.content-box h3 {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.content-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.content-box ul,
.content-box ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.content-box li {
  margin-bottom: 0.5rem;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--content-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  background: var(--accent-amber);
  color: var(--text-white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

td {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.04);
}

/* Accordion / FAQ */
.faq-section {
  background: var(--body-bg);
  padding: 3rem 1.5rem;
}

.faq-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-section h2 {
  color: var(--accent-gold);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

details {
  background: var(--content-bg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent-amber);
  border-radius: var(--border-radius);
  cursor: pointer;
}

details summary {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 1.1rem;
  outline: none;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details summary::marker {
  color: var(--accent-gold);
}

details[open] summary {
  margin-bottom: 1rem;
}

details p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Footer */
footer {
  background: var(--content-bg);
  border-top: 2px solid var(--text-white);
  padding: 3rem 1.5rem 2rem;
  color: var(--text-muted);
  text-align: center;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

footer img {
  height: 30px;
  margin-bottom: 1.5rem;
}

footer nav {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

footer nav a {
  color: var(--text-white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

footer nav a:hover {
  background: var(--accent-amber);
}

footer p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

footer .disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  color: #888;
  font-size: 0.8rem;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Responsive Tables */
@media (max-width: 768px) {
  table {
    font-size: 0.9rem;
  }

  th,
  td {
    padding: 0.75rem;
  }
}