/* =========================================================================
   JobOps Official Public Marketing Stylesheet
   Modern, restrained B2B SaaS design system (Linear / Stripe / Notion caliber).
   Zero neon blobs, zero gradient text, zero floating pills.
   ========================================================================= */

:root {
  /* Surface & Background */
  --bg-base: #080b11;
  --bg-surface: #0d121c;
  --bg-surface-elevated: #121927;
  --bg-card: #0f1522;
  --bg-card-hover: #141c2c;
  --bg-input: #0a0e17;

  /* Borders - Crisp 1px lines */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-active: #0284c7;

  /* Typography Colors */
  --text-white: #f8fafc;
  --text-heading: #f1f5f9;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --text-disabled: #475569;

  /* Accents - Restrained UK SaaS Palette */
  --blue-primary: #0284c7;
  --blue-hover: #0369a1;
  --blue-subtle: rgba(2, 132, 199, 0.12);
  --blue-border: rgba(2, 132, 199, 0.25);
  --emerald: #10b981;
  --emerald-subtle: rgba(16, 185, 129, 0.1);

  /* Geometry & Spacing */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --container-max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg-base) !important;
  color: var(--text-body) !important;
  font-family: var(--font-sans) !important;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout Utilities */
.jo-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.jo-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 11, 17, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: 64px;
}

.jo-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.jo-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.jo-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.jo-logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.jo-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.jo-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.15s ease;
}

.jo-nav-link:hover {
  color: var(--text-white);
}

.jo-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.jo-link-signin {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.15s ease;
}

.jo-link-signin:hover {
  color: var(--text-white);
}

/* Button Component System */
.jo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.jo-btn-primary {
  background: #ffffff;
  color: #080b11 !important;
  border: 1px solid #ffffff;
}

.jo-btn-primary:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
}

.jo-btn-blue {
  background: var(--blue-primary);
  color: #ffffff !important;
  border: 1px solid var(--blue-primary);
}

.jo-btn-blue:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.jo-btn-secondary {
  background: transparent;
  color: var(--text-white) !important;
  border: 1px solid var(--border-medium);
}

.jo-btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-strong);
}

.jo-btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

/* Mobile Nav Toggle */
.jo-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.jo-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-body);
  transition: background 0.15s ease;
}

/* =========================================================================
   HERO SECTION (Left-aligned, 2-column)
   ========================================================================= */
.jo-hero {
  padding-top: 130px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-base);
}

.jo-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.jo-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.jo-hero-headline {
  font-size: clamp(2.35rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.jo-hero-subheadline {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 2rem;
  max-width: 520px;
}

.jo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.jo-hero-terms {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* Realistic Product Frame */
.jo-product-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.jo-frame-header {
  height: 38px;
  background: #0b0f17;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.jo-frame-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.jo-frame-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #232b38;
}

.jo-frame-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.jo-frame-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 4px;
}

.jo-frame-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

.jo-frame-body img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* =========================================================================
   COMMON SECTION STYLES
   ========================================================================= */
.jo-section {
  padding-top: 96px;
  padding-bottom: 96px;
  border-bottom: 1px solid var(--border-subtle);
}

.jo-section-surface {
  background: var(--bg-surface);
}

.jo-section-header {
  margin-bottom: 3.5rem;
}

.jo-section-header.text-center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.jo-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-primary);
  margin-bottom: 0.75rem;
}

.jo-section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.jo-section-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* =========================================================================
   SECTION: SHOW THE PRODUCT EARLY (#product)
   ========================================================================= */
.jo-product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  justify-content: center;
}

.jo-tab-item {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.15s ease;
}

.jo-tab-item:hover {
  color: var(--text-white);
  border-color: var(--border-medium);
}

.jo-tab-item.is-active {
  color: var(--text-white);
  background: var(--bg-surface-elevated);
  border-color: var(--blue-primary);
}

.jo-product-details-bar {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.jo-detail-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.jo-detail-col p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================================
   SECTION: DIFFERENTIATOR ("Software that fits the way you work")
   ========================================================================= */
.jo-diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.jo-diff-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.jo-dialog-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.jo-chat-bubble {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.jo-chat-sender {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.jo-chat-sender.highlight {
  color: var(--blue-primary);
}

.jo-chat-text {
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--text-heading);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: #090e17;
  border: 1px solid var(--border-subtle);
}

.jo-chat-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.jo-module-chip {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-xs);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.jo-module-chip.excluded {
  background: rgba(100, 116, 139, 0.08);
  border-color: rgba(100, 116, 139, 0.2);
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.jo-diff-note {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* =========================================================================
   SECTION: INDUSTRIES
   ========================================================================= */
.jo-industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.jo-ind-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.15s ease;
}

.jo-ind-card:hover {
  border-color: var(--border-medium);
}

.jo-ind-tag {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-primary);
}

.jo-ind-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.jo-ind-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* =========================================================================
   SECTION: EDITORIAL FEATURES (#features)
   ========================================================================= */
.jo-features-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.jo-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.jo-feature-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.jo-feature-row.reverse .jo-feat-col-text {
  order: 2;
}

.jo-feature-row.reverse .jo-feat-col-visual {
  order: 1;
}

.jo-feat-col-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.jo-feat-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-primary);
  margin-bottom: 0.6rem;
}

.jo-feat-heading {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.jo-feat-copy {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.jo-feat-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.jo-feat-point {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-heading);
}

.jo-point-check {
  color: var(--blue-primary);
  font-weight: 800;
  line-height: 1.3;
}

.jo-feat-col-visual {
  width: 100%;
}

/* =========================================================================
   SECTION: PRICING (#pricing)
   ========================================================================= */
.jo-pricing-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.jo-pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.jo-pricing-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.jo-plan-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  background: var(--blue-subtle);
  border: 1px solid var(--blue-border);
  color: #38bdf8;
}

.jo-plan-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.jo-price-display {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.jo-price-val {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.jo-price-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.jo-pricing-sub {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
}

.jo-pricing-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 1px solid var(--border-subtle);
  padding-left: 2.5rem;
}

.jo-pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.jo-pricing-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-heading);
}

.jo-pricing-check {
  color: var(--emerald);
  font-weight: 800;
}

/* =========================================================================
   SECTION: FINAL CTA (#cta)
   ========================================================================= */
.jo-final-cta {
  padding: 100px 0;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
}

.jo-final-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.jo-final-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.jo-final-desc {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 520px;
}

.jo-final-terms {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.jo-footer {
  padding: 60px 0 40px;
  background: #05070a;
}

.jo-footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.jo-footer-brand {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jo-footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.jo-footer-nav {
  display: flex;
  gap: 4rem;
}

.jo-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jo-footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
}

.jo-footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.jo-footer-link:hover {
  color: var(--text-white);
}

.jo-footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* =========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================= */
@media (max-width: 1024px) {
  .jo-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .jo-diff-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .jo-industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jo-feature-row,
  .jo-feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .jo-feature-row.reverse .jo-feat-col-text {
    order: 1;
  }

  .jo-feature-row.reverse .jo-feat-col-visual {
    order: 2;
  }

  .jo-pricing-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .jo-pricing-right {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding-left: 0;
    padding-top: 1.75rem;
  }
}

@media (max-width: 768px) {
  .jo-nav-links {
    display: none;
  }

  .jo-mobile-toggle {
    display: flex;
  }

  .jo-header.menu-open .jo-nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #080b11;
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .jo-hero {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .jo-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .jo-industries-grid {
    grid-template-columns: 1fr;
  }

  .jo-product-details-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .jo-footer-grid {
    flex-direction: column;
    gap: 2.5rem;
  }

  .jo-footer-nav {
    flex-direction: column;
    gap: 2rem;
  }

  .jo-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
