/* =====================================================
   COSMO5 GEO RESOURCE CENTER CSS
   Version: 1.0
   Use across GEO landing pages, articles, and resource pages
===================================================== */

:root {
  --geo-black: #000000;
  --geo-bg-1: #040410;
  --geo-bg-2: #06061a;
  --geo-panel: rgba(18,18,24,.95);
  --geo-panel-dark: rgba(8,8,12,.98);
  --geo-purple: #8b5dff;
  --geo-purple-2: #6533ff;
  --geo-purple-3: #4722ff;
  --geo-text: #ffffff;
  --geo-muted: #d8d8d8;
  --geo-border: rgba(139,93,255,.15);
  --geo-border-strong: rgba(139,93,255,.42);
  --geo-shadow: 0 20px 50px rgba(0,0,0,.45);
  --geo-glow: 0 10px 35px rgba(101,51,255,.45);
  --geo-radius: 22px;
  --geo-container: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 !important;
  background: var(--geo-black) !important;
  color: var(--geo-text);
  overflow-x: hidden;
}

.geo-page {
  position: relative;
  background:
    radial-gradient(circle at 15% 5%, rgba(124,77,255,.12) 0%, transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(65,40,255,.16) 0%, transparent 35%),
    radial-gradient(circle at 50% 60%, rgba(124,77,255,.06) 0%, transparent 45%),
    linear-gradient(180deg, #000000 0%, #040410 25%, #06061a 50%, #03030c 75%, #000000 100%);
  color: var(--geo-text);
  font-family: inherit;
}

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

.geo-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
}

.geo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 90%);
  pointer-events: none;
}

.geo-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.geo-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, rgba(124,77,255,.25), rgba(77,45,255,.18));
  border: 1px solid rgba(124,77,255,.35);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.geo-hero h1 {
  font-size: clamp(52px, 6vw, 88px);
  line-height: .95;
  letter-spacing: -.06em;
  margin: 0 0 28px;
}

.geo-hero p {
  font-size: 23px;
  line-height: 1.45;
  color: #dddddd;
  max-width: 720px;
  margin: 0 0 34px;
}

.geo-button,
.geo-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #fff !important;
  font-weight: 800;
  border-radius: 14px;
  padding: 18px 28px;
  background: linear-gradient(135deg, var(--geo-purple) 0%, var(--geo-purple-2) 50%, var(--geo-purple-3) 100%);
  box-shadow: var(--geo-glow);
  transition: all .25s ease;
}

.geo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 45px rgba(101,51,255,.60);
}

.geo-button-secondary,
.geo-button-secondary:visited {
  display: inline-flex;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  border-radius: 14px;
  padding: 16px 24px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
}

.geo-visual {
  background: linear-gradient(180deg, rgba(18,18,24,.95), rgba(8,8,12,.98));
  border: 1px solid var(--geo-border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--geo-shadow);
}

.geo-visual-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(139,93,255,.16), transparent 42%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: 28px;
}

.geo-mini-label {
  color: #9a7dff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.geo-score {
  font-size: 72px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.06em;
  margin: 16px 0 8px;
}

.geo-score-sub {
  color: var(--geo-muted);
  margin-bottom: 24px;
}

.geo-score-list {
  display: grid;
  gap: 12px;
}

.geo-score-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 14px 16px;
  color: #eee;
}

.geo-status-good {
  color: #9a7dff;
  font-weight: 900;
}

.geo-status-warn {
  color: #ffffff;
  font-weight: 900;
}

.geo-section {
  padding: 82px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.geo-section h2 {
  text-align: center;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 0 0 16px;
}

.geo-section-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 42px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--geo-muted);
}

.geo-content {
  max-width: 900px;
  margin: 0 auto;
}

.geo-content h2,
.geo-content h3 {
  text-align: left;
}

.geo-content h2 {
  margin-top: 54px;
}

.geo-content p,
.geo-content li {
  color: var(--geo-muted);
  font-size: 18px;
  line-height: 1.75;
}

.geo-content a {
  color: #b7a5ff;
  font-weight: 800;
}

.geo-grid-2,
.geo-grid-3,
.geo-grid-4 {
  display: grid;
  gap: 24px;
}

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

.geo-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.geo-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.geo-card,
.geo-panel,
.geo-prompt-card,
.geo-table-wrap,
.geo-resource-card,
.geo-final-cta,
.geo-faq-item {
  background: linear-gradient(180deg, var(--geo-panel), var(--geo-panel-dark));
  border: 1px solid var(--geo-border);
  border-radius: var(--geo-radius);
  box-shadow: var(--geo-shadow);
}

.geo-card,
.geo-panel,
.geo-resource-card {
  padding: 30px;
}

.geo-card h3,
.geo-resource-card h3,
.geo-panel h3 {
  font-size: 24px;
  margin: 0 0 14px;
}

.geo-card p,
.geo-resource-card p,
.geo-panel p {
  color: var(--geo-muted);
  line-height: 1.65;
  margin: 0;
}

.geo-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  border: 1px solid rgba(139,93,255,.35);
  background: rgba(139,93,255,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 28px;
  box-shadow: 0 0 30px rgba(139,93,255,.18);
}

.geo-table-wrap {
  overflow: hidden;
}

.geo-table {
  width: 100%;
  border-collapse: collapse;
}

.geo-table th,
.geo-table td {
  padding: 20px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: top;
}

.geo-table th {
  color: #fff;
  font-size: 18px;
  background: rgba(139,93,255,.10);
}

.geo-table td {
  color: var(--geo-muted);
  line-height: 1.55;
}

.geo-table tr:last-child td {
  border-bottom: 0;
}

.geo-framework-step {
  position: relative;
  padding: 30px;
}

.geo-step-number {
  color: #9a7dff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.geo-prompt-card {
  padding: 30px;
}

.geo-prompt-card span {
  color: #9a7dff;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .08em;
}

.geo-prompt-card p {
  color: #fff;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
  margin: 18px 0 0;
}

.geo-related {
  margin-top: 52px;
}

.geo-related h2 {
  text-align: center;
}

.geo-resource-card {
  text-decoration: none;
  color: #fff !important;
  transition: all .25s ease;
}

.geo-resource-card:hover {
  transform: translateY(-3px);
  border-color: var(--geo-border-strong);
}

.geo-resource-card span {
  color: #9a7dff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.geo-faq-grid {
  display: grid;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.geo-faq-item {
  overflow: hidden;
  transition: all .3s ease;
}

.geo-faq-item:hover {
  border-color: rgba(139,93,255,.35);
}

.geo-faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 24px 28px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
}

.geo-faq-question span {
  color: var(--geo-purple);
  font-size: 32px;
  transition: transform .3s ease;
}

.geo-faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 28px;
  transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
}

.geo-faq-answer p {
  margin: 0;
  color: var(--geo-muted);
  line-height: 1.8;
  font-size: 16px;
}

.geo-faq-item.active {
  border-color: rgba(139,93,255,.5);
  box-shadow: 0 0 30px rgba(139,93,255,.12);
}

.geo-faq-item.active .geo-faq-answer {
  max-height: 450px;
  opacity: 1;
  padding: 0 28px 28px;
}

.geo-faq-item.active .geo-faq-question span {
  transform: rotate(45deg);
}

.geo-final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 44px;
  background:
    radial-gradient(circle at 15% 50%, rgba(124,77,255,.20), transparent 30%),
    linear-gradient(180deg, var(--geo-panel), var(--geo-panel-dark));
}

.geo-final-cta h2 {
  text-align: left;
  margin: 0 0 12px;
}

.geo-final-cta p {
  margin: 0;
  color: var(--geo-muted);
  font-size: 18px;
  line-height: 1.5;
}

.geo-breadcrumb {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  margin-bottom: 24px;
}

.geo-breadcrumb a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}

.geo-author-box {
  margin-top: 46px;
  padding: 26px;
  border-radius: var(--geo-radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--geo-muted);
}

@media (max-width: 900px) {
  .geo-hero-grid,
  .geo-grid-2,
  .geo-grid-3,
  .geo-grid-4,
  .geo-final-cta {
    grid-template-columns: 1fr;
  }

  .geo-hero {
    padding: 62px 0;
  }

  .geo-hero h1 {
    font-size: 52px;
  }

  .geo-hero p {
    font-size: 20px;
  }

  .geo-section {
    padding: 62px 0;
  }

  .geo-card,
  .geo-panel,
  .geo-resource-card {
    padding: 26px;
  }

  .geo-table-wrap {
    overflow-x: auto;
  }

  .geo-table {
    min-width: 680px;
  }

  .geo-final-cta {
    text-align: center;
  }

  .geo-final-cta h2 {
    text-align: center;
  }

  .geo-faq-question {
    font-size: 18px;
    padding: 20px 22px;
  }

  .geo-faq-answer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .geo-faq-item.active .geo-faq-answer {
    padding-bottom: 22px;
  }

  .geo-visual {
    padding: 20px;
    overflow: hidden;
  }

  .geo-visual-card {
    padding: 20px;
    overflow: hidden;
  }

  .geo-score {
    font-size: clamp(34px, 9vw, 52px);
    line-height: 1.05;
    letter-spacing: -.04em;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .geo-score-sub {
    font-size: 15px;
    line-height: 1.5;
  }

  .geo-score-row {
    padding: 12px 14px;
    gap: 10px;
  }

  .geo-score-row span:last-child {
    text-align: right;
    font-size: 14px;
  }

  .geo-container {
    padding: 0 18px;
  }
}
