/* ===========================================
   DigiFlow - Custom Styles
   =========================================== */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: #0a0a0f;
    color: #fff;
    overflow-x: hidden;
}

/* ===========================================
   Gradient Backgrounds
   =========================================== */
.hero-gradient {
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 140, 0, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255, 180, 50, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 50% 80%, rgba(200, 100, 0, 0.06) 0%, transparent 50%);
}

.grid-pattern {
    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: 50px 50px;
}

/* ===========================================
   Glow Effects
   =========================================== */
.glow-accent {
    box-shadow: 0 0 60px rgba(255, 140, 0, 0.25);
}

.text-glow {
    text-shadow: 0 0 40px rgba(255, 140, 0, 0.5);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.4);
}

/* ===========================================
   Card Styles
   =========================================== */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.12);
}

.category-card {
    background: linear-gradient(180deg, #12121a 0%, #0a0a0f 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: rgba(255, 140, 0, 0.3);
}

/* ===========================================
   Gradient Border
   =========================================== */
.gradient-border {
    position: relative;
    background: #12121a;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.5), transparent, rgba(255, 180, 50, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* ===========================================
   Navigation
   =========================================== */
.nav-blur {
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.8);
}

/* ===========================================
   Step Numbers
   =========================================== */
.step-number {
    background: linear-gradient(135deg, #ff8c00 0%, #e07800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================================
   Animations
   =========================================== */

/* Fade In */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-delay-1 {
    animation-delay: 0.2s;
}

.fade-in-delay-2 {
    animation-delay: 0.4s;
}

.fade-in-delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Float Animation */
.float {
    animation: float 4s ease-in-out infinite;
}

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

/* ===========================================
   Scrollbar
   =========================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
    background: #1a1a25;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff8c00;
}

/* ===========================================
   Scroll Reveal (controlled by JS)
   =========================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* ===========================================
   Responsive Adjustments
   =========================================== */
@media (max-width: 768px) {
    .hero-gradient {
        background: 
            radial-gradient(ellipse 100% 60% at 50% 30%, rgba(255, 140, 0, 0.1) 0%, transparent 50%);
    }
}