@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --erc-primary: #144589;
    --erc-primary-hover: #0e356d;
    --erc-cyan: #00BDF2;
    --erc-cyan-hover: #00a4d4;
    --erc-green: #15803d;
    --erc-green-light: #f0fdf4;
    --erc-bg: #F4F6F9;
    --erc-card-bg: #FFFFFF;
    --erc-border: #E2E8F0;
    --erc-text-main: #1e293b;
    --erc-text-muted: #64748b;
}

body {
    font-family: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--erc-text-main);
    background-color: var(--erc-bg);
    -webkit-font-smoothing: antialiased;
}

/* eRationCard Primary Navigation & Header */
.erc-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.erc-btn-order {
    background: #144589;
    color: #ffffff;
    font-weight: 600;
    border-radius: 50px;
    padding: 7px 14px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
@media (min-width: 640px) {
    .erc-btn-order {
        padding: 9px 24px;
        gap: 8px;
    }
}

.erc-btn-order:hover {
    background: #00BDF2;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 189, 242, 0.35);
}

.erc-btn-cyan {
    background-color: #00BDF2;
    color: #ffffff;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 22px;
    transition: all 0.2s ease;
}

.erc-btn-cyan:hover {
    background-color: #00a4d4;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 189, 242, 0.3);
}

/* Dual Card Hero Area */
.erc-hero-banner {
    background: linear-gradient(135deg, #0d3b75 0%, #144589 50%, #1a56a6 100%);
    position: relative;
    overflow: hidden;
}

.erc-hero-tab {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Quick Action Cards */
.erc-quick-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.erc-quick-card:hover {
    transform: translateY(-3px);
    border-color: #00BDF2;
    box-shadow: 0 10px 24px rgba(0, 189, 242, 0.12);
}

/* 3 Easy Steps Section */
.erc-steps-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Order Multi-Step Wizard */
.erc-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.erc-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.erc-step-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #e2e8f0;
    color: #64748b;
}

.erc-step-dot.active {
    background: #144589;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(20, 69, 137, 0.2);
}

.erc-step-dot.completed {
    background: #16a34a;
    color: #ffffff;
}

.erc-step-line {
    position: absolute;
    top: 19px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.erc-step-line-fill {
    height: 100%;
    background: #144589;
    transition: width 0.35s ease;
}

/* Form Inputs */
.erc-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 14px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.erc-input:focus {
    outline: none;
    border-color: #144589;
    box-shadow: 0 0 0 3px rgba(20, 69, 137, 0.15);
}

/* Trust Stats */
.erc-stat-box {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Marquee bar */
.erc-marquee-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
}

/* Brand Utility Classes Fallbacks */
.bg-brand-900, .bg-\[\#144589\] { background-color: #144589 !important; }
.bg-brand-800, .hover\:bg-brand-800:hover, .bg-\[\#0e356d\] { background-color: #0e356d !important; }
.bg-brand-50 { background-color: #f0f7ff !important; }
.text-brand-900 { color: #144589 !important; }
.text-brand-800 { color: #0e356d !important; }
.text-brand-700 { color: #0358a1 !important; }
.border-brand-200 { border-color: #bae0fd !important; }
.border-brand-300 { border-color: #7cc5fb !important; }

/* ========================================================
   Hero Left Card Staged Animation (PVC Smart Card at ₹50)
   ======================================================== */
.hero-anim-stage {
    position: relative;
    width: 290px;
    height: 220px;
    margin: 0 auto;
    user-select: none;
    pointer-events: none;
}

@media (min-width: 640px) {
    .hero-anim-stage {
        width: 310px;
        height: 230px;
    }
}

@media (min-width: 1024px) {
    .hero-anim-stage {
        width: 320px;
        height: 240px;
    }
}

.hero-anim-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 189, 242, 0.28) 0%, rgba(20, 69, 137, 0.12) 50%, transparent 72%);
    filter: blur(24px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: heroGlowPulse 5s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-pvc-card-main {
    position: absolute;
    width: 230px;
    height: 144px;
    right: 15px;
    bottom: 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d3264 0%, #144589 55%, #0284c7 100%);
    box-shadow: 0 16px 36px -6px rgba(16, 46, 91, 0.40), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
    padding: 12px 14px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotate(5deg);
    animation: heroCardFloat 5.2s ease-in-out infinite;
    backdrop-filter: blur(4px);
    overflow: hidden;
    z-index: 2;
}

.hero-pvc-card-main::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 255, 255, 0.28) 48%,
        rgba(0, 189, 242, 0.5) 50%,
        rgba(255, 255, 255, 0.28) 52%,
        transparent 65%
    );
    transform: rotate(25deg);
    animation: heroCardShine 4.6s ease-in-out infinite;
    pointer-events: none;
}

.hero-pvc-card-secondary {
    position: absolute;
    width: 195px;
    height: 120px;
    left: 10px;
    top: 15px;
    border-radius: 12px;
    background: linear-gradient(140deg, #ffffff 0%, #f1f5f9 100%);
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.12);
    padding: 10px 12px;
    transform: rotate(-6deg);
    animation: heroCardFloatBack 6.5s ease-in-out infinite;
    z-index: 1;
    opacity: 0.96;
}

.hero-price-badge-floating {
    position: absolute;
    bottom: 5px;
    left: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px -4px rgba(16, 185, 129, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 4;
    animation: heroBadgeFloat 4.2s ease-in-out infinite alternate;
}

.hero-chip-badge-floating {
    position: absolute;
    top: 5px;
    right: 15px;
    background: #ffffff;
    color: #144589;
    padding: 4px 11px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 4;
    animation: heroChipFloat 4.8s ease-in-out infinite alternate;
}

@keyframes heroCardFloat {
    0%, 100% {
        transform: translateY(0px) rotate(5deg);
    }
    50% {
        transform: translateY(-9px) rotate(3deg);
    }
}

@keyframes heroCardFloatBack {
    0%, 100% {
        transform: translateY(0px) rotate(-6deg);
    }
    50% {
        transform: translateY(-7px) rotate(-4deg);
    }
}

@keyframes heroBadgeFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.03);
    }
}

@keyframes heroChipFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes heroCardShine {
    0% {
        transform: translateX(-150%) rotate(25deg);
    }
    35%, 100% {
        transform: translateX(160%) rotate(25deg);
    }
}

@keyframes heroGlowPulse {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-anim-glow,
    .hero-pvc-card-main,
    .hero-pvc-card-main::before,
    .hero-pvc-card-secondary,
    .hero-price-badge-floating,
    .hero-chip-badge-floating {
        animation: none !important;
        transition: none !important;
    }
}