/* ============================================
   Anjouan Gaming Board - Homepage Styles
   ============================================ */

/* Font Imports */
@font-face {
  font-family: 'KelsonSans';
  src: url('../fonts/kelson-sans/kelson_sans_light-webfont.woff') format('woff'),
    url('../fonts/kelson-sans/kelson_sans_light-webfont.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KelsonSans';
  src: url('../fonts/kelson-sans/kelson_sans_regular-webfont.woff') format('woff'),
    url('../fonts/kelson-sans/kelson_sans_regular-webfont.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KelsonSans';
  src: url('../fonts/kelson-sans/kelson_sans_bold-webfont.woff') format('woff'),
    url('../fonts/kelson-sans/kelson_sans_bold-webfont.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SourceSans';
  src: url('../fonts/source-sans/SourceSansPro-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SourceSans';
  src: url('../fonts/source-sans/SourceSansPro-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'SourceSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #ffffff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
  background: rgba(2, 27, 49, 0.95);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo img {
  height: 45px;
  width: auto;
  transition: height 0.3s ease;
}

.navbar.scrolled .navbar-logo img {
  height: 38px;
}

.navbar-logo span {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #728e4f;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: #728e4f;
  color: #ffffff !important;
  padding: 8px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #5f7842;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: linear-gradient(135deg, #021b31 0%, #0a2d4d 40%, #021b31 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(114, 142, 79, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(114, 142, 79, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, #ffffff 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(114, 142, 79, 0.5);
  border-radius: 30px;
  color: #728e4f;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
  background: rgba(114, 142, 79, 0.08);
}

.hero h1 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #728e4f;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 14px 35px;
  background: #728e4f;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #5f7842;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(114, 142, 79, 0.35);
}

.btn-outline {
  display: inline-block;
  padding: 14px 35px;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ============================================
   Section Common Styles
   ============================================ */
.section {
  padding: 90px 0;
}

.section-dark {
  background: #021b31;
  color: #ffffff;
}

.section-light {
  background: #ffffff;
}

.section-gray {
  background: #f4f5f6;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #728e4f;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 2.3rem;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 18px;
}

.section-dark .section-header h2 {
  color: #ffffff;
}

.section-header p {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Gateway Section
   ============================================ */
.gateway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.gateway-text h3 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.3;
}

.gateway-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.gateway-text p strong {
  color: #1a1a1a;
}

.gateway-visual {
  position: relative;
}

.gateway-card {
  background: #021b31;
  border-radius: 12px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.gateway-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(114, 142, 79, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.gateway-card .stat-item {
  margin-bottom: 25px;
}

.gateway-card .stat-item:last-child {
  margin-bottom: 0;
}

.gateway-card .stat-number {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #728e4f;
  line-height: 1;
}

.gateway-card .stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
}

.gateway-card .stat-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 35px 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #728e4f;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  border-color: #728e4f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(114, 142, 79, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* ============================================
   Licensing Sections (B2C & B2B)
   ============================================ */
.licensing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.licensing-grid.reverse {
  direction: rtl;
}

.licensing-grid.reverse > * {
  direction: ltr;
}

.licensing-text h3 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.licensing-label {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.licensing-label.b2c {
  background: rgba(114, 142, 79, 0.12);
  color: #728e4f;
}

.licensing-label.b2b {
  background: rgba(41, 128, 185, 0.12);
  color: #2980b9;
}

.licensing-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.licensing-text p strong {
  color: #1a1a1a;
}

.licensing-visual {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #021b31 0%, #0a3560 100%);
  padding: 40px;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.licensing-visual-icon {
  font-size: 6rem;
  opacity: 0.15;
  position: absolute;
  right: 30px;
  bottom: 30px;
}

.licensing-visual-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.licensing-visual-content h4 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.licensing-visual-content ul {
  list-style: none;
  text-align: left;
}

.licensing-visual-content ul li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-left: 25px;
}

.licensing-visual-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #728e4f;
  font-weight: 700;
}

/* ============================================
   Compliance Section
   ============================================ */
.compliance-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: center;
}

.compliance-text h3 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.compliance-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 15px;
}

.compliance-text p strong {
  color: #ffffff;
}

.compliance-badge {
  text-align: center;
}

.compliance-badge-inner {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid rgba(114, 142, 79, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: rgba(114, 142, 79, 0.05);
}

.compliance-badge-inner img {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
}

.compliance-badge-inner span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8eaed;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  border-color: #728e4f;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.benefit-icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: rgba(114, 142, 79, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.benefit-content h4 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.benefit-content p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.65;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #021b31 0%, #0a3560 50%, #021b31 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(114, 142, 79, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 35px;
  line-height: 1.8;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #010f1e;
  padding: 50px 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 15px;
  max-width: 300px;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-col h4 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

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

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

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #728e4f;
}

.footer-bottom {
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

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

.footer-bottom .dmca-link img {
  height: 22px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-bottom .dmca-link img:hover {
  opacity: 1;
}

/* ============================================
   Blog Listing
   ============================================ */
.blog-hero {
  padding: 140px 20px 60px;
  background: linear-gradient(135deg, #021b31 0%, #0a2d4d 40%, #021b31 100%);
  text-align: center;
}

.blog-hero h1 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.blog-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: #728e4f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, #021b31 0%, #0a3560 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-img .card-icon {
  color: rgba(114, 142, 79, 0.25);
}

.blog-card-body {
  padding: 25px;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 12px;
  display: flex;
  gap: 15px;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card-body h2 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-body h2 a {
  color: inherit;
  transition: color 0.3s ease;
}

.blog-card-body h2 a:hover {
  color: #728e4f;
}

.blog-card-body p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 18px;
}

.blog-read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: #728e4f;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.blog-read-more:hover {
  gap: 10px;
  color: #5f7842;
}

/* ============================================
   Blog Article Page
   ============================================ */
.article-hero {
  padding: 140px 20px 50px;
  background: linear-gradient(135deg, #021b31 0%, #0a2d4d 40%, #021b31 100%);
  text-align: center;
}

.article-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.article-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.article-hero .breadcrumb a:hover {
  color: #728e4f;
}

.article-hero h1 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

.article-hero .article-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

.article-content h2 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #1a1a1a;
  margin: 40px 0 18px;
  line-height: 1.3;
}

.article-content h3 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a1a1a;
  margin: 30px 0 14px;
  line-height: 1.4;
}

.article-content p {
  font-size: 1.02rem;
  color: #444;
  line-height: 1.85;
  margin-bottom: 18px;
  text-align: justify;
}

.article-content ul,
.article-content ol {
  margin: 15px 0 20px 25px;
  color: #444;
}

.article-content li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.article-content strong {
  color: #1a1a1a;
}

.article-content blockquote {
  border-left: 4px solid #728e4f;
  padding: 15px 25px;
  margin: 25px 0;
  background: #f4f5f6;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #555;
}

.article-sidebar-cta {
  background: #021b31;
  border-radius: 10px;
  padding: 35px;
  text-align: center;
  margin: 50px 0;
}

.article-sidebar-cta h3 {
  font-family: 'KelsonSans', sans-serif;
  color: #ffffff !important;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.article-sidebar-cta p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.95rem;
  margin-bottom: 22px;
  text-align: center;
  line-height: 1.6;
}

.article-sidebar-cta .btn-primary {
  display: inline-block;
  color: #ffffff !important;
  background: #728e4f;
}
.article-sidebar-cta .btn-primary:hover {
  color: #ffffff !important;
  background: #5f7842;
}

.related-articles {
  border-top: 1px solid #e8eaed;
  padding-top: 40px;
  margin-top: 40px;
}

.related-articles h3 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 25px;
}

.related-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.related-item {
  padding: 20px;
  border: 1px solid #e8eaed;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.related-item:hover {
  border-color: #728e4f;
}

.related-item h4 {
  font-family: 'KelsonSans', sans-serif;
  font-size: 0.95rem;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.related-item h4 a {
  color: inherit;
  transition: color 0.3s ease;
}

.related-item h4 a:hover {
  color: #728e4f;
}

.related-item p {
  font-size: 0.85rem;
  color: #888;
  text-align: left;
}

/* ============================================
   Pricing Cards
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: #728e4f;
  box-shadow: 0 8px 30px rgba(114, 142, 79, 0.15);
}

.pricing-card.featured .pricing-header {
  background: linear-gradient(135deg, #728e4f 0%, #5f7842 100%);
}

.pricing-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ffffff;
  color: #728e4f;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.pricing-header {
  background: linear-gradient(135deg, #021b31 0%, #0a3560 100%);
  padding: 30px 25px;
  text-align: center;
  color: #ffffff;
}

.pricing-header h3 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.pricing-header .pricing-type {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-amount .currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.pricing-amount .price {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1;
}

.pricing-amount .period {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.pricing-setup {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
}

.pricing-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-features {
  list-style: none;
  margin-bottom: 25px;
  flex: 1;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.92rem;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li .check {
  color: #728e4f;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-body .btn-primary,
.pricing-body .btn-outline-dark {
  width: 100%;
  text-align: center;
  display: block;
}

.btn-outline-dark {
  display: inline-block;
  padding: 14px 35px;
  background: transparent;
  color: #021b31;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  border-color: #728e4f;
  color: #728e4f;
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #888;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ============================================
   Page Content (standalone pages)
   ============================================ */
.page-hero {
  padding: 140px 20px 60px;
  background: linear-gradient(135deg, #021b31 0%, #0a2d4d 40%, #021b31 100%);
  text-align: center;
}

.page-hero h1 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.page-content h2 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: #1a1a1a;
  margin: 45px 0 18px;
  line-height: 1.3;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a1a1a;
  margin: 30px 0 14px;
}

.page-content p {
  font-size: 1.02rem;
  color: #444;
  line-height: 1.85;
  margin-bottom: 18px;
}

.page-content ul,
.page-content ol {
  margin: 15px 0 20px 25px;
  color: #444;
}

.page-content li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.page-content strong {
  color: #1a1a1a;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: #021b31;
  border-radius: 10px;
  padding: 35px;
  color: #ffffff;
}

.contact-info-card h3 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: #ffffff;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-info-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffffff;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.contact-info-item a:hover {
  color: #728e4f;
}

.contact-form {
  background: #f4f5f6;
  border-radius: 10px;
  padding: 35px;
}

.contact-form h3 {
  font-family: 'KelsonSans', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #728e4f;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #021b31;
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 130px 20px 80px;
  }

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

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .section-header h2 {
    font-size: 1.8rem;
  }

  .gateway-grid,
  .licensing-grid,
  .compliance-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .licensing-grid.reverse {
    direction: ltr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .article-hero h1 {
    font-size: 1.8rem;
  }

  .related-list {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

  .section-header h2 {
    font-size: 1.5rem;
  }

  .btn-primary, .btn-outline {
    padding: 12px 28px;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
  }

  .gateway-card {
    padding: 25px;
  }

  .feature-card {
    padding: 25px 20px;
  }
}
