/* =========================================
   1. GLOBAL VARIABLES & THEME
   ========================================= */
:root {
    --check-primary: #077c8c;
    --check-primary-dark: #055a66;
    --check-primary-light: rgba(7, 124, 140, 0.1);
    --check-text-dark: #1e293b;
    --check-text-light: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.8);
    --input-border: #cbd5e1;
    --modal-gradient: linear-gradient(135deg, #077c8c 0%, #0a97b0 100%);
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* =========================================
   2. PAGE LAYOUT
   ========================================= */
.check-page-wrapper {
    background:
        linear-gradient(to bottom, rgba(236, 253, 255, 0.85), rgba(255, 255, 255, 0.95)),
        url('https://images.unsplash.com/photo-1505751172876-fa1923c5c528?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    /* Desktop Fixed, Mobile Scroll handled below */
    background-attachment: fixed;
}

@media (max-width: 991px) {
    .check-page-wrapper {
        background-attachment: scroll;
    }
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.check-hero-section {
    min-height: 100vh; 
    min-height: 100dvh; 
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.check-hero-badge {
    background: var(--check-primary-light);
    color: var(--check-primary);
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(7, 124, 140, 0.2);
}

.check-hero-title {
    font-weight: 800;
    color: var(--check-text-dark);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
}

.check-hero-subtitle {
    color: var(--check-text-dark);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    font-weight: 500;
    max-width: 550px;
    line-height: 1.6;
}

.check-trust-points li {
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--check-text-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.check-trust-points i {
    color: var(--check-primary);
    font-size: 1.2rem;
    margin-right: 12px;
}

/* =========================================
   4. FORM CARD UI
   ========================================= */
.check-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.check-form-header h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--check-text-dark);
    margin-bottom: 4px;
}

.check-form-label {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--check-primary);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    display: block;
}

/* =========================================
   5. INPUT FIELDS
   ========================================= */
.custom-input-wrapper {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    background-color: #fff;
    transition: all 0.2s ease;
    overflow: hidden; 
}

.custom-input-wrapper:focus-within {
    border-color: var(--check-primary);
    box-shadow: 0 0 0 4px var(--check-primary-light);
}

.custom-input-wrapper:hover {
    border-color: var(--check-primary);
}

.check-icon-span {
    background-color: #f8fafc;
    color: var(--check-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-right: 1px solid #f1f5f9;
    font-size: 1rem;
}

.check-input-field {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 12px 15px;
    width: 100%;
    font-weight: 600;
    color: var(--check-text-dark);
    background: transparent;
    font-size: 0.95rem;
}

.check-input-field::-webkit-inner-spin-button, 
.check-input-field::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
.check-input-field[type=number] {
    -moz-appearance: textfield;
}

select.check-input-field {
    cursor: pointer;
    background-color: #fff;
}

/* =========================================
   6. BUTTONS (FIXED WIDTH HERE)
   ========================================= */
.check-btn-submit {
    background: var(--check-primary);
    color: #ffffff;
    
    /* FIX: Jitna text utni width */
    width: fit-content; 
    display: block;
    margin: 1.5rem auto 0 auto; /* Center Align */
    padding: 12px 40px; /* Thoda padding side me diya hai look ke liye */
    
    border-radius: 12px; /* Pill Shape */
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(7, 124, 140, 0.2);
}

.check-btn-submit:hover:not(:disabled) {
    background: var(--check-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(7, 124, 140, 0.3);
}

.check-btn-submit:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.8;
}

/* =========================================
   7. FEATURES & MODAL
   ========================================= */
.check-how-it-works {
    background: transparent;
    padding: 4rem 0;
}

.check-feature-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    height: 100%;
    text-align: center;
}

.check-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(7, 124, 140, 0.12);
    border-color: var(--check-primary-light);
}

.check-icon-box {
    width: 65px;
    height: 65px;
    background: var(--check-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.6rem;
    color: var(--check-primary);
}

.check-modal-content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.check-modal-header {
    background: var(--modal-gradient);
    border: none;
    padding: 2.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.check-modal-emoji {
    font-size: 4rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
    animation: pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.check-modal-body {
    padding: 2rem 2rem 2.5rem;
    text-align: center;
    background: #fff;
}

.check-result-amount {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--check-primary);
    margin: 10px 0 15px 0;
    letter-spacing: -2px;
}

.check-hike-pill {
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid #bbf7d0;
}

.check-btn-update-profile {
    background: var(--check-text-dark);
    color: #fff;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.2);
}

.check-btn-update-profile:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
}

@keyframes pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 991px) {
    .check-hero-section {
        padding-top: 20px;
        padding-bottom: 40px;
        display: block; 
        height: auto;
    }
    .check-hero-title {
        font-size: 2.5rem;
        margin-top: 10px;
    }
    .check-trust-points {
        display: inline-block;
        text-align: left;
        margin-bottom: 30px;
        padding-left: 0;
    }
    .check-form-card {
        padding: 1.5rem;
        margin: 0 10px;
    }
    .check-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}



