* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #f3f5f9 0%, #eef2ff 100%);
    color: #1f2937;
    min-height: 100vh;
}

/* GRAIN TEXTURE - REMOVED FOR PERFORMANCE */
/* The complex SVG filter was causing lag on some devices. 
   If needed, replace with a small static PNG image pattern. */


/* BACKGROUND BLOB - SUBTLE DEPTH */
body::after {
    content: "";
    position: fixed;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.mobile-header {
    display: none;
}

/* HERO SECTION */
.hero {
    padding: 70px 20px 90px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 90px;
    align-items: stretch; /* Stretch to make both columns equal height */
}

/* Desktop Logo */
.desktop-logo img {
    height: 120px;
    margin-bottom: 25px;
    display: block;
    /* 3D Transform without background box */
    transform: perspective(1000px) rotateY(15deg) rotateX(5deg);
    /* Enhance colors and add 3D shadow that follows logo shape */
    filter: drop-shadow(5px 5px 0px #c7d2fe) drop-shadow(10px 10px 20px rgba(0,0,0,0.15)) brightness(1.05) saturate(1.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.desktop-logo img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
    filter: drop-shadow(0px 10px 20px rgba(79, 70, 229, 0.2)) brightness(1.1);
}

/* HEADING */
h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 58px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.brand-text {
    color: #111827;
    /* 3D Layered Shadow */
    text-shadow: 
        1px 1px 0 #e5e7eb,
        2px 2px 0 #d1d5db,
        3px 3px 0 #9ca3af,
        4px 4px 0 #6b7280,
        5px 5px 12px rgba(0,0,0,0.15);
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-text:hover {
    transform: translateY(-4px) translateX(-2px);
    text-shadow: 
        1px 1px 0 #e5e7eb,
        2px 2px 0 #d1d5db,
        3px 3px 0 #9ca3af,
        4px 4px 0 #6b7280,
        5px 5px 0 #4b5563,
        6px 6px 0 #374151,
        8px 8px 15px rgba(0,0,0,0.2);
}

.separator {
    margin: 0 8px;
    color: #cbd5e1;
    font-weight: 300;
    vertical-align: middle;
    position: relative;
    top: -8px;
    text-shadow: none;
}

.product-text {
    font-weight: 900;
    /* Rich 3D Gradient */
    background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    
    /* 3D Lift & Glow */
    filter: drop-shadow(0 4px 0 rgba(124, 58, 237, 0.15)) drop-shadow(0 8px 12px rgba(124, 58, 237, 0.2));
    display: inline-block;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.subtitle {
    font-size: 17px;
    color: #6b7280;
    margin-bottom: 50px;
    max-width: 500px;
}

.left {
    flex: 1.1;
    display: flex;
    flex-direction: column;
}

/* FEATURES */
.features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex: 1; /* Grow to fill remaining space in flex column */
    justify-content: flex-end; /* Align cards to bottom to match form height */
}

.feature-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 24px 30px;
    border-radius: 20px;
    font-size: 17px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Removed opacity: 0 to ensure visibility without JS animation */
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #eef2ff;
    border-radius: 12px;
    color: #4f46e5;
    flex-shrink: 0;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e0e7ff;
}

.feature-card:hover .icon-box {
    background: #4f46e5;
    color: white;
    transition: all 0.3s ease;
}

/* RIGHT SECTION */
.right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
    justify-content: flex-end; /* Align content to bottom */
}

/* POSTER */
.poster-placeholder img,
.poster-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 28px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Add a subtle glow/background behind the image if needed, or remove the wrapper padding */
.poster-placeholder,
.poster-image {
    padding: 0;
    background: transparent;
    margin-top: 45px; /* Shifts poster lower to reduce gap with form */
}

/* PHONE PREFIX FIELD */
.phone-field-wrap {
    display: flex;
    align-items: stretch;
    background: #f3f4f6;
    border-radius: 16px;
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.2s ease;
}

.phone-field-wrap:focus-within {
    background: white;
    border-color: #818cf8;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.phone-prefix-label {
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    background: transparent;
    border-right: 2px solid #e5e7eb;
    white-space: nowrap;
    user-select: none;
    flex-shrink: 0;
}

.phone-field-wrap:focus-within .phone-prefix-label {
    border-right-color: rgba(99, 102, 241, 0.3);
}

.phone-field-wrap input {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 18px;
    flex: 1;
    box-shadow: none !important;
}

.phone-field-wrap input:focus {
    background: transparent;
    border-color: transparent;
    box-shadow: none !important;
}

/* FORM */
.form-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.97) 0%, rgba(238,242,255,0.95) 40%, rgba(224,231,255,0.95) 100%);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 28px;
    border: 1.5px solid rgba(99,102,241,0.35);
    box-shadow: 0 8px 30px rgba(0,0,0,0.20), 0 12px 45px rgba(99,102,241,0.18), inset 0 0 0 1px rgba(255,255,255,0.5);
}

form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

input, select {
    padding: 18px;
    border-radius: 16px;
    border: 2px solid transparent;
    background: #f3f4f6;
    font-size: 15px;
    color: #1f2937;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

input:focus, select:focus {
    outline: none;
    background: white;
    border-color: #818cf8;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

input::placeholder {
    color: #9ca3af;
}

select {
    background-color: #f3f4f6;
    cursor: pointer;
}

.checkbox-wrapper {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    align-items: flex-start;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #4f46e5;
    cursor: pointer;
}

button {
    padding: 20px;
    border-radius: 50px; /* Pill shape */
    border: none;
    /* Purple to Pink/Lavender Gradient matching the screenshot */
    background: linear-gradient(90deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Soft glowing shadow */
    box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.5);
    width: 100%; /* Ensure full width in form */
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -5px rgba(168, 85, 247, 0.6);
    background: linear-gradient(90deg, #4f46e5 0%, #9333ea 50%, #db2777 100%);
}

button:disabled {
    background: #c0c0c0;
    color: #888;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* ================= IMAGE STRIP ================= */

.toppers-section {
    margin: 80px 0 120px;
}

.toppers-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.toppers-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 42px; /* Increased size */
    font-weight: 800; /* Extra Bold matching screenshot */
    color: #4f46e5; /* Brand Purple to mimic the screenshot's primary color */
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.05);
}

.toppers-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 8px 18px;
    font-size: 20px;
    font-weight: 800;
    /* Yellow Badge Style */
    background: linear-gradient(120deg, #facc15 0%, #fde047 50%, #facc15 100%);
    background-size: 200% auto;
    color: #1e1b4b; /* Dark Navy Text */
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    vertical-align: middle;
    /* Movement & Shine Animations */
    transform-origin: center;
    animation: 
        shine-badge 3s linear infinite, 
        float-badge 2s ease-in-out infinite alternate;
}

@keyframes shine-badge {
    to { background-position: 200% center; }
}

@keyframes float-badge {
    0% { transform: rotate(-2deg) translateY(0); }
    100% { transform: rotate(-2deg) translateY(-4px); }
}

.toppers-subheading {
    font-size: 15px;
    color: #6b7280;
    max-width: 620px;
    margin: 0 auto 50px;
}

.toppers-strip-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.toppers-strip {
    display: flex;
    gap: 26px;
    width: max-content;
    align-items: center;
    animation: scrollLeft 15s linear infinite;
}

/* ✅ BIGGER IMAGE SIZE */
.toppers-strip img {
    height: 215px;
    width: auto;
    flex-shrink: 0;
    display: block;
    pointer-events: none;
    user-select: none;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* CONTACT SECTION (RESTORED) */
.contact-section {
    max-width: 1200px;
    margin: 130px auto 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.contact-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-box {
    padding: 20px 32px;
    border-radius: 50px;
    /* Exact same gradient and style as Get Started button */
    background: linear-gradient(90deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.contact-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -5px rgba(168, 85, 247, 0.6);
    background: linear-gradient(90deg, #4f46e5 0%, #9333ea 50%, #db2777 100%);
}

/* ================= MOBILE VIEW ================= */

@media (max-width: 900px) {

    /* ===== Hero ===== */
    .hero {
        padding: 24px 16px 0;
    }

    .container {
        flex-direction: column;
        gap: 0;
    }

    /* ===== Mobile Header ===== */
    .mobile-header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 8px 16px;
        background: #f3f5f9;
        border-bottom: 1px solid rgba(79, 70, 229, 0.15);
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .mobile-header img {
        height: 100px;
        transform: none;
        filter: drop-shadow(2px 2px 6px rgba(79, 70, 229, 0.18));
        image-rendering: auto;
        backface-visibility: hidden;
        will-change: transform;
    }

    .desktop-logo {
        display: none;
    }

    .left {
        display: contents;
        text-align: center;
    }

    .right {
        display: contents;
    }

    h1 {
        order: 1;
        font-size: clamp(28px, 9vw, 52px);
        margin-bottom: 10px;
        line-height: 1.2;
        text-align: center;
        letter-spacing: -0.5px;
        white-space: nowrap;
    }

    .brand-text {
        display: inline;
        margin-bottom: 0;
        text-shadow: 2px 2px 0 #d1d5db;
    }

    .separator {
        display: none;
    }

    .product-text {
        font-size: clamp(28px, 9vw, 52px);
        display: block;
        white-space: nowrap;
        text-transform: uppercase;
        filter: drop-shadow(0 2px 4px rgba(124, 58, 237, 0.2));
    }

    .subtitle {
        order: 2;
        font-size: 22px;
        font-weight: 700;
        color: #000000;
        margin-top: 0;
        margin-bottom: 24px;
        text-align: center;
        line-height: 2;
    }

    .form-card {
        order: 3;
        margin-bottom: 24px;
        padding: 24px 18px;
        border-radius: 18px;
    }

    input,
    select {
        padding: 15px;
        font-size: 14px;
    }

    .phone-field-wrap input {
        padding: 15px 12px;
        font-size: 13px;
    }

    .phone-prefix-label {
        padding: 0 12px;
        font-size: 14px;
    }

    .features {
        order: 4;
        gap: 10px;
        margin-bottom: 0;
    }

    .feature-card {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 16px;
        animation: none;
        transform: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .feature-card:active {
        transform: scale(0.97);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }

    .toppers-section {
        order: 5;
        margin-top: 24px;
        margin-bottom: 0;
        padding: 24px 0;
    }

    .toppers-heading {
        font-size: 28px;
        padding: 0 16px;
    }

    .toppers-badge {
        font-size: 16px;
    }

    .toppers-subheading {
        padding: 0 16px;
        font-size: 14px;
    }

    .toppers-strip {
        animation-duration: 36s;
    }

    .toppers-strip img {
        border-radius: 10px;
    }

    .toppers-strip-wrapper {
        padding: 0 14px;
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    /* ===== CONTACT ===== */
    .contact-section {
        margin: 24px 14px 60px;
        padding: 24px 16px;
        border-radius: 18px;
        background: linear-gradient(145deg, rgba(255,255,255,0.97) 0%, rgba(238,242,255,0.95) 40%, rgba(224,231,255,0.95) 100%) !important;
        border: 1.5px solid rgba(99,102,241,0.35) !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.20), 0 12px 45px rgba(99,102,241,0.18), inset 0 0 0 1px rgba(255,255,255,0.5) !important;
    }

    .contact-section h4 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .contact-buttons {
        gap: 14px;
    }

    .contact-box {
        padding: 12px 22px;
        font-size: 13px;
    }

    /* Enable 3D Tilt Context on Mobile */
    .form-card {
        transform-style: preserve-3d;
        will-change: transform;
    }

    /* Enable backdrop-filter on mobile - optimized */
    .feature-card,
    .contact-section {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        transform: translateZ(0);
    }

    .form-card {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transform: translateZ(0);
    }
}

@media (min-width: 901px) {
    .contact-section {
        margin-bottom: 80px;
    }
}







