/* ---------------------------------------------
    PREMIUM 3D NEOMORPHIC LIGHT THEME STYLES
--------------------------------------------- */
:root {
    --bg-main: #f0f4f9;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --primary: #1e3a8a; /* Navy Blue */
    --primary-glow: rgba(30, 58, 138, 0.15);
    --gold: #b45309; /* Warm Professional Gold */
    --gold-light: #fef3c7;
    --accent-green: #059669;
    --accent-blue: #2563eb;
    --shadow-3d-out: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
    --shadow-3d-in: inset 6px 6px 12px #d1d9e6, inset -6px -6px 12px #ffffff;
    --shadow-card: 0 12px 30px rgba(148, 163, 184, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
    --border-glass: rgba(255, 255, 255, 0.8);
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container Limit */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 3D Glass Card Base styling */
.glass-card-3d {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: var(--shadow-3d-out);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card-3d:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 12px 18px 30px #c2cbd9, -12px -12px 25px #ffffff;
}

/* --- Header Section --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(240, 244, 249, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 3px 3px 6px #cbd5e1, -3px -3px 6px #ffffff;
    border: 2px solid #fff;
}

.logo-circle svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.5;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    line-height: 1;
}

.logo-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    padding: 8px 16px;
    border-radius: 12px;
}

nav a:hover, nav a.active {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-3d-in);
}

.cta-btn-nav {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 4px 4px 10px rgba(30, 58, 138, 0.2), inset -2px -2px 6px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 6px 8px 16px rgba(30, 58, 138, 0.35);
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0 60px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1sfr 0.9fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    nav {
        display: none; /* Simple mobile responsiveness fallback */
    }
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-light);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: inset 1px 1px 3px rgba(180,83,9,0.15);
}

.badge-hero span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--gold);
    background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 580px;
}

@media (max-width: 968px) {
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media (max-width: 968px) {
    .hero-buttons {
        justify-content: center;
    }
}

.btn-3d {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow-3d-out);
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-3d:hover {
    transform: translateY(-4px);
    box-shadow: 10px 12px 20px #c2cbd9, -10px -10px 20px #ffffff;
}

.btn-3d-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: #ffffff;
    box-shadow: 6px 6px 15px rgba(30,58,138,0.2);
    border: none;
}

.btn-3d-primary:hover {
    box-shadow: 8px 12px 25px rgba(30,58,138,0.35);
}

/* Hero Right Side 3D Dashboard Mockup */
.hero-dashboard-mockup {
    padding: 24px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    box-shadow: var(--shadow-3d-out);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.hero-dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-inner {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.05);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-box {
    background: var(--bg-main);
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #ffffff;
    box-shadow: var(--shadow-3d-out);
}

.stat-box h4 {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.stat-box .value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

/* --- 4 Pillars Section --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.pillar-card {
    padding: 35px 24px;
    text-align: center;
}

.pillar-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-3d-out);
    color: var(--primary);
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-box {
    transform: scale(1.1) rotate(5deg);
    color: var(--gold);
    background: var(--gold-light);
}

.pillar-icon-box svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.2;
}

.pillar-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
}

.pillar-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* --- 5 Ways to Join Section --- */
.join-options {
    background: linear-gradient(180deg, var(--bg-main) 0%, #e2eaf4 100%);
    padding: 80px 0;
    border-radius: 50px;
    margin-bottom: 80px;
    box-shadow: inset 0 10px 40px rgba(0,0,0,0.02);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

@media (max-width: 480px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
}

.option-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    border: 1px solid var(--border-glass);
    padding: 35px 24px;
    box-shadow: var(--shadow-3d-out);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition-smooth);
}

.option-card:hover {
    transform: translateY(-8px);
    box-shadow: 12px 18px 30px #c2cbd9;
}

.option-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 32px;
    font-weight: 800;
    color: rgba(30, 58, 138, 0.08);
}

.option-header {
    margin-bottom: 20px;
}

.option-badge {
    display: inline-block;
    background: #e0f2fe;
    color: var(--accent-blue);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.option-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 12px;
}

.option-card .description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-tag {
    background: var(--bg-main);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-3d-in);
}

.pricing-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--gold);
}

.pricing-val span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.option-footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
    text-decoration: none;
    box-shadow: var(--shadow-3d-out);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.option-card:hover .option-footer-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: #ffffff;
    border-color: transparent;
}

/* Special highlights for cards */
.option-card.premium-highlight {
    border: 2px solid var(--gold);
    box-shadow: 0 15px 35px rgba(180,83,9,0.1);
}

.option-card.premium-highlight .option-badge {
    background: var(--gold-light);
    color: var(--gold);
}

/* --- Dynamic Calculator Section --- */
.calc-section {
    padding: 80px 0;
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 860px) {
    .calc-wrapper {
        grid-template-columns: 1fr;
    }
}

.calc-sliders {
    padding: 40px;
}

.calculator-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.calculator-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.slider-group {
    margin-bottom: 24px;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.slider-label span.value {
    color: var(--gold);
    font-weight: 800;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: var(--shadow-3d-in);
    outline: none;
    box-shadow: var(--shadow-3d-in);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, #f59e0b 100%);
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%) !important;
    color: #ffffff;
}

.result-box {
    margin-bottom: 30px;
}

.result-box h4 {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.result-amount {
    font-size: 48px;
    font-weight: 800;
    color: #fbbf24; /* Warm Gold Glow */
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.45);
}

.calc-results p {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* --- Social Media Eligibility Mockup --- */
.membership-wizard {
    padding: 80px 0;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: var(--shadow-3d-out);
    margin-bottom: 80px;
}

.wizard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .wizard-grid {
        grid-template-columns: 1fr;
    }
}

.wizard-form-box {
    padding: 40px;
}

.wizard-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.wizard-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.select-3d {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 15px;
    box-shadow: var(--shadow-3d-in);
    outline: none;
    appearance: none;
    cursor: pointer;
}

.input-3d {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 15px;
    box-shadow: var(--shadow-3d-in);
    outline: none;
}

.input-3d:focus, .select-3d:focus {
    border-color: var(--accent-blue);
}

.wizard-output-box {
    padding: 40px;
    background: var(--bg-main);
    border-radius: 30px;
    box-shadow: var(--shadow-3d-in);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.output-status-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow-3d-out);
    color: var(--accent-green);
}

.output-status-icon svg {
    width: 32px;
    height: 32px;
}

/* --- Footer --- */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 80px 0 40px;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo-area {
    margin-bottom: 20px;
}

.footer-desc {
    margin-top: 15px;
    line-height: 1.6;
    max-width: 400px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #94a3b8;
}

.contact-info-list svg {
    width: 20px;
    height: 20px;
    color: #fbbf24;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #64748b;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
    color: #94a3b8;
}

/* Utility/Animation */
@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #ffffff;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    padding: 35px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-main);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-3d-out);
    font-weight: bold;
}

.modal-body {
    margin-top: 15px;
}

.modal-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

@keyframes spin-loader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Desktop vs Mobile CTA Default Setup --- */
.mobile-cta {
    display: none;
}
.desktop-cta {
    display: inline-flex;
}
.hamburger-label {
    display: none;
}

/* --- Responsive Media Query Update (968px) --- */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .desktop-cta {
        display: none; /* Desktop CTA hide */
    }

    /* Hamburger Button Styling with Neomorphic Touch */
    .hamburger-label {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 40px;
        height: 36px;
        padding: 9px 8px;
        background: var(--bg-main);
        border-radius: 10px;
        cursor: pointer;
        box-shadow: var(--shadow-3d-out);
        transition: var(--transition-smooth);
        z-index: 1010;
    }

    .hamburger-label span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--primary);
        border-radius: 2px;
        transition: var(--transition-smooth);
    }

    /* Mobile Responsive Dropdown Navigation Card */
    nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 24px;
        right: 24px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--border-glass);
        border-radius: 20px;
        padding: 20px;
        gap: 12px;
        box-shadow: 0 15px 35px rgba(148, 163, 184, 0.15);
        
        /* Smooth Animation Core Logic */
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: var(--transition-smooth);
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .mobile-cta {
        display: block;
        margin-top: 8px;
    }

    /* --- Pure CSS State Toggling Logic --- */
    .menu-toggle-cb:checked ~ nav {
        opacity: 1;
        transform: translateY(10px);
        pointer-events: auto;
    }

    /* Hamburger Transformation to "X" Cross Shape */
    .menu-toggle-cb:checked ~ .hamburger-label span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle-cb:checked ~ .hamburger-label span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle-cb:checked ~ .hamburger-label span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

/* ---------------------------------------------
    SUPER PREMIUM 3D GLASSMORPHIC PRELOADER
--------------------------------------------- */
.preloader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main); /* Light Neomorphic #f0f4f9 */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* 3D Depth Creator */
    animation: fadeOutPreloader 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 1.8s; /* Shandar loading experience ke liye delay */
    pointer-events: none;
}

.preloader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 50px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    box-shadow: var(--shadow-3d-out);
    border: 1px solid var(--border-glass);
}

/* 3D Rotating Cube Box Setup */
.preloader-cube {
    width: 70px;
    height: 70px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(45deg);
    animation: rotateCube 2.5s infinite ease-in-out;
    margin-bottom: 35px;
}

/* Common Cube Face Styles (Glassmorphic + Neomorphic Touch) */
.cube-face {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px var(--primary-glow), inset 0 0 10px rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

/* Front Face containing the prominent 'A' */
.cube-face.front {
    transform: translateZ(35px);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 2px 8px var(--primary-glow);
    background: #ffffff;
}

/* Back Face with AMBLS microbranding */
.cube-face.back {
    transform: rotateY(180deg) translateZ(35px);
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--accent-blue);
}

.cube-face.right  { transform: rotateY(90deg) translateZ(35px); background: rgba(37, 99, 235, 0.05); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(35px); background: rgba(37, 99, 235, 0.05); }
.cube-face.top    { transform: rotateX(90deg) translateZ(35px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(35px); box-shadow: 0 0 20px var(--primary); }

/* Realistic Floor Shadow & Glow beneath the Cube */
.preloader-base-glow {
    width: 50px;
    height: 10px;
    background: var(--primary);
    opacity: 0.25;
    border-radius: 50%;
    position: absolute;
    top: 115px;
    filter: blur(6px);
    animation: shadowPulse 2.5s infinite ease-in-out;
}

/* Text Presentation */
.preloader-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.preloader-brand .p-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 3px;
}

.preloader-brand .p-sub {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 4px;
    margin-top: 3px;
}

/* --- ADVANCED 3D ANIMATION TIMELINES --- */
@keyframes rotateCube {
    0% {
        transform: rotateX(-20deg) rotateY(45deg) translateY(0px);
    }
    50% {
        transform: rotateX(-20deg) rotateY(225deg) translateY(-12px);
    }
    100% {
        transform: rotateX(-20deg) rotateY(405deg) translateY(0px);
    }
}

@keyframes shadowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.25;
    }
    50% {
        transform: scale(0.7);
        opacity: 0.1;
    }
}

@keyframes fadeOutPreloader {
    0% {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(1.02);
    }
}

/* Cube image fitting style */
.cube-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Image khrab nhi hogi aur perfect frame me set rhegi */
    border-radius: 10px; /* Cube face ke border radius se match krta hua */
    pointer-events: none;
}

/* Fallback letter agar kisi case me image load na ho */
.cube-fallback {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

/* Front aur Back faces par padding hatane ke liye taaki image full block cover kare */
.cube-face.front, .cube-face.back {
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}

/* =========================================================================
   UNIVERSAL RESPONSIVE OVERRIDES (FOR HOMEPAGE CORE GRIDS & SECTIONS)
   ========================================================================= */

/* --- 1. Tablet Screens Optimization (Under 1024px) --- */
@media (max-width: 1024px) {
    /* Options & Joining Grid Re-alignment */
    .options-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 24px !important;
    }
    
    /* Dynamic Calculator Section Flex Split */
    .calc-wrapper {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .calc-sliders, .calc-results {
        padding: 30px !important;
    }
}

/* --- 2. Mobile Screens Core Optimization (Under 768px) --- */
@media (max-width: 768px) {
    /* Main Content Container Padding System Handles */
    .container {
        padding: 0 16px !important;
    }

    /* Hero Branding Content Adjustments */
    .hero {
        padding: 40px 0 30px !important;
    }

    .hero h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    .hero p {
        font-size: 15px !important;
        margin-bottom: 25px !important;
    }

    /* 3D Dashboard Mockup Fluid Wrap */
    .hero-dashboard-mockup {
        transform: none !important; /* Flat surface setup for mobile reading */
        padding: 16px !important;
        margin-top: 20px !important;
    }

    .hero-dashboard-mockup:hover {
        transform: none !important;
    }

    .mockup-stats-grid {
        grid-template-columns: 1fr !important; /* One box per row */
        gap: 12px !important;
    }

    /* Core Sections Typography Adaptation */
    .section-header {
        margin-bottom: 30px !important;
    }

    .section-header h2 {
        font-size: 26px !important;
    }

    /* 4 Pillars Section Stack */
    .pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 40px !important;
    }

    .pillar-card {
        padding: 24px 16px !important;
    }

    /* 5/6 Ways to Join Grid Structural Rescale */
    .join-options {
        padding: 40px 16px !important;
        border-radius: 24px !important;
        margin-bottom: 40px !important;
    }

    .options-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .option-card {
        padding: 24px 16px !important;
    }

    /* Storage Allocation Disclaimer Panel Responsiveness */
    .storage-disclaimer-box {
        padding: 16px !important;
        margin-top: 25px !important;
    }

    .storage-disclaimer-box > div {
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* Earning Calculator Output Formatting */
    .calc-section {
        padding: 40px 0 !important;
    }

    .result-amount {
        font-size: 36px !important;
    }

    /* Welfare Verification Eligibility Setup */
    .membership-wizard {
        padding: 30px 16px !important;
        border-radius: 24px !important;
        margin-bottom: 40px !important;
    }

    .wizard-form-box, .wizard-output-box {
        padding: 0 !important;
    }

    .wizard-output-box {
        min-height: auto !important;
        padding: 24px 16px !important;
        margin-top: 20px !important;
    }
}

/* --- 3. Ultra-Small Devices Polish (Under 480px) --- */
@media (max-width: 480px) {
    .option-number {
        font-size: 24px !important;
        top: 16px !important;
        right: 16px !important;
    }
    
    .pricing-tag {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 12px !important;
    }
}

/* ---------------------------------------------
    PREMIUM LIGHT 3D INTERNET MONITORING (STABLE FIX)
--------------------------------------------- */
#offline-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(240, 244, 249, 0.95); /* var(--bg-main) with soft blur backdrop */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999999 !important; /* Forces it above all 3D cards and mockups */
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
}

.offline-container {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 50px 35px;
    border-radius: 35px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 12px 12px 24px #d1d9e6, -12px -12px 24px #ffffff; /* Premium 3D Out shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.offline-icon-box {
    width: 85px !important;
    height: 85px !important;
    background: #f0f4f9;
    
    /* 100% Perfect Absolute Circular Shape */
    border-radius: 50% !important; 
    
    /* Premium 3D Inward Pressed Depth */
    box-shadow: inset 6px 6px 12px #d1d9e6, inset -6px -6px 12px #ffffff; 
    
    /* Strict Layout Alignment Matrix */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Reset all outer browser adjustments */
    padding: 0 !important;
    margin: 0 0 25px 0 !important;
    box-sizing: border-box !important;
    color: #ef4444; 
    overflow: hidden !important;
}

/* SVG Vector core optimization layer */
.offline-icon-box svg {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.offline-container h2 {
    color: #0f172a; /* var(--text-main) */
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.offline-container p {
    color: #475569; /* var(--text-muted) */
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    padding: 0 10px;
}

/* Radar Pulse Fix: Removed from absolute container parent wrapper */
.offline-pulse-ring {
    width: 14px;
    height: 14px;
    background: rgba(239, 68, 68, 0.25);
    border: 2px solid #ef4444;
    border-radius: 50%;
    position: absolute;
    animation: netRadarPulse 2s infinite ease-out;
}

@keyframes netRadarPulse {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}