:root {
  --base: #13261d;
  --base-surface: #1a3327;
  --base-lighter: #234233;
  --accent: #b8923a;
  --accent-hover: #d1a94a;
  --text: #efe6d2;
  --text-muted: #c4bca8;
  --radius-panel: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: system-ui, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--base);
  overflow-wrap: anywhere;
  hyphens: auto;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: system-ui, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}

h1 { font-size: 3rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1.5rem; }

/* Background Glow */
.bg-glow-section {
  position: relative;
  z-index: 1;
}
.bg-glow-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100%;
  background: radial-gradient(circle at center, rgba(184, 146, 58, 0.08) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.reading-container {
  max-width: 72ch;
  margin: 0 auto;
}

/* Header */
.header-wrapper {
  position: relative;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
}
.floating-header {
  margin: 0 auto;
  width: 94%;
  max-width: 1200px;
  background: var(--base-surface);
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  border: 1px solid rgba(184, 146, 58, 0.2);
}
.brand a {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.desktop-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after {
  width: 100%;
}
.mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 0.5rem;
}
.mobile-nav-panel {
  display: none;
  position: absolute;
  top: 5rem;
  left: 3%;
  width: 94%;
  background: var(--base-surface);
  border-radius: var(--radius-panel);
  padding: 1.5rem;
  border: 1px solid rgba(184, 146, 58, 0.2);
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav-panel.open { display: flex; }

/* Main CTA Button & Text Links */
.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: var(--base);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}
.action-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  position: relative;
  cursor: pointer;
  display: inline-block;
  background: none;
  border: none;
  font-size: 1rem;
  font-family: inherit;
}
.action-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s var(--ease);
}
.action-link:hover::after {
  width: 100%;
}

/* Panels */
.panel {
  background: var(--base-surface);
  border-radius: var(--radius-panel);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(239, 230, 210, 0.05);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0 6rem;
}
.hero-content h1 {
  font-size: 3.5rem;
}
.hero-images {
  position: relative;
  height: 500px;
}
.hero-img {
  position: absolute;
  border-radius: var(--radius-panel);
  object-fit: cover;
  border: 4px solid var(--base);
}
.hero-img-1 {
  top: 0;
  left: 0;
  width: 65%;
  height: 70%;
  z-index: 1;
}
.hero-img-2 {
  bottom: 0;
  right: 0;
  width: 55%;
  height: 65%;
  z-index: 2;
}
.hero-img-3 {
  top: 25%;
  left: 20%;
  width: 45%;
  height: 55%;
  z-index: 3;
  box-shadow: 0 12px 32px -4px rgba(0,0,0,0.5);
}

/* Stat Strips */
.stat-strip {
  display: flex;
  justify-content: space-around;
  background: var(--base-surface);
  border-radius: 50px;
  padding: 1.5rem;
  margin: 3rem 0;
  border: 1px solid rgba(184, 146, 58, 0.2);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat strong {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat span {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* List Rows (No Cards) */
.list-row-container {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}
.list-row {
  display: flex;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(239, 230, 210, 0.1);
}
.list-row:last-child {
  border-bottom: none;
}
.list-row-icon {
  width: 48px;
  height: 48px;
  background: var(--base-surface);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 1.5rem;
  font-weight: 800;
  font-size: 1.2rem;
  border: 1px solid rgba(184, 146, 58, 0.3);
}
.list-row-content h3 {
  margin-bottom: 0.5rem;
}
.list-row-content p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Tabs */
.tabs-wrapper {
  margin: 3rem 0;
}
.tab-headers {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(239, 230, 210, 0.1);
  padding-bottom: 1rem;
  overflow-x: auto;
}
.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.tab-btn.active {
  color: var(--accent);
}
.tab-panel {
  display: none;
  animation: fadeIn 0.5s var(--ease);
}
.tab-panel.active {
  display: block;
}

/* Accordions */
.accordion {
  margin: 2rem 0;
  border-top: 1px solid rgba(239, 230, 210, 0.1);
}
.accordion-item {
  border-bottom: 1px solid rgba(239, 230, 210, 0.1);
}
.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}
.accordion-header::after {
  content: '+';
  color: var(--accent);
  font-size: 1.5rem;
  transition: transform 0.3s var(--ease);
}
.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion-item.active .accordion-body {
  max-height: 500px;
}
.accordion-content {
  padding-bottom: 1.5rem;
  color: var(--text-muted);
}

/* Forms & Tools */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--text);
}
.form-control {
  width: 100%;
  background: var(--base-lighter);
  border: 1px solid rgba(239, 230, 210, 0.1);
  padding: 1rem;
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.tool-box {
  background: var(--base-surface);
  border-radius: var(--radius-panel);
  padding: 2rem;
  border: 1px dashed var(--accent);
  margin: 2rem 0;
}
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(239, 230, 210, 0.1);
}
th {
  color: var(--accent);
  font-weight: 700;
}

/* Content Images */
.content-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-panel);
  margin: 2rem 0;
}
.img-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: -1rem;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: var(--base);
  border-top: 1px solid rgba(184, 146, 58, 0.2);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.footer-link {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--accent);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(239, 230, 210, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-images {
    max-width: 600px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-btn { display: block; }
  h1 { font-size: 2.2rem; }
  .stat-strip { flex-direction: column; gap: 1.5rem; border-radius: var(--radius-panel); }
  .hero-images { height: 350px; }
  .panel { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
