/* Arrivao Site Theme v1.4.0 - homepage as software studio, Forum V1 page as interactive product page */
:root {
  --bg: #fbfaf7;
  --bg-warm: #f4efe7;
  --paper: #ffffff;
  --ink: #17110f;
  --muted: #716861;
  --soft: #978d84;
  --line: rgba(46, 35, 30, .12);
  --line-strong: rgba(46, 35, 30, .18);
  --brand: #7b2635;
  --brand-dark: #42131d;
  --brand-soft: #fff0f3;
  --cream: #fff8ec;
  --sand: #f1ebe2;
  --green: #257a4c;
  --gold: #9b6a21;
  --violet: #685da6;
  --blue: #2f6985;
  --shadow: 0 28px 90px rgba(65, 42, 32, .12);
  --shadow-soft: 0 18px 50px rgba(65, 42, 32, .08);
  --radius: 26px;
  --radius-lg: 42px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -8%, rgba(123,38,53,.14), transparent 30rem),
    radial-gradient(circle at 88% 7%, rgba(211,185,137,.23), transparent 34rem),
    linear-gradient(180deg, #fffefa 0%, var(--bg) 48%, #f6f0e8 100%);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(70,52,44,.032) 1px, transparent 1px), linear-gradient(90deg, rgba(70,52,44,.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.46), rgba(0,0,0,.02));
}

a { color: inherit; }
.ar-wrap { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }
body.admin-bar .site-nav { top: 32px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, .76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}
.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-symbol {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff8ed;
  font-weight: 900;
  letter-spacing: -.03em;
  box-shadow: 0 14px 30px rgba(123,38,53,.18);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1rem; letter-spacing: -.04em; }
.brand-text small { color: var(--soft); font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; margin-top: 4px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a { text-decoration: none; color: #5c524b; font-size: .92rem; font-weight: 800; }
.desktop-nav a:hover { color: var(--brand); }
.nav-cta {
  text-decoration: none;
  border: 1px solid rgba(123,38,53,.2);
  background: rgba(255,255,255,.72);
  color: var(--brand-dark);
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(123,38,53,.06);
}
.nav-cta:hover { transform: translateY(-1px); border-color: rgba(123,38,53,.34); }

.homepage-hero { padding: 96px 0 56px; }
.hero-stage { text-align: center; }
.hero-kicker, .status-pill, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-kicker {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,.65);
  box-shadow: 0 8px 30px rgba(65,42,32,.05);
}
.hero-kicker span, .pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #39835b;
  box-shadow: 0 0 0 6px rgba(57,131,91,.11);
}
.homepage-hero h1 {
  margin: 28px auto 22px;
  max-width: 980px;
  font-size: clamp(3.4rem, 8.4vw, 8.5rem);
  line-height: .88;
  letter-spacing: -.085em;
  font-weight: 950;
}
.hero-lede {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.62;
}
.hero-actions, .inline-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.centered-actions { justify-content: center; margin: 30px 0 42px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); color: #fff8ef; box-shadow: 0 18px 38px rgba(123,38,53,.2); }
.button-secondary, .button-glass { background: rgba(255,255,255,.76); color: var(--brand-dark); border-color: rgba(123,38,53,.15); }

.suite-showcase {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: left;
}
.showcase-topline {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-weight: 900;
  letter-spacing: .02em;
}
.showcase-brand { color: var(--brand-dark); }
.showcase-hero-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 76px);
  background:
    linear-gradient(135deg, rgba(123,38,53,.96), rgba(66,19,29,.96) 54%, rgba(177,116,91,.8)),
    radial-gradient(circle at 80% 12%, rgba(255,255,255,.25), transparent 22rem);
  color: #fff7ea;
}
.showcase-hero-card .mini-label { color: rgba(255,247,234,.7); margin: 0 0 14px; }
.showcase-hero-card h2 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: .9;
  letter-spacing: -.075em;
}
.showcase-hero-card p {
  color: rgba(255,247,234,.82);
  max-width: 520px;
  font-size: 1.1rem;
}
.showcase-hero-card a {
  align-self: flex-start;
  margin-top: 10px;
  color: var(--brand-dark);
  background: #fff8ec;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.showcase-grid article {
  padding: 26px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}
.showcase-grid article:last-child { border-right: 0; }
.showcase-grid strong { display: block; font-size: 1.05rem; letter-spacing: -.03em; }
.showcase-grid span { color: var(--muted); font-weight: 700; }

.feature-band { padding: 0 0 70px; }
.band-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(123,38,53,.13);
  border-radius: 26px;
  background: linear-gradient(135deg, #80293a, #43131e);
  box-shadow: 0 26px 60px rgba(123,38,53,.16);
}
.band-grid a {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  color: #fff8ec;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,.13);
}
.band-grid a:last-child { border-right: 0; }
.band-grid span { color: rgba(255,248,236,.55); font-size: .78rem; font-weight: 900; }
.band-grid strong { font-size: .98rem; }
.band-grid a:hover { background: rgba(255,255,255,.08); }

.section { padding: 92px 0; }
.section-heading { text-align: center; max-width: 780px; }
.section-heading h2, .split-section h2, .stack-panel h2, .pricing-card h2, .founder-card h2, .forum-product-hero h1, .forum-interface-section h2 {
  margin: 8px 0 14px;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  line-height: .96;
  letter-spacing: -.065em;
  font-weight: 950;
}
.section-heading p, .split-section p, .stack-panel p, .pricing-card p, .founder-card p, .forum-product-hero p, .forum-interface-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 58px;
  align-items: center;
}
.flagship-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.flagship-window {
  height: 60px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,248,236,.68);
}
.flagship-window span { width: 12px; height: 12px; border-radius: 999px; background: #e5c0c8; }
.flagship-window span:nth-child(2) { background: #c9c3bc; }
.flagship-window span:nth-child(3) { background: #b7b0a8; }
.flagship-block { padding: 30px; background: linear-gradient(135deg, #fff, #fff7ec); }
.flagship-block small, .mini-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .72rem;
  font-weight: 900;
  color: var(--brand);
}
.flagship-block strong { display: block; font-size: 2rem; line-height: 1; letter-spacing: -.06em; margin: 12px 0; }
.flagship-card ul { list-style: none; padding: 0; margin: 0; }
.flagship-card li { padding: 18px 30px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 800; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.product-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 16px 45px rgba(65,42,32,.06);
}
.product-card.featured { background: linear-gradient(135deg, #fff, #fff0f3); border-color: rgba(123,38,53,.18); }
.product-card span { color: var(--brand); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.product-card h3 { margin: 16px 0 10px; font-size: 1.55rem; letter-spacing: -.045em; }
.product-card p { margin: 0; color: var(--muted); }

.stack-panel, .pricing-card, .founder-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
}
.stack-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: clamp(34px, 6vw, 62px);
  align-items: center;
}
.stack-list { display: grid; gap: 14px; }
.stack-list div {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fffdf9;
}
.stack-list strong { display: block; }
.stack-list span { display: block; color: var(--muted); margin-top: 4px; }
.pricing-card { padding: clamp(34px, 6vw, 66px); text-align: center; }
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
  text-align: left;
}
.pricing-row div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffdf9;
}
.pricing-row strong, .pricing-row span { display: block; }
.pricing-row span { color: var(--muted); margin-top: 4px; }
.founder-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  padding: clamp(34px, 6vw, 62px);
  align-items: center;
}
.site-footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; font-weight: 800; color: var(--brand-dark); }

/* Product page + interactive Forum V1 module */
.forum-product-hero { padding: 90px 0 48px; }
.product-hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: end; }
.forum-product-hero h1 { max-width: 780px; }
.product-page-note {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(123,38,53,.18);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
}
.product-page-note strong, .product-page-note span { display: block; }
.product-page-note span { color: var(--muted); margin-top: 8px; }
.forum-interface-section { padding: 55px 0 90px; }
.narrow { margin-bottom: 28px; }
.hero-console {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}
.large-console { max-width: 1040px; margin: 0 auto; }
.console-top {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,249,241,.78);
}
.window-dot { width: 12px; height: 12px; border-radius: 999px; background: #e6b8c1; }
.window-dot:nth-child(2) { background: #c9c3bd; }
.window-dot:nth-child(3) { background: #b6afa7; }
.console-url {
  margin-left: 12px;
  flex: 1;
  height: 34px;
  border-radius: 999px;
  background: rgba(47,37,31,.06);
  color: var(--soft);
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: .92rem;
  font-weight: 900;
}
.console-body { display: grid; grid-template-columns: 190px 1fr; min-height: 610px; }
.console-sidebar {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid var(--line);
  background: rgba(248,244,236,.72);
}
.sidebar-chip {
  appearance: none;
  border: 0;
  text-align: left;
  border-radius: 18px;
  padding: 15px 16px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.sidebar-chip:hover, .sidebar-chip:focus-visible { outline: none; background: rgba(123,38,53,.07); color: var(--brand-dark); }
.sidebar-chip.active { background: rgba(123,38,53,.1); color: var(--brand-dark); box-shadow: inset 0 0 0 1px rgba(123,38,53,.08); }
.console-main { min-width: 0; padding: 28px; overflow: hidden; }
.console-panel { animation: fadeSlide .22s ease both; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.product-header-card {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 36px;
  border-radius: 26px;
  color: #fff8ec;
  background: linear-gradient(135deg, #b78386, #7b2635 58%, #42131d);
}
.product-header-card h2 { margin: 10px 0 0; font-size: clamp(3.2rem, 7vw, 6rem); line-height: .88; letter-spacing: -.07em; }
.product-header-card .mini-label { color: rgba(255,248,236,.72); }
.version-badge { width: 68px; height: 68px; border-radius: 22px; background: #fff8ec; color: var(--brand-dark); display: grid; place-items: center; font-weight: 950; font-size: 1.28rem; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0; }
.metric-grid.two { grid-template-columns: repeat(2, 1fr); }
.metric-card { padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.82); }
.metric-card strong { display: block; font-size: 1.55rem; letter-spacing: -.05em; }
.metric-card span { color: var(--muted); font-weight: 800; }
.task-list { display: grid; gap: 12px; }
.task-list div { display: grid; grid-template-columns: 62px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.82); }
.task-list span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; background: var(--brand-soft); color: var(--brand); font-weight: 950; }
.task-list strong { display: block; font-size: 1.1rem; }
.task-list em { display: block; font-style: normal; color: var(--muted); }
.terminal-line { margin-top: 14px; padding: 20px 24px; border-radius: 22px; border: 1px solid rgba(37,122,76,.18); background: rgba(37,122,76,.08); color: #216944; }
.terminal-line code, .terminal-line span { display: block; font-weight: 900; }
.terminal-line span { margin-top: 10px; color: rgba(33,105,68,.72); }
.admin-card { background: linear-gradient(135deg, #314155, #182331); }
.theme-card { background: linear-gradient(135deg, #685da6, #7b2635); }
.plugin-card { background: linear-gradient(135deg, #2f6985, #42131d); }
.docs-card { background: linear-gradient(135deg, #8d6831, #42131d); }
.dashboard-bars { display: grid; gap: 16px; margin: 18px 0; }
.dashboard-bars div { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.dashboard-bars strong { display: block; margin-bottom: 10px; }
.dashboard-bars span { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #d3a782); }
.theme-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.theme-swatches span { min-height: 106px; border-radius: 22px; border: 1px solid var(--line); }
.theme-swatches span:nth-child(1) { background: linear-gradient(135deg, #fff, #fff0f3); }
.theme-swatches span:nth-child(2) { background: linear-gradient(135deg, #17110f, #7b2635); }
.theme-swatches span:nth-child(3) { background: linear-gradient(135deg, #f6efe3, #9b6a21); }
.theme-swatches span:nth-child(4) { background: linear-gradient(135deg, #f7f9fb, #2f6985); }
.plugin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.plugin-grid div, .docs-list p { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.plugin-grid strong, .plugin-grid span { display: block; }
.plugin-grid span, .docs-list p { color: var(--muted); }
.docs-list { display: grid; gap: 12px; margin-top: 18px; }
.docs-list strong { color: var(--brand); margin-right: 12px; }

.arrivao-page .page-shell { padding: 80px 0; }
.content-card { max-width: 880px; margin: 0 auto; padding: 42px; border-radius: 30px; background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.content-card h1 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.06em; line-height: 1; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .nav-cta { display: none; }
  .homepage-hero { padding-top: 68px; }
  .showcase-grid, .band-grid, .product-grid, .pricing-row { grid-template-columns: 1fr 1fr; }
  .split-section, .stack-panel, .founder-card, .product-hero-grid { grid-template-columns: 1fr; }
  .console-body { grid-template-columns: 1fr; }
  .console-sidebar { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; overflow-x: auto; }
  .sidebar-chip { white-space: nowrap; }
}
@media (max-width: 640px) {
  .ar-wrap { width: min(100% - 28px, var(--max)); }
  .nav-inner { min-height: 70px; }
  .homepage-hero h1 { font-size: clamp(3.1rem, 17vw, 5rem); }
  .hero-lede { font-size: 1rem; }
  .showcase-grid, .band-grid, .product-grid, .pricing-row { grid-template-columns: 1fr; }
  .band-grid a { min-height: 82px; }
  .section { padding: 62px 0; }
  .product-header-card { padding: 24px; min-height: 150px; }
  .metric-grid, .metric-grid.two, .plugin-grid { grid-template-columns: 1fr; }
  .task-list div { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
