/* Custom Color Variables - Stripe-inspired Bold & Diverse */
:root {
    --primary-blue: #635bff;
    --primary-purple: #7c3aed;
    --primary-pink: #ec4899;
    --primary-green: #10b981;
    --primary-yellow: #f59e0b;
    --primary-indigo: #6366f1;
    --gradient-start: #635bff;
    --gradient-end: #7c3aed;
    --light-blue: #3B82F6;
    --light-purple: #8B5CF6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-900: #111827;

    /* Stripe-style vibrant gradients */
    --gradient-purple-pink: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-green-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-orange-pink: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-indigo-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #1e3a8a, #581c87);
}

/* Header styles */
.header-blur {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Enhanced dropdown styles */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu,
.group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}



/* Navigation styles */
.nav-link {
    position: relative;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--primary-blue);
    background-color: rgba(36, 65, 245, 0.05);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 80%;
}

/* Button styles - Stripe-inspired */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #5a52e8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 91, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: var(--primary-blue);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile menu styles */
.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Hero section styles */
.hero-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

/* Glassmorphism effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Particle animation background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: particle-float 6s infinite linear;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Section spacing */
.section-padding {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    line-height: 1.6;
}

/* Intersection Observer animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Custom focus styles */
button:focus,
a:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Loading animation */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% {
        color: rgba(0,0,0,0);
        text-shadow:
            .25em 0 0 rgba(0,0,0,0),
            .5em 0 0 rgba(0,0,0,0);
    }
    40% {
        color: black;
        text-shadow:
            .25em 0 0 rgba(0,0,0,0),
            .5em 0 0 rgba(0,0,0,0);
    }
    60% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 rgba(0,0,0,0);
    }
    80%, 100% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 black;
    }
}

/* Responsive design helpers */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

/* Custom utility classes - Stripe-inspired */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

.bg-gradient-vibrant {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-warm {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.bg-gradient-cool {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.border-gradient {
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, var(--primary-blue), var(--primary-purple)) border-box;
}

/* Stripe-style card */
.stripe-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.stripe-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Stripe-style section spacing */
.section-stripe {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section-stripe {
        padding: 4rem 0;
    }
}

/* Stripe-style typography */
.heading-stripe {
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.text-stripe {
    line-height: 1.6;
    color: #6b7280;
}

/* Enhanced animations for Stripe-style */
.animate-float-slow {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Stripe-style gradient text effects */
.text-gradient-warm {
    background: linear-gradient(45deg, #fa709a, #fee140);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cool {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced button styles */
.btn-gradient-warm {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #1f2937;
    font-weight: 600;
}

.btn-gradient-warm:hover {
    background: linear-gradient(135deg, #f687b3 0%, #fbbf24 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(250, 112, 154, 0.4);
}

/* Financial Interface Illustration Styles */
.financial-interface-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 500px;
    perspective: 1000px;
}

.financial-interface {
    position: relative;
    transform: rotateY(-5deg) rotateX(5deg);
    animation: float 6s ease-in-out infinite;
}

.monitor-frame {
    position: relative;
    width: 420px;
    height: 300px;
    background: linear-gradient(145deg, #e2e8f0, #cbd5e0);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.financial-dashboard {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    padding: 12px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 6px;
}

.platform-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-icon {
    width: 16px;
    height: 16px;
    background: #f59e0b;
    border-radius: 50%;
    position: relative;
}

.notification-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
}

.user-avatar {
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #10b981, #059669);
    border-radius: 50%;
}

.dashboard-main {
    height: calc(100% - 60px);
}

.balance-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.balance-card {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.balance-card.primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
}

.balance-label {
    font-size: 10px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.balance-amount {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.balance-change {
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
}

.balance-change.positive {
    color: #10b981;
    background: #d1fae5;
}

.transaction-section {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.section-title {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.transaction-list {
    space-y: 8px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.transaction-icon.receive {
    background: #d1fae5;
    color: #059669;
}

.transaction-icon.send {
    background: #fee2e2;
    color: #dc2626;
}

.transaction-icon.exchange {
    background: #dbeafe;
    color: #2563eb;
}

.transaction-icon.receive::before { content: '↓'; }
.transaction-icon.send::before { content: '↑'; }
.transaction-icon.exchange::before { content: '⇄'; }

.transaction-details {
    flex: 1;
}

.transaction-type {
    font-size: 10px;
    font-weight: 600;
    color: #374151;
}

.transaction-desc {
    font-size: 8px;
    color: #6b7280;
}

.transaction-amount {
    font-size: 10px;
    font-weight: 600;
}

.transaction-amount.positive {
    color: #059669;
}

.transaction-amount.negative {
    color: #dc2626;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.stat-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-value {
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    border-radius: 2px;
    margin-bottom: 4px;
}

.stat-label {
    width: 80%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 2px;
}

.chart-area {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    height: 120px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chart-header {
    width: 60%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-bottom: 12px;
}

.chart-content {
    height: calc(100% - 20px);
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.chart-line {
    animation: drawLine 3s ease-in-out infinite;
}

.chart-dot {
    animation: pulse 2s ease-in-out infinite;
}

.monitor-stand {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: linear-gradient(145deg, #e2e8f0, #cbd5e0);
    border-radius: 0 0 8px 8px;
}

.monitor-base {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 10px;
    background: linear-gradient(145deg, #e2e8f0, #cbd5e0);
    border-radius: 20px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 12px;
    border: 1px solid #e5e7eb;
}

.exchange-rate-card {
    width: 130px;
    top: 5%;
    right: -50px;
    animation: float 4s ease-in-out infinite;
}

.payment-card {
    width: 110px;
    top: 45%;
    left: -45px;
    animation: float 5s ease-in-out infinite 1s;
}

.withdrawal-card {
    width: 110px;
    bottom: 10%;
    right: -40px;
    animation: float 6s ease-in-out infinite 2s;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 10px;
    font-weight: 600;
    color: #374151;
}

.currency-icon, .payment-icon, .withdrawal-icon, .security-icon, .notification-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.exchange-rate {
    text-align: center;
}

.rate-pair {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: #6b7280;
    margin-bottom: 4px;
}

.rate-value {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2px;
}

.rate-change {
    font-size: 8px;
    color: #10b981;
    background: #d1fae5;
    padding: 2px 6px;
    border-radius: 8px;
    margin-bottom: 6px;
}

.rate-chart {
    height: 20px;
}

.rate-chart svg {
    width: 100%;
    height: 100%;
}

.payment-amount, .withdrawal-amount {
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.payment-status, .withdrawal-status {
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.payment-status.processing {
    color: #f59e0b;
    background: #fef3c7;
}

.withdrawal-status.completed {
    color: #10b981;
    background: #d1fae5;
}

.withdrawal-time {
    font-size: 8px;
    color: #6b7280;
}

.payment-progress {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 65%;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 2px;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0%, 100% { width: 65%; }
    50% { width: 80%; }
}

/* New floating cards */
.security-card {
    width: 100px;
    top: 20%;
    left: -50px;
    animation: float 7s ease-in-out infinite 3s;
}

.notification-card {
    width: 105px;
    bottom: 30%;
    left: -55px;
    animation: float 6s ease-in-out infinite 4s;
}

.security-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.security-level {
    font-size: 10px;
    font-weight: 600;
    color: #059669;
}

.security-badge {
    font-size: 8px;
    background: #d1fae5;
    color: #059669;
    padding: 2px 6px;
    border-radius: 8px;
}

.notification-content {
    text-align: left;
}

.notification-text {
    font-size: 9px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 2px;
}

.notification-time {
    font-size: 8px;
    color: #6b7280;
}

/* Floating particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0.6;
}

.particle-1 {
    background: #6366f1;
    top: 15%;
    left: 20%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle-2 {
    background: #8b5cf6;
    top: 30%;
    right: 25%;
    animation: particleFloat 10s ease-in-out infinite 1s;
}

.particle-3 {
    background: #06b6d4;
    bottom: 40%;
    left: 30%;
    animation: particleFloat 12s ease-in-out infinite 2s;
}

.particle-4 {
    background: #10b981;
    top: 60%;
    right: 15%;
    animation: particleFloat 9s ease-in-out infinite 3s;
}

.particle-5 {
    background: #f59e0b;
    bottom: 20%;
    right: 40%;
    animation: particleFloat 11s ease-in-out infinite 4s;
}

.particle-6 {
    background: #ef4444;
    top: 45%;
    left: 15%;
    animation: particleFloat 7s ease-in-out infinite 5s;
}

/* Connection lines */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection-svg {
    width: 100%;
    height: 100%;
}

.connection-line {
    stroke-dasharray: 5 5;
    animation: dashMove 3s linear infinite;
}

.line-1 {
    animation-delay: 0s;
}

.line-2 {
    animation-delay: 1s;
}

.line-3 {
    animation-delay: 2s;
}

/* Enhanced animations */
.rate-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawRateLine 4s ease-in-out infinite;
}

.rate-dot {
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) translateX(-15px);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) translateX(5px);
        opacity: 1;
    }
}

@keyframes dashMove {
    0% {
        stroke-dashoffset: 10;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes drawRateLine {
    0% {
        stroke-dashoffset: 100;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -100;
    }
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.5);
    }
}

@keyframes drawLine {
    0% { stroke-dasharray: 0 1000; }
    50% { stroke-dasharray: 500 1000; }
    100% { stroke-dasharray: 1000 1000; }
}

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

@media (max-width: 768px) {
    .pc-interface-container {
        height: 400px;
    }

    .monitor-frame {
        width: 320px;
        height: 220px;
    }

    .floating-card {
        width: 50px;
        height: 35px;
    }
}

/* Hover effects for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Progress bar */
.progress-bar {
    height: 4px;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Custom checkbox and radio styles */
.custom-checkbox {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-checkbox:checked {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    border-color: var(--primary-blue);
}

.custom-checkbox:checked::after {
    content: '✓';
    color: white;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Sci-fi Tech Glow Effects */
.hover\:glow:hover {
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.6), 0 0 20px rgba(34, 211, 238, 0.4), 0 0 30px rgba(34, 211, 238, 0.2);
    transition: all 0.3s ease;
}

/* Tech-style border animations */
@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(139, 92, 246, 0.3);
        box-shadow: 0 0 5px rgba(139, 92, 246, 0.2);
    }
    50% {
        border-color: rgba(34, 211, 238, 0.5);
        box-shadow: 0 0 15px rgba(34, 211, 238, 0.3), 0 0 25px rgba(34, 211, 238, 0.1);
    }
}

/* Futuristic gradient backgrounds */
.tech-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

/* Neon accent lines */
.neon-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #22d3ee, transparent);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    0% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
    }
}

/* Particle Effects */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
}

.particle-1 {
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    top: 10%;
    left: 15%;
    animation: particleFloat1 8s ease-in-out infinite;
}

.particle-2 {
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #06b6d4, #3b82f6);
    top: 25%;
    right: 20%;
    animation: particleFloat2 10s ease-in-out infinite 1s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    top: 60%;
    left: 10%;
    animation: particleFloat3 12s ease-in-out infinite 2s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    background: linear-gradient(45deg, #10b981, #06b6d4);
    bottom: 20%;
    right: 15%;
    animation: particleFloat4 9s ease-in-out infinite 3s;
}

.particle-5 {
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, #f59e0b, #ef4444);
    top: 40%;
    left: 25%;
    animation: particleFloat5 11s ease-in-out infinite 4s;
}

.particle-6 {
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #ec4899, #8b5cf6);
    top: 80%;
    right: 30%;
    animation: particleFloat6 7s ease-in-out infinite 5s;
}

.particle-7 {
    width: 3px;
    height: 3px;
    background: linear-gradient(45deg, #3b82f6, #10b981);
    top: 15%;
    left: 60%;
    animation: particleFloat7 13s ease-in-out infinite 6s;
}

.particle-8 {
    width: 5px;
    height: 5px;
    background: linear-gradient(45deg, #06b6d4, #ec4899);
    bottom: 40%;
    left: 70%;
    animation: particleFloat8 8s ease-in-out infinite 7s;
}

/* Particle Animation Keyframes */
@keyframes particleFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
    25% { transform: translate(20px, -30px) rotate(90deg); opacity: 1; }
    50% { transform: translate(-15px, -60px) rotate(180deg); opacity: 0.8; }
    75% { transform: translate(30px, -40px) rotate(270deg); opacity: 0.9; }
}

@keyframes particleFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.7; }
    33% { transform: translate(-25px, 40px) rotate(120deg); opacity: 1; }
    66% { transform: translate(35px, 20px) rotate(240deg); opacity: 0.8; }
}

@keyframes particleFloat3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
    20% { transform: translate(15px, -25px) rotate(72deg); opacity: 0.9; }
    40% { transform: translate(-20px, -10px) rotate(144deg); opacity: 1; }
    60% { transform: translate(25px, 15px) rotate(216deg); opacity: 0.7; }
    80% { transform: translate(-10px, 30px) rotate(288deg); opacity: 0.8; }
}

@keyframes particleFloat4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
    30% { transform: translate(-30px, -20px) rotate(108deg); opacity: 1; }
    70% { transform: translate(20px, -35px) rotate(252deg); opacity: 0.9; }
}

@keyframes particleFloat5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.8; }
    25% { transform: translate(10px, 25px) rotate(90deg); opacity: 0.6; }
    50% { transform: translate(-25px, 10px) rotate(180deg); opacity: 1; }
    75% { transform: translate(15px, -20px) rotate(270deg); opacity: 0.7; }
}

@keyframes particleFloat6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.7; }
    40% { transform: translate(30px, 15px) rotate(144deg); opacity: 0.9; }
    80% { transform: translate(-15px, -25px) rotate(288deg); opacity: 1; }
}

@keyframes particleFloat7 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
    16% { transform: translate(-20px, 30px) rotate(60deg); opacity: 0.8; }
    33% { transform: translate(25px, 10px) rotate(120deg); opacity: 1; }
    50% { transform: translate(-10px, -35px) rotate(180deg); opacity: 0.7; }
    66% { transform: translate(35px, -15px) rotate(240deg); opacity: 0.9; }
    83% { transform: translate(-25px, 20px) rotate(300deg); opacity: 0.6; }
}

@keyframes particleFloat8 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
    25% { transform: translate(-35px, -10px) rotate(90deg); opacity: 1; }
    50% { transform: translate(20px, -30px) rotate(180deg); opacity: 0.8; }
    75% { transform: translate(-15px, 25px) rotate(270deg); opacity: 0.9; }
}

/* Floating Screen (No Monitor Frame) */
.floating-screen {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 20px;
    padding: 3px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    animation: floatScreen 6s ease-in-out infinite;
}

@keyframes floatScreen {
    0%, 100% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0px);
    }
    50% {
        transform: perspective(1000px) rotateY(-3deg) rotateX(3deg) translateY(-10px);
    }
}
