/* ATOMBuild Pulse - Specific Styles */

/* Hero grid pattern overlay */
.pulse-hero-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Metric value counter animation */
.metric-value {
    font-variant-numeric: tabular-nums;
}

/* Metric bar animation */
.metric-bar-animate {
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pricing annual note fade */
.annual-note {
    transition: opacity 0.3s ease;
}

/* Billing toggle active state */
#billing-toggle.active {
    background-color: #0d9488;
}

#billing-toggle.active #toggle-knob,
#billing-toggle.active .toggle-knob-el {
    transform: translateX(24px);
}

/* Pulse badge animation in nav */
@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Feature cards tier badges consistent sizing */
.feature-tier-badge {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

/* Smooth hover transitions for all interactive elements */
.pricing-card-pulse {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card-pulse:hover {
    transform: translateY(-4px);
}

/* Override shared styles for Pulse-specific focus states */
.pulse-focus:focus {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Mobile menu for Pulse */
.pulse-mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
    z-index: 40;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .pulse-mobile-menu.open {
        display: block;
    }
}

.pulse-mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
}

.pulse-mobile-menu a:hover {
    color: #14b8a6;
}

.pulse-mobile-menu a:last-child {
    border-bottom: none;
}

/* Ensure mobile menu is never shown on desktop */
@media (min-width: 769px) {
    .pulse-mobile-menu {
        display: none !important;
    }
}

/* Print styles for Pulse */
@media print {
    .pulse-hero-grid {
        display: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .metric-bar-animate {
        transition: none;
    }

    .animate-pulse-dot {
        animation: none;
    }
}
