/* 
   🎨 MODERN HERO & GLASSMORPHISM STYLES 
   Added for "Claude-Level" Redesign
*/

/* Animated Background Blobs */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary-light), transparent);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #f3e8ff, transparent);
    /* Violet light */
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 100px) scale(1.1);
    }
}

/* Modern Hero Layout */
.hero-modern {
    position: relative;
    padding: var(--spacing-2xl) var(--spacing-sm) var(--spacing-xl);
    text-align: center;
    background: transparent;
    /* Background handled by body/blobs */
}

.hero-modern h1 {
    font-size: 3.5rem;
    /* Massive Title */
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--text-main) 0%, #4338ca 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-modern .badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(4px);
    animation: slideDown 0.8s ease-out;
}

/* Glass Calculator */
.calculator-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 20px 40px -10px rgba(79, 70, 229, 0.15),
        /* Indigo Glow */
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    /* Inner Light */
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calculator-glass:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        0 25px 50px -12px rgba(79, 70, 229, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

/* Pastel Chips */
.rate-pills {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.rate-pills input[type="radio"] {
    display: none;
}

.pill {
    padding: 0.6rem 1.25rem;
    border-radius: 99px;
    font-weight: 600;
    cursor: pointer;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

/* Specific Colors for Rates */
.pill[for*="20"] {
    --pill-bg: var(--pastel-red-bg);
    --pill-color: var(--pastel-red-text);
}

.pill[for*="10"] {
    --pill-bg: var(--pastel-orange-bg);
    --pill-color: var(--pastel-orange-text);
}

.pill[for*="55"] {
    --pill-bg: var(--pastel-green-bg);
    --pill-color: var(--pastel-green-text);
}

.pill[for*="85"] {
    --pill-bg: var(--pastel-blue-bg);
    --pill-color: var(--pastel-blue-text);
}

.pill[for*="21"] {
    --pill-bg: var(--pastel-purple-bg);
    --pill-color: var(--pastel-purple-text);
}

.rate-pills input:checked+.pill {
    background-color: var(--pill-bg, var(--primary-light));
    color: var(--pill-color, var(--primary-color));
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Subtle lift */
    transform: scale(1.05);
}

.pill:hover {
    transform: translateY(-1px);
    border-color: var(--text-light);
}

/* Giant Inputs */
.input-glass input {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    /* Huge numbers */
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.input-glass input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--focus-ring);
    transform: translateY(-1px);
}

.input-glass label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-entry {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-modern h1 {
        font-size: 2.25rem;
    }

    .calculator-glass {
        padding: var(--spacing-md);
    }

    .pill {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* 
   ✅ HERO BENEFITS LIST 
   Added to fill visual space on Desktop
*/

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-main);
    opacity: 0.9;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

/* 
   ⭐ INTEGRATED RETENTION MINI
   Appears inside the result box
*/
.retention-mini {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0;
}

.retention-mini.visible {
    max-height: 200px;
    opacity: 1;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(79, 70, 229, 0.15);
}

.mini-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.mini-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.mini-content p {
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

.mini-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

@media (min-width: 1024px) {}