/* ---------------------------------------------------------
   J GIL Brothers – Base Styles (v2)
--------------------------------------------------------- */

/* RESET & BASE */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1a1a1a;
  background: #ffffff;
}

/* IMAGES */

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

/* GLOBAL CONTAINER */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* LINKS */

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

/* Focus styles for accessibility */

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid #0b63ff;
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.site-header .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.site-logo {
  font-size: 1.15rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0.8;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link-active {
  font-weight: 700;
  opacity: 1;
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.hero {
  padding: 3rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-subtitle {
  max-width: 520px;
  opacity: 0.85;
  margin-bottom: 1.75rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-media .hero-image {
  border-radius: 1rem;
  border: 1px solid #e3e3e3;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

/* ---------------------------------------------------------
   BUTTONS (GLOBAL)
--------------------------------------------------------- */

.btn-primary,
.btn-secondary,
.btn-link {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 0.6rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: #000000;
  color: #ffffff;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #111;
  color: #111;
}

.btn-secondary:hover {
  background: #f5f5f5;
}

.btn-link {
  color: #0b63ff;
  padding: 0.25rem 0;
}

/* Creators Hub / general .button pattern
   (kept separate from .btn-* so there’s no conflict) */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  background: #000000;
  color: #ffffff;
}

.button.primary:hover {
  opacity: 0.9;
}

.button.secondary {
  background: #ffffff;
  color: #111111;
  border-color: #111111;
}

.button.secondary:hover {
  background: #f5f5f5;
}

/* ---------------------------------------------------------
   GENERIC SECTIONS (HOME)
--------------------------------------------------------- */

.home-section {
  padding: 3.5rem 0;
}

.home-section-alt {
  padding: 3.5rem 0;
  background: #fafafa;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1rem;
  opacity: 0.76;
  max-width: 720px;
  margin: 0 auto;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.section-body {
  font-size: 0.98rem;
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

/* ---------------------------------------------------------
   FEATURES GRID (HOME)
--------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0.9rem;
  padding: 1.5rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.feature-card p {
  font-size: 0.94rem;
  opacity: 0.85;
}

.muted {
  opacity: 0.7;
  font-size: 0.86rem;
}

/* ---------------------------------------------------------
   ABOUT GRID (HOME)
--------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.about-media .about-image {
  border-radius: 1rem;
  border: 1px solid #e3e3e3;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
}

/* ---------------------------------------------------------
   BLOG PREVIEW (HOME)
--------------------------------------------------------- */

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 2.25rem;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e5e5e5;
  background: #ffffff;
}

.blog-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.blog-card-text {
  font-size: 0.98rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.blog-card-meta {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------
   CREATOR HUB / GENERIC SECTION + GRID SYSTEM
--------------------------------------------------------- */

/* General section wrapper used on Creators Hub page */
.section {
  padding: 3.5rem 0;
}

.section-muted {
  padding: 3.5rem 0;
  background: #fafafa;
}

/* Simple grid utility */
.grid {
  display: grid;
  gap: 1.8rem;
}

/* Steps grid (3 cards) */
.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Membership and features grids */
.membership-grid,
.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Generic card styles (Creators Hub) */

.card,
.step-card,
.membership-card,
.hero-card,
.faq-item {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e5e5;
  padding: 1.75rem 1.6rem;
}

.card-title,
.step-card h3,
.membership-card h3,
.hero-card h2,
.faq-item h3 {
  font-size: 1.2rem;
  font-weight: 650;
  margin-bottom: 0.6rem;
}

.card-list {
  list-style: disc;
  padding-left: 1.3rem;
  margin-bottom: 1rem;
  font-size: 0.94rem;
  opacity: 0.9;
}

.card-list li + li {
  margin-top: 0.3rem;
}

.card-footer-text {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Steps cards */

.step-card {
  position: relative;
  padding-top: 2.25rem;
}

.step-number {
  position: absolute;
  top: 1.1rem;
  left: 1.4rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  border: 1px solid #ccc;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #222;
}

.step-card p {
  font-size: 0.94rem;
  opacity: 0.9;
}

/* Membership cards */

.membership-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.membership-card-coming-soon {
  background: #f9f5ff;
  border-color: #e2d6ff;
}

/* Hero card panel in Creators Hub hero */

.hero-card {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

/* FAQ */

.faq-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.faq-item h3 {
  margin-bottom: 0.4rem;
}

.faq-item p {
  font-size: 0.94rem;
  opacity: 0.9;
}

/* ---------------------------------------------------------
   CREATOR HUB – HERO + FINAL CTA
--------------------------------------------------------- */

.hero-creators-hub {
  padding: 3.5rem 0 3.5rem;
  background: radial-gradient(circle at top left, #fafafa, #f0f0f0);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.hero-cta {
  margin-top: 1.4rem;
}

.hero-note {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 0.6rem;
  max-width: 420px;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.creators-how-it-works,
.creators-membership,
.creators-actions,
.creators-faq,
.creators-final-cta {
  /* these share the .section / .section-muted base spacing */
}

/* Final CTA */

.final-cta-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 1.75rem;
  border-radius: 1.2rem;
  border: 1px solid #e5e5e5;
  background: #f8f8f8;
}

.final-cta-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.final-cta-text p {
  font-size: 0.98rem;
  opacity: 0.9;
}

.final-cta-actions {
  max-width: 340px;
}

.final-cta-note {
  font-size: 0.86rem;
  opacity: 0.8;
  margin-top: 0.7rem;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.site-footer {
  background: #111111;
  color: #f0f0f0;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.2rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-heading {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-text {
  font-size: 0.88rem;
  opacity: 0.86;
  margin-bottom: 0.6rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 0.88rem;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-disclaimer {
  margin-top: 2.5rem;
  border-top: 1px solid #333;
  padding-top: 2rem;
}

.footer-meta {
  margin-top: 1rem;
  font-size: 0.78rem;
  opacity: 0.7;
}

/* Compact footer layout used on Creators Hub footer */

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.84rem;
  opacity: 0.85;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding-left: 0;
}

.footer-nav a {
  font-size: 0.84rem;
  color: #f0f0f0;
  opacity: 0.8;
}

.footer-nav a:hover {
  opacity: 1;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 880px) {
  .hero-grid,
  .about-grid,
  .blog-card,
  .hero-content,
  .final-cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .hero-panel {
    justify-content: flex-start;
  }

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