/* ==========================================================================
   Website Maintenance - PTI: Premium Transparent & High-Contrast Stylesheet
   Theme: Translucent Frosted Glass (Dynamic Colors, Overlay & Full Readability)
   ========================================================================== */

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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ptiwmm-text-color, #ffffff);
    background-color: var(--ptiwmm-bg-color, #0b0f19);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Background Canvas & Transparent Overlay
   -------------------------------------------------------------------------- */
.ptiwmm-canvas {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 40px 20px;
    z-index: 1;
}

/* Background Type Classes */
.ptiwmm-bg-type-color {
    background-color: var(--ptiwmm-bg-color, #0f172a) !important;
    background-image: none !important;
}

.ptiwmm-bg-type-color .ptiwmm-bg-overlay {
    display: none !important;
}

.ptiwmm-bg-type-gradient {
    background: var(--ptiwmm-gradient-bg, linear-gradient(135deg, #090d16 0%, #111827 50%, #1e1b4b 100%)) !important;
}

.ptiwmm-bg-type-image {
    background-image: var(--ptiwmm-banner-image) !important;
    background-color: var(--ptiwmm-bg-color, #0f172a);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Custom banner image background */
.ptiwmm-has-banner-bg {
    background-image: var(--ptiwmm-banner-image) !important;
}

/* Dynamic Dark Translucent Veil (Guarantees Text Legibility & Honors Darkness Slider) */
.ptiwmm-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 13, 26, var(--ptiwmm-overlay-opacity, 0.5));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   Logo Presentation (High Contrast & Protected Badge)
   -------------------------------------------------------------------------- */
.ptiwmm-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.ptiwmm-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ptiwmm-logo-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.ptiwmm-logo-badge img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* --------------------------------------------------------------------------
   Status Pill (Subtle, Translucent & Humanized)
   -------------------------------------------------------------------------- */
.ptiwmm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--ptiwmm-text-color, #ffffff);
    margin-bottom: 20px;
}

.ptiwmm-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ptiwmm-accent-color, #10b981);
    box-shadow: 0 0 0 3px rgba(var(--ptiwmm-accent-rgb, 16, 185, 129), 0.3);
}

/* --------------------------------------------------------------------------
   Typography (Dynamic Custom Text Color & Legibility)
   -------------------------------------------------------------------------- */
.ptiwmm-heading {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 14px 0;
    letter-spacing: -0.6px;
    color: var(--ptiwmm-text-color, #ffffff);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.ptiwmm-desc {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ptiwmm-text-color, rgba(255, 255, 255, 0.90));
    opacity: 0.9;
    max-width: 580px;
    margin: 0 auto 30px auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------------------
   Countdown Timer (Transparent Frosted Glass Cards)
   -------------------------------------------------------------------------- */
.ptiwmm-countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.ptiwmm-countdown-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 14px 18px;
    min-width: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ptiwmm-countdown-card:hover {
    transform: translateY(-2px);
    border-color: var(--ptiwmm-accent-color, rgba(255, 255, 255, 0.3));
}

.ptiwmm-countdown-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: var(--ptiwmm-text-color, #ffffff);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ptiwmm-countdown-unit {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ptiwmm-text-color, rgba(255, 255, 255, 0.75));
    opacity: 0.8;
    margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Progress Bar (Dynamic Accent Color)
   -------------------------------------------------------------------------- */
.ptiwmm-progress-section {
    max-width: 440px;
    margin: 0 auto 30px auto;
    width: 100%;
}

.ptiwmm-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ptiwmm-text-color, rgba(255, 255, 255, 0.85));
    opacity: 0.9;
}

.ptiwmm-progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ptiwmm-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    background: var(--ptiwmm-accent-color, #3b82f6);
    box-shadow: 0 0 12px rgba(var(--ptiwmm-accent-rgb, 59, 130, 246), 0.45);
    transition: width 0.8s ease-in-out;
}

/* --------------------------------------------------------------------------
   Subscription Form (Transparent Pill Input + Dynamic Accent Button)
   -------------------------------------------------------------------------- */
.ptiwmm-subscribe-box {
    max-width: 450px;
    margin: 0 auto 28px auto;
    width: 100%;
}

.ptiwmm-subscribe-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ptiwmm-text-color, #ffffff);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ptiwmm-subscribe-form {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    padding: 4px 5px 4px 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ptiwmm-subscribe-form:focus-within {
    border-color: var(--ptiwmm-accent-color, rgba(255, 255, 255, 0.45));
    box-shadow: 0 0 0 3px rgba(var(--ptiwmm-accent-rgb, 59, 130, 246), 0.2);
}

.ptiwmm-subscribe-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--ptiwmm-text-color, #ffffff);
    font-size: 13.5px;
    outline: none;
    font-family: inherit;
}

.ptiwmm-subscribe-input::placeholder {
    color: var(--ptiwmm-text-color, rgba(255, 255, 255, 0.58));
    opacity: 0.6;
}

.ptiwmm-subscribe-btn {
    background: var(--ptiwmm-accent-color, #ffffff);
    color: var(--ptiwmm-accent-contrast, #0f172a);
    border: none;
    border-radius: 30px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ptiwmm-subscribe-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.ptiwmm-subscribe-feedback {
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 600;
    display: none;
}

.ptiwmm-subscribe-feedback.is-success {
    display: block;
    color: #34d399 !important;
}

.ptiwmm-subscribe-feedback.is-error {
    display: block;
    color: #f87171 !important;
}

/* --------------------------------------------------------------------------
   Contact Action Pills (Translucent & Minimal)
   -------------------------------------------------------------------------- */
.ptiwmm-contact-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.ptiwmm-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--ptiwmm-text-color, #ffffff);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.ptiwmm-contact-pill svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    opacity: 0.9;
}

.ptiwmm-contact-pill:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--ptiwmm-accent-color, rgba(255, 255, 255, 0.35));
    transform: translateY(-1px);
    color: var(--ptiwmm-accent-color, #ffffff);
}

/* --------------------------------------------------------------------------
   Social Icon Buttons (Translucent Glass Circles)
   -------------------------------------------------------------------------- */
.ptiwmm-social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ptiwmm-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--ptiwmm-text-color, rgba(255, 255, 255, 0.85));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.ptiwmm-social-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.ptiwmm-social-btn:hover {
    color: var(--ptiwmm-accent-contrast, #0f172a);
    background: var(--ptiwmm-accent-color, #ffffff);
    border-color: var(--ptiwmm-accent-color, #ffffff);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   Footer Text
   -------------------------------------------------------------------------- */
.ptiwmm-footer {
    font-size: 12.5px;
    color: var(--ptiwmm-text-color, rgba(255, 255, 255, 0.75));
    opacity: 0.8;
    margin-top: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   TEMPLATE 1: "AURORA TRANSLUCENT GLASS" (Centered Translucent Card)
   ========================================================================== */
.ptiwmm-template-1 .ptiwmm-content-wrap {
    max-width: 660px;
    width: 100%;
    position: relative;
    z-index: 5;
    margin: auto;
}

.ptiwmm-glass-card {
    background: rgba(10, 15, 29, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    padding: 48px 42px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    text-align: center;
}

/* ==========================================================================
   TEMPLATE 2: "MODERN ASYMMETRIC SPLIT" (2-Column Translucent Layout)
   ========================================================================== */
.ptiwmm-template-2-wrap {
    width: 100%;
    max-width: 1060px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    position: relative;
    z-index: 5;
    margin: auto;
    align-items: stretch;
}

.ptiwmm-split-card {
    background: rgba(10, 15, 29, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    padding: 44px 38px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ptiwmm-split-left {
    text-align: left;
}

.ptiwmm-split-left .ptiwmm-logo-wrap {
    justify-content: flex-start;
}

.ptiwmm-split-left .ptiwmm-heading {
    text-align: left;
}

.ptiwmm-split-left .ptiwmm-desc {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    max-width: 100%;
}

.ptiwmm-split-left .ptiwmm-contact-actions {
    justify-content: flex-start;
}

.ptiwmm-split-left .ptiwmm-social-links {
    justify-content: flex-start;
}

.ptiwmm-split-right {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ptiwmm-split-right .ptiwmm-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 440px;
    margin: 0 auto 28px auto;
}

.ptiwmm-split-right .ptiwmm-countdown-card {
    min-width: 0;
    padding: 14px 6px;
}

.ptiwmm-split-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ptiwmm-text-color, rgba(255, 255, 255, 0.78));
    opacity: 0.85;
    margin-bottom: 20px;
}

.ptiwmm-split-note {
    font-size: 13px;
    line-height: 1.5;
    color: var(--ptiwmm-text-color, rgba(255, 255, 255, 0.72));
    opacity: 0.8;
    margin-top: 10px;
}

/* ==========================================================================
   TEMPLATE 3: "EDITORIAL TRANSPARENT MINIMAL" (Wide Floating Glass Console)
   ========================================================================== */
.ptiwmm-template-3 .ptiwmm-content-wrap {
    max-width: 820px;
    width: 100%;
    position: relative;
    z-index: 5;
    margin: auto;
}

.ptiwmm-editorial-card {
    background: rgba(10, 15, 29, 0.52);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 50px 46px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.ptiwmm-editorial-card .ptiwmm-heading {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

.ptiwmm-editorial-card .ptiwmm-desc {
    font-size: 16.5px;
    max-width: 640px;
    margin-bottom: 34px;
}

.ptiwmm-minimal-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 34px;
}

.ptiwmm-minimal-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 12px 18px;
    min-width: 80px;
}

.ptiwmm-minimal-unit .ptiwmm-countdown-number {
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
}

.ptiwmm-minimal-sep {
    font-size: 26px;
    font-weight: 300;
    color: var(--ptiwmm-accent-color, rgba(255, 255, 255, 0.35));
    opacity: 0.85;
    align-self: center;
    margin-top: -12px;
}

/* ==========================================================================
   TEMPLATE 4: "EXECUTIVE VIEWPORT DOCK" (Top Bar + Center Card + Footer)
   ========================================================================== */
.ptiwmm-template-4-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 5;
    padding: 0;
}

.ptiwmm-top-glass-bar {
    width: 100%;
    padding: 16px 36px;
    background: rgba(10, 15, 29, 0.52);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ptiwmm-top-glass-bar .ptiwmm-logo-wrap {
    width: auto;
    margin-bottom: 0;
}

.ptiwmm-top-contacts-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ptiwmm-hero-glass-center {
    max-width: 680px;
    margin: auto;
    width: 90%;
    text-align: center;
    background: rgba(10, 15, 29, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    padding: 44px 38px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.ptiwmm-bottom-glass-bar {
    width: 100%;
    padding: 14px 36px;
    background: rgba(10, 15, 29, 0.52);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ptiwmm-bottom-glass-bar .ptiwmm-footer {
    margin-top: 0;
}

.ptiwmm-bottom-glass-bar .ptiwmm-social-links {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Mobile Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
    .ptiwmm-template-2-wrap {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .ptiwmm-split-left,
    .ptiwmm-split-left .ptiwmm-heading,
    .ptiwmm-split-left .ptiwmm-desc {
        text-align: center;
    }
    .ptiwmm-split-left .ptiwmm-logo-wrap {
        justify-content: center;
    }
    .ptiwmm-split-left .ptiwmm-contact-actions {
        justify-content: center;
    }
    .ptiwmm-split-left .ptiwmm-social-links {
        justify-content: center;
    }
    .ptiwmm-top-glass-bar,
    .ptiwmm-bottom-glass-bar {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .ptiwmm-heading {
        font-size: 28px !important;
    }
    .ptiwmm-editorial-card .ptiwmm-heading {
        font-size: 30px !important;
    }
    .ptiwmm-desc {
        font-size: 14.5px !important;
    }
    .ptiwmm-glass-card,
    .ptiwmm-split-card,
    .ptiwmm-editorial-card,
    .ptiwmm-hero-glass-center {
        padding: 32px 20px;
        border-radius: 18px;
    }
    .ptiwmm-countdown {
        gap: 8px;
    }
    .ptiwmm-countdown-card {
        min-width: 68px;
        padding: 10px 8px;
    }
    .ptiwmm-countdown-number {
        font-size: 24px !important;
    }
    .ptiwmm-minimal-countdown {
        gap: 8px;
    }
    .ptiwmm-minimal-unit {
        min-width: 64px;
        padding: 8px 10px;
    }
    .ptiwmm-minimal-unit .ptiwmm-countdown-number {
        font-size: 26px !important;
    }
    .ptiwmm-minimal-sep {
        font-size: 20px;
        margin-top: -8px;
    }
    .ptiwmm-subscribe-form {
        flex-direction: column;
        border-radius: 18px;
        padding: 10px;
    }
    .ptiwmm-subscribe-input {
        padding: 6px 4px;
        width: 100%;
    }
    .ptiwmm-subscribe-btn {
        width: 100%;
        justify-content: center;
    }
}
