/* ============================================================
   Jio Customer Associate - Custom Styles
   ============================================================ */

:root {
    --jio-blue: #0A2885;
    --jio-blue-dark: #061a5c;
    --jio-blue-light: #1a3faa;
    --jio-yellow: #FFB81C;
    --jio-green: #d4edda;
    --jio-green-text: #155724;
    --light-gray: #F5F6FA;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

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

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--jio-blue);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.text-yellow {
    color: var(--jio-yellow) !important;
}

.min-vh-75 {
    min-height: 75vh;
}

.btn-primary {
    background-color: var(--jio-blue);
    border-color: var(--jio-blue);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--jio-blue-dark);
    border-color: var(--jio-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-outline-primary {
    color: var(--jio-blue);
    border-color: var(--jio-blue);
}

.btn-outline-primary:hover {
    background-color: var(--jio-blue);
    border-color: var(--jio-blue);
}

.navbar {
    padding: 12px 0;
}

.jio-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    font-size: 0.95rem;
    padding: 8px 14px !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--jio-blue) !important;
}

/* ---- Hero Banner Slider ---- */
.hero-banner {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    background: #f5f5f5;
}

.hero-banner-carousel .carousel-inner,
.hero-banner-carousel .carousel-item {
    line-height: 0;
}

.hero-banner-link {
    display: block;
    cursor: pointer;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-banner-indicators {
    bottom: 16px;
    margin-bottom: 0;
    z-index: 2;
}

.hero-banner-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.55);
    border: none;
    opacity: 1;
    transition: all 0.35s ease;
}

.hero-banner-indicators .active {
    background-color: var(--jio-yellow);
    width: 28px;
    border-radius: 10px;
}

.hero-banner-control {
    width: 42px;
    height: 42px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    opacity: 1;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.hero-banner-control:hover {
    background: var(--white);
}

.hero-banner-control.carousel-control-prev {
    left: 16px;
}

.hero-banner-control.carousel-control-next {
    right: 16px;
}

.hero-banner-control .carousel-control-prev-icon,
.hero-banner-control .carousel-control-next-icon {
    filter: invert(18%) sepia(89%) saturate(2000%) hue-rotate(210deg) brightness(40%) contrast(110%);
    width: 18px;
    height: 18px;
}

.btn-warning {
    background-color: var(--jio-yellow);
    border-color: var(--jio-yellow);
    color: var(--jio-blue-dark);
}

.btn-warning:hover {
    background-color: #e5a619;
    border-color: #e5a619;
    color: var(--jio-blue-dark);
}

#mainNav {
    transition: box-shadow 0.35s ease;
}

.hero-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 420px;
    line-height: 1.5;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-feature-item strong {
    display: block;
    font-size: 0.95rem;
}

.hero-feature-item span {
    font-size: 0.85rem;
    opacity: 0.85;
}

.feature-icon-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
}

.about-card {
    background: var(--jio-blue);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.about-card-text {
    font-size: 0.95rem;
    opacity: 0.92;
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.about-card .btn-light {
    color: var(--jio-blue);
    font-weight: 600;
    align-self: flex-start;
}

.calculator-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e8eaef;
}

.calculator-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--jio-blue);
    margin-bottom: 1.5rem;
}

.form-range {
    accent-color: var(--jio-blue);
    height: 8px;
}

.slider-labels {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.slider-labels span {
    width: 20px;
    text-align: center;
}

.hours-badge {
    display: inline-block;
    background: var(--jio-blue);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.alert-recommended {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: var(--jio-green-text);
    border-radius: var(--radius);
    font-size: 0.9rem;
    padding: 12px 16px;
}

.earning-amount {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--jio-blue);
    line-height: 1;
}

.earning-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e8eaef;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--jio-blue);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-card h5 {
    font-weight: 700;
    color: var(--jio-blue);
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---- Job Cards ---- */
.job-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid #e8eaef;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 40, 133, 0.15);
}

.job-card-featured {
    padding: 0;
    overflow: hidden;
}

.job-card-featured:hover {
    transform: none;
}

.job-card-img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
}

.job-card-img-placeholder {
    width: 100%;
    min-height: 200px;
    height: 100%;
    background: linear-gradient(135deg, var(--jio-blue) 0%, #1a3faa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 4rem;
}

.job-card-body {
    padding: 24px 28px;
}

.job-badge {
    display: inline-block;
    background: var(--jio-yellow);
    color: var(--jio-blue-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

@media (max-width: 767.98px) {
    .job-card-body {
        padding: 20px;
    }

    .job-card-img {
        min-height: 180px;
    }
}

.job-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eef2ff;
    color: var(--jio-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.job-title {
    font-weight: 700;
    color: var(--jio-blue);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.job-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 12px;
}

.job-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.job-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
    background: var(--light-gray);
    padding: 4px 10px;
    border-radius: 20px;
}

.job-tag i {
    margin-right: 4px;
}

.job-earn {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--jio-blue);
}

#register {
    scroll-margin-top: 88px;
}

.registration-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.registration-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--jio-blue);
}

.registration-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 10px 14px;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--jio-blue);
    box-shadow: 0 0 0 0.2rem rgba(10, 40, 133, 0.15);
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.captcha-box {
    background: linear-gradient(135deg, #e8eaef, #d1d5db);
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--jio-blue-dark);
    user-select: none;
    min-width: 120px;
    text-align: center;
    border: 2px dashed #adb5bd;
}

.otp-input-lg {
    max-width: 100%;
    letter-spacing: 0.35em;
    font-size: 1.25rem;
    text-align: center;
    font-weight: 600;
}

.otp-input-lg.is-valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.2);
    background-color: #f0fff5;
}

.otp-input-lg.is-otp-verified {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    background-color: #e8f8ee;
    color: #146c43;
}

#otpSuccess {
    color: #198754;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 6px;
}

#otpVerifyBtn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

#otpVerifyBtn.btn-success {
    background: #198754;
    border-color: #198754;
}

.otp-modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 12px 40px rgba(10, 40, 133, 0.18);
}

.otp-modal-subtitle {
    color: #666;
    font-size: 0.92rem;
}

#otpError[hidden],
#otpSuccess[hidden],
#pincodeSuccess[hidden] {
    display: none !important;
}

#pincodeSuccess.d-block:not([hidden]) {
    display: block !important;
}

#otpError.d-block:not([hidden]),
#otpSuccess.d-block:not([hidden]) {
    display: block !important;
}

.otp-mobile-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: #f5f7fb;
    border: 1px solid #e4e8f2;
    border-radius: 12px;
    padding: 12px 14px;
}

.otp-mobile-box strong {
    color: #0A2885;
    font-size: 1.05rem;
    word-break: break-word;
}

.otp-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cta-copy {
    min-width: 0;
    flex: 1;
}

.cta-copy strong {
    word-wrap: break-word;
}

.legal-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.legal-nav .btn-back-home {
    white-space: nowrap;
}

.btn-submit {
    padding: 12px 48px !important;
    font-size: 1rem;
    font-weight: 600;
}

.why-join-card {
    background: #eef2ff;
    border-radius: var(--radius-lg);
    padding: 36px;
}

.why-join-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--jio-blue);
    margin-bottom: 1.5rem;
}

.why-join-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.why-join-item:last-child {
    margin-bottom: 0;
}

.why-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--jio-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.why-join-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.why-join-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.testimonials-section {
    background: var(--light-gray);
}

.testimonial-slider-wrapper {
    position: relative;
}

.testimonial-slider {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 auto;
    box-sizing: border-box;
}

.testimonial-card-inner {
    background: var(--jio-blue);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    min-height: 280px;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.testimonial-card .quote-icon {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1;
    margin-bottom: 12px;
    opacity: 1;
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: auto;
    padding-bottom: 20px;
    color: rgba(255, 255, 255, 0.92);
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}

.testimonial-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #c5cfe8;
    cursor: pointer;
    transition: all 0.35s ease;
}

.testimonial-indicators button.active {
    background: var(--jio-blue);
    width: 32px;
    border-radius: 10px;
}

.testimonial-indicators button:hover {
    background: #9aabd4;
}

.testimonial-indicators button.active:hover {
    background: var(--jio-blue-dark);
}

.accordion-item {
    border: 1px solid #e8eaef;
    border-radius: var(--radius) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    padding: 16px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: #eef2ff;
    color: var(--jio-blue);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.cta-banner {
    background: var(--jio-blue);
    padding: 32px 0;
}

.cta-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.site-footer {
    background: #f2f2f2;
    border-top: 1px solid #e0e0e0;
    padding: 16px 0;
}

.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.footer-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-legal {
    font-size: 11px;
    line-height: 1.5;
    color: #555;
    max-width: 720px;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
    gap: 4px;
}

.footer-links a {
    color: var(--jio-blue);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--jio-blue-dark);
    text-decoration: underline;
}

.footer-links .divider {
    color: #999;
    margin: 0 6px;
    font-size: 12px;
}

html {
    scroll-behavior: smooth;
}

.form-success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    margin-top: 16px;
}

.form-success-message.show {
    display: block;
}

.form-notice-message {
    display: none;
}

.already-applied-modal {
    border: 1px solid #c9dbff;
    border-radius: 16px;
    background: #f7faff;
    box-shadow: 0 12px 40px rgba(10, 40, 133, 0.16);
    position: relative;
}

.already-applied-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.already-applied-card {
    padding: 36px 28px 32px;
    text-align: center;
}

.already-applied-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #0A2885;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
}

.already-applied-title {
    color: #0A2885;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.already-applied-text {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
    font-weight: 500;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    .section-padding { padding: 56px 0; }
    .about-card, .calculator-card, .registration-card, .why-join-card { padding: 28px; }
    .hero-banner-control {
        width: 36px;
        height: 36px;
    }
    .hero-banner-control.carousel-control-prev {
        left: 10px;
    }
    .hero-banner-control.carousel-control-next {
        right: 10px;
    }
    .section-title { font-size: 1.75rem; }
}

@media (max-width: 767.98px) {
    .section-padding { padding: 40px 0; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.98rem; }
    .earning-amount { font-size: 2.2rem; }
    .about-card,
    .calculator-card,
    .registration-card,
    .why-join-card {
        padding: 20px;
        border-radius: 14px;
    }
    .registration-title,
    .about-card-title,
    .why-join-title {
        font-size: 1.25rem;
    }
    .btn-submit {
        width: 100%;
        padding: 12px 20px !important;
    }
    .cta-banner { padding: 24px 0; }
    .cta-banner .d-flex {
        align-items: flex-start !important;
    }
    .cta-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.25rem;
    }
    .cta-copy strong {
        font-size: 1.05rem !important;
    }
    .cta-banner .btn {
        width: 100%;
        margin-top: 4px;
    }
    .otp-mobile-box {
        align-items: flex-start;
    }
    .otp-actions-row {
        flex-direction: column;
        align-items: flex-start;
    }
    #otpMobileEditWrap .input-group {
        flex-wrap: wrap;
    }
    #otpMobileEditWrap .input-group > .form-control {
        width: 100%;
        flex: 1 1 100%;
        border-radius: 0.375rem !important;
        margin-bottom: 8px;
    }
    #otpMobileEditWrap .input-group > .btn {
        width: 100%;
        border-radius: 0.375rem !important;
    }
    .footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-links {
        justify-content: flex-start;
    }
    .footer-legal {
        font-size: 12px;
    }
    .hero-banner-control {
        width: 32px;
        height: 32px;
    }
    .how-card,
    .job-card {
        margin-bottom: 4px;
    }
    .captcha-section .d-flex { flex-direction: column; align-items: flex-start !important; }
    .captcha-input { max-width: 100%; width: 100%; }
}

@media (max-width: 575.98px) {
    .navbar {
        padding: 8px 0;
    }
    .navbar-brand .brand-text { font-size: 0.85rem; }
    .jio-logo { width: 34px; height: 34px; }
    .section-padding { padding: 32px 0; }
    .section-title { font-size: 1.35rem; }
    .registration-card .form-label {
        font-size: 0.9rem;
    }
    .legal-nav .btn-back-home {
        padding-left: 14px !important;
        padding-right: 14px !important;
        font-size: 0.85rem;
    }
    .modal-dialog {
        margin: 0.75rem;
    }
}

/* ==================== LEGAL PAGES ==================== */
.legal-page {
    background: var(--light-gray);
    padding: 40px 0 64px;
    min-height: 70vh;
}

.legal-hero {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px 28px 22px;
    margin-bottom: 20px;
}

.legal-hero h1 {
    color: var(--jio-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.legal-intro {
    color: var(--text-dark);
    margin-bottom: 0;
    max-width: 900px;
}

.legal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.legal-content section + section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #eceff5;
}

.legal-content h2 {
    color: var(--jio-blue);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 16px 0 8px;
    color: var(--text-dark);
}

.legal-content p,
.legal-content li {
    color: #333;
    font-size: 0.98rem;
}

.legal-content ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.legal-content li + li {
    margin-top: 6px;
}

.legal-content a {
    color: var(--jio-blue);
    font-weight: 500;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content code {
    background: #eef2ff;
    color: var(--jio-blue);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.9em;
}

@media (max-width: 767.98px) {
    .legal-page { padding: 20px 0 40px; }
    .legal-hero,
    .legal-content { padding: 18px; }
    .legal-hero h1 { font-size: 1.45rem; }
    .legal-content h2 { font-size: 1.1rem; }
    .legal-intro,
    .legal-content p,
    .legal-content li { font-size: 0.95rem; }
}
