/* =================================================================
   OrgConnect Client – Marketing Styles
   Light theme default · Dark theme via html without .light
   ================================================================= */

/* ── DARK THEME (default) ──────────────────────────────────────── */
:root {
  --bg: #000000;
  --bg-raised: #111111;
  --bg-card: #1c1c1e;
  --panel: rgba(28, 28, 30, 0.95);
  --panel-strong: rgba(18, 18, 20, 0.98);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f5f5f7;
  --muted: #86868b;
  --muted-strong: #d2d2d7;
  --cyan: #2997ff;
  --cyan-soft: rgba(41, 151, 255, 0.12);
  --blue: #6ec0ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 980px;
}

/* ── LIGHT THEME ───────────────────────────────────────────────── */
html.light {
  --bg: #ffffff;
  --bg-raised: #f5f5f7;
  --bg-card: #f2f2f4;
  --panel: rgba(250, 250, 252, 0.95);
  --panel-strong: rgba(245, 245, 247, 0.98);
  --line: rgba(0, 0, 0, 0.14);
  --line-strong: rgba(0, 0, 0, 0.28);
  --text: #1d1d1f;
  --muted: #515154;
  --muted-strong: #1d1d1f;
  --cyan: #0071e3;
  --cyan-soft: rgba(0, 113, 227, 0.1);
  --blue: #339af0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.09);
}

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ── BODY / BACKGROUND ─────────────────────────────────────────── */
body {
  margin: 0;
  min-width: 320px;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  transition: background 280ms ease, color 280ms ease;
}

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

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

/* ── LAYOUT ────────────────────────────────────────────────────── */
.page-shell {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

/* ── HEADER ────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  height: 54px;
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  position: sticky;
  top: 20px;
  z-index: 100;
}

html.light .site-header {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 32px rgba(0, 0, 0, 0.07);
}

html.light body {
  background: linear-gradient(160deg, #dbeeff 0%, #edf5ff 12%, #f5f5f7 30%, #ffffff 55%);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-lockup__by {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.brand-lockup__logo {
  height: 28px;
  width: 28px;
  flex-shrink: 0;
  display: block;
}

.brand-lockup__name,
.site-footer__title,
.section-heading h2,
.feature-card h3,
.workflow-step h3,
.pricing-card h3,
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
}

.brand-lockup__name {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.site-footer__title {
  margin: 2px 0 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow,
.pill,
.pricing-card__tag,
.label,
.workflow-step span {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  color: var(--cyan);
}

/* ── NAV ───────────────────────────────────────────────────────── */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 180ms ease;
}

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

.site-nav a svg {
  width: 15px;
  height: 15px;
  opacity: 0.7;
  flex-shrink: 0;
  transition: opacity 180ms ease;
}

.site-nav a:hover svg {
  opacity: 1;
}

/* ── THEME TOGGLE ──────────────────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.theme-toggle:hover {
  background: var(--cyan-soft);
  color: var(--cyan);
  border-color: var(--line-strong);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

html.light .theme-toggle {
  background: rgba(0, 0, 0, 0.05);
}

/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin: 96px 0 80px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  position: relative;
}


/* ── PILL ──────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid rgba(41, 151, 255, 0.22);
}

.pill svg {
  width: 13px;
  height: 13px;
  color: var(--cyan);
  flex-shrink: 0;
}

/* ── HERO COPY ─────────────────────────────────────────────────── */
.hero h1 {
  margin: 18px 0 14px;
  max-width: 12ch;
  font-size: clamp(2.75rem, 5vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

/* Gradient heading – dark mode */
html:not(.light) .hero h1 {
  background: linear-gradient(135deg, #f5f5f7 45%, #6ec0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient heading – light mode */
html.light .hero h1 {
  background: linear-gradient(135deg, #1d1d1f 40%, #0071e3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lead,
.section-heading p,
.feature-card p,
.workflow-step p,
.pricing-card p,
.pricing-note p,
.site-footer__copy,
.hero__signals span,
.microcopy {
  color: var(--muted);
}

.hero__lead {
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── BUTTONS ───────────────────────────────────────────────────── */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, #3aa8ff 0%, #0071e3 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(41, 151, 255, 0.42);
}

.button--primary:hover {
  opacity: 0.9;
  box-shadow: 0 8px 32px rgba(41, 151, 255, 0.55);
}

html.light .button--primary {
  background: linear-gradient(135deg, #2997ff 0%, #0051c7 100%);
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.38);
}

html.light .button--primary:hover {
  opacity: 0.9;
  box-shadow: 0 8px 32px rgba(0, 113, 227, 0.48);
}

.button--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}

.button--ghost:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan);
  color: var(--cyan);
}

html.light .button--ghost {
  background: transparent;
}

html.light .button--ghost:hover {
  background: var(--cyan-soft);
}

/* ── HERO SIGNALS ──────────────────────────────────────────────── */
.hero__signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__signals li {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(28, 28, 30, 0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 150ms ease;
}

html.light .hero__signals li {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.1);
}

.hero__signals strong {
  display: block;
  font-size: 0.98rem;
}

.signal-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--cyan-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.signal-icon-wrap svg {
  width: 16px;
  height: 16px;
}

/* ── HERO PANEL ────────────────────────────────────────────────── */
.hero__panel {
  position: relative;
  min-height: 520px;
}

.hero__visual-image {
  position: absolute;
  top: -10px;
  right: 24px;
  width: min(250px, 45%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 0;
}

html.light .hero__visual-image {
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* ── WINDOW CARD ───────────────────────────────────────────────── */
.window-card {
  position: absolute;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(28, 28, 30, 0.95);
  box-shadow: var(--shadow);
}

html.light .window-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.window-card--main {
  inset: 0 62px 74px 0;
  padding: 18px;
}

.window-card--side {
  right: 0;
  bottom: 0;
  width: 250px;
  padding: 20px;
}

.window-card__bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.window-card__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-card__bar span:nth-child(1) { background: #ff5f57; }
.window-card__bar span:nth-child(2) { background: #febc2e; }
.window-card__bar span:nth-child(3) { background: #28c840; }

.window-card__layout {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
}

.window-card__nav,
.window-card__content,
.pricing-note {
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid var(--line);
  border-radius: 16px;
}

html.light .window-card__nav,
html.light .window-card__content,
html.light .pricing-note {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.08);
}

.window-card__nav {
  display: grid;
  gap: 10px;
  padding: 14px;
  align-content: start;
}

.app-sidebar {
  background: linear-gradient(180deg, rgba(11, 18, 34, 0.96), rgba(11, 17, 28, 0.98));
  border-color: rgba(112, 129, 170, 0.16);
  color: #dbe7ff;
}

.app-sidebar__brand,
.app-sidebar__profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-sidebar__brand {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(112, 129, 170, 0.16);
}

.app-sidebar__brand strong,
.app-sidebar__profile p,
.app-dashboard h3,
.app-activity-row strong {
  margin: 0;
}

.app-sidebar__brand span,
.app-sidebar__meta,
.app-dashboard__heading p,
.app-activity-row span,
.app-activity-card__top span {
  color: #7f8ba5;
}

.app-sidebar__brand-mark,
.app-sidebar__avatar,
.app-stat-card__icon,
.app-activity-row__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-sidebar__brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(90, 98, 255, 0.3), rgba(80, 193, 255, 0.22));
  color: #7fc8ff;
}

.app-sidebar__brand-mark svg,
.app-stat-card__icon svg {
  width: 18px;
  height: 18px;
}

.app-sidebar__avatar,
.app-activity-row__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(138, 92, 246, 0.28);
  color: #f5f5f7;
  font-weight: 700;
}

.app-sidebar__profile {
  padding: 14px 0 8px;
}

.app-sidebar__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #eef4ff;
}

.app-sidebar__meta {
  margin-top: 3px;
  font-size: 0.78rem;
}

.app-sidebar__number {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(110, 130, 255, 0.24);
  background: rgba(70, 79, 180, 0.22);
  color: #c8d8ff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.app-sidebar__menu {
  display: grid;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(112, 129, 170, 0.16);
}

.mini-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  transition: background 150ms ease, color 150ms ease;
}

html.light .mini-chip {
  background: transparent;
}

.mini-chip--active {
  background: var(--cyan-soft);
  color: var(--text);
  border: 1px solid rgba(41, 151, 255, 0.25);
}

.app-sidebar .mini-chip {
  color: #a9b4ca;
}

.app-sidebar .mini-chip svg {
  width: 15px;
  height: 15px;
}

.app-sidebar .mini-chip--active {
  background: rgba(79, 88, 210, 0.24);
  border-color: rgba(102, 113, 255, 0.28);
  color: #eef4ff;
}

html.light .mini-chip--active {
  border-color: rgba(0, 113, 227, 0.22);
}

.window-card__content {
  padding: 18px;
}

.app-dashboard {
  background: linear-gradient(180deg, rgba(20, 29, 51, 0.96), rgba(17, 25, 44, 0.98));
  border-color: rgba(112, 129, 170, 0.16);
  color: #eef4ff;
}

.app-dashboard__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.app-dashboard__eyebrow {
  margin: 0 0 8px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7f8ba5;
}

.app-dashboard h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.app-dashboard__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(32, 43, 74, 0.92);
  color: #7fd8a7;
  border: 1px solid rgba(127, 216, 167, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
}

.app-dashboard__status svg {
  width: 15px;
  height: 15px;
}

.app-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.app-stat-card {
  background: rgba(36, 46, 68, 0.94);
  border-color: rgba(112, 129, 170, 0.12);
}

.app-stat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: rgba(79, 88, 210, 0.22);
  color: #90c2ff;
}

.app-activity-card {
  background: rgba(36, 46, 68, 0.94);
  border-color: rgba(112, 129, 170, 0.12);
}

.app-activity-card__top,
.app-activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-activity-card__top {
  margin-bottom: 14px;
}

.app-activity-row {
  justify-content: flex-start;
}

.app-activity-row > div {
  min-width: 0;
  flex: 1;
}

.app-activity-row__time {
  font-size: 0.78rem;
  color: #7f8ba5;
  white-space: nowrap;
}

.is-blurred {
  filter: blur(5px);
  user-select: none;
}

.stat-row,
.plan-stack div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.stat-row {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.label,
.microcopy {
  font-size: 0.72rem;
}

.label {
  margin: 0 0 8px;
  color: var(--cyan);
}

.value {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.thread-list {
  display: grid;
  gap: 12px;
}

.thread-item {
  padding: 12px;
  border-radius: 14px;
  background: rgba(28, 28, 30, 0.9);
  border: 1px solid var(--line);
}

html.light .thread-item {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.08);
}

.thread-item strong,
.plan-stack strong {
  display: block;
  margin-bottom: 6px;
}

.plan-stack {
  display: grid;
  gap: 14px;
  margin: 14px 0 16px;
}

.plan-stack span {
  color: var(--muted-strong);
}

/* ── FLOAT ANIMATIONS ──────────────────────────────────────────── */
.float-card,
.float-card-delayed {
  animation: none;
}

.float-card-delayed {
  animation-delay: 0s;
}

/* ── SECTIONS ──────────────────────────────────────────────────── */
.section {
  padding: clamp(64px, 8vw, 96px) 0;
  margin: 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--line);
  background: transparent;
  backdrop-filter: none;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 10px 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

/* ── GRIDS ─────────────────────────────────────────────────────── */
.feature-grid,
.workflow-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

/* ── FEATURE CARDS ─────────────────────────────────────────────── */
.feature-card,
.workflow-step,
.pricing-card,
.pricing-note {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.feature-card:hover,
.workflow-step:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

html.light .feature-card,
html.light .workflow-step,
html.light .pricing-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html.light .feature-card:hover,
html.light .workflow-step:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
}

/* ── CARD ICONS ────────────────────────────────────────────────── */
.feature-card__icon,
.workflow-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cyan-soft);
  border: 1px solid rgba(41, 151, 255, 0.2);
  margin-bottom: 18px;
  color: var(--cyan);
  box-shadow: 0 4px 18px rgba(41, 151, 255, 0.22);
}

html.light .feature-card__icon,
html.light .workflow-step__icon {
  border-color: rgba(0, 113, 227, 0.2);
  box-shadow: 0 4px 18px rgba(0, 113, 227, 0.16);
}

.feature-card__icon svg,
.workflow-step__icon svg {
  width: 22px;
  height: 22px;
}

.workflow-step__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.workflow-step__icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3,
.workflow-step h3,
.pricing-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

/* ── WORKFLOW ──────────────────────────────────────────────────── */
.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 28px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid rgba(41, 151, 255, 0.22);
}

/* ── PRICING ───────────────────────────────────────────────────── */
.plans .pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  position: relative;
}

.pricing-card--featured {
  border-color: var(--cyan);
  background: rgba(41, 151, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(41, 151, 255, 0.4), 0 32px 80px rgba(41, 151, 255, 0.18);
}

html.light .pricing-card--featured {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.4), 0 32px 80px rgba(0, 113, 227, 0.14), inset 0 1px 0 rgba(255,255,255,1);
}

.pricing-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--cyan);
}

.pricing-card__badge svg {
  width: 12px;
  height: 12px;
}

.pricing-card__tag {
  margin: 0 0 16px;
  font-size: 0.68rem;
  color: var(--cyan);
}

.pricing-card h3 {
  font-size: 2.35rem;
}

.pricing-card h3 span {
  font-size: 1rem;
  color: var(--muted);
}

.pricing-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
}

.pricing-card li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--cyan);
}

.pricing-note {
  margin-top: 18px;
}

/* ── BRAND / LOGO VARIANTS ─────────────────────────────────────── */
.logo-variant-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.logo-variant-card {
  padding: 36px 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.logo-variant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.logo-variant-card img {
  max-width: 240px;
  width: 100%;
}

.logo-variant-card p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.logo-variant-card--cyan {
  background: radial-gradient(ellipse at 50% 75%, rgba(41, 151, 255, 0.12) 0%, transparent 68%),
    rgba(28, 28, 30, 0.8);
}

.logo-variant-card--cyan:hover {
  border-color: rgba(41, 151, 255, 0.35);
  box-shadow: 0 28px 80px rgba(41, 151, 255, 0.12);
}

.logo-variant-card--purple {
  background: radial-gradient(ellipse at 50% 75%, rgba(124, 58, 237, 0.14) 0%, transparent 68%),
    rgba(28, 28, 30, 0.8);
  border-color: rgba(124, 58, 237, 0.2);
}

.logo-variant-card--purple:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 28px 80px rgba(124, 58, 237, 0.16);
}

.logo-variant-card--green {
  background: radial-gradient(ellipse at 50% 75%, rgba(16, 185, 129, 0.14) 0%, transparent 68%),
    rgba(28, 28, 30, 0.8);
  border-color: rgba(16, 185, 129, 0.2);
}

.logo-variant-card--green:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 28px 80px rgba(16, 185, 129, 0.16);
}

html.light .logo-variant-card {
  background: #fbfbfd;
  border-color: rgba(0, 0, 0, 0.1);
}

html.light .logo-variant-card--cyan {
  background: radial-gradient(ellipse at 50% 75%, rgba(0, 113, 227, 0.07) 0%, transparent 68%),
    #fbfbfd;
}

html.light .logo-variant-card--purple {
  background: radial-gradient(ellipse at 50% 75%, rgba(124, 58, 237, 0.07) 0%, transparent 68%),
    #fbfbfd;
  border-color: rgba(124, 58, 237, 0.15);
}

html.light .logo-variant-card--green {
  background: radial-gradient(ellipse at 50% 75%, rgba(16, 185, 129, 0.07) 0%, transparent 68%),
    #fbfbfd;
  border-color: rgba(16, 185, 129, 0.15);
}

/* ── FOOTER ────────────────────────────────────────────────────── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0 56px;
  border-top: 1px solid var(--line);
  background: transparent;
  margin-top: 0;
  border-radius: 0;
}

html.light .site-footer {
  background: transparent;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--cyan);
}

.footer-nav a svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: opacity 180ms ease;
}

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

/* ── ANIMATIONS ────────────────────────────────────────────────── */
/* float animations disabled */

/* ── RESPONSIVE 1100px ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero,
  .feature-grid,
  .workflow-grid,
  .plans .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__signals {
    grid-template-columns: 1fr;
  }
}

/* ── RESPONSIVE 860px ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 24px, 1200px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 72px 0 64px;
  }

  .site-header {
    height: auto;
    top: 12px;
    margin-top: 12px;
    padding: 14px 16px;
    align-items: flex-start;
  }

  .site-header,
  .window-card__layout,
  .workflow-grid,
  .plans .pricing-grid,
  .feature-grid,
  .logo-variant-row {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .brand-lockup {
    align-items: center;
    flex-direction: row;
    min-width: 0;
  }

  .brand-lockup__text {
    min-width: 0;
  }

  .brand-lockup__logo {
    height: 24px;
    width: 24px;
  }

  .site-nav {
    width: 100%;
    order: 3;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .site-nav a {
    white-space: nowrap;
  }

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

  .app-dashboard__heading,
  .app-activity-card__top,
  .app-activity-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-stat-grid {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    min-height: auto;
    width: 100%;
    max-width: 100%;
    overflow: clip;
  }

  .hero__visual-image {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: 100%;
    max-width: min(420px, 100%);
    margin: 0 0 16px;
  }

  .window-card {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .window-card--main {
    margin-bottom: 16px;
  }

  .window-card--side {
    width: 100%;
  }
}

/* ── RESPONSIVE 640px ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero {
    gap: 24px;
    margin: 56px 0 48px;
  }

  .hero h1 {
    max-width: none;
    font-size: 2.55rem;
  }

  .site-header {
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .brand-lockup__by {
    display: none;
  }

  .button {
    width: 100%;
  }

  .hero__actions,
  .footer-nav {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 12px;
  }

  .site-nav a {
    padding: 2px 0;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .stat-row {
    flex-direction: column;
  }

  .app-sidebar__brand,
  .app-sidebar__profile {
    align-items: flex-start;
  }

  .app-sidebar__number,
  .app-sidebar .mini-chip,
  .app-dashboard__status {
    width: 100%;
  }

  .app-dashboard h3 {
    font-size: 1.2rem;
  }

  .window-card__layout {
    gap: 12px;
  }

  .window-card__nav,
  .window-card__content,
  .feature-card,
  .workflow-step,
  .pricing-card,
  .pricing-note,
  .site-header,
  .site-footer {
    padding: 18px;
  }
}

/* =================================================================
   Contact Form & Section
   ================================================================= */

/* ── CONTACT LAYOUT ────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: start;
}

/* ── CONTACT INFO SIDEBAR ──────────────────────────────────────── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  background: var(--cyan-soft);
  border: 1px solid rgba(41, 151, 255, 0.2);
  color: var(--cyan);
}

.contact-info__icon svg { width: 18px; height: 18px; }

.contact-info__label {
  margin: 0 0 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.contact-info__value {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted-strong);
}

.contact-promise {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: var(--cyan-soft);
  border: 1px solid rgba(41, 151, 255, 0.2);
  margin-top: 8px;
}

html.light .contact-promise {
  background: var(--cyan-soft);
  border-color: rgba(0, 113, 227, 0.2);
}

.contact-promise svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-promise p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ── FORM SHELL ────────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-honeypot input {
  border: 0;
  padding: 0;
  min-height: 0;
}

.form-row { display: flex; flex-direction: column; gap: 18px; }
.form-row--2 { flex-direction: row; }

/* ── FORM FIELDS ───────────────────────────────────────────────── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted-strong);
  letter-spacing: 0.03em;
  transition: color 280ms ease;
}

.form-field label span:not(.optional) {
  color: var(--cyan);
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 280ms ease;
  -webkit-appearance: none;
  appearance: none;
}

html.light .form-field input,
html.light .form-field select,
html.light .form-field textarea {
  border-color: rgba(0, 80, 158, 0.2);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  background: rgba(41, 151, 255, 0.04);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

html.light .form-field input:focus,
html.light .form-field select:focus,
html.light .form-field textarea:focus {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232997ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-field select option {
  background: #1c1c1e;
  color: #f5f5f7;
}

html.light .form-field select option {
  background: #ffffff;
  color: #1d1d1f;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── VALIDATION ERRORS ─────────────────────────────────────────── */
.field-error {
  margin: 0;
  font-size: 0.78rem;
  color: #fb7185;
  min-height: 1em;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #fb7185;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.12);
}

/* ── FORM FOOTER ───────────────────────────────────────────────── */
.form-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-submit {
  min-width: 180px;
  gap: 9px;
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.form-privacy svg { width: 13px; height: 13px; color: var(--cyan); flex-shrink: 0; }

/* ── FORM STATUS ───────────────────────────────────────────────── */
.form-status {
  padding: 0;
  font-size: 0.88rem;
  border-radius: 10px;
  transition: all 220ms ease;
  min-height: 0;
}

.form-status:not(:empty) {
  padding: 14px 16px;
}

.form-status--success {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #6ee7b7;
}

.form-status--error {
  background: rgba(251, 113, 133, 0.1);
  border: 1px solid rgba(251, 113, 133, 0.25);
  color: #fda4af;
}

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .form-row--2 { flex-direction: column; }
  .form-footer { flex-direction: column; align-items: flex-start; }
  .contact-submit { width: 100%; }
}
