/* ==========================================
   JD Match - Dark Glassmorphic Theme
   ========================================== */

/* Animated Particles Background - Dark */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
    opacity: 1;
    pointer-events: none;
}

.particles-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Gradient Glow Effects */
.gradient-glow {
    position: relative;
    overflow: hidden;
}

.gradient-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Glassmorphism Card - Dark Theme */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* Navigation Links - Dark Glassmorphic */
.nav-link {
    position: relative;
    font-weight: 500;
    font-size: 0.9375rem;
    color: #a1a1aa;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    background: transparent;
}

.nav-link::after {
    display: none;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    font-weight: 600;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
}

/* Primary Button - Dark Glassmorphic */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: rgba(59, 130, 246, 0.35);
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

/* Secondary Button - Dark Glassmorphic */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Feature Card - Dark Glassmorphic */
.feature-card {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card:hover::before {
    opacity: 1;
}

@media (min-width: 640px) {
    .feature-card {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .feature-card {
        padding: 2.5rem;
    }
}

/* Pricing Card - Dark Glassmorphic */
.pricing-card {
    position: relative;
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.pricing-card.featured {
    border: 2px solid rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.08);
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.3);
}

.pricing-card.featured:hover {
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.5);
    transform: translateY(-8px);
    border-color: rgba(251, 191, 36, 0.7);
}

@media (min-width: 640px) {
    .pricing-card {
        padding: 2rem 1.75rem;
    }
}

@media (min-width: 1024px) {
    .pricing-card {
        padding: 2.5rem 2rem;
    }
}

/* Form Input - Dark Theme */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
}

.form-input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.form-input::placeholder {
    color: #71717a;
}

/* Icon Container - Dark Glassmorphic */
.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.feature-card:hover .icon-container,
.step-card:hover .icon-container {
    transform: scale(1.1);
    background: rgba(59, 130, 246, 0.35);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.5);
    color: #93c5fd;
}

/* Step Card - Dark Glassmorphic */
.step-card {
    position: relative;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Social Icon - Dark Glassmorphic */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a78bfa;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    color: #c4b5fd;
}

/* Footer Link - Dark Theme */
.footer-link {
    color: #a1a1aa;
    transition: color 0.2s ease;
    font-size: 0.9375rem;
}

.footer-link:hover {
    color: #ffffff;
}

/* Hero Section - Dark Theme */
.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        max-width: 100%;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 2rem;
    }
}

/* Glow Button - Dark Glassmorphic */
.glow-btn {
    position: relative;
    padding: 1rem 2rem;
    background: rgba(251, 191, 36, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(251, 191, 36, 1);
    color: #0a0a0a;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.5), 0 0 40px rgba(251, 191, 36, 0.4);
}

.glow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(251, 191, 36, 0.7), 0 0 60px rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 1);
    border-color: rgba(251, 191, 36, 1);
    color: #0a0a0a;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.glow-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Fade In Animation Classes */
.fade-in {
    opacity: 0;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Badge - Dark Glassmorphic */
.badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.badge-primary {
    background: rgba(251, 191, 36, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Container Max Width */
.container {
    max-width: 1400px !important;
}

/* Section Content Max Width */
.section-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Custom Scrollbar - Dark Theme */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.7);
}

