/**
 * IdentityFirst - Winter Seasonal Theme
 * Professional seasonal styling that enhances the brand without overwhelming
 */

:root {
    /* Seasonal accent colors - winter/festive */
    --seasonal-primary: #4a90e2; /* Cool winter blue */
    --seasonal-accent: #e8f4f8; /* Soft snow white */
    --seasonal-frost: rgba(74, 144, 226, 0.1);
    --seasonal-shimmer: rgba(255, 255, 255, 0.15);

    /* Keep existing brand colors but add seasonal variants */
    --seasonal-gold: #ffd700; /* Brighter gold for festive feel */
    --seasonal-bronze: #e8a87c; /* Warmer bronze */
}

/* Subtle snowfall animation (very light, professional) */
.seasonal-snowfall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 1em;
    user-select: none;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Frost effect on cards and components */
.pricing-card,
.feature-card,
.honest-card {
    position: relative;
    overflow: hidden;
}

.pricing-card::before,
.feature-card::before,
.honest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--seasonal-shimmer) 20%,
        var(--seasonal-primary) 50%,
        var(--seasonal-shimmer) 80%,
        transparent 100%);
    opacity: 0.5;
}

/* Seasonal badge enhancement */
.pricing-badge,
.tier-badge,
.savings-badge {
    background: linear-gradient(135deg,
        var(--seasonal-primary) 0%,
        var(--seasonal-gold) 50%,
        var(--seasonal-primary) 100%);
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Seasonal glow effect on primary buttons */
.btn-primary {
    position: relative;
    box-shadow:
        0 0 20px rgba(74, 144, 226, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    box-shadow:
        0 0 30px rgba(74, 144, 226, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Winter gradient enhancement for hero sections */
.hero,
.pricing-hero {
    background: linear-gradient(135deg,
        var(--dark-900) 0%,
        #0f1419 25%,
        #1a2332 50%,
        #0f1419 75%,
        var(--dark-900) 100%);
    position: relative;
}

.hero::after,
.pricing-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Seasonal decoration for section headers */
.section h2::before,
.section h2::after {
    content: '❄';
    display: inline-block;
    margin: 0 var(--space-4);
    color: var(--seasonal-primary);
    opacity: 0.3;
    font-size: 0.8em;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Frosted glass effect on navigation */
nav {
    backdrop-filter: blur(12px) saturate(180%);
    background: rgba(10, 10, 10, 0.85) !important;
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}

/* Seasonal enhancement for trust signals */
.trust-signal i {
    filter: drop-shadow(0 0 10px rgba(74, 144, 226, 0.4));
}

/* Winter sparkle effect on hover for cards */
.pricing-card:hover,
.feature-card:hover {
    box-shadow:
        0 20px 60px rgba(74, 144, 226, 0.2),
        0 0 40px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Seasonal footer enhancement */
footer {
    background: linear-gradient(180deg,
        var(--dark-900) 0%,
        #0a1218 50%,
        #050810 100%);
    border-top: 1px solid rgba(74, 144, 226, 0.2);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--seasonal-primary) 50%,
        transparent 100%);
}

/* Seasonal badge for special offers */
.seasonal-offer-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    animation: bounce 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

/* Winter countdown timer styling */
.seasonal-countdown {
    display: inline-flex;
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(74, 144, 226, 0.1);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(74, 144, 226, 0.2);
    min-width: 80px;
}

.countdown-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--seasonal-gold);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    margin-top: var(--space-2);
}

/* Seasonal banner at top of pages */
.seasonal-banner {
    background: linear-gradient(135deg,
        var(--seasonal-primary) 0%,
        #357abd 50%,
        var(--seasonal-primary) 100%);
    background-size: 200% 200%;
    animation: shimmer 4s ease-in-out infinite;
    color: white;
    padding: var(--space-3) var(--space-4);
    text-align: center;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.seasonal-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent);
    animation: slide 3s ease-in-out infinite;
}

@keyframes slide {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.seasonal-banner a {
    color: var(--seasonal-gold);
    text-decoration: underline;
    font-weight: 700;
}

.seasonal-banner a:hover {
    color: white;
}

/* Gift icon enhancement */
.seasonal-gift-icon {
    display: inline-block;
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

/* Festive CTA enhancement */
.btn-primary.seasonal-cta {
    background: linear-gradient(135deg,
        var(--seasonal-primary) 0%,
        var(--seasonal-gold) 100%);
    position: relative;
    overflow: hidden;
}

.btn-primary.seasonal-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary.seasonal-cta:hover::before {
    width: 300px;
    height: 300px;
}

/* Pricing card seasonal enhancement */
.pricing-card.seasonal {
    background: linear-gradient(135deg,
        rgba(74, 144, 226, 0.05) 0%,
        rgba(255, 215, 0, 0.03) 100%);
    border: 2px solid;
    border-image: linear-gradient(135deg,
        var(--seasonal-primary),
        var(--seasonal-gold)) 1;
}

/* Disable seasonal effects on mobile for performance */
@media (max-width: 768px) {
    .seasonal-snowfall {
        display: none;
    }

    .seasonal-banner::before {
        animation: none;
    }

    .pricing-badge,
    .tier-badge {
        animation: none;
    }
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .snowflake,
    .seasonal-banner::before,
    .pricing-badge,
    .tier-badge,
    .seasonal-offer-badge {
        animation: none !important;
    }
}

/* Print styles: Remove seasonal decorations */
@media print {
    .seasonal-snowfall,
    .seasonal-banner,
    .seasonal-offer-badge {
        display: none !important;
    }

    .pricing-card::before,
    .feature-card::before {
        display: none;
    }
}
