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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary-light);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-secondary);
  line-height: 1.3;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--color-secondary);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff !important;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Page Header (for inner pages) */
.page-header {
  background: var(--color-secondary);
  padding: 48px 0 36px;
}

.page-header h1 {
  color: #fff;
  font-size: 2rem;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

/* Content Block */
.content-block h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--color-secondary);
}

.content-block h3 {
  font-size: 1.25rem;
  margin-top: 24px;
  margin-bottom: 12px;
}

.content-block p {
  margin-bottom: 16px;
  color: var(--color-text);
}

.content-block ul,
.content-block ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.content-block li {
  margin-bottom: 8px;
}

.content-block strong {
  color: var(--color-secondary);
}

/* Content with Image */
.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.content-with-image.reverse {
  direction: rtl;
}

.content-with-image.reverse > * {
  direction: ltr;
}

.content-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Article Content (inner pages) */
.article-content {
  max-width: 780px;
}

.article-content h2 {
  margin-top: 32px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.cta-block {
  text-align: center;
  padding: 24px 0;
}

.cta-block h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-block p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background: var(--color-secondary);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: #fff !important;
}

.disclaimer {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .content-with-image {
    grid-template-columns: 1fr;
  }

  .content-with-image.reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-nav {
    gap: 12px;
  }

  .nav-link {
    font-size: 0.85rem;
  }
}
