/*
===========================================
  GLOBAL.CSS — Swift Launch Website
  This file must be linked in ALL pages
  Navbar + Footer + Common styles are here
===========================================
*/

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* ===== COLORS (Variables) ===== */
:root {
    --blue-dark: #01328E;
    --blue-light: #08A1DD;
    --bg-light: #f4f4f4;
    --text-dark: #000;
    --text-muted: #555;
    --white: #ffffff;

    /* ✅ Add new ones here */
    --border-color: #E2E8F0;
    --primary-blue: #08A1DD;
    --glow-blue: rgba(8, 161, 221, 0.15);
    --transition-smooth: all 0.3s ease;
    --text-main: #1E293B;
    --font-family: 'Inter', sans-serif;
}

/* ============================= */
/*         NAVBAR                */
/* ============================= */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 55px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--blue-light);
}

.nav-links a.active {
    color: var(--blue-light) !important;
    font-weight: 700;
}

.login-btn {
    background: var(--blue-dark);
    color: white !important;
    padding: 8px 39px;
    border-radius: 30px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    margin-left: 0px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: 0.3s;
}

.login-btn:hover {
    background: var(--blue-light);
    color: white !important;
}

/* ===== HAMBURGER MENU ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    gap: 5px;
    flex-shrink: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #000;
    border-radius: 5px;
    transition: 0.3s;
}

/* Hamburger -> X animation when menu is open */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.product-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 25px;
    margin-left: 10px;
    background: #01328E;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: .3s;
}

.product-btn:hover {
    background: #08A1DD;
    transform: translateY(-2px);
}

/* Menu */
.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
    overflow: hidden;
    z-index: 999;
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    white-space: normal;
    transition: .3s;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #01328E;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== NAVBAR RESPONSIVE ===== */

/* ===== LAPTOP ===== */
@media (max-width: 1200px) {

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .login-btn {
        padding: 8px 28px;
    }
}

@media (max-width: 1100px) {
    .nav-container {
        flex-direction: row;
    }

    .nav-links {
        gap: 16px;
    }
}

@media (max-width: 1080px) {
    .nav-container {
        flex-direction: row;
    }

    .nav-links {
        gap: 10px;
    }
}

@media (max-width: 1020px) {
    .nav-container {
        flex-direction: row;
        gap: 10px;
    }

}

/* ===== TABLET / MOBILE MENU ===== */
@media (max-width: 1016px) {
    .nav-container {
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .logo img {
        height: 44px;
    }

    /* Order: logo -> hamburger -> hidden links panel */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 25px 0 30px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 16px;
        white-space: normal;
    }

    /* Dropdown becomes tap-based and static inside the mobile panel */
    .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-btn {
        margin-left: 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        width: 90%;
        margin-top: 10px;
        border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .login-btn {
        margin-left: 0;
        width: 80%;
        max-width: 220px;
        text-align: center;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 16px;
    }

    .logo img {
        height: 38px;
    }

    .nav-links {
        gap: 16px;
        padding: 20px 0 25px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .product-btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .login-btn {
        padding: 8px 0;
        font-size: 13px;
    }
}




/* ============================= */
/*     CONTACT + SUBSCRIBE       */
/* ============================= */

.contact-section {
    background: #08A1DD;
    /* Original solid sky blue background */
    padding: 50px 20px;
    margin-top: 420px;
    position: relative;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: stretch;
    margin-top: -365px;
    position: relative;
    z-index: 5;
}

/* ===== DARK PREMIUM FORM CONTAINER (Image 2 Style) ===== */
.contact-form {
    background: #F6F5F2;
    /* Sleek dark theme background matching image 2 */
    padding: 38px;
    border-radius: 20px;
    flex: 1;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Form Header Tracker Badges */
.tracker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 24px;
}

.tracker-pill {
    background: #08A1DD;
    border: 1px solid #08A1DD;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #01328E;
}

.tracker-pill.progress-pct {
    background: #08A1DD;
    border-color: #08A1DD;
    color: #01328E;
}

/* Swift Launch VIP Tag */
.badge-container {
    margin-bottom: 24px;
}

.bottom-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    border: 1px solid #1f3ea6;
    border-radius: 30px;
    color: #1f3ea6;
    background: #fff;
    margin-bottom: 20px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* Form Typography */
.contact-form h2 {
    margin: 0 0 12px 0;
    color: #01328E;
    /* Contrast white header for dark theme */
    font-size: 35px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.contact-form p {
    font-size: 14px;
    line-height: 1.6;
    color: #01328E;
    /* Soft muted description */
    margin-bottom: 32px;
}

/* Inner Row Layout */
.row {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
}

.field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Inner Icon Inputs styling matched to Image 2 */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}



.input-icon {
    position: absolute;
    left: 18px;
    top: 15px;
    color: #01328E;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 5;
}

/* Form Control Elements */
input,
textarea {
    width: 100%;
    padding: 16px 16px 16px 52px;
    /* Left indent for icons */
    border-radius: 12px;
    border: none;
    background: white;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    border: 1px solid #e5e5e5;
}

textarea {
    height: 120px;
    resize: none;
    padding-top: 16px;
}

/* Focus visual states */
.input-wrapper:focus-within {
    border-color: #01328E;
    box-shadow: #01328E;

}

.input-wrapper:focus-within .input-icon {
    color: #01328E;
}

/* Full Width Field */
.full {
    margin-top: 4px;
    margin-bottom: 24px;
}

/* Premium Button Style matching Image 2 Gradient */
.form-btn {
    background: #01328E;
    color: white;
    padding: 11px 37px;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: #01328E;
    transition: all 0.3s ease;
    width: auto;
}

.form-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }

    50% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px #01328E;
    background-color: #08A1DD;
    color: white;
}

.form-btn:active {
    transform: translateY(1px);
}

/* Success Toast inside card */
.success-toast {
    display: none;
    background: linear-gradient(90deg, #064e3b 0%, #022c22 100%);
    border: 1px solid #10b981;
    color: #a7f3d0;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-15px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ===== ORIGINAL RIGHT IMAGE SECTION (Unchanged layout) ===== */
.contact-image {
    position: relative;
    flex: 1;
}

.contact-image img {
    width: 97%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.call-box {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.call-box p {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
}

.icon-bottom {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #01328E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}


/* ===== ORIGINAL SUBSCRIBE FOOTER SECTION (Unchanged style) ===== */
.subscribe {
    max-width: 700px;
    margin: 40px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: white;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.subscribe p {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 35px;
}

.subscribe-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscribe-box input {
    border: none;
    padding: 12px 20px;
    outline: none;
    border-radius: 40px;
    width: 273px;
    background: white;
    color: #333;
}

.subscribe-box button {
    background: white;
    color: #01328E;
    border: none;
    width: 38px;
    height: 38px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-box button svg {
    width: 10px;
    height: 10px;
    color: #01328E;
    transition: 0.3s ease;
}

.subscribe-box button:hover {
    background-color: #01328E;
}

.subscribe-box button:hover svg {
    color: white;
}


/* ===== ANIMATION SYSTEM ===== */
.contact-form,
.contact-image,
.subscribe {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s ease;
}

.contact-form {
    transform: translateX(-80px);
}

.contact-image {
    transform: translateX(80px);
}

.show {
    opacity: 1;
    transform: translate(0, 0);
}

.subscribe {
    transition-delay: 0.3s;
}


/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1140px) {
    .contact-section {
        margin-top: 200px;
    }

    .contact-container {
        margin-top: -250px;
        padding: 0 20px;
    }
}

@media (max-width: 785px) {
    .contact-section {
        margin-top: 80px;
        padding: 30px 15px;
    }

    .contact-container {
        flex-direction: column;
        margin-top: 0;
        gap: 20px;
    }

    .contact-form {
        width: 100%;
        padding: 28px 20px;
    }

    .contact-form h2 {
        font-size: 32px;
    }

    .contact-image img {
        width: 100%;
    }

    .row {
        flex-direction: column;
        gap: 16px;
    }

    .form-btn {
        width: 100%;
    }

    .subscribe {
        flex-direction: column;
        text-align: center;
    }

    .subscribe-box {
        width: 100%;
        justify-content: center;
    }
}

/* ============================= */
/*           FOOTER              */
/* ============================= */

/* Footer */
.footer {
    background: #01328E;
    color: #fff;
    padding: 60px 80px 20px;
}

/* Container */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

/* Columns */
.footer-col {
    flex: 1;
    min-width: 220px;
    width: auto;
}

/* Logo */
.bottom img {
    width: 160px;
    margin-bottom: 20px;
}

/* Headings */
.footer-col h4 {
    margin-bottom: 20px;
    font-size: 14px;
    letter-spacing: 1px;
}

/* List */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.9;
    cursor: pointer;
}

.footer-col ul li:hover {
    opacity: 1;
}

.footer-col ul li a {
    text-decoration: none;
    color: inherit;
}

.footer-col ul li a:hover {
    text-decoration: none;
    color: inherit;
}

/* Links */
.link {
    text-decoration: underline;
    color: white;
}

.contact {
    margin: 15px 0;
}

/* Buttons */
.btn-group {
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.button-ten {
    background: #fff;
    color: #01328E;
    border: none;
    padding: 11px 37px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
}

.button-ten:hover {
    background-color: #08A1DD;
    color: white;
}

.button-seven {
    height: 38px;
    width: 38px;
    border: none;
    border-radius: 30px;
    color: #01328E;
    font-size: 16px;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button-seven:hover {
    background-color: #08A1DD;
    color: white;
}

.button-seven:hover img {
    filter: brightness(0) invert(1);
}

.button-seven img {
    height: 10px;
}

/* Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    color: #ccc;
    font-size: 14px;
    gap: 15px;
}

.footer-bottom .links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom .links span {
    cursor: pointer;
    color: white;
}

.footer-bottom .social {
    display: flex;
    gap: 15px;
}

.footer-bottom .social a {
    color: white;
    font-size: 16px;
}

/* ===================== */
/* RESPONSIVE DESIGN      */
/* ===================== */

/* Large tablet / small desktop */
@media (max-width: 1100px) {
    .footer {
        padding: 55px 50px 20px;
    }

    .footer-container {
        gap: 25px;
    }
}

/* Tablet — 2 columns */
@media (max-width: 992px) {
    .footer {
        padding: 50px 40px 20px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        text-align: left;
    }

    .footer-col {
        width: 100%;
        min-width: 0;
    }
}

/* Mobile — single column, fully centered */
@media (max-width: 600px) {
    .footer {
        padding: 40px 20px;
        text-align: center;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-col {
        width: 100%;
        min-width: 100%;
    }

    .bottom img {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-group {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom .links,
    .footer-bottom .social {
        justify-content: center;
    }
}

/* Small mobile */
@media (max-width: 380px) {
    .footer {
        padding: 30px 15px;
    }

    .button-ten {
        padding: 10px 28px;
        font-size: 13px;
    }

    .footer-bottom .links {
        gap: 12px;
    }
}

/* ===== DEMO TRIGGER ===== */
.demo-container {
    text-align: center;
    max-width: 600px;
    padding: 40px 20px;
    z-index: 5;
}

.demo-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 40%, #93C5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.demo-subtitle {
    font-size: 1.125rem;
    color: #94A3B8;
    margin-bottom: 32px;
    line-height: 1.6;
}

.demo-trigger {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0036A3 100%);
    color: #fff;
    border: none;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.35);
    transition: var(--transition-smooth);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.demo-trigger:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 82, 255, 0.5);
    background: linear-gradient(135deg, #1a66ff 0%, var(--primary-blue) 100%);
}

/* ===== POPUP OVERLAY ===== */
#popupOverlay {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(2, 6, 23, 0.8);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#popupOverlay.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* ===== 3D PERSPECTIVE WRAPPER ===== */
.tilt-wrapper {
    perspective: 2000px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;

}

/* ===== MAIN POPUP CARD - FIXED SIZING ===== */
.about-popup {
    width: 100%;
    max-width: 1040px;
    /* Fixed max-width */
    min-height: 640px;
    display: flex;
    border-radius: 32px;
    overflow: hidden;
    background: #ffffff;
    position: relative;
    box-shadow: var(--card-shadow);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    aspect-ratio: 1040 / 640;
    /* Fixed aspect ratio */
}

#popupOverlay.active .about-popup {
    transform: scale(1);
    opacity: 1;
}

/* ===== CLOSE BUTTON ===== */
.close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(241, 245, 249, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition-smooth);
    color: var(--text-main);
}

.close-btn:hover {
    background: #ffffff;
    transform: rotate(90deg) scale(1.05);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.15);
}

/* ===== LEFT PANEL ===== */
.popup-left {
    width: 45%;
    background: linear-gradient(160deg, #0A192F 0%, #020c1b 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
    padding: 50px 36px;
    text-align: center;
    color: #ffffff;
    transform-style: preserve-3d;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

#three-d-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

#rocket-overlay-container {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(60px);
    width: 160px;
    height: auto;
    z-index: 3;
    pointer-events: none;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform;
}

#rocket-logo-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 210, 255, 0.35));
    transform-style: preserve-3d;
}

.left-content {
    position: relative;
    z-index: 5;
    pointer-events: none;
    width: 100%;
    transform: translateZ(40px);
}

.logo-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00D2FF;
    margin-bottom: 16px;
    display: inline-block;
    background: rgba(0, 210, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1.5px solid rgba(0, 210, 255, 0.2);
}

.left-content h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.25;
    background: linear-gradient(135deg, #ffffff 60%, #93C5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.left-content p {
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.6;
    font-weight: 500;
    max-width: 90%;
    margin: 0 auto;
}

/* Updated Left Footer - Smaller Circle */
.left-footer {
    position: relative;
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 12px;
    /* Reduced gap */
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.1) 0%, rgba(10, 25, 47, 0.8) 100%);
    padding: 10px 22px;
    /* Reduced padding */
    border-radius: 50px;
    border: 1.5px solid rgba(0, 210, 255, 0.25);
    transform: translateZ(35px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Smaller Circle */
.brand-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    /* Reduced from 38px */
    height: 30px;
    /* Reduced from 38px */
    background: linear-gradient(135deg, #0A192F 0%, #001E62 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
    flex-shrink: 0;
    overflow: hidden;
    padding: 2px;
}

/* Smaller Image inside Circle */
.brand-logo-icon img {
    width: 22px;
    /* Reduced from 30px */
    height: 22px;
    /* Reduced from 30px */
}

/* Slightly smaller text */
.brand-name-text {
    font-size: 13px;
    /* Reduced from 14px */
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#three-d-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#three-d-canvas canvas {
    width: 88% !important;
    height: 74% !important;
    margin-left: 17px;
    margin-top: 91px;
}

#leftPanel {
    position: relative;
    overflow: hidden;
}

/* ===== RIGHT PANEL ===== */
.popup-right {
    width: 55%;
    background: #ffffff;
    padding: 60px 48px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    transform-style: preserve-3d;
}

.popup-right::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.04) 0%, rgba(0, 82, 255, 0) 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

#formContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    transform: translateZ(25px);
}

.popup-right h2 {
    font-size: 30px;
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.form-sub {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.input-group {
    position: relative;
    width: 100%;
}

.popup-right input,
.popup-right textarea {
    width: 100%;
    background: #F8FAFC;
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    font-family: var(--font-family);
    outline: none;
    box-sizing: border-box;
    transition: var(--transition-smooth);
}

.popup-right input:hover,
.popup-right textarea:hover {
    border-color: #CBD5E1;
    background: #F1F5F9;
}

.popup-right input:focus,
.popup-right textarea:focus {
    border-color: var(--primary-blue);
    background: #ffffff;
    box-shadow: 0 0 0 4px var(--glow-blue), 0 8px 16px rgba(0, 82, 255, 0.04);
}

.popup-right input::placeholder,
.popup-right textarea::placeholder {
    color: #94A3B8;
    opacity: 1;
    font-weight: 500;
}

.popup-right textarea {
    height: 100px;
    resize: none;
    line-height: 1.5;
}

.submit-container {
    margin-top: 6px;
}

.submit {
    background: #0B2447;
    color: #ffffff;
    padding: 11px 37px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(11, 36, 71, 0.2);
    position: relative;
    overflow: hidden;
}

.submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 82, 255, 0.3);
    background-color: var(--primary-blue);
}

.submit:active {
    transform: translateY(0);
}

.submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.submit:hover::after {
    left: 100%;
}

/* ===== SUCCESS SCREEN ===== */
.success-screen {
    display: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 100%;
    animation: fadeIn 0.4s ease forwards;
    position: relative;
    z-index: 20;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 72px;
    height: 72px;
    background: #ECFDF5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10B981;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
    border: 2px solid #A7F3D0;
}

.success-screen h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
}

.success-screen p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 320px;
    line-height: 1.6;
    font-weight: 500;
}

/* ================================================================ */
/* ===== RESPONSIVE BREAKPOINTS - FIXED CONSISTENT SIZING ===== */
/* ================================================================ */

/* LAPTOP & TABLET LANDSCAPE (1024px - 1400px) */
@media (max-width: 1200px) {
    .about-popup {
        max-width: 920px;
        min-height: 580px;
        aspect-ratio: 920 / 580;
    }

    .popup-left {
        padding: 40px 28px;
    }

    .popup-right {
        padding: 48px 36px;
    }

    .left-content h3 {
        font-size: 28px;
    }

    #rocket-overlay-container {
        width: 200px;
    }

    .popup-right h2 {
        font-size: 32px;
    }
}

/* TABLET PORTRAIT & SMALL LAPTOP (768px - 1023px) */
@media (max-width: 1023px) {
    .about-popup {
        max-width: 700px;
        min-height: auto;
        aspect-ratio: 700 / 580;
        flex-direction: column;
        border-radius: 24px;
    }

    .popup-left {
        width: 100%;
        min-height: 280px;
        padding: 32px 28px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .popup-right {
        width: 100%;
        padding: 40px 32px;
    }

    #rocket-overlay-container {
        width: 170px;
        top: 55%;
    }

    .left-content h3 {
        font-size: 26px;
    }

    .left-footer {
        display: flex;
        /* Show footer on tablet */
        padding: 10px 22px;
    }

    .popup-right h2 {
        font-size: 30px;
    }

    .popup-right input,
    .popup-right textarea {
        padding: 12px 18px;
        font-size: 14px;
    }

    .popup-right textarea {
        height: 80px;
    }
}

/* MOBILE LARGE & TABLET SMALL (480px - 767px) */
@media (max-width: 767px) {
    #popupOverlay {
        padding: 12px;
    }

    .about-popup {
        max-width: 480px;
        min-height: auto;
        aspect-ratio: auto;
        border-radius: 20px;
        flex-direction: column;
    }

    .popup-left {
        width: 100%;
        min-height: 240px;
        padding: 24px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .popup-right {
        width: 100%;
        padding: 32px 24px;
    }

    #rocket-overlay-container {
        width: 140px;
        top: 52%;
    }

    .left-content h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .left-content p {
        font-size: 13px;
        max-width: 100%;
    }

    .logo-tag {
        font-size: 10px;
        padding: 4px 14px;
        margin-bottom: 12px;
    }

    .left-footer {
        display: flex;
        padding: 8px 18px;
        gap: 10px;
    }

    .brand-logo-icon {
        width: 32px;
        height: 32px;
    }

    .brand-logo-icon img {
        width: 24px;
        height: 24px;
    }

    .brand-name-text {
        font-size: 12px;
    }

    .popup-right h2 {
        font-size: 26px;
    }

    .form-sub {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .popup-form {
        gap: 12px;
    }

    .popup-right input,
    .popup-right textarea {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 12px;
    }

    .popup-right textarea {
        height: 70px;
    }

    .submit {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }

    .close-btn {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
    }

    .close-btn svg {
        width: 16px;
        height: 16px;
    }

    .success-screen h3 {
        font-size: 24px;
    }

    .success-icon {
        width: 60px;
        height: 60px;
    }
}

/* MOBILE SMALL (320px - 479px) */
@media (max-width: 479px) {
    #popupOverlay {
        padding: 8px;
    }

    .about-popup {
        max-width: 100%;
        border-radius: 16px;
        min-height: auto;
    }

    .popup-left {
        min-height: 200px;
        padding: 20px 16px;
    }

    .popup-right {
        padding: 24px 16px;
    }

    #rocket-overlay-container {
        width: 110px;
        top: 50%;
    }

    .left-content h3 {
        font-size: 18px;
    }

    .left-content p {
        font-size: 12px;
    }

    .logo-tag {
        font-size: 9px;
        padding: 3px 12px;
    }

    .left-footer {
        padding: 6px 14px;
        gap: 8px;
    }

    .brand-logo-icon {
        width: 28px;
        height: 28px;
    }

    .brand-logo-icon img {
        width: 20px;
        height: 20px;
    }

    .brand-name-text {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .popup-right h2 {
        font-size: 22px;
    }

    .form-sub {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .popup-form {
        gap: 10px;
    }

    .popup-right input,
    .popup-right textarea {
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 10px;
    }

    .popup-right textarea {
        height: 60px;
    }

    .submit {
        padding: 12px 16px;
        font-size: 13px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .close-btn svg {
        width: 14px;
        height: 14px;
    }

    .success-screen h3 {
        font-size: 20px;
    }

    .success-screen p {
        font-size: 13px;
    }

    .success-icon {
        width: 50px;
        height: 50px;
    }
}


.sl-demo-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #090d16;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 20px;
}

.sl-headline-box {
    text-align: center;
    margin-bottom: 24px;
    z-index: 1;
}

.sl-headline-box h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.sl-headline-box p {
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
}

/* Demo launch button */
.sl-trigger-action {
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.sl-trigger-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5);
}

/* --- UNIQUE PRESET POPUP DESIGN (ALL CLASS NAMES HAVE BEEN CHANGED) --- */

/* Overlay background mask */
#slPopupOverlayMask {
    position: fixed;
    inset: 0;
    background: rgba(8, 11, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#slPopupOverlayMask.sl-mask-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Main container wrap with background and dark gradient overlay */
.sl-modal-board {
    width: 980px;
    max-width: 100%;
    background: #01328E;
    /* Unified royal brand solid backup */
    background-size: cover;
    background-position: center;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    display: flex;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    padding: 40px;
    gap: 40px;
    align-items: stretch;
    /* FIXED: Prevents vertical offset layout clipping */
}

/* Canvas Grid fallback design layer to ensure clean background visual */
.sl-modal-grid-decor {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 1;
    opacity: 0.7;
}

#slPopupOverlayMask.sl-mask-visible .sl-modal-board {
    transform: translateY(0) scale(1);
}

/* Close (X) button */
#slCloseAction {
    position: absolute;
    right: 24px;
    top: 24px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 20;
}

#slCloseAction:hover {
    background: #08A1DD;
    color: white;
    border-color: #01328E;
    transform: rotate(90deg);
}

/* Left side: branding pane */
.sl-sidebar-pane {
    flex: 1;
    margin-bottom: 72px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    position: relative;
    z-index: 2;
    padding: 20px;
    min-width: 0;
    /* FIXED: Allows column to shrink on tablet screens without pushing card */
}

/* Top Logo branding block */
.sl-sidebar-logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.sl-sidebar-logo-icon-holder {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sl-sidebar-logo-icon-holder svg {
    width: 22px;
    height: 22px;
    color: #1d4ed8;
}

.sl-sidebar-logo-block span {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 1px;
    color: #ffffff;
}

/* Left side: Middle Typography content */
.sl-sidebar-body-text {
    margin: 40px 0;
}

.sl-sidebar-body-text h2 {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 12px rgba(15, 23, 42, 0.5);
}

.sl-sidebar-body-text p {
    font-size: 18px;
    color: #e0f2fe;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(15, 23, 42, 0.4);
}

/* Left side bottom help email anchor */
.sl-sidebar-footer-link a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
    transition: opacity 0.2s;
    text-shadow: 0 1px 5px rgba(15, 23, 42, 0.3);
}

.sl-sidebar-footer-link a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Right side: Modern bright form card */
.sl-form-white-shield {
    flex: 1.2;
    background: #F6F5F2;
    border-radius: 28px;
    padding: 40px;
    /* Adjusted slightly to preserve inner breathing space on all viewports */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    z-index: 2;
    color: #0f172a;
    min-width: 0;
    /* FIXED: Keeps flex structure contained inside the desktop card width */
}

.sl-form-shield-title {
    margin-bottom: 24px;
}

.sl-form-shield-title h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1e3a8a;
    letter-spacing: -0.5px;
}

/* Structured form rows */
.sl-form-grid-row {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    width: 100%;
}

.sl-field-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.sl-field-container label {
    font-size: 13px;
    font-weight: 700;
    color: #01328E;
}

/* Rounded stable form input structures */
.sl-form-white-shield input,
.sl-form-white-shield select,
.sl-form-white-shield textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #F6F5F2;
    background: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

.sl-form-white-shield input::placeholder,
.sl-form-white-shield textarea::placeholder {
    color: #94a3b8;
}

/* Interactive input focused states */
.sl-form-white-shield input:focus,
.sl-form-white-shield select:focus,
.sl-form-white-shield textarea:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Layout rules for full block layouts */
.sl-full-block-container {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Horizontal choices layout */
.sl-choices-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 4px;
}

.sl-choice-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #01328E;
    font-weight: 600;
    cursor: pointer;
}

.sl-choice-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    cursor: pointer;
}

/* Custom File uploader design components */
.sl-uploader-block {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.sl-uploader-trigger-action {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.sl-uploader-trigger-action:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Premium submit/action button */
.sl-form-submit-action {
    width: 100%;
    border: none;
    padding: 15px;
    border-radius: 12px;
    background: #01328E;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.2);
    transition: all 0.25s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.sl-form-submit-action:hover {
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
    background-color: #08A1DD;
}

.sl-form-submit-action:active {
    transform: translateY(1px);
}

/* Dynamic internal card success notification layout */
.sl-form-success-shield {
    text-align: center;
    padding: 30px 10px;
}

.sl-form-success-icon-badge {
    width: 74px;
    height: 74px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2563eb;
    margin: 0 auto 20px auto;
    border: 2px solid #bfdbfe;
}

/* Responsive adjustments for portable displays */
@media(max-width: 950px) {
    .sl-modal-board {
        flex-direction: column;
        align-items: stretch;
        /* FIXED: Forces responsive vertical flow cards to stretch properly */
        max-height: 90vh;
        overflow-y: auto;
        padding: 30px 24px;
        gap: 24px;
        border-radius: 28px;
    }

    .sl-sidebar-pane {
        align-items: center;
        text-align: center;
        min-height: auto;
        width: 100%;
        padding: 20px 0;
    }

    .sl-sidebar-logo-block {
        justify-content: center;
        margin-bottom: 12px;
    }

    .sl-sidebar-body-text {
        margin: 15px 0;
    }

    .sl-sidebar-body-text h2 {
        font-size: 32px;
    }

    .sl-sidebar-body-text p {
        font-size: 15px;
    }

    .sl-form-white-shield {
        width: 100%;
        padding: 30px 20px;
        border-radius: 20px;
    }

    #slCloseAction {
        background: rgba(255, 255, 255, 0.3);
        top: 15px;
        right: 15px;
    }
}

.sl-sidebar-logo-icon-holder img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

@media(max-width: 600px) {
    .sl-form-grid-row {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 14px;
    }
}