/* BrandScayle Custom Styles */
:root {
    --brand-orange: #FF7A00;
    --brand-orange-light: #FF9E3F;
    --brand-orange-dark: #E66A00;
    --brand-gradient: linear-gradient(135deg, #FF7A00 0%, #FF9E3F 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(255,122,0,0.05) 0%, rgba(255,255,255,1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,122,0,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Floating Image Animation */
.floating-image {
    animation: floating 3s ease-in-out infinite;
}

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

/* Stats Cards Animation */
.stats-card-1 {
    animation: slideInLeft 1s ease-out 0.5s both;
}

.stats-card-2 {
    animation: slideInRight 1s ease-out 0.7s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255,122,0,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,122,0,0.4);
    background: linear-gradient(135deg, #FF8A10 0%, #FFAE4F 100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand-orange);
    color: var(--brand-orange);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: white;
}

.btn-secondary:hover {
    background: var(--brand-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,122,0,0.3);
}

/* Navigation Links */
.hover-nav-link {
    color: #4B5563;
    transition: color 0.3s ease;
}

.hover-nav-link:hover {
    color: var(--brand-orange);
}

.mobile-nav-link {
    color: #4B5563;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--brand-orange);
}

/* Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pain Point Cards */
.pain-point-card {
    transition: all 0.3s ease;
}

.pain-point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255,122,0,0.15);
}

.service-card:hover .bg-gradient-to-br {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Why Cards */
.why-card {
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.why-card:hover .bg-gradient-to-br {
    transform: rotate(5deg) scale(1.1);
    transition: transform 0.3s ease;
}

/* Stat Cards */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Price Cards */
.price-card {
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-8px);
}

.price-card:hover:not([style*="border-color: #FF7A00"]) {
    border-color: var(--brand-orange);
    box-shadow: 0 15px 40px rgba(255,122,0,0.2);
}

/* FAQ Accordion */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 8px 25px rgba(255,122,0,0.15);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    padding-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-top: 16px;
}

.faq-chevron {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Form Styles */
input:focus, textarea:focus, select:focus {
    border-color: var(--brand-orange) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,122,0,0.1);
}

/* Navbar Shadow on Scroll */
.navbar-scrolled {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Smooth Scroll Offset */
html {
    scroll-padding-top: 80px;
}

/* Animation Delays */
[style*="animation-delay"] {
    animation-delay: inherit;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .floating-image {
        animation-duration: 4s;
    }
    
    .stats-card-1,
    .stats-card-2 {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin-top: 1rem;
    }
    
    .hero-section::before {
        display: none;
    }
}

/* Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Pulse Animation for Urgency Badges */
@keyframes pulse-badge {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

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

/* Gradient Text */
.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-orange-dark);
}

/* Selection Color */
::selection {
    background: var(--brand-orange);
    color: white;
}

::-moz-selection {
    background: var(--brand-orange);
    color: white;
}

/* Footer Links */
.footer-link {
    color: #9CA3AF;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--brand-orange);
}

/* WhatsApp Button Hover */
.fixed.bottom-6.right-6:hover {
    transform: scale(1.1);
}

/* Logo Styles */
nav img[alt="BrandScayle Logo"],
footer img[alt="BrandScayle Logo"] {
    display: block;
    flex-shrink: 0;
}

/* Footer Logo - ensure visibility on dark background */
footer img[alt="BrandScayle Logo"] {
    filter: brightness(1.05);
}

/* Logo Hover Effect */
nav a:hover img[alt="BrandScayle Logo"] {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Print Styles */
@media print {
    .floating-image,
    .stats-card-1,
    .stats-card-2 {
        animation: none;
    }
}
