:root {
    --c1-matrix: #AC4D4F;
    --c2-abbey: #4E5359;
    --c3-ebb: #EFECEC;
    --c4-nobel: #B8AFB0;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #FFFFFF;
    color: var(--c2-abbey);
    min-height: 100vh;
    position: relative;
}

/* =========================================
    BACKGROUND BUILDINGS ANIMATION
    ========================================= */
.buildings-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.buildings-bg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.building-outline {
    fill: none;
    stroke: var(--c1-matrix);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: riseBuilding 3.5s ease-out forwards;
}

.building-window {
    fill: none;
    stroke: var(--c1-matrix);
    stroke-width: 1;
    opacity: 0;
    animation: fadeInWindow 0.8s ease-out forwards;
}

@keyframes riseBuilding {
    0% {
        stroke-dashoffset: 2000;
        opacity: 0;
    }
    15% {
        opacity: 0.35;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.35;
    }
}

@keyframes fadeInWindow {
    from { opacity: 0; }
    to { opacity: 0.3; }
}

/* Staggered animation delays */
.b-1 { animation-delay: 0.2s; }
.b-2 { animation-delay: 0.5s; }
.b-3 { animation-delay: 0.8s; }
.b-4 { animation-delay: 0.3s; }
.b-5 { animation-delay: 1.0s; }
.b-6 { animation-delay: 0.6s; }
.b-7 { animation-delay: 1.2s; }
.b-8 { animation-delay: 0.4s; }
.b-9 { animation-delay: 0.9s; }
.b-10 { animation-delay: 1.4s; }
.b-11 { animation-delay: 0.7s; }
.b-12 { animation-delay: 1.1s; }
.b-13 { animation-delay: 0.35s; }
.b-14 { animation-delay: 0.75s; }

.w-1 { animation-delay: 2.5s; }
.w-2 { animation-delay: 2.8s; }
.w-3 { animation-delay: 3.1s; }
.w-4 { animation-delay: 2.6s; }
.w-5 { animation-delay: 3.3s; }
.w-6 { animation-delay: 2.9s; }
.w-7 { animation-delay: 3.5s; }
.w-8 { animation-delay: 2.7s; }

/* =========================================
    MAIN CONTENT
    ========================================= */
.main-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(172, 77, 79, 0.15);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 720px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(172, 77, 79, 0.08);
    text-align: center;
    animation: cardFadeIn 1s ease-out 0.3s both;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
    KARNATAKA MAP WITH LOGO
    ========================================= */
.karnataka-map-wrapper {
    position: relative;
    width: 380px;
    height: 400px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.karnataka-map {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 20px rgba(78, 83, 89, 0.12));
    animation: mapFloat 4s ease-in-out infinite;
}

@keyframes mapFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.logo-container {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(78, 83, 89, 0.18);
    border: 3px solid white;
    overflow: hidden;
    padding: 8px;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================
    TYPOGRAPHY
    ========================================= */
.coming-soon-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c1-matrix);
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(172, 77, 79, 0.08);
    border-radius: 30px;
}

.brand-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--c2-abbey);
    margin-bottom: 4px;
    line-height: 1.1;
}

.brand-title .accent {
    color: var(--c1-matrix);
}

.brand-tagline {
    font-size: 0.95rem;
    color: var(--c4-nobel);
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-style: italic;
}

.brand-description {
    font-size: 0.95rem;
    color: var(--c2-abbey);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
    COUNTDOWN TIMER
    ========================================= */
.countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.countdown-box {
    background: var(--c3-ebb);
    border: 1px solid rgba(184, 175, 176, 0.5);
    border-radius: 14px;
    padding: 16px 10px;
    min-width: 80px;
    transition: all 0.3s ease;
}

.countdown-box:hover {
    border-color: var(--c1-matrix);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(172, 77, 79, 0.15);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--c2-abbey);
    line-height: 1;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--c4-nobel);
    margin-top: 6px;
    font-weight: 500;
}

/* =========================================
    EMAIL FORM
    ========================================= */
.notify-form {
    max-width: 480px;
    margin: 0 auto 20px;
}

.input-group-custom {
    display: flex;
    background: white;
    border: 2px solid var(--c3-ebb);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(78, 83, 89, 0.06);
}

.input-group-custom:focus-within {
    border-color: var(--c1-matrix);
    box-shadow: 0 4px 20px rgba(172, 77, 79, 0.15);
}

.input-group-custom input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--c2-abbey);
    background: transparent;
}

.input-group-custom input::placeholder {
    color: var(--c4-nobel);
}

.btn-notify {
    background: var(--c1-matrix);
    color: white;
    border: none;
    padding: 14px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-notify:hover {
    background: var(--c2-abbey);
}

.form-success {
    display: none;
    color: var(--c1-matrix);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 12px;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.privacy-text {
    font-size: 0.8rem;
    color: var(--c4-nobel);
    margin-bottom: 25px;
}

/* =========================================
    FEATURES / INFO
    ========================================= */
.features-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--c2-abbey);
    font-weight: 500;
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(172, 77, 79, 0.1);
    color: var(--c1-matrix);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* =========================================
    SOCIAL & FOOTER
    ========================================= */
.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--c3-ebb);
    color: var(--c2-abbey);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--c1-matrix);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(172, 77, 79, 0.3);
}

.footer-info {
    font-size: 0.8rem;
    color: var(--c4-nobel);
    padding-top: 20px;
    border-top: 1px solid rgba(184, 175, 176, 0.4);
}

.footer-info a {
    color: var(--c1-matrix);
    text-decoration: none;
    font-weight: 500;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* =========================================
    RESPONSIVE
    ========================================= */
@media (max-width: 768px) {
    .content-card {
        padding: 40px 25px;
    }

    .brand-title {
        font-size: 1.8rem;
    }

    .karnataka-map-wrapper {
        width: 320px;
        height: 340px;
    }

    .logo-container {
        width: 110px;
        height: 110px;
    }

    .countdown-box {
        min-width: 68px;
        padding: 12px 8px;
    }

    .countdown-value {
        font-size: 1.6rem;
    }

    .input-group-custom {
        flex-direction: column;
        border-radius: 16px;
    }

    .input-group-custom input {
        text-align: center;
        padding: 14px;
    }

    .btn-notify {
        border-radius: 0 0 14px 14px;
    }

    .features-row {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 1.5rem;
    }

    .brand-description {
        font-size: 0.88rem;
    }

    .countdown {
        gap: 8px;
    }

    .countdown-box {
        min-width: 60px;
    }

    .countdown-value {
        font-size: 1.4rem;
    }

    .countdown-label {
        font-size: 0.6rem;
    }

    .karnataka-map-wrapper {
        width: 260px;
        height: 280px;
    }

    .logo-container {
        width: 90px;
        height: 90px;
    }
}