/*
Theme Name: OpenParser AI Theme Sep 2026
Theme URI: https://www.openparser.ai
Author: Innovatix Technology Partners
Author URI: https://www.openparser.ai
Description: Official marketing theme for OpenParser AI released on September 2026
Version: 2.0.0
License: All Rights Reserved
Text Domain: openparser-ai-theme-2026
*/

.theme-modal .modal-content {
  border-radius: 0.9rem;
  border: 1px solid #e1e1e8;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-content{
  border-radius: 0.9rem;
}

.theme-modal-header {
  background-color: var(--navy-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 28px;
  border-radius: 0.74rem 0.74rem 0 0;
}

.theme-modal-header .modal-title {
  font-weight: 700;
  font-size: 1.25rem;
}

.theme-modal .modal-body {
  padding: 40px 40px 36px;
}

.modal-dialog-exit-intent {
  max-width: 750px;
}

.exit-intent-modal.modal-content {
  border: 1px solid #e1e1e8;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.exit-intent-modal .modal-body {
  padding: 0;
}

.exit-intent-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 30;
  padding: 0.7rem;
  opacity: 0.82;
  background-color: rgba(255, 255, 255, 0.97);
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}

.exit-intent-close:hover {
  opacity: 1;
}

.exit-intent-layout {
  min-height: 500px;
}

.exit-intent-visual {
  position: relative;
  background: radial-gradient(circle at 42% 100%, #fff -70%, #002D7A 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.85rem 3rem 0rem;
  overflow: hidden;
}

.exit-intent-wave {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: clamp(40px, 7.5vw, 68px);
  z-index: 2;
  pointer-events: none;
}

.exit-intent-visual-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 280px;
}

.exit-intent-logo {
  width: min(220px, 85%);
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35));
}

.exit-intent-live-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.35rem;
  text-align: center;
}

.exit-intent-live-line1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(1.45rem, 1.15rem + 1.35vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.exit-intent-live-emoji {
  font-size: 1.2em;
  line-height: 1;
}

.exit-intent-copy {
  background: #ffffff;
}

.exit-intent-copy-inner {
  padding: 3.15rem 2.85rem 3rem 0rem;
  padding-top: 3.35rem;
}

.exit-intent-heading {
  font-size: clamp(1.28rem, 1.05rem + 1.1vw, 1.68rem);
  font-weight: 800;
  color: var(--op-dark);
  line-height: 1.28;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

.exit-intent-heading-line {
  display: block;
}

.exit-intent-heading-accent {
  display: block;
  margin-top: 0.35rem;
  color: var(--orange);
}

.exit-intent-sub {
  font-size: clamp(0.94rem, 0.9rem + 0.2vw, 1.02rem);
  line-height: 1.55;
  color: #555555;
  font-weight: 600;
  margin-bottom: 2.35rem;
}

.exit-intent-cta {
  border-radius: 0.65rem;
  font-weight: 700;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  width: 94%;
}

.exit-intent-footnote {
  margin-top: 1.35rem;
  font-size: clamp(0.9rem, 0.86rem + 0.2vw, 1.02rem);
  font-weight: 600;
  color: #525252;
  text-align: left;
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .exit-intent-wave {
    display: block;
  }

  .exit-intent-visual {
    padding-right: 2.5rem;
  }
}

.modal-backdrop.promo-modal-backdrop {
  --bs-backdrop-opacity: 0.78;
}

.theme-modal .btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

#hubspot-contact-form .hs-button {
  background-color: var(--op-orange) !important;
  border-color: var(--op-orange) !important;
  color: #1b1b1b !important;
  font-weight: 600;
  border-radius: 1.5rem;
  padding: 0.5rem 1.25rem;
}

#hubspot-contact-form .hs-button:hover {
  background-color: #ffac47 !important;
  border-color: #ffac47 !important;
}

#hubspot-brochure-form .hs-button {
  background-color: var(--op-orange) !important;
  border-color: var(--op-orange) !important;
  color: #1b1b1b !important;
  font-weight: 600;
  border-radius: 1.5rem;
  padding: 0.5rem 1.25rem;
}

#hubspot-brochure-form .hs-button:hover {
  background-color: #ffac47 !important;
  border-color: #ffac47 !important;
}

.theme-modal .hs-form-frame {
  width: 100%;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #ffffff;
}

.theme-modal .hs-form-frame iframe {
  width: 100% !important;
  border: 0 !important;
  min-height: 520px;
  display: block;
  background: #ffffff;
}

.theme-modal .hs-form-frame .hs-button {
  background-color: var(--op-orange) !important;
  border-color: var(--op-orange) !important;
  color: #1b1b1b !important;
  font-weight: 600;
  border-radius: 1.5rem;
  padding: 0.5rem 1.25rem;
}

.theme-modal .hs-form-frame .hs-button:hover {
  background-color: #ffac47 !important;
  border-color: #ffac47 !important;
}

footer {
  background-color: var(--op-dark);
  color: #bbbbbb;
  padding: 1.8rem 0;
  font-size: 0.95rem;
}

footer a {
  color: #dddddd;
  text-decoration: none;
}

footer a:hover {
  color: var(--orange);
}

.footer-company {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.footer-innovatix-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-innovatix-logo-block {
  display: block;
  margin: 0 0 0.6rem 0;
}

.footer-address {
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .hero {
    text-align: center;
  }
  .hero-inner,
  .hero-inner-left {
    text-align: center;
  }
  .hero-partner {
    justify-content: center;
  }
  .hero-plans {
    align-items: center;
  }
  .hero-plans-pills {
    justify-content: center;
  }
  .hero-plan-pill {
    white-space: normal;
    text-align: center;
  }
  .hero-pill {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  .hero-image-card {
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-title {
    font-size: 2.1rem;
  }

  .exit-intent-copy-inner {
    padding: 2.75rem 1.5rem 2.35rem;
    padding-top: 3rem;
  }

  .exit-intent-visual {
    padding: 2.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .exit-intent-layout {
    min-height: 0;
  }

  .supported-formats {
    align-items: center;
  }
  .supported-icons {
    justify-content: center;
  }
  .navbar .navbar-container {
    flex-wrap: wrap;
  }
  .navbar-toggler-right {
    margin-left: auto;
  }
  .navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    width: 100%;
    order: 99;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-left: 0;
    margin-right: 0;
  }
  .navbar-collapse .navbar-nav {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }
  .navbar-collapse .nav-link {
    padding: 0.5rem 0 !important;
  }
  .navbar-collapse .nav-item {
    width: 100%;
  }
  .navbar-collapse .nav-link {
    display: block;
  }
  .footer-address,
  .footer-copyright,
  .footer-contact {
    font-size: 0.95rem;
  }
  .footer-innovatix-logo-block {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-contact {
    word-break: break-word;
  }
  .footer-sep {
    display: inline;
  }
}

.footer-address {
  font-size: 1rem;
}

.footer-contact a {
  color: #dddddd;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-copyright {
  word-break: normal;
  overflow-wrap: normal;
}

.footer-links a {
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .hero-inner-left {
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .hero-inner-right {
    display: none;
  }
}

/* ========================================
   Blog — listing & single post
   ======================================== */

.blog-page-wrap {
  background-color: var(--op-grey);
  min-height: 60vh;
}

.blog-archive-header {
  border-bottom: 2px solid #e1e1e8;
  padding-bottom: 1rem;
}

/* Post card */
.blog-post-card {
  background: #ffffff;
  border: 1px solid #e1e1e8;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s ease;
}

.blog-post-card:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.blog-post-thumbnail-wrap {
  display: block;
}

.blog-post-thumbnail {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

.blog-post-card-body {
  padding: 1.4rem;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
}

.blog-cat-badge {
  background-color: rgba(247, 148, 29, 0.12);
  color: var(--orange);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-cat-badge:hover {
  background-color: var(--orange);
  color: #fff;
}

.blog-post-date,
.blog-post-author {
  color: #888;
  font-size: 0.82rem;
}

.blog-post-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.6rem 0;
  line-height: 1.35;
}

.blog-post-title a {
  color: var(--op-dark);
  text-decoration: none;
}

.blog-post-title a:hover {
  color: var(--orange);
}

.blog-post-excerpt {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.blog-post-excerpt p {
  margin: 0;
}

/* Pagination */
.blog-pagination {
  margin-top: 1.5rem;
}

.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.6rem;
  border-radius: 0.5rem;
  background: #ffffff;
  border: 1px solid #e1e1e8;
  color: var(--op-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background-color: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ========================================
   Sidebar
   ======================================== */

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e1e1e8;
  border-radius: 0.9rem;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.sidebar-widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--op-dark);
  margin: 0 0 1rem 0;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--orange);
}

/* Whitepaper cards */
.op-wp-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
  background: #ffffff;
  border: 1px solid #e1e1e8;
  transition: box-shadow 0.2s ease;
}

.op-wp-card:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

.op-wp-card-header {
  background-color: #3a5068;
  padding: 1.5rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.op-wp-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.op-wp-badge {
  display: inline-block;
  align-self: flex-start;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.85rem;
  letter-spacing: 0.02em;
}

.op-wp-card-body {
  padding: 1.25rem 1.4rem;
  flex: 1;
}

.op-wp-description {
  color: var(--op-text);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.op-wp-card-footer {
  padding: 0 1.4rem 1.4rem;
}

/* Sidebar search */
.sidebar-widget .search-form {
  display: flex;
  gap: 0.4rem;
}

.sidebar-widget .search-field {
  flex: 1;
  border: 1px solid #e1e1e8;
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
}

.sidebar-widget .search-field:focus {
  border-color: var(--orange);
}

.sidebar-widget .search-submit {
  background-color: var(--orange);
  border: none;
  border-radius: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.sidebar-widget .search-submit:hover {
  background-color: #ffac47;
}

/* Sidebar recent posts */
.sidebar-post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-post-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0f0f4;
}

.sidebar-post-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-post-list a {
  color: var(--op-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.sidebar-post-list a:hover {
  color: var(--orange);
}

.sidebar-post-date {
  font-size: 0.78rem;
  color: #999;
}

/* Sidebar categories */
.sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-cat-list li {
  display: flex;
  justify-content: space-between;
}

.sidebar-cat-list a {
  color: var(--op-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.sidebar-cat-list a:hover {
  color: var(--orange);
}

/* Sidebar tags */
.sidebar-tags a {
  display: inline-block;
  margin: 0.2rem 0.15rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #f0f0f4;
  color: var(--op-dark);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.sidebar-tags a:hover {
  background-color: var(--orange);
  color: #fff;
}

/* ========================================
   Single post
   ======================================== */

.blog-back-link {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.blog-back-link:hover {
  color: #ffac47;
}

.op-single-post {
  background: #ffffff;
  border: 1px solid #e1e1e8;
  border-radius: 0.9rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.op-single-post-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--op-dark);
  line-height: 1.25;
  margin: 0.5rem 0 1.25rem 0;
}

.op-single-post-thumbnail img {
  border-radius: 0.75rem;
}

.op-single-post-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.op-single-post-content h2,
.op-single-post-content h3,
.op-single-post-content h4 {
  font-weight: 700;
  color: var(--op-dark);
  margin-top: 1.75rem;
}

.op-single-post-content p {
  margin-bottom: 1.1rem;
}

.op-single-post-content ul,
.op-single-post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}

.op-single-post-content a {
  color: var(--orange);
  text-decoration: underline;
}

.op-single-post-content a:hover {
  color: #ffac47;
}

.op-single-post-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 0.75rem 1.25rem;
  background: #fff9f0;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.5rem 0;
  color: #555;
  font-style: italic;
}

.op-single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* Post tags */
.op-single-post-tags {
  padding-top: 1.25rem;
  border-top: 1px solid #e1e1e8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.blog-tag-badge {
  background: #f0f0f4;
  color: var(--op-dark);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-weight: 500;
}

.blog-tag-badge:hover {
  background-color: var(--orange);
  color: #fff;
}

/* Post prev/next navigation */
.op-single-post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e1e1e8;
}

.op-single-post-nav-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.op-single-post-nav-item.next {
  text-align: right;
}

.op-single-post-nav-item .nav-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  font-weight: 700;
}

.op-single-post-nav-item a {
  color: var(--op-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  line-height: 1.35;
}

.op-single-post-nav-item a:hover {
  color: var(--orange);
}