/* Reliance Jio Official Premium Design System */
:root {
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Jio Brand Colors */
    --jio-blue: #0f3cc9;
    --jio-blue-dark: #0a2885;
    --jio-blue-light: #1e50ed;
    --jio-blue-bg: #f0f4fd;
    --jio-red: #e21b22;
    --jio-red-dark: #b80d13;
    --jio-red-glow: rgba(226, 27, 34, 0.25);
    
    --bg-body: #f4f7fe;
    --bg-card: #ffffff;
    --bg-input: #f8fafc;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border-color: #e2e8f0;
    --border-focus: #0f3cc9;
    
    --radius-lg: 1.25rem;
    --radius-md: 0.75rem;
    --radius-sm: 0.5rem;
    
    --shadow-jio: 0 15px 35px -5px rgba(15, 60, 201, 0.12), 0 5px 15px -3px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 20px 40px rgba(10, 40, 133, 0.08);
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Jio Header Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.85rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid #ebf1fe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(15, 60, 201, 0.06);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--jio-blue-dark);
    text-decoration: none;
}
.nav-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(15, 60, 201, 0.2);
}
.badge-jio-tag {
    background: var(--jio-red);
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}
.nav-link:hover {
    color: var(--jio-blue);
}
.btn-nav-action {
    background: linear-gradient(135deg, var(--jio-blue), var(--jio-blue-light));
    color: #fff;
    padding: 0.65rem 1.4rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.875rem;
    transition: var(--transition-fast);
    box-shadow: 0 6px 20px rgba(15, 60, 201, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-nav-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 60, 201, 0.45);
}

/* Hero & Main Section */
.hero-wrapper {
    background: linear-gradient(135deg, #07194f 0%, #0a2885 50%, #0f3cc9 100%);
    color: #ffffff;
    padding: 7rem 1.5rem 6rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(226, 27, 34, 0.25) 0%, transparent 70%);
    pointer-events: none;
}
.hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(30, 80, 237, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.jio-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 0.4rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}
.jio-pill-badge i {
    color: #ff3b44;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.text-highlight-red {
    color: #ff3b44;
}
.hero-desc {
    font-size: 1.15rem;
    color: #dbe4ff;
    max-width: 680px;
    margin: 0 auto 2rem auto;
}

.trust-badges-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 700;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
}
.trust-item i {
    color: #10b981;
}

/* Layout Container */
.main-container {
    max-width: 760px;
    margin: 6.5rem auto 4rem auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .main-container {
        margin: 5.5rem auto 2.5rem auto;
        padding: 0 1rem;
    }
    .form-card {
        padding: 1.75rem 1.25rem;
    }
}

/* Left Card Visual */
.visual-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid #e2e8f0;
}
.banner-container {
    width: 100%;
    height: 290px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(15, 60, 201, 0.15);
}
.banner-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(10, 40, 133, 0.9);
    color: #fff;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem;
    background: var(--jio-blue-bg);
    border-radius: var(--radius-md);
    border: 1px solid #dce6fd;
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--jio-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 60, 201, 0.25);
}
.feature-text h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--jio-blue-dark);
    margin-bottom: 0.2rem;
}
.feature-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Form Card */
.form-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid #e2e8f0;
}
.form-card-header {
    border-bottom: 2px solid var(--jio-blue-bg);
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.form-card-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--jio-blue-dark);
}
.form-card-header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-section-heading {
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--jio-blue);
    margin: 1.5rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.form-section-heading:first-of-type {
    margin-top: 0;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.25rem;
}
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.req { color: var(--jio-red); font-weight: 800; }
.opt { color: var(--text-muted); font-size: 0.75rem; font-weight: 400; }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-fast);
}
.form-input, .form-select {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: var(--transition-fast);
}
.form-select {
    appearance: none;
    cursor: pointer;
}
.form-input:focus, .form-select:focus {
    border-color: var(--jio-blue);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 60, 201, 0.12);
}
.form-input:focus + .input-icon {
    color: var(--jio-blue);
}

/* File Dropzones */
.file-dropzone {
    border: 2px dashed #a5c1fb;
    background: var(--jio-blue-bg);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}
.file-dropzone:hover, .file-dropzone.dragover {
    border-color: var(--jio-blue);
    background: #e4ecfe;
}
.file-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.dropzone-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--jio-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 0.5rem auto;
    box-shadow: 0 4px 12px rgba(15, 60, 201, 0.15);
}
.dropzone-title {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--jio-blue-dark);
}
.dropzone-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.file-preview-card {
    display: none;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
}
.preview-thumb {
    width: 50px;
    height: 50px;
    border-radius: 0.375rem;
    object-fit: cover;
    border: 1px solid var(--border-color);
}
.preview-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}
.preview-size {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Submit Button */
.btn-submit-main {
    width: 100%;
    padding: 1.1rem 2rem;
    margin-top: 1.75rem;
    background: linear-gradient(135deg, var(--jio-blue), var(--jio-blue-light));
    border: none;
    border-radius: 9999px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(15, 60, 201, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.btn-submit-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(15, 60, 201, 0.5);
    background: linear-gradient(135deg, var(--jio-blue-dark), var(--jio-blue));
}

/* Success Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 40, 133, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 460px;
    width: 100%;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e6f9f0;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.25rem auto;
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}
