@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #0a0a1a;
  --bg-card: #1a1a3e;
  --gold: #f0b90b;
  --blue: #4a90d9;
  --text-light: #e0e0e0;
  --text-dark: #ffffff;
  --success: #27ae60;
  --danger: #e74c3c;
  --warning: #f39c12;
  --border: #2a2a4e;
  --shadow: rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* Header & Navigation */
header {
  background-color: var(--bg-card);
  border-bottom: 2px solid var(--gold);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px var(--shadow);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 8px 20px var(--shadow);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-light);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: var(--gold);
  color: var(--bg-dark);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1001;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--bg-card);
    padding: 2rem;
    gap: 1rem;
    box-shadow: 0 8px 20px var(--shadow);
  }

  nav ul.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  background-color: var(--bg-card);
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumbs li::after {
  content: '→';
  margin-left: 0.5rem;
  color: var(--gold);
}

.breadcrumbs li:last-child::after {
  content: '';
}

.breadcrumbs a {
  color: var(--blue);
  font-weight: 500;
}

/* Main Layout */
main {
  min-height: calc(100vh - 300px);
  padding: 3rem 0;
}

section {
  margin-bottom: 4rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a2a5e 100%);
  padding: 4rem 0;
  border-radius: 8px;
  margin-bottom: 3rem;
  border: 2px solid var(--gold);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--gold);
  color: var(--bg-dark);
  border: 2px solid var(--gold);
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.btn:hover {
  background-color: transparent;
  color: var(--gold);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--blue);
  border-color: var(--blue);
  color: white;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--blue);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--bg-dark);
}

.btn-danger {
  background-color: var(--danger);
  border-color: var(--danger);
  color: white;
}

.btn-danger:hover {
  background-color: transparent;
  color: var(--danger);
}

/* Cards */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px var(--shadow);
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.2);
}

.card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.card h3 {
  margin: 0;
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Grid Systems */
.grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  margin: 2rem 0;
}

table th {
  background-color: var(--gold);
  color: var(--bg-dark);
  padding: 1rem;
  text-align: left;
  font-weight: 700;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

table tr:hover {
  background-color: #1a2a5e;
}

table tr:last-child td {
  border-bottom: none;
}

/* Lists */
ul, ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* FAQ Accordion */
.faq-container {
  margin: 2rem 0;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--gold);
}

.faq-question {
  background-color: var(--bg-card);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background-color: #1a2a5e;
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
  background-color: #0a1a3a;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--bg-card);
  border-top: 2px solid var(--gold);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
  margin-left: 0;
}

.footer-section li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: var(--text-light);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

input, textarea, select {
  width: 100%;
  padding: 0.8rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(240, 185, 11, 0.3);
}

/* Step Guide */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.step {
  background-color: var(--bg-card);
  border-left: 4px solid var(--gold);
  padding: 2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.step:hover {
  box-shadow: 0 8px 20px var(--shadow);
  transform: translateY(-5px);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.step h3 {
  margin-top: 0;
}

/* Stats */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-box {
  text-align: center;
  padding: 2rem;
  background-color: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.stat-box:hover {
  border-color: var(--gold);
  transform: scale(1.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 1rem;
}

/* Related Pages */
.related-pages {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem 0;
}

.related-pages h3 {
  margin-top: 0;
  color: var(--gold);
}

.related-pages ul {
  list-style: none;
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.related-pages a {
  display: block;
  padding: 0.8rem;
  background-color: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.related-pages a:hover {
  background-color: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
  text-decoration: none;
}

/* Author Info */
.author-info {
  background-color: #1a2a5e;
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.author-info strong {
  color: var(--gold);
}

/* Disclaimer */
.disclaimer {
  background-color: rgba(227, 76, 60, 0.1);
  border-left: 4px solid var(--danger);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.disclaimer h4 {
  color: var(--danger);
  margin-top: 0;
}

/* Highlight Box */
.highlight-box {
  background-color: rgba(240, 185, 11, 0.1);
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.highlight-box strong {
  color: var(--gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  nav ul {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  nav ul {
    gap: 0.5rem;
  }

  nav a {
    padding: 0.3rem 0.5rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-cta {
    gap: 0.5rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .card {
    padding: 1.5rem;
  }

  .footer-content {
    gap: 1rem;
  }

  table {
    font-size: 0.9rem;
  }

  table th, table td {
    padding: 0.7rem;
  }

  .stats-container {
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

  .hero {
    padding: 1.5rem 0;
  }

  .hero h1 {
    font-size: 1.3rem;
  }

  .container {
    padding: 0 1rem;
  }

  table {
    font-size: 0.8rem;
  }

  table th, table td {
    padding: 0.5rem;
  }
}
