/*
Theme Name: Growfera
Theme URI: https://growfera.com
Author: GitHub Copilot
Description: Custom revenue-engine theme for Growfera.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: growfera
*/

@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --gf-bg: #f5efe6;
  --gf-bg-soft: #fbf7f1;
  --gf-surface: rgba(255, 255, 255, 0.72);
  --gf-card: #fffaf4;
  --gf-ink: #11141d;
  --gf-copy: #5d6472;
  --gf-line: #ddd4c6;
  --gf-graphite: #171b24;
  --gf-graphite-soft: #232836;
  --gf-signal: #ff6b3d;
  --gf-signal-deep: #dd4c20;
  --gf-mint: #d8efc8;
  --gf-mint-deep: #234032;
  --gf-glow: rgba(255, 107, 61, 0.18);
  --gf-radius-xl: 34px;
  --gf-radius-lg: 24px;
  --gf-radius-md: 18px;
  --gf-radius-sm: 14px;
  --gf-shadow: 0 24px 80px rgba(17, 20, 29, 0.08);
  --gf-shadow-soft: 0 16px 40px rgba(17, 20, 29, 0.06);
  --gf-container: min(1220px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gf-ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 107, 61, 0.12), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(216, 239, 200, 0.75), transparent 16%),
    linear-gradient(180deg, #fcf8f2 0%, var(--gf-bg) 52%, #efe6d9 100%);
}

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

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

p {
  margin: 0;
}

.gf-shell {
  width: var(--gf-container);
  margin: 0 auto;
}

.gf-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 230, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 212, 198, 0.8);
}

.gf-site-header__inner {
  width: var(--gf-container);
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.gf-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.gf-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.gf-brand__mark,
.gf-brand__mark img,
.custom-logo-link img,
.custom-logo {
  width: auto;
  height: 52px;
}

.gf-brand__mark {
  flex-shrink: 0;
}

.gf-brand__mark:not(.custom-logo),
.custom-logo {
  max-width: min(240px, 42vw);
  object-fit: contain;
}

.gf-brand__wordmark {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gf-brand-wrap .gf-brand__wordmark {
  margin-left: 2px;
}

.gf-brand__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.gf-brand__meta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gf-copy);
}

.gf-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gf-nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gf-nav__menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--gf-copy);
  font-size: 0.92rem;
  font-weight: 600;
}

.gf-nav__menu a:hover,
.gf-nav__menu .current-menu-item > a {
  background: rgba(255, 255, 255, 0.75);
  color: var(--gf-ink);
}

.gf-button,
button,
input[type="submit"] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gf-button:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

.gf-button--primary,
button,
input[type="submit"] {
  color: #fff;
  background: linear-gradient(135deg, var(--gf-signal), var(--gf-signal-deep));
  box-shadow: 0 16px 34px rgba(255, 107, 61, 0.24);
}

.gf-button--secondary {
  color: var(--gf-ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(221, 212, 198, 0.92);
}

.gf-hero {
  padding: 56px 0 40px;
}

.gf-hero__panel {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.86), rgba(255, 244, 235, 0.7)),
    rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(221, 212, 198, 0.94);
  box-shadow: var(--gf-shadow);
}

.gf-hero__panel::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -50px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 61, 0.18), transparent 68%);
}

.gf-hero__panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 239, 200, 0.8), transparent 62%);
}

.gf-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: stretch;
  padding: 52px 54px;
}

.gf-hero__eyebrow,
.gf-section__eyebrow,
.gf-page__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gf-signal-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gf-hero__eyebrow::before,
.gf-section__eyebrow::before,
.gf-page__eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gf-signal);
  box-shadow: 0 0 0 7px rgba(255, 107, 61, 0.12);
}

.gf-hero__title,
.gf-section__title,
.gf-card__title,
.gf-page__title,
.entry-title,
.gf-pricing__amount,
.gf-command__title,
.gf-cta__title {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.gf-hero__title {
  max-width: 700px;
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 0.96;
}

.gf-hero__title em {
  display: block;
  margin-top: 8px;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gf-signal-deep);
}

.gf-hero__lead {
  max-width: 620px;
  color: var(--gf-copy);
  font-size: 1.08rem;
  line-height: 1.9;
}

.gf-hero__actions,
.gf-cta__actions,
.gf-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.gf-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.gf-metric {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(221, 212, 198, 0.94);
}

.gf-metric strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.gf-metric span {
  display: block;
  margin-top: 6px;
  color: var(--gf-copy);
  font-size: 0.86rem;
  line-height: 1.5;
}

.gf-command {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 30px;
  background: linear-gradient(180deg, #171b24, #0f1218 70%);
  color: #f7f2eb;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(17, 20, 29, 0.24);
}

.gf-command::before {
  content: "";
  position: absolute;
  inset: auto auto 20px -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 61, 0.14), transparent 70%);
}

.gf-command__bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.gf-command__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.gf-command__title {
  margin: 0 0 14px;
  font-size: 1.55rem;
}

.gf-command__text {
  color: rgba(247, 242, 235, 0.76);
  line-height: 1.8;
}

.gf-command__flow {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.gf-command__step {
  position: relative;
  padding: 16px 18px 16px 50px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gf-command__step::before {
  content: attr(data-step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 61, 0.14);
  color: #ffb096;
  font-size: 0.76rem;
  font-weight: 800;
}

.gf-command__step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.gf-section {
  padding: 64px 0 72px;
}

.gf-section__header {
  max-width: 760px;
  margin-bottom: 42px;
}

.gf-section__title,
.gf-page__title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
}

.gf-section__lead,
.gf-page__content,
.entry-content {
  color: var(--gf-copy);
  line-height: 1.9;
  font-size: 1rem;
}

.gf-grid-3,
.gf-grid-2,
.gf-pricing,
.gf-principles,
.gf-posts {
  display: grid;
  gap: 20px;
}

.gf-grid-3,
.gf-pricing,
.gf-principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gf-grid-2,
.gf-posts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gf-card,
.gf-pricing__card,
.gf-page,
.gf-empty,
.gf-post-card,
.gf-command-band__item {
  border: 1px solid rgba(221, 212, 198, 0.92);
  border-radius: var(--gf-radius-lg);
  background: rgba(255, 250, 244, 0.76);
  box-shadow: var(--gf-shadow-soft);
}

.gf-card,
.gf-post-card,
.gf-command-band__item {
  padding: 32px;
}

.gf-card__label,
.gf-pricing__label,
.gf-post-card__meta {
  color: var(--gf-copy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gf-card__title,
.gf-post-card__title {
  margin: 14px 0 10px;
  font-size: 1.5rem;
  line-height: 1.12;
}

.gf-card__text,
.gf-card ul,
.gf-post-card__excerpt {
  color: var(--gf-copy);
  line-height: 1.8;
}

.gf-card ul,
.gf-pricing__list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.gf-card li,
.gf-pricing__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.gf-card li::before,
.gf-pricing__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gf-signal);
}

.gf-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.gf-process__item {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.82);
  border: 1px solid rgba(221, 212, 198, 0.9);
  box-shadow: var(--gf-shadow-soft);
}

.gf-process__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 107, 61, 0.12);
  color: var(--gf-signal-deep);
  font-size: 0.86rem;
  font-weight: 800;
}

.gf-process__title {
  margin: 16px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.gf-process__item p {
  color: var(--gf-copy);
  line-height: 1.8;
}

.gf-pricing__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 30px;
}

.gf-pricing__card--featured {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.92), rgba(255, 236, 228, 0.85));
  transform: translateY(-12px);
  border-color: rgba(255, 107, 61, 0.28);
}

.gf-pricing__tag {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 107, 61, 0.12);
  color: var(--gf-signal-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gf-pricing__amount {
  font-size: 2.7rem;
  line-height: 0.94;
}

.gf-pricing__amount span {
  display: block;
  margin-top: 8px;
  color: var(--gf-copy);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}

.gf-pricing__cta {
  margin-top: auto;
}

.gf-command-band {
  padding: 80px 0 88px;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 107, 61, 0.14), transparent 16%),
    linear-gradient(180deg, #181c25 0%, #10141c 100%);
  color: #f7f2eb;
}

.gf-command-band .gf-section__eyebrow,
.gf-command-band .gf-section__eyebrow::before {
  color: #ffb096;
}

.gf-command-band .gf-section__lead,
.gf-command-band .gf-command-band__item p,
.gf-command-band .gf-roadmap__copy,
.gf-command-band .gf-roadmap__date {
  color: rgba(247, 242, 235, 0.72);
}

.gf-command-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gf-command-band__item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.gf-command-band__item h3,
.gf-roadmap__title {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.24rem;
}

.gf-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.gf-stack-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 61, 0.12);
  color: #ffb096;
  font-size: 0.82rem;
}

.gf-roadmap {
  display: grid;
  gap: 12px;
}

.gf-roadmap__item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gf-roadmap__item:last-child {
  border-bottom: 0;
}

.gf-roadmap__date {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gf-roadmap__copy {
  line-height: 1.7;
}

.gf-principles .gf-card {
  background: rgba(255, 255, 255, 0.68);
}

.gf-cta {
  padding: 56px 0 90px;
}

.gf-cta__panel {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 24px;
  align-items: center;
  padding: 48px 52px;
  border-radius: 32px;
  background: linear-gradient(135deg, #1a1e27, #0f1218 70%);
  color: #f7f2eb;
  box-shadow: 0 28px 80px rgba(17, 20, 29, 0.18);
}

.gf-cta__title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
}

.gf-cta__copy p {
  color: rgba(247, 242, 235, 0.74);
  line-height: 1.8;
}

.gf-site-footer {
  padding: 0 0 52px;
}

.gf-site-footer__panel {
  width: var(--gf-container);
  margin: 0 auto;
  padding: 34px 38px;
  border-radius: 28px;
  background: rgba(17, 20, 29, 0.94);
  color: rgba(247, 242, 235, 0.78);
}

.gf-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.gf-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.gf-footer__links a:hover {
  color: #fff;
}

.gf-footer__meta {
  margin-top: 18px;
  font-size: 0.92rem;
}

.gf-page-wrap,
.gf-blog-wrap {
  padding: 46px 0 90px;
}

.gf-page,
.gf-empty {
  padding: 42px;
}

.gf-page__title,
.entry-title {
  margin: 0 0 16px;
}

.gf-post-card__title a:hover {
  color: var(--gf-signal-deep);
}

.gf-post-card__link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--gf-signal-deep);
  font-weight: 800;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .gf-hero__grid,
  .gf-command-band__grid,
  .gf-cta__panel,
  .gf-footer__top {
    grid-template-columns: 1fr;
  }

  .gf-grid-3,
  .gf-pricing,
  .gf-principles,
  .gf-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .gf-site-header__inner {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .gf-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .gf-nav__menu {
    flex-wrap: wrap;
  }

  .gf-nav .gf-button {
    width: 100%;
  }

  .gf-hero__grid,
  .gf-page,
  .gf-empty,
  .gf-cta__panel {
    padding: 28px;
  }

  .gf-hero__metrics,
  .gf-grid-3,
  .gf-grid-2,
  .gf-pricing,
  .gf-principles,
  .gf-process,
  .gf-posts {
    grid-template-columns: 1fr;
  }

  .gf-roadmap__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}