/* GoRun CMS — gold brand layer over the default theme. */
:root {
  --gc-deep: #17130b;
  --gc-night: #0e0c08;
  --gc-gold: #e2b74a;
  --gc-gold-hover: #ecc865;
  --gc-gold-ink: #8a6410;
  --gc-gold-soft: #f6ecd2;
  --gc-gold-line: #e6d3a0;
  --gc-on-dark: #ece3cf;
  --gc-on-dark-2: #d9cdb2;
  --gc-on-dark-3: #b8a988;
  --gc-dark-line: #4a3f26;
  --gc-dark-line-2: #3a3220;
  --bg: #f8f6f0;
  --panel: #ffffff;
  --panel-2: #efe9dc;
  --ink: #17140e;
  --muted: #5c5444;
  --line: #e6dfcf;
  --line-strong: #b0a68e;
  --green: #8a6410;
  --green-hover: #6e500c;
  --green-soft: #f6ecd2;
  --blue: #8a6410;
  --blue-hover: #6e500c;
  --font: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-ui: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --gc-display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

body { background: var(--bg); color: var(--ink); font-family: var(--font); }
.gc-wrap { max-width: 1240px; margin-inline: auto; padding-inline: 24px; box-sizing: border-box; width: 100%; }
.gc-center { text-align: center; }
.gc-main { flex: 1; width: 100%; }
.gc-main:focus { outline: none; }
/* Inner pages keep the default theme's reading layout. */
.gc-main > :not(.gc-home) { max-width: 1240px; margin-inline: auto; padding: 48px 24px; box-sizing: border-box; }

/* Buttons */
.gc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 10px; font-weight: 700; font-size: 18px; text-decoration: none; border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s; }
.gc-btn:focus-visible { outline: 3px solid var(--gc-gold); outline-offset: 2px; }
.gc-btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.gc-btn-gold { background: var(--gc-gold); color: var(--gc-deep); }
.gc-btn-gold:hover { background: var(--gc-gold-hover); color: var(--gc-deep); }
.gc-btn-ghost { border-color: #6b5c3c; color: #fff; font-weight: 600; }
.gc-btn-ghost:hover { border-color: var(--gc-gold); color: #fff; }
.gc-btn-dark { background: var(--gc-deep); color: #fff; min-height: 52px; font-size: 16px; }
.gc-btn-dark:hover { background: #2a2416; color: #fff; }
.gc-btn-line { border-color: var(--line-strong); color: var(--ink); min-height: 52px; font-size: 16px; }
.gc-btn-line:hover { border-color: var(--gc-gold-ink); color: var(--ink); }

/* Header */
.gc-header { background: var(--gc-deep); color: #fff; }
.gc-bar { display: flex; align-items: center; gap: 16px 32px; padding-block: 18px; }
.gc-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--gc-display); font-weight: 700; font-size: 22px; }
.gc-brand:hover { color: #fff; }
.gc-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--gc-gold); color: var(--gc-deep); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.gc-logo { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; }
.gc-nav { flex: 1 1 auto; }
.gc-nav ul, .gc-mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.gc-nav a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--gc-on-dark); text-decoration: none; font-size: 15px; }
.gc-nav a:hover, .gc-nav a[aria-current="page"] { color: var(--gc-gold); }
.gc-tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.gc-lang { min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--gc-dark-line); display: inline-flex; align-items: center; color: #fff; text-decoration: none; font-size: 15px; }
.gc-lang:hover { border-color: var(--gc-gold); color: #fff; }
.gc-mobile-menu { display: none; position: relative; }
.gc-mobile-menu summary { list-style: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--gc-dark-line); display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; }
.gc-mobile-menu summary::-webkit-details-marker { display: none; }
.gc-mobile-menu nav { position: absolute; inset-inline-end: 0; top: 52px; z-index: 40; min-width: 220px; background: var(--gc-deep); border: 1px solid var(--gc-dark-line); border-radius: 10px; padding: 8px; }
.gc-mobile-menu ul { flex-direction: column; }
.gc-mobile-menu a { display: block; padding: 10px 12px; color: var(--gc-on-dark); text-decoration: none; }

/* Hero */
.gc-hero { background: var(--gc-deep); color: #fff; }
.gc-hero-copy { padding-top: 72px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.gc-pill { margin: 0 0 22px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--gc-dark-line); color: var(--gc-on-dark); font-size: 14px; }
.gc-pill span { width: 8px; height: 8px; border-radius: 99px; background: var(--gc-gold); }
.gc-hero h1 { margin: 0 0 20px; max-width: 16em; font-family: var(--gc-display); font-size: clamp(38px, 5.4vw, 66px); line-height: 1.15; font-weight: 700; }
.gc-hero h1 em { font-style: normal; color: var(--gc-gold); }
.gc-lead { margin: 0 0 32px; max-width: 40em; color: var(--gc-on-dark-2); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.75; }
.gc-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.gc-note { margin: 18px 0 48px; color: var(--gc-on-dark-3); font-size: 14px; }
.gc-browser { margin: 0; width: 100%; max-width: 1080px; border-radius: 16px 16px 0 0; overflow: hidden; border: 1px solid var(--gc-dark-line-2); border-bottom: 0; background: #fff; }
.gc-browser-bar { height: 40px; background: var(--panel-2); display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.gc-browser-bar span { width: 11px; height: 11px; border-radius: 99px; background: #d8cfbb; }
.gc-browser-bar b { margin-inline-start: 16px; height: 24px; flex: 0 1 360px; border-radius: 6px; background: #fff; color: #6e6655; font-size: 12px; font-weight: 400; display: flex; align-items: center; padding: 0 10px; }
.gc-browser img, .gc-shot img, .gc-themes img { display: block; width: 100%; height: auto; }

/* Proof strip */
.gc-proof { background: #fff; border-bottom: 1px solid var(--line); }
.gc-proof .gc-wrap { padding-block: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; color: var(--muted); font-size: 15px; }
.gc-proof a { font-family: var(--gc-display); font-weight: 600; font-size: 20px; color: var(--ink); text-decoration: none; }
.gc-proof a:hover { color: var(--gc-gold-ink); }

/* Sections */
.gc-home h2 { margin: 0 0 14px; font-family: var(--gc-display); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; font-weight: 700; }
.gc-home h3 { font-family: var(--gc-display); font-weight: 700; }
.gc-section { padding-block: 96px; }
.gc-section-top { padding-top: 72px; }
.gc-sub { margin: 0 0 24px; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.75; }
p.gc-sub.gc-center { max-width: 36em; margin-inline: auto; margin-bottom: 48px; }
.gc-kicker { margin: 0 0 10px; color: var(--gc-gold-ink); font-weight: 700; font-size: 15px; }
.gc-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.gc-pillars article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; display: flex; flex-direction: column; gap: 12px; }
.gc-pillars h3 { margin: 4px 0 0; font-size: 26px; }
.gc-pillars p { margin: 0; color: var(--muted); }
.gc-tile { width: 56px; height: 56px; border-radius: 14px; background: var(--gc-deep); color: var(--gc-gold); display: flex; align-items: center; justify-content: center; font-family: var(--gc-display); font-weight: 700; font-size: 22px; }
.gc-band { background: #fff; border-block: 1px solid var(--line); }
.gc-band .gc-split { padding-block: 88px; }
.gc-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.gc-split-copy { flex: 1 1 380px; min-width: 0; }
.gc-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.gc-checks li { display: flex; gap: 12px; align-items: flex-start; }
.gc-checks li > span { flex: 0 0 24px; height: 24px; margin-top: 3px; border-radius: 99px; background: var(--gc-gold-soft); color: var(--gc-gold-ink); display: flex; align-items: center; justify-content: center; }
.gc-themes { flex: 1.2 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gc-themes figure { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); }
.gc-themes img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.gc-themes figcaption { padding: 10px 14px; display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.gc-themes figcaption span { color: var(--muted); }
.gc-shot { flex: 1.2 1 480px; min-width: 0; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gc-bullets { margin: 0; padding-inline-start: 20px; color: #3a3326; display: flex; flex-direction: column; gap: 6px; }

/* Mac app */
.gc-badge { display: inline-block; margin-inline-start: 8px; padding: 2px 10px; border-radius: 999px; background: var(--gc-gold-soft); border: 1px solid var(--gc-gold-line); color: #6e500c; font-size: 13px; font-weight: 600; }
.gc-mac-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.gc-mac-note { margin: 0; flex: 1 1 260px; color: var(--muted); font-size: 14px; }
.gc-mac-window { flex: 1.2 1 480px; min-width: 0; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: #fff; }
.gc-mac-bar { height: 38px; background: var(--panel-2); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 0 14px; direction: ltr; }
.gc-mac-bar span { width: 12px; height: 12px; border-radius: 99px; background: #d8cfbb; }
.gc-mac-bar span:first-child { background: var(--gc-gold); }
.gc-mac-bar b { flex: 1; text-align: center; margin-inline-end: 52px; font-size: 13px; font-weight: 600; color: var(--muted); }
.gc-mac-window img { display: block; width: 100%; height: auto; }

/* Developers */
.gc-dev { background: var(--gc-night); color: #f0e9d8; }
.gc-dev .gc-split { padding-block: 96px; }
.gc-dev .gc-kicker { color: var(--gc-gold); }
.gc-dev .gc-sub { color: #cfc4ab; }
.gc-devgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gc-devgrid div { border: 1px solid var(--gc-dark-line-2); border-radius: 12px; padding: 14px 16px; }
.gc-devgrid strong { display: block; color: #fff; }
.gc-devgrid span { color: #b3a687; font-size: 15px; }
.gc-code-col { flex: 1 1 440px; min-width: 0; }
.gc-code { margin: 0; padding: 26px 28px; border-radius: 16px; background: #1a170f; border: 1px solid var(--gc-dark-line-2); color: var(--gc-on-dark); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; line-height: 1.9; overflow-x: auto; text-align: left; }
.gc-code .c { color: #8f8166; }
.gc-code .p { color: var(--gc-gold); }
.gc-devlinks { margin: 14px 0 0; color: #b3a687; font-size: 15px; }
.gc-devlinks a { color: var(--gc-gold); }
.gc-devlinks a:hover { color: var(--gc-gold-hover); }

/* WordPress band */
.gc-wp { border-radius: 20px; background: var(--gc-gold-soft); border: 1px solid var(--gc-gold-line); padding: 40px 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.gc-wp > div { max-width: 640px; }
.gc-home .gc-wp h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 8px; }
.gc-wp p { margin: 0; color: #3a3326; font-size: 18px; }

/* Pricing */
.gc-home #gc-price { margin-bottom: 40px; }
.gc-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.gc-plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 38px; display: flex; flex-direction: column; gap: 14px; }
.gc-plan h3 { margin: 0; font-size: 26px; }
.gc-plan p { margin: 0; color: var(--muted); }
.gc-plan .gc-btn { margin-top: auto; }
.gc-plan-dark { background: var(--gc-deep); border-color: var(--gc-deep); color: #fff; }
.gc-plan-dark p { color: var(--gc-on-dark-2); }
.gc-plan .gc-amount { font-family: var(--gc-display); font-size: 46px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.gc-plan-dark .gc-amount { color: var(--gc-gold); }
.gc-amount small { font-size: 18px; font-weight: 500; color: var(--gc-on-dark-2); }
.gc-plan .gc-amount-text { font-size: 34px; }

/* Final CTA */
.gc-final { background: var(--gc-deep); color: #fff; }
.gc-final .gc-wrap { padding-block: 80px; }
.gc-final .gc-sub { color: var(--gc-on-dark-2); margin-bottom: 30px; }

/* Footer */
.gc-footer { background: var(--gc-night); color: #b3a687; }
.gc-footer-main { padding-block: 48px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 64px; }
.gc-footer-about { flex: 1 1 300px; display: flex; flex-direction: column; gap: 10px; max-width: 30em; }
.gc-footer-about p { margin: 0; font-size: 15px; }
.gc-footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.gc-footer a { color: #b3a687; }
.gc-footer a:hover { color: var(--gc-gold); }
.gc-footer .gc-brand { color: #fff; }
.gc-footer-base { padding-block: 16px 28px; border-top: 1px solid #2a2416; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; }
.gc-footer-base p { margin: 0; }

@media (max-width: 900px) {
  .gc-nav { display: none; }
  .gc-mobile-menu { display: block; }
}
@media (max-width: 640px) {
  .gc-wrap { padding-inline: 16px; }
  .gc-bar { gap: 10px; }
  .gc-tools .gc-btn-sm { display: none; }
  .gc-hero-copy { padding-top: 40px; }
  .gc-section { padding-block: 56px; }
  .gc-band .gc-split, .gc-dev .gc-split { padding-block: 56px; }
  .gc-final .gc-wrap { padding-block: 56px; }
  .gc-split-copy, .gc-themes, .gc-shot, .gc-code-col, .gc-mac-window { flex-basis: 100%; }
  .gc-mac-cta .gc-btn { width: 100%; }
  .gc-devgrid { grid-template-columns: minmax(0, 1fr); }
  .gc-pillars article, .gc-plan { padding: 26px; }
  .gc-wp { padding: 28px 22px; }
  .gc-btn { width: 100%; }
  .gc-tools .gc-btn, .gc-wp .gc-btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .gc-btn { transition: none; } }
