/* ============================================================
   MyBimaSathi — Insurance Marketplace Module
   Premium Glass-morphism + Blue-Purple Gradient Design
   Prefix: ins-
   ============================================================ */

/* ─── Gradient utilities ────────────────────────────────── */
.ins-gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ins-gradient-bg {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
}

/* ─── Page / Section wrapper ────────────────────────────── */
.ins-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.ins-section-light {
    background: linear-gradient(160deg, #f0f4ff 0%, #f5f0ff 55%, #eef7ff 100%);
}

.ins-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    pointer-events: none;
    will-change: transform;
}

.ins-orb-1 {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, #2563eb, transparent 70%);
    top: -120px;
    right: -80px;
}

.ins-orb-2 {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    bottom: -60px;
    left: -60px;
}

/* ─── Section header ────────────────────────────────────── */
.ins-section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.ins-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(99,102,241,0.1));
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563eb;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ins-badge-dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    border-radius: 50%;
    animation: ins-pulse-dot 2s ease-in-out infinite;
}

@keyframes ins-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}

.ins-section-title {
    font-size: clamp(1.75rem, 4vw, 2.625rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 0.875rem;
}

.ins-section-subtitle {
    font-size: 1.0625rem;
    color: #475569;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ─── Category Tabs ─────────────────────────────────────── */
.ins-tabs-outer {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.ins-tabs {
    display: inline-flex;
    gap: 0.375rem;
    padding: 0.3125rem;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(37,99,235,0.06);
    flex-wrap: wrap;
    justify-content: center;
}

.ins-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    padding: 0.5rem 1.125rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
    white-space: nowrap;
    line-height: 1;
}

.ins-tab:hover:not(.ins-tab--active) {
    color: #2563eb;
    background: rgba(37,99,235,0.07);
}

.ins-tab--active {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.ins-tab-emoji {
    font-size: 1.0625rem;
    line-height: 1;
}

/* ─── Insurer Card Grid ──────────────────────────────────── */
.ins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* ─── Insurer Card ───────────────────────────────────────── */
.ins-card {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226,232,240,0.8);
    border-radius: 1.25rem;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.04);
    cursor: default;
}

.ins-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(37,99,235,0.25), rgba(99,102,241,0.25));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ins-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 32px rgba(37,99,235,0.14), 0 4px 12px rgba(99,102,241,0.08);
    border-color: rgba(37,99,235,0.2);
}

.ins-card:hover::before { opacity: 1; }

.ins-card-shine {
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle at top right, rgba(99,102,241,0.08), transparent 65%);
    border-radius: 0 1.25rem 0 0;
    pointer-events: none;
}

/* Logo avatar */
.ins-logo {
    width: 56px;
    height: 56px;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.125rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    position: relative;
    z-index: 1;
}

.ins-logo--sm  { width: 44px; height: 44px; border-radius: 0.625rem; font-size: 1rem; }
.ins-logo--lg  { width: 72px; height: 72px; border-radius: 1.125rem; font-size: 1.75rem; }
.ins-logo--xl  { width: 88px; height: 88px; border-radius: 1.25rem; font-size: 2.125rem; }

.ins-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.ins-card-desc {
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ins-card-meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.375rem;
    flex-wrap: wrap;
}

/* Chips */
.ins-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.725rem;
    font-weight: 600;
    line-height: 1;
}

.ins-chip--blue   { background: rgba(37,99,235,0.1);  color: #1d4ed8; }
.ins-chip--purple { background: rgba(99,102,241,0.1); color: #4f46e5; }
.ins-chip--green  { background: rgba(5,150,105,0.1);  color: #047857; }
.ins-chip--amber  { background: rgba(217,119,6,0.1);  color: #b45309; }

/* Card action buttons */
.ins-card-actions { display: flex; gap: 0.625rem; }

/* ─── Buttons ────────────────────────────────────────────── */
.ins-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5625rem 1.125rem;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
    white-space: nowrap;
    line-height: 1;
}

.ins-btn--primary {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(37,99,235,0.28);
    flex: 1;
}

.ins-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(37,99,235,0.38);
}

.ins-btn--outline {
    background: transparent;
    color: #2563eb;
    border: 1.5px solid rgba(37,99,235,0.3);
    flex: 1;
}

.ins-btn--outline:hover {
    background: rgba(37,99,235,0.07);
    border-color: #2563eb;
    color: #2563eb;
}

.ins-btn--ghost {
    background: transparent;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    flex: 1;
}

.ins-btn--ghost:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.ins-btn--danger-outline {
    background: transparent;
    color: #dc2626;
    border: 1.5px solid rgba(220,38,38,0.3);
}

.ins-btn--danger-outline:hover {
    background: rgba(220,38,38,0.06);
}

.ins-btn--sm  { padding: 0.375rem 0.75rem; font-size: 0.75rem; }
.ins-btn--lg  { padding: 0.75rem 1.625rem; font-size: 0.9375rem; }
.ins-btn--xl  { padding: 0.875rem 2rem;    font-size: 1rem; }
.ins-btn--full { width: 100%; }

.ins-btn:disabled { opacity: 0.45; pointer-events: none; }

/* ─── Page Header (dark) ─────────────────────────────────── */
.ins-page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #0f172a 100%);
    padding: 3.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.ins-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(37,99,235,0.15) 0%, transparent 60%),
                      radial-gradient(circle at 80% 20%, rgba(99,102,241,0.12) 0%, transparent 50%);
    pointer-events: none;
}

.ins-page-hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.ins-page-hero-content {
    position: relative;
    z-index: 1;
}

.ins-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.ins-breadcrumb a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.15s;
}

.ins-breadcrumb a:hover { color: rgba(255,255,255,0.9); }

.ins-breadcrumb-sep { color: rgba(255,255,255,0.25); }

.ins-page-hero h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.375rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 0.625rem;
    line-height: 1.2;
}

.ins-page-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    max-width: 580px;
    line-height: 1.75;
    margin: 0;
}

.ins-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 0.3125rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

/* ─── Insurer Detail Header ──────────────────────────────── */
.ins-insurer-header {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 8px 24px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.ins-insurer-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #6366f1);
    border-radius: 1.25rem 1.25rem 0 0;
}

.ins-insurer-header-body { flex: 1; min-width: 0; }

.ins-insurer-name {
    font-size: 1.375rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.ins-insurer-tagline {
    font-size: 0.875rem;
    color: #6366f1;
    font-weight: 500;
    margin-bottom: 0.875rem;
}

.ins-insurer-overview {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.ins-insurer-stats {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.ins-stat {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.ins-stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.ins-stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.ins-stat-sep {
    width: 1px;
    background: #e2e8f0;
    align-self: stretch;
}

.ins-csr-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    padding: 0.3125rem 0.75rem;
    background: rgba(5,150,105,0.1);
    border: 1px solid rgba(5,150,105,0.2);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #047857;
}

/* ─── Product Card ───────────────────────────────────────── */
.ins-product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.625rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ins-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #2563eb, #6366f1);
    border-radius: 3px 0 0 3px;
    transition: width 0.25s ease;
}

.ins-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.12), 0 4px 8px rgba(0,0,0,0.04);
    border-color: rgba(37,99,235,0.22);
}

.ins-product-card:hover::before { width: 4px; }

.ins-popular-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ins-product-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    padding-right: 4rem;
    line-height: 1.35;
}

.ins-product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.125rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.ins-product-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.55;
}

.ins-feature-dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    border-radius: 50%;
    margin-top: 0.4rem;
    flex-shrink: 0;
}

.ins-product-premium-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(99,102,241,0.05));
    border: 1px solid rgba(37,99,235,0.1);
    border-radius: 0.625rem;
    margin-bottom: 1.125rem;
}

.ins-premium-label { font-size: 0.75rem; color: #94a3b8; font-weight: 500; }

.ins-premium-amount {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ins-premium-period { font-size: 0.75rem; color: #94a3b8; }

.ins-product-actions { display: flex; gap: 0.625rem; }

/* ─── Stepper ────────────────────────────────────────────── */
.ins-compare-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 2rem 1rem 5rem;
}

.ins-compare-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.ins-compare-title-block {}

.ins-compare-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.ins-compare-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.125rem;
}

/* Steps track */
.ins-steps-track {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}
.ins-steps-track::-webkit-scrollbar { display: none; }

.ins-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 72px;
    position: relative;
}

.ins-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 17px;
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
    transition: background 0.4s ease;
}

.ins-step-item.completed:not(:last-child)::after {
    background: linear-gradient(90deg, #2563eb, #6366f1);
}

.ins-step-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #94a3b8;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    flex-shrink: 0;
}

.ins-step-item.active   .ins-step-circle {
    background: linear-gradient(135deg, #2563eb, #6366f1);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.18);
}

.ins-step-item.completed .ins-step-circle {
    background: linear-gradient(135deg, #2563eb, #6366f1);
    border-color: transparent;
    color: #fff;
}

.ins-step-label {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 0.4375rem;
    text-align: center;
    white-space: nowrap;
    transition: color 0.2s;
}

.ins-step-item.active    .ins-step-label,
.ins-step-item.completed .ins-step-label { color: #2563eb; font-weight: 600; }

/* Progress bar */
.ins-progress-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 999px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.ins-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #6366f1);
    border-radius: 999px;
    transition: width 0.45s cubic-bezier(0.4,0,0.2,1);
}

/* Step form card */
.ins-step-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 8px 24px rgba(0,0,0,0.04);
    animation: ins-fade-up 0.28s ease both;
}

@keyframes ins-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ins-step-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
    letter-spacing: -0.015em;
}

.ins-step-card-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.875rem;
}

/* Form elements */
.ins-form-group  { margin-bottom: 1.25rem; }
.ins-form-grid   { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }

.ins-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.4375rem;
}

.ins-input,
.ins-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #0f172a;
    background: #fff;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ins-input:focus,
.ins-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.ins-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.25rem;
}

.ins-error-msg {
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 0.3125rem;
    font-weight: 500;
}

/* Option pills */
.ins-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.ins-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    padding: 0.625rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}

.ins-pill:hover { border-color: rgba(37,99,235,0.4); color: #2563eb; background: rgba(37,99,235,0.04); }

.ins-pill--selected {
    background: linear-gradient(135deg, #2563eb, #6366f1);
    border-color: transparent;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(37,99,235,0.32);
}

.ins-pill-emoji { font-size: 1.0625rem; }

/* Stepper nav */
.ins-stepper-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ins-stepper-step-info {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ─── Language Selector ──────────────────────────────────── */
.ins-lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.625rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ins-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    padding: 0.3125rem 0.75rem;
    border-radius: 0.4375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.18s ease;
}

.ins-lang-btn--active {
    background: linear-gradient(135deg, #2563eb, #6366f1);
    color: #fff;
}

/* ─── Comparison Table ───────────────────────────────────── */
.ins-result-banner {
    background: linear-gradient(135deg, rgba(37,99,235,0.07), rgba(99,102,241,0.07));
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    animation: ins-fade-up 0.3s ease both;
}

.ins-result-banner-title { font-size: 1rem; font-weight: 700; color: #1d4ed8; }
.ins-result-banner-sub   { font-size: 0.8125rem; color: #64748b; margin-top: 0.125rem; }

.ins-compare-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 1.125rem;
    align-items: center;
}

.ins-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: all 0.18s ease;
}

.ins-sort-btn:hover,
.ins-sort-btn--active {
    border-color: #2563eb;
    color: #2563eb;
    background: rgba(37,99,235,0.05);
}

.ins-filter-select {
    padding: 0.4375rem 2rem 0.4375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.625rem center;
    transition: border-color 0.18s;
}

.ins-filter-select:focus { border-color: #2563eb; }

.ins-table-wrapper {
    overflow-x: auto;
    border-radius: 1.125rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.ins-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    min-width: 860px;
}

.ins-table thead {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    position: sticky;
    top: 0;
    z-index: 2;
}

.ins-table thead th {
    padding: 0.9375rem 1rem;
    font-size: 0.725rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
    cursor: default;
}

.ins-table thead th:first-child { padding-left: 1.5rem; border-radius: 1rem 0 0 0; }
.ins-table thead th:last-child  { padding-right: 1.5rem; border-radius: 0 1rem 0 0; }

.ins-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
    animation: ins-row-in 0.35s ease both;
}

.ins-table tbody tr:last-child { border-bottom: none; }

@keyframes ins-row-in {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0); }
}

.ins-table tbody tr:hover { background: rgba(37,99,235,0.025); }

.ins-table td {
    padding: 1.0625rem 1rem;
    font-size: 0.875rem;
    color: #0f172a;
    vertical-align: middle;
}

.ins-table td:first-child { padding-left: 1.5rem; }
.ins-table td:last-child  { padding-right: 1.5rem; }

/* Recommended row */
.ins-table tbody tr.recommended-row { background: rgba(37,99,235,0.03); }

.ins-recommended-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.1875rem 0.5rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
    margin-bottom: 0.1875rem;
}

.ins-table-insurer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ins-table-plan { font-weight: 700; color: #0f172a; }

.ins-table-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.ins-table-benefits li {
    font-size: 0.78125rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.3125rem;
}

.ins-table-benefits li::before { content: '•'; color: #6366f1; font-size: 0.875rem; }

.ins-table-premium {
    font-size: 1.0625rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.ins-table-premium-period { font-size: 0.75rem; color: #94a3b8; font-weight: 400; }

/* CSR bar */
.ins-csr-bar { display: flex; align-items: center; gap: 0.5rem; }

.ins-csr-track {
    flex: 1;
    max-width: 64px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.ins-csr-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}

.ins-csr-value { font-size: 0.8125rem; font-weight: 700; color: #047857; white-space: nowrap; }

/* ─── Empty / Loading states ─────────────────────────────── */
.ins-empty {
    text-align: center;
    padding: 4rem 1.5rem;
    color: #94a3b8;
}

.ins-empty-icon { font-size: 3.25rem; opacity: 0.45; margin-bottom: 1rem; display: block; }
.ins-empty-title { font-size: 1.125rem; font-weight: 600; color: #64748b; margin-bottom: 0.375rem; }
.ins-empty-text  { font-size: 0.9rem; color: #94a3b8; }

/* ─── Divider ─────────────────────────────────────────────── */
.ins-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 500;
    margin: 1.25rem 0;
}

.ins-divider::before,
.ins-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .ins-section { padding: 3rem 0; }
    .ins-insurer-header { flex-direction: column; }
    .ins-card-actions { flex-direction: column; }
    .ins-stepper-nav { flex-direction: column; align-items: stretch; }
    .ins-btn--full-mobile { width: 100%; }
    .ins-compare-page { padding: 1.5rem 0.75rem 4rem; }
    .ins-step-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .ins-section-title { font-size: 1.625rem; }
    .ins-tab { padding: 0.4375rem 0.875rem; font-size: 0.8125rem; }
    .ins-tabs { border-radius: 1rem; }
    .ins-insurer-stats { gap: 0.875rem; }
    .ins-form-grid { grid-template-columns: 1fr; }
}

/* ─── Insurance Public Layout ────────────────────────────── */

.ins-pub-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Sticky nav */
.ins-pub-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.ins-pub-nav-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
}

/* Brand */
.ins-pub-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.ins-pub-nav-brand:hover { opacity: 0.8; }

.ins-pub-nav-brand-icon { font-size: 1.25rem; line-height: 1; }

.ins-pub-nav-brand-text {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.ins-pub-nav-brand-sep {
    width: 1.5px;
    height: 16px;
    background: #e2e8f0;
    margin: 0 0.125rem;
    flex-shrink: 0;
}

.ins-pub-nav-brand-sub {
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Nav links */
.ins-pub-nav-links {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.ins-pub-nav-links::-webkit-scrollbar { display: none; }

.ins-pub-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    padding: 0.375rem 0.6875rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
}

.ins-pub-nav-link:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.07);
}

/* Actions */
.ins-pub-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

/* Hamburger button */
.ins-pub-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    border-radius: 0.5rem;
    cursor: pointer;
    padding: 4px;
    transition: border-color 0.15s, background 0.15s;
    flex-shrink: 0;
}

.ins-pub-hamburger:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.ins-pub-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #475569;
    border-radius: 2px;
    transition: all 0.25s ease;
    transform-origin: center;
}

.ins-pub-hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ins-pub-hamburger--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ins-pub-hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.ins-pub-mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 199;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    animation: ins-fade-up 0.2s ease both;
}

.ins-pub-mobile-links {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    gap: 0.125rem;
}

.ins-pub-mobile-links a {
    display: block;
    padding: 0.6875rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
    transition: background 0.15s;
}

.ins-pub-mobile-links a:hover { background: #f8fafc; color: #2563eb; }

.ins-pub-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.875rem 0 1rem;
    border-top: 1px solid #f1f5f9;
    margin-top: 0.25rem;
}

/* Main */
.ins-pub-main { flex: 1; min-height: 0; }

/* Footer */
.ins-pub-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: rgba(255, 255, 255, 0.65);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.ins-pub-footer-top {
    display: flex;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.ins-pub-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex-shrink: 0;
}

.ins-pub-footer-brand-icon { font-size: 1.75rem; line-height: 1; }

.ins-pub-footer-brand-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.ins-pub-footer-brand-tag {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.1875rem;
}

.ins-pub-footer-cols {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    flex: 1;
}

.ins-pub-footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 140px;
}

.ins-pub-footer-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.ins-pub-footer-col a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.15s;
}

.ins-pub-footer-col a:hover { color: #fff; }

.ins-pub-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

.ins-pub-footer-irdai {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    max-width: 520px;
    line-height: 1.6;
    text-align: right;
}

/* Responsive: collapse nav links + show hamburger */
@media (max-width: 900px) {
    .ins-pub-nav-links { display: none; }
    .ins-pub-nav-actions { display: none; }
    .ins-pub-hamburger { display: flex; }
}

@media (max-width: 640px) {
    .ins-pub-footer-top { flex-direction: column; gap: 2rem; }
    .ins-pub-footer-bottom { flex-direction: column; align-items: flex-start; }
    .ins-pub-footer-irdai { text-align: left; }
}

