/* AURA.BUILD INSPIRED ENHANCEMENTS */

/* ========== MODERN HOVER EFFECTS ========== */

/* Card Hover Enhancement */
.agent-tab:hover,
.pricing-card:hover,
.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer Effect for Primary Buttons */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::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: shimmer 3s infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 103, 47, 0.4);
    transition: all 0.3s ease;
}

/* Glow Effect on Focus */
.btn-primary:focus,
.btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 103, 47, 0.2);
}

/* ========== ANIMATED GRADIENT BORDERS ========== */

@keyframes rotate-gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.agent-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF672F, #3AD8EA, #5078E7, #FF672F);
    background-size: 200% 200%;
    animation: rotate-gradient 3s ease infinite;
    border-radius: 2px;
}

/* ========== FLOATING ANIMATION ========== */

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-image img {
    animation: float 6s ease-in-out infinite;
}

/* ========== PULSE ANIMATION FOR BADGES ========== */

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 103, 47, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 103, 47, 0.6);
    }
}

.pricing-badge {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ========== SMOOTH SCROLL REVEAL ========== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for children */
.reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal:nth-child(4) {
    transition-delay: 0.4s;
}

/* ========== GRADIENT TEXT EFFECTS ========== */

.text-gradient-orange {
    background: linear-gradient(135deg, #FF672F 0%, #FF672F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-turquoise {
    background: linear-gradient(135deg, #3AD8EA 0%, #6AE8F5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: linear-gradient(135deg, #5078E7 0%, #85A5FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== GLASSMORPHISM EFFECTS ========== */

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ========== PROGRESS BAR ANIMATION ========== */

@keyframes progress-fill {
    from {
        width: 0%;
    }
}

.progress-bar {
    animation: progress-fill 1.5s ease-out forwards;
}

/* ========== TOOLTIP HOVER ========== */

[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* ========== LOADING SKELETON ========== */

@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* ========== MICRO-INTERACTIONS ========== */

.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:active {
    transform: scale(0.98);
}

/* Icon Bounce on Hover */
.btn:hover .icon {
    animation: bounce 0.6s ease;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* ========== GRID PATTERN BACKGROUND ========== */

.grid-pattern {
    background-image:
        linear-gradient(rgba(255, 103, 47, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 103, 47, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ========== SPOTLIGHT EFFECT ========== */

.spotlight {
    position: relative;
    overflow: hidden;
}

.spotlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.spotlight:hover::before {
    opacity: 1;
}

/* ========== BADGE STYLES ========== */

.badge-new {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #FF672F 0%, #FF672F 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 103, 47, 0.3);
}

.badge-coming-soon {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ========== CARD TILT EFFECT ========== */

.card-tilt {
    transition: transform 0.3s ease;
}

.card-tilt:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

/* ========== NUMBER COUNTER ANIMATION ========== */

@keyframes count-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.stat-number {
    animation: count-up 0.8s ease-out forwards;
}

/* ========== RESPONSIVE UTILITIES ========== */

@media (max-width: 768px) {
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero-image img {
        animation: none;
        /* Disable float on mobile for performance */
    }
}

/* ========== ACCESSIBILITY ========== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible for Keyboard Navigation */
*:focus-visible {
    outline: 2px solid #FF672F;
    outline-offset: 2px;
}