/* Public landing page. Keep these overrides separate from the shared legacy theme. */
:root { --praxi-blue: #175b94; --praxi-navy: #102e4b; --praxi-gold: #b58a2f; --praxi-muted: #53677b; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--praxi-muted); font-size: 16px; line-height: 1.75; }
h1, h2, h3, h4, h5, h6 { font-family: inherit; color: var(--praxi-navy); letter-spacing: -.025em; text-transform: none; }
a { color: var(--praxi-blue); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--praxi-gold); outline-offset: 4px; }
#header, #header-wrap { height: 96px; }
#header-wrap { border-bottom: 1px solid #e5ebf0; }
#header .logo img { width: 225px !important; }
#header .main-menu > li > a { font-size: 13px; font-weight: 600; text-transform: none; padding: 0 10px; }
#header .header-btn { border-radius: 8px; font-size: 12px; padding: 12px 16px; line-height: 1.4; background: var(--praxi-blue); color: white !important; }
.login-trigger { width: auto; height: auto; padding: 10px 16px; line-height: 1.4; border: 1px solid #d7e2ec; border-radius: 8px; background: white; color: var(--praxi-blue); font: inherit; font-weight: 600; cursor: pointer; }
#header .main-menu > li { vertical-align: middle; }
#banner .banner-parallax { height: auto !important; min-height: 600px; background: radial-gradient(ellipse at 85% 20%, #dbeaf5, transparent 55%), linear-gradient(120deg, #f7fafc 25%, #eef3f7) !important; }
#banner .overlay-colored { display: none; }
#banner .slide-content { position: relative; min-height: 600px; }
#banner .banner-center-box { padding: 105px 0 95px; top: auto; transform: none; }
#banner h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.14; font-weight: 750; max-width: 780px; margin-bottom: 24px; }
.eyebrow, #banner .eyebrow { font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--praxi-gold); margin-bottom: 22px; }
#banner .hero-summary { font-size: 20px; line-height: 1.65; max-width: 620px; color: var(--praxi-muted); margin-bottom: 20px; }
#banner .trial-note { font-size: 14px; color: var(--praxi-muted); margin-bottom: 28px; }
body .btn { border-radius: 8px; text-transform: none; letter-spacing: 0; font-family: inherit; font-weight: 650; box-shadow: none; height: auto; line-height: 1.5; padding: 15px 24px; white-space: normal; }
body .btn.colorful { background: var(--praxi-blue); color: #fff; border: 1px solid var(--praxi-blue); }
body .btn.colorful:hover { background: var(--praxi-navy); color: #fff; border-color: var(--praxi-navy); }
#banner .btn + .btn { background: transparent; color: var(--praxi-blue) !important; border-color: #b5cbdc; }
.flat-section .section-content { padding: 88px 0; }
.section-title { margin-bottom: 36px; }
.section-title h5 { color: var(--praxi-gold); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-title h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.25; font-weight: 700; }
.section-title p { font-size: 16px; line-height: 1.85; }
.separator-dots { margin: 18px 0; }
#intro-about { background: #fff; }
#intro-about .section-title { padding-bottom: 24px; }
.box-preview-1, .box-info-1 { border-radius: 16px; }
.box-preview-1 { overflow: hidden; border: 1px solid #e1e8ef; background: white; box-shadow: 0 8px 28px #102e4b08; }
.box-preview-1 .box-content { padding: 28px; }
.box-preview-1 .box-content h4 { font-size: 19px; }
#what-we-do { background: #f7f9fc; }
#what-we-do .mt-80 { margin-top: 0; }
#what-we-do .box-info-1 { padding: 20px; background: white; border: 1px solid #e5ebf1; margin-bottom: 16px; }
#featured-projects { background: #fff !important; }
#register-now { background: #eef4f9; }
#register-now .register-form-box { background: white; border: 1px solid #dce6ef; border-radius: 20px; padding: 28px; box-shadow: 0 16px 48px #102e4b0c; }
#register-now .register-form-box h2 { font-size: 26px; margin-bottom: 10px; }
#register-now .arrow { display: none; }
#diviFrameRegister iframe { width: 100%; height: 570px; border: 0; display: block; }
#pricing { padding: 80px 0; background: #fff; }
.pricing-table .pt-column { border: 1px solid #dce5ee; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 36px #102e4b09; }
.pricing-table .pt-column-header { background: #f7f9fc; padding: 28px 20px; }
.pricing-table .title h4 { font-size: 22px; }
.pricing-table .price h1, .trial-duration { font-size: 48px; color: var(--praxi-blue); font-weight: 750; margin: 20px 0 8px; }
.pricing-table .period { font-size: 13px; text-transform: none; }
.pricing-table .pt-column-content li { font-size: 14px; text-align: left; }
#contact-form { background: #f7f9fc; }
#contact-form table { text-align: left; }
#contact-form td { padding: 14px 10px; font-size: 17px !important; overflow-wrap: anywhere; }
#contact-form td img { width: 32px; }
.cta-title-1, #footer-mini { background: var(--praxi-navy) !important; }
.cta-title-1 .section-inner { background: transparent; }
#divLogin { position: fixed; inset: 0; margin: auto; width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 28px; border: 1px solid #dce5ee; border-radius: 20px; box-shadow: 0 24px 90px #102e4b55; background: #fff; color: var(--praxi-muted); }
#divLogin:not([open]) { display: none; }
#divLogin::backdrop { background: #0d263dc4; }
.login-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.login-heading .eyebrow { margin-bottom: 8px; }
.login-heading h2 { font-size: 26px; margin: 0 0 18px; line-height: 1.25; }
#divLoginClosebutton { width: 36px; height: 36px; flex-shrink: 0; line-height: 1; padding: 0; font-size: 28px; cursor: pointer; background: #edf3f8; color: var(--praxi-navy); border-radius: 50%; }
#divLogin iframe { display: block; width: 100%; height: 470px; overflow: hidden; border: 0; background: white; }
/* Auth forms are deliberately scrollable and must not receive video aspect ratios. */
#diviFrameRegister .fluid-width-video-wrapper, #divLogin .fluid-width-video-wrapper { padding: 0 !important; height: auto; }
#diviFrameRegister .fluid-width-video-wrapper iframe, #divLogin .fluid-width-video-wrapper iframe { position: static; }
@media (max-width: 1199px) {
    #header .header-btn { right: 64px; }
    #header .mobile-menu .login-trigger { margin: 12px 20px; }
}
@media (max-width: 767px) {
    #header, #header-wrap { height: 82px; }
    #header .logo { top: 41px; }
    #header .logo img { width: 160px !important; }
    #header .header-btn { display: none; }
    #header .mobile-menu-btn { top: 41px; }
    #banner .banner-parallax, #banner .slide-content { min-height: 0; }
    #banner .banner-center-box { padding: 64px 0; }
    #banner .hero-summary { font-size: 18px; }
    #banner .btn { display: block; margin: 12px 0; width: 100%; }
    .flat-section .section-content { padding: 56px 0; }
    #register-now .register-form-box { padding: 16px 10px; margin-top: 28px; }
    #pricing { padding: 56px 0; }
    #divLogin { padding: 20px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
#header .main-menu > li > .login-trigger { margin-top: 27px; }
#header.sticky .main-menu > li > .login-trigger { margin-top: 18px; }
#banner .banner-center-box { position: relative; width: 100%; }
.section-title h2 { text-transform: none !important; }
.hero-preview { padding-top: 145px; }
.workspace-preview { border: 1px solid #d7e3ed; border-radius: 16px; background: white; box-shadow: 0 28px 70px #102e4b1a; overflow: hidden; transform: rotate(2deg); }
.preview-heading { font-size: 13px; font-weight: 650; padding: 18px; color: var(--praxi-navy); border-bottom: 1px solid #e5ebf1; }
.preview-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--praxi-gold); margin-right: 8px; }
.workspace-preview img { display: block; width: 100%; height: auto; }
.preview-features { padding: 18px 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.preview-features span { padding: 4px 9px; background: #eef4f9; color: var(--praxi-blue); font-size: 11px; border-radius: 5px; }
.workspace-preview p { padding: 14px 18px 20px; margin: 0; font-size: 12px; }
@media (max-width: 991px) { .hero-preview { display: none; } }
.pricing-table .pt-column { padding: 0 28px; background: white; }
.pricing-table .pt-column-header { background: white; padding: 20px 0; }
.pricing-table .pt-column-header .title { padding: 16px 0; min-height: 96px; }
.pricing-table .pt-column-header .price { padding: 12px 0 24px; }
.pricing-table .pt-column-header h4, .pricing-table .trial-duration { text-transform: none !important; }
.pricing-table .pt-column-content { font-family: inherit; font-weight: 400; }
.pricing-table .pt-column-content li { padding: 14px 22px 14px 0; }

/* Show complete product screenshots in the feature showcase. */
.box-project .feature-screenshot { background: #f5f7fa; }
.box-project .feature-screenshot a { display: flex; align-items: center; height: 100%; }
.box-project .feature-screenshot img { width: 100%; height: 100%; object-fit: contain; }
#divFeatures { position: fixed; inset: 0; margin: auto; width: min(1180px, calc(100vw - 32px)); height: min(850px, calc(100dvh - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid #dce5ee; border-radius: 20px; box-shadow: 0 24px 90px #102e4b55; background: white; }
#divFeatures:not([open]) { display: none; }
#divFeatures[open] { display: flex; flex-direction: column; }
#divFeatures::backdrop { background: #0d263dc4; }
.features-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.features-dialog-heading .eyebrow { margin-bottom: 6px; }
.features-dialog-heading h2 { font-size: 26px; margin-bottom: 16px; }
#divFeaturesClosebutton { width: 36px; height: 36px; flex-shrink: 0; line-height: 1; padding: 0; font-size: 28px; cursor: pointer; background: #edf3f8; color: var(--praxi-navy); border-radius: 50%; }
#features-frame { width: 100%; flex: 1; min-height: 0; border: 1px solid #e5ebf1; border-radius: 12px; }
@media (max-width: 767px) { #divFeatures { padding: 16px 10px; } }

body .btn.explore-features-btn { padding: 20px 40px; font-size: 20px; min-width: min(320px, 100%); max-width: 100%; }

#header .main-menu > li > .help-trigger { width: auto; height: 100%; padding: 0 10px; border: 0; background: transparent; color: #292d33; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
#header .help-trigger:hover { color: var(--praxi-blue); }
#header .mobile-menu .help-trigger { width: 100%; height: auto; line-height: 48px; padding: 0 20px; text-align: left; background: transparent; color: var(--praxi-blue); cursor: pointer; }
#features-backdrop { position: fixed; inset: 0; z-index: 29999; background: #0d263dc4; }
#features-backdrop[hidden] { display: none; }
#divFeatures.dialog-fallback { z-index: 30000; }
body.features-popup-open { overflow: hidden; }
