/*
Theme Name: BrandScout
Author: BrandScout
Version: 1.0
*/

:root {
  --bg: #0b1117;
  --bg2: #101821;
  --panel: rgba(16,24,33,.78);
  --text: #f4f7f8;
  --muted: #9aa5b1;
  --green: #22c55e;
  --gold: #e6b83d;
  --blue: #2389ff;
  --border: rgba(255,255,255,.12);
  --max: 1180px;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 5%, rgba(34,197,94,.12), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(230,184,61,.10), transparent 26%),
    linear-gradient(180deg, #101821 0%, #0b1117 42%, #090d12 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .16;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10,15,20,.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -.04em;
}

.brand-text {
  background: linear-gradient(90deg, #29a84f, #e6b83d 54%, #66b96b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-icon img,
.brand-icon .custom-logo {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #24a653, #16823d);
  border-color: rgba(72,255,137,.35);
  box-shadow: 0 16px 42px rgba(34,197,94,.22);
}

/* TYPOGRAPHY SYSTEM */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
}

h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.18;
}

p {
  font-size: 18px;
  line-height: 1.6;
}

/* HERO */

.hero {
  padding: 110px 0 84px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.08;
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero p {
  max-width: 790px;
  margin: 26px auto 0;
  color: #d6dde3;
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 650;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  border-radius: 12px;
  padding: 0 20px;
  background: rgba(255,255,255,.08);
  color: #dce4e9;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.08);
}

/* SECTIONS */

.section {
  padding: 82px 0;
}

.center {
  text-align: center;
}

.section h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.1;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
}

.workflow-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
  text-align: left;
}

.card p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 620;
  margin: 18px 0 0;
}

.green {
  border-color: rgba(34,197,94,.28);
}

.gold {
  border-color: rgba(230,184,61,.28);
}

.blue {
  border-color: rgba(35,137,255,.28);
}

/* MEDIA ROW */

.media-row {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 34px;
  align-items: center;
  margin-top: 48px;
}

.product-shot {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #0c131b;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
}

.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.copy-stack {
  display: grid;
  gap: 26px;
}

.copy-block h3 {
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.copy-block p {
  color: #c9d1d8;
  font-size: 18px;
  font-weight: 620;
  margin: 0;
}

/* STEPS */

.steps,
.doctrine-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step,
.doctrine {
  padding: 26px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--border);
  text-align: left;
}

.step-num {
  color: var(--green);
  font-weight: 1000;
  margin-bottom: 18px;
}

.step h3,
.doctrine h3 {
  font-size: 20px;
}

.step p,
.doctrine p {
  color: var(--muted);
  font-weight: 620;
  margin: 12px 0 0;
}

/* FAQ */

.faq {
  max-width: 900px;
  margin: 48px auto 0;
  display: grid;
  gap: 14px;
}

details {
  background: rgba(255,255,255,.055);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  text-align: left;
}

summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
}

details p {
  color: var(--muted);
  margin: 14px 0 0;
  font-weight: 620;
}

/* BLOG ARCHIVE */

.blog-archive {
  padding: 80px 0;
}

.blog-title {
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.08;
  margin-bottom: 40px;
}

.blog-card {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.blog-card h2 {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.15 !important;
  text-transform: none !important;
  letter-spacing: -.025em;
  margin: 8px 0 12px;
}

.blog-card p {
  font-size: 17px;
  line-height: 1.55;
  color: #d6dde3;
  max-width: 900px;
  margin: 0;
}

.blog-date {
  display: block;
  color: #c2ccd3;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  font-size: 18px;
  font-weight: 800;
}

/* POSTS + PAGES */

.entry-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
}

.entry-content h1 {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.08;
  margin-bottom: 24px;
}

.entry-content h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  margin-top: 42px;
  margin-bottom: 16px;
}

.entry-content h3 {
  font-size: clamp(21px, 2vw, 26px);
  margin-top: 28px;
  margin-bottom: 12px;
}

.entry-content p {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 18px;
}

/* CTA */

.cta {
  margin: 72px auto;
  max-width: 930px;
  padding: 58px 36px;
  text-align: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(230,184,61,.18), transparent 42%),
    linear-gradient(135deg, rgba(34,197,94,.18), rgba(16,24,33,.88));
  border: 1px solid rgba(34,197,94,.42);
  box-shadow: 0 30px 90px rgba(34,197,94,.12);
}

.cta p {
  max-width: 680px;
  margin: 20px auto 34px;
  color: #c9d1d8;
  font-size: 19px;
  font-weight: 650;
}

/* FOOTER */

footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 54px;
  color: var(--muted);
  text-align: center;
  font-weight: 650;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 20px;
}

/* MOBILE */

@media (max-width: 920px) {
  .nav-inner {
    height: auto;
    min-height: 76px;
    padding: 16px 0;
    flex-wrap: wrap;
  }

  .brand {
    min-width: auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 4px;
  }

  .workflow-grid,
  .media-row,
  .steps,
  .doctrine-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section {
    padding: 62px 0;
  }

  .section h2 {
    font-size: 34px;
  }

  .blog-title {
    font-size: 38px;
  }

  .card {
    min-height: auto;
  }
}
/* ===== SPACING SYSTEM UPGRADE ===== */

/* More vertical rhythm across the whole site */
.section {
  padding: 110px 0;
}

/* Hero gets more air */
.hero {
  padding: 140px 0 110px;
}

/* Reduce visual pressure inside sections */
.section h2 {
  margin-bottom: 28px;
}

.section-intro {
  margin-top: 22px;
  margin-bottom: 10px;
}

/* Cards breathe more */
.card {
  padding: 40px;
}

/* Increase spacing between blocks */
.copy-stack {
  gap: 34px;
}

/* Blog spacing */
.blog-card {
  margin-bottom: 42px;
  padding-bottom: 34px;
}

/* CTA breathing */
.cta {
  margin: 110px auto;
  padding: 70px 44px;
}
/* MOBILE NAV SIMPLIFICATION */

@media (max-width: 920px) {
  .nav-inner {
    min-height: 76px;
    flex-wrap: nowrap;
  }

  .nav-links {
    display: none;
  }

  .brand {
    font-size: 24px;
    min-width: auto;
  }

  .nav .btn,
  .nav .btn-primary {
    min-height: 48px;
    padding: 0 22px;
    font-size: 15px;
    border-radius: 14px;
  }
/* FINAL FOOTER STRUCTURE */

.site-footer {
  text-align: left;
  padding: 72px 0 44px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

.site-footer .footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer .footer-col h4 {
  margin: 0 0 18px;
  color: #f4f7f8;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .75;
}

.site-footer .footer-col a {
  display: block;
  margin: 0 0 12px;
  color: #9aa5b1;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
}

.site-footer .footer-col a:hover {
  color: #f4f7f8;
}

.site-footer .footer-bottom {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #7f8a94;
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

@media (max-width: 920px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
  }
@media (max-width: 768px) {

  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns instead of 4 */
    gap: 24px;
  }

  .footer-grid h4 {
    font-size: 12px;
    margin-bottom: 8px;
    opacity: 0.7;
  }

  .footer-grid a {
    font-size: 14px;
    line-height: 1.6;
  }

  footer {
    padding: 40px 0 30px;
  }

  footer .container {
    max-width: 500px;
  }
@media (max-width: 768px) {
  footer > .container:first-child {
    grid-template-columns: 1fr 1fr !important;
    gap: 22px 26px !important;
  }

  footer h4 {
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }

  footer a {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  footer {
    padding: 38px 0 28px !important;
  }

  footer > .container:last-child {
    margin-top: 32px !important;
    padding-top: 22px !important;
    font-size: 13px !important;
  }
}