/* Extracted CSS from original HTML */
:root {
    --bg-image: "A_digital_vector_graphic_features_an_abstract_back.png";
    --bg-overlay: rgba(255, 255, 255, 0.78);
    --accent: #0F4C81;
    --muted: #6B7280;
    --card-radius: 22px;
    --maxw: 1100px;
}

/* reset */
* {
    box-sizing: border-box
}

html,
body {
    min-height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #0f1724;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #f7fafc;
    /* background image */
    background-image: url("A_digital_vector_graphic_features_an_abstract_back.avif");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

/* gentle overlay to ensure text legibility */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

/* main container */
.wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--maxw);
    border-radius: 28px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 36px;
    align-items: center;
    padding: 56px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 60px rgba(8, 15, 30, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow: hidden;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(146, 64, 14, 0.1);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-badge::before {
    content: "🚧";
    font-size: 16px;
}

/* LEFT: brand + copy */
.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    flex-shrink: 0;
}

.logo-icon {
    width: 120px;
    height: auto;
    display: block;
}

.logo-text {
    font-family: 'casablanca-urw', serif;
    font-size: 42px;
    color: #0F4C81;
    letter-spacing: -0.02em;
    white-space: nowrap;
    margin-top: -8px;
}

.logo-text .web {
    font-weight: 300;
}

.logo-text .aakaar {
    font-weight: 500;
}

.logo-text .underscore {
    font-weight: 300;
    font-size: 0.65em;
    position: relative;
    top: -1px;
    animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    99% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.copy {
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.copy h1 {
    margin: 0 0 22px 0;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #071233;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.copy h1 .highlight {
    color: var(--accent);
    font-weight: 700;
}

.copy h1+.lead {
    margin-top: 10px;
}

.lead {
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    max-width: 65ch;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
    justify-content: center;
}

.pill {
    background: rgba(15, 76, 129, 0.04);
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 13px;
    color: var(--accent);
    border: 1px solid rgba(15, 76, 129, 0.06);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.accent-bar {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, rgba(15, 76, 129, 0.12), rgba(15, 76, 129, 0.06));
    border-radius: 10px;
    margin-top: 26px;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.accent-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 76, 129, 0.22), rgba(15, 76, 129, 0.42));
    transform-origin: left center;
    animation: fillBar 4s ease-in-out infinite;
    opacity: 0.95;
    pointer-events: none;
}

@keyframes fillBar {
    0% {
        width: 0%;
    }

    90% {
        width: 100%;
    }

    100% {
        width: 100%;
    }
}

.contact-line {
    margin-top: 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.contact-line strong {
    color: #071233;
    font-weight: 600;
}

/* RIGHT: card */
.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.96));
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 30px rgba(12, 18, 28, 0.06);
    border: 1px solid rgba(14, 20, 30, 0.03);
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #071233;
    margin-bottom: 6px;
}

label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px
}

.input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

input[type="email"] {
    flex: 1;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #E6E9EE;
    outline: none;
    min-width: 0;
}

input[type="email"]:focus {
    box-shadow: 0 0 0 5px rgba(15, 76, 129, 0.06);
    border-color: var(--accent)
}

button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 11px 16px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

button:hover {
    background: #0d4070;
}

.note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 10px;
    line-height: 1.5;
}

.social {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #E6E9EE;
    text-decoration: none;
    color: var(--accent);
    font-weight: 600;
    transition: all 0.2s;
}

.social a:hover {
    border-color: var(--accent);
    background: rgba(15, 76, 129, 0.04);
}

.social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.success {
    border-radius: 10px;
    padding: 12px;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid rgba(6, 95, 70, 0.08);
    margin-top: 12px;
    display: none;
}

.page-wrap {
    width: 100%;
    max-width: 100%;
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

/* ========================================
   MOBILE RESPONSIVE STYLES - CORRECTED
   ======================================== */

@media (max-width: 980px) {
    body {
        padding: 16px;
        background-attachment: scroll;
        align-items: flex-start;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .page-wrap {
        padding: 10px 0;
    }

    .wrap {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        border-radius: 20px;
        max-width: 100%;
        margin-top: 4px;
    }

    .brand {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 18px;
        margin-top: 6px;
    }

    .logo {
        gap: 0;
    }

    .logo-icon {
        width: 100px;
    }

    .logo-text {
        font-size: 36px;
        margin-top: -6px;
    }

    .copy h1 {
        font-size: clamp(24px, 6vw, 30px);
        margin-bottom: 14px;
    }

    .lead {
        font-size: clamp(15px, 4vw, 16px);
        margin: 0 auto 22px auto;
        line-height: 1.5;
        max-width: 45ch;
    }

    .features {
        justify-content: center;
        gap: 8px;
        margin-bottom: 24px;
    }

    .pill {
        font-size: 13px;
        padding: 8px 14px;
        border-radius: 8px;
    }

    .accent-bar {
        margin: 18px auto 24px auto;
        width: 80%;
    }

    .card {
        margin-top: 32px;
        padding: 20px 18px;
        border-radius: 14px;
        width: 100%;
        box-shadow: 0 6px 18px rgba(10, 15, 30, 0.05);
    }

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

    input[type="email"],
    button {
        width: 100%;
        font-size: 14px;
    }

    button {
        padding: 12px 0;
    }

    .social {
        justify-content: center;
    }

    .coming-soon-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .wrap {
        padding: 20px 14px;
        border-radius: 16px;
    }

    .copy h1 {
        font-size: clamp(22px, 6vw, 26px);
    }

    .lead {
        font-size: 15px;
    }

    /* Scale down hCaptcha on very small screens */
    .h-captcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

@media (max-height: 700px) {
    body {
        align-items: flex-start;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .page-wrap {
        padding-top: 6px;
        padding-bottom: 20px;
    }

    .wrap {
        margin-top: 4px;
    }
}