:root {
  --opir-navy: #0b1f33;
  --opir-blue: #1f6feb;
  --opir-blue-dark: #1759bb;
  --opir-bg: #f8fafc;
  --opir-card: #ffffff;
  --opir-text: #111827;
  --opir-muted: #6b7280;
  --opir-border: #e5e7eb;
  --opir-soft: #eff6ff;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 110px;
  font-family: Arial, "Segoe UI", sans-serif;
  color: var(--opir-text);
  background: #ffffff;
}

.navbar {
  min-height: 72px;
  background: rgba(255, 255, 255, 0.97);
  border: 0;
  border-bottom: 1px solid var(--opir-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  padding: 8px 15px;
  height: auto;
}

.navbar-nav > li > a {
  color: #334155 !important;
  font-weight: 600;
  padding-top: 26px;
  padding-bottom: 26px;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  color: var(--opir-blue) !important;
  background: transparent !important;
}

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

.brand-logo {
  height: 60px !important;
  max-height: 60px;
  width: auto !important;
  object-fit: contain;
  display: block;
}

.brand-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--opir-navy);
  line-height: 1;
}

.brand-text span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--opir-muted);
  margin-top: 2px;
}

.hero {
  margin-top: 12px;
  padding: 72px 0;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 60%);
}

.hero-row {
  display: flex;
  align-items: center;
}

.hero-copy {
  margin-bottom: 25px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  color: #334155;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--opir-navy);
  margin-top: 0;
  margin-bottom: 16px;
}

.hero .lead {
  color: #475569;
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions .btn + .btn {
  margin-left: 10px;
}

.btn-brand {
  background: var(--opir-blue);
  color: #fff;
  border-radius: 10px;
  padding: 12px 22px;
  border-color: var(--opir-blue);
  font-weight: 700;
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--opir-blue-dark);
  border-color: var(--opir-blue-dark);
  color: #fff;
}

.btn-dark-soft {
  background: var(--opir-navy);
  color: #fff;
  border-radius: 10px;
  padding: 12px 22px;
  border-color: var(--opir-navy);
  font-weight: 700;
}

.btn-dark-soft:hover,
.btn-dark-soft:focus {
  background: #091727;
  border-color: #091727;
  color: #fff;
}

.btn-secondary-hero {
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--opir-navy);
  margin-top: 0;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--opir-muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 40px;
}

.bg-soft {
  background: var(--opir-bg);
}

.card-grid > [class*="col-"] {
  margin-bottom: 24px;
}

.feature-box,
.pricing-box,
.contact-card,
.signup-card,
.screenshot-card {
  background: #fff;
  border: 1px solid var(--opir-border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.feature-box .icon {
  width: 54px;
  height: 54px;
  background: #eff6ff;
  color: var(--opir-blue);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.feature-box h4,
.pricing-box h3,
.contact-card h3,
.signup-card h3 {
  color: var(--opir-navy);
  font-weight: 800;
  margin-top: 0;
}

.feature-box p,
.contact-card p,
.signup-card p {
  color: var(--opir-muted);
  line-height: 1.8;
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--opir-border);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.workspace-card {
  background: linear-gradient(145deg, #081524 0%, #102842 100%);
  color: #fff;
  border-radius: 24px;
  padding: 24px;
}

.workspace-card small {
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.workspace-card h3 {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 30px;
  font-weight: 800;
}

.metric {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 15px;
}

.metric strong {
  display: block;
  font-size: 30px;
  color: #fff;
}

.metric span {
  color: #cbd5e1;
  font-size: 14px;
}

.metric-pill {
  padding: 14px 10px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-pill span {
  color: #e2e8f0;
  font-weight: 600;
}

.workspace-tags .col-xs-4 {
  padding-left: 8px;
  padding-right: 8px;
}

#screenshots .screenshot-card {
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#screenshots .screenshot-card img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-origin: center center;
  border-radius: 14px;
}

#screenshots .screenshot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

#screenshots .screenshot-card:hover img {
  transform: scale(1.08);
}

.screen-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--opir-muted);
  font-weight: 700;
}

.pricing-box {
  text-align: center;
}

.pricing-box.featured {
  background: linear-gradient(135deg, var(--opir-blue), #1759bb);
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
}

.pricing-box.featured h3,
.pricing-box.featured .price,
.pricing-box.featured ul,
.pricing-box.featured .plan-note {
  color: #fff;
}

.price {
  font-size: 44px;
  font-weight: 800;
  color: var(--opir-navy);
  margin: 12px 0 4px;
}

.plan-note {
  color: var(--opir-muted);
  margin-bottom: 22px;
}

.pricing-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  color: #334155;
}

.pricing-box ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.pricing-box ul li:last-child {
  border-bottom: 0;
}

.featured-btn {
  color: var(--opir-blue) !important;
  font-weight: 700;
}

.signup-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

.signup-list {
  margin-top: 18px;
  padding-left: 18px;
  color: #475569;
  line-height: 1.9;
}

.form-control {
  height: 48px;
  border-radius: 12px;
  box-shadow: none;
  border-color: #d1d5db;
}

.form-control:focus {
  border-color: var(--opir-blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.12);
}

textarea.form-control {
  height: auto;
  min-height: 140px;
  padding-top: 12px;
}

.input-group-addon {
  border-radius: 0 12px 12px 0;
  background: #f8fafc;
  border-color: #d1d5db;
  color: var(--opir-muted);
}

.mini-note {
  font-size: 13px;
  color: var(--opir-muted);
  margin-top: 10px;
}

.opir-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.opir-lightbox.is-open {
  display: flex;
}

.opir-lightbox-dialog {
  position: relative;
  max-width: 1000px;
  width: 100%;
}

.opir-lightbox-img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
}

.opir-lightbox-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  font-size: 24px;
  line-height: 1;
}

.opir-lightbox-caption {
  color: #e5e7eb;
  text-align: center;
  margin-top: 14px;
  font-weight: 600;
}

footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 20px 0;
}

footer p {
  margin: 0;
}

@media (max-width: 991px) {
  .hero-row {
    display: block;
  }

  .hero-panel {
    margin-top: 28px;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 130px;
  }

  .navbar-nav > li > a {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: 30px;
  }

  .section-title {
    font-size: 30px;
  }

  .hero-actions .btn + .btn {
    margin-left: 0;
    margin-top: 10px;
  }

  .brand-text span {
    letter-spacing: 0.16em;
  }
.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.contact-alert {
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

.contact-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.contact-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}
.contact-toast {
  position: fixed;
  top: 100px;
  right: 24px;
  width: min(420px, calc(100% - 32px));
  padding: 16px 18px 16px 16px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  border: 1px solid transparent;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.contact-toast-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-toast-success {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.contact-toast-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.contact-toast-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: inherit;
  cursor: pointer;
}

.contact-toast-body {
  padding-right: 20px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .contact-toast {
    top: 86px;
    right: 12px;
    width: calc(100% - 24px);
  }
}
