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

:root {
    --primary-purple: #8B5CF6;
    --primary-blue: #3B82F6;
    --accent-cyan: #06B6D4;
    --accent-pink: #EC4899;
    --dark-bg: #0F0F23;
    --darker-bg: #0A0A1A;
    --card-bg: #1A1A2E;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    --border-color: #27272A;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    --gradient-accent: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    --gradient-bg: linear-gradient(135deg, var(--darker-bg) 0%, #1A1A2E 50%, var(--dark-bg) 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-bg);
    background-image: 
        linear-gradient(135deg, rgba(15, 15, 35, 0.9) 0%, rgba(26, 26, 46, 0.8) 50%, rgba(15, 15, 35, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="%238B5CF6" stroke-width="0.5" opacity="0.1"/></pattern><radialGradient id="glow1" cx="20%" cy="20%" r="30%"><stop offset="0%" style="stop-color:%238B5CF6;stop-opacity:0.3"/><stop offset="100%" style="stop-color:%238B5CF6;stop-opacity:0"/></radialGradient><radialGradient id="glow2" cx="80%" cy="80%" r="40%"><stop offset="0%" style="stop-color:%233B82F6;stop-opacity:0.2"/><stop offset="100%" style="stop-color:%233B82F6;stop-opacity:0"/></radialGradient><radialGradient id="glow3" cx="50%" cy="10%" r="25%"><stop offset="0%" style="stop-color:%2306B6D4;stop-opacity:0.15"/><stop offset="100%" style="stop-color:%2306B6D4;stop-opacity:0"/></radialGradient></defs><rect width="100%" height="100%" fill="%230F0F23"/><rect width="100%" height="100%" fill="url(%23grid)"/><circle cx="200" cy="200" r="150" fill="url(%23glow1)"/><circle cx="1000" cy="600" r="200" fill="url(%23glow2)"/><circle cx="600" cy="100" r="120" fill="url(%23glow3)"/><g opacity="0.05"><path d="M0,200 Q300,100 600,200 T1200,200" stroke="%238B5CF6" stroke-width="2" fill="none"/><path d="M0,400 Q300,300 600,400 T1200,400" stroke="%233B82F6" stroke-width="2" fill="none"/><path d="M0,600 Q300,500 600,600 T1200,600" stroke="%2306B6D4" stroke-width="2" fill="none"/></g></svg>');
    background-size: cover, 1200px 800px;
    background-position: center, center;
    background-attachment: fixed, fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.6;
}

.floating-cube {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 8px;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.cube-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cube-2 {
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.cube-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: -14s;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 30s linear infinite;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo i {
    color: var(--primary-purple);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-purple);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--primary-purple);
    animation: badge-float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.glow-effect {
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from {
        box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3), 0 0 20px rgba(139, 92, 246, 0.2);
    }
    to {
        box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5), 0 0 30px rgba(139, 92, 246, 0.4);
    }
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

.hover-glow:hover {
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-purple);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.1);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat:hover::before {
    left: 100%;
}

.stat:hover {
    transform: translateY(-3px);
    border-color: var(--primary-purple);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
    animation: number-glow 2s ease-in-out infinite alternate;
}

@keyframes number-glow {
    from { text-shadow: 0 0 5px rgba(139, 92, 246, 0.3); }
    to { text-shadow: 0 0 15px rgba(139, 92, 246, 0.6); }
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual - Modern Image with Enhanced Effects */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    perspective-origin: 50% 30%;
    overflow: hidden;
}

.hero-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    max-width: 800px;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
    filter: 
        brightness(1.05) 
        contrast(1.1);
    animation: hero-image-float 20s ease-in-out infinite;
    transition: all 0.5s ease;
}

.hero-image:hover {
    filter: 
        brightness(1.15) 
        contrast(1.2);
    transform: scale(1.02);
}

/* Image Overlay Effects */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

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

.floating-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0.4;
    animation: particle-float 15s linear infinite;
}

.particle-1 {
    background: var(--primary-purple);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
}

.particle-2 {
    background: var(--accent-cyan);
    top: 30%;
    right: 15%;
    animation-delay: -2s;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
}

.particle-3 {
    background: var(--accent-pink);
    bottom: 40%;
    left: 20%;
    animation-delay: -4s;
    box-shadow: 0 0 8px rgba(236, 72, 153, 0.3);
}

.particle-4 {
    background: var(--primary-blue);
    bottom: 20%;
    right: 25%;
    animation-delay: -6s;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.particle-5 {
    background: var(--success-color);
    top: 60%;
    left: 5%;
    animation-delay: -8s;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.particle-6 {
    background: var(--warning-color);
    top: 10%;
    right: 30%;
    animation-delay: -10s;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

/* Glow Ring Effects */
.glow-effects {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.glow-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    opacity: 0.1;
    animation: ring-pulse 8s ease-in-out infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    border-color: var(--primary-purple);
    animation-delay: 0s;
}

.ring-2 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    border-color: var(--accent-cyan);
    animation-delay: -2s;
}

.ring-3 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
    border-color: var(--accent-pink);
    animation-delay: -4s;
}

/* Animate-in class for smooth entrance */
.animate-in {
    animation: slide-in-right 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    transform: translateX(100px) scale(0.9);
}

@keyframes slide-in-right {
    0% {
        opacity: 0;
        transform: translateX(100px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes hero-image-float {
    0%, 100% {
        transform: translateY(0px) scale(1) rotateZ(0deg);
    }
    25% {
        transform: translateY(-15px) scale(1.02) rotateZ(0.5deg);
    }
    50% {
        transform: translateY(-10px) scale(1.01) rotateZ(0deg);
    }
    75% {
        transform: translateY(-20px) scale(1.03) rotateZ(-0.5deg);
    }
}

@keyframes particle-float {
    0% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-30px) translateX(10px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-60px) translateX(-5px) scale(0.8);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-90px) translateX(15px) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translateY(-120px) translateX(0px) scale(1);
        opacity: 0;
    }
}

@keyframes ring-pulse {
    0%, 100% {
        transform: scale(0.95);
        opacity: 0.05;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.15;
    }
}

/* Interactive Effects */
.hero-visual:hover .hero-image {
    animation-play-state: paused;
}

.hero-visual:hover .floating-particle {
    animation-duration: 6s;
}

.hero-visual:hover .glow-ring {
    animation-duration: 3s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-visual {
        height: 400px;
    }
    
    .hero-image {
        max-width: 600px;
        max-height: 400px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .glow-ring {
        display: none; /* Hide complex effects on mobile for performance */
    }
}

@media (max-width: 480px) {
    .hero-visual {
        height: 300px;
    }
    
    .hero-image {
        max-width: 400px;
        max-height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-particle {
        width: 6px;
        height: 6px;
    }
}





/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
    from { 
        filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.3));
    }
    to { 
        filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
    }
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Verification Steps */
.verification-section {
    padding: 6rem 0;
    background: rgba(26, 26, 46, 0.3);
}

.verification-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

.step {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    min-width: 280px;
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.step-icon {
    position: relative;
    margin-bottom: 1.5rem;
}

.step-icon i {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-status {
    margin-top: 1.5rem;
}

.step-status i {
    font-size: 1.5rem;
    color: var(--success-color);
}

.step.pending .step-status i {
    color: var(--warning-color);
    animation: pulse-warning 2s ease-in-out infinite;
}

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

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    position: relative;
    opacity: 0.6;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--primary-purple);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Support Section */
.support-section {
    padding: 6rem 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.support-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.support-card:hover::before {
    left: 100%;
}

.support-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.support-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-btn {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-btn:hover {
    background: var(--primary-purple);
    color: white;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary-purple);
    font-size: 1.8rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-purple);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    color: white;
    border-color: var(--primary-purple);
    background: var(--primary-purple);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--card-bg);
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-purple);
}

/* Connect Page Specific Styles */
.hero-section {
    padding: 8rem 0 4rem;
    text-align: center;
    background: rgba(26, 26, 46, 0.3);
}

.modern-header {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.modern-connect-btn, .modern-mode-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.modern-connect-btn:hover, .modern-mode-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.modern-wallet-section {
    padding: 4rem 0;
}

.modern-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 1rem !important;
}

.modern-line {
    background: var(--gradient-primary) !important;
    height: 3px !important;
    width: 80px !important;
    margin: 0 auto !important;
}

.wallet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.modern-wallet-card {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
}

.modern-wallet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.modern-wallet-card:hover::before {
    left: 100%;
}

.modern-wallet-card:hover {
    transform: translateY(-5px) !important;
    border-color: var(--primary-purple) !important;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2) !important;
}

.modern-wallet-card .author-avatar {
    margin-bottom: 1.5rem !important;
}

.modern-wallet-card .avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
}

.modern-wallet-card .author-infor h5 {
    color: var(--text-primary) !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}

.modern-wallet-card .author-infor .price {
    color: var(--text-secondary) !important;
    font-size: 0.9rem !important;
}

/* Modern Modal Styles */
.modern-modal .modal-content {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

.modern-close {
    color: var(--text-secondary) !important;
    font-size: 1.5rem !important;
    opacity: 1 !important;
    transition: color 0.3s ease !important;
}

.modern-close:hover {
    color: var(--primary-purple) !important;
}

.modern-modal-body {
    padding: 2rem !important;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-wallet-logo {
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
}

.modal-wallet-name {
    color: var(--text-primary) !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}

.modal-security-text {
    color: var(--text-secondary) !important;
    font-size: 0.9rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.connection-status {
    text-align: center;
    padding: 2rem 0;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text-primary) !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

.loading-subtext {
    color: var(--text-secondary) !important;
    font-size: 0.9rem !important;
}

.connection-error {
    text-align: center;
    padding: 2rem 0;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--error-color);
}

.error-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modern-btn {
    padding: 12px 24px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 2px solid var(--primary-purple) !important;
    background: transparent !important;
    color: var(--primary-purple) !important;
}

.modern-btn:hover {
    background: var(--primary-purple) !important;
    color: white !important;
    transform: translateY(-2px);
}

.btn-primary.modern-btn {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
}

.manual-connect {
    padding: 2rem 0;
}

.phrase-input {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modern-textarea {
    background: var(--darker-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    color: var(--text-primary) !important;
    font-family: 'Inter', sans-serif !important;
    resize: vertical !important;
    min-height: 120px !important;
}

.modern-textarea:focus {
    outline: none !important;
    border-color: var(--primary-purple) !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
}

.modern-submit-btn {
    background: var(--gradient-primary) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 16px 32px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.modal-footer {
    margin-top: 2rem;
    text-align: center;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.success-modal .modal-content {
    background: var(--card-bg) !important;
    border: 1px solid var(--success-color) !important;
}

.success-content {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-content h3 {
    color: var(--text-primary) !important;
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    margin-bottom: 2rem !important;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-code {
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.ref-code-text {
    color: var(--text-secondary) !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
}

.ref-code {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 2rem;
}

.code-display {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--primary-purple) !important;
    font-family: 'Courier New', monospace !important;
}

/* Live Chart Section */
.chart-section {
    padding: 6rem 0;
    background: rgba(26, 26, 46, 0.2);
}

.chart-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.chart-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.chart-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.chart-header h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
}

.chart-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-btn:hover,
.chart-btn.active {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
}

.chart-wrapper {
    height: 300px;
    position: relative;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.chart-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.chart-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.chart-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
}

.chart-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-btn:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.chart-btn.active {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.chart-wrapper {
    height: 300px;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.05), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-purple);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-info h4 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
}

.stat-value {
    display: block;
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}

.stat-change.positive {
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
}

.stat-change.negative {
    color: var(--error-color);
    background: rgba(239, 68, 68, 0.1);
}

/* Chart.js Custom Styles */
.chartjs-render-monitor {
    border-radius: 12px;
}

/* Support Section */
.support-section {
    padding: 6rem 0;
    background: rgba(15, 15, 35, 0.3);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.05), transparent);
    transition: left 0.5s ease;
}

.support-card:hover::before {
    left: 100%;
}

.support-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.support-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.support-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.support-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.card-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .blockchain-3d-scene {
        width: 350px;
        height: 350px;
    }
    
    .hub-core {
        width: 60px;
        height: 60px;
    }
    
    .hub-icon {
        font-size: 2rem;
    }
    
    .node {
        width: 45px;
        height: 45px;
    }
    
    .node-core i {
        font-size: 1.4rem;
    }
    
    .ring-1 {
        width: 90px;
        height: 90px;
        top: -45px;
        left: -45px;
    }
    
    .ring-2 {
        width: 120px;
        height: 120px;
        top: -60px;
        left: -60px;
    }
    
    .ring-3 {
        width: 150px;
        height: 150px;
        top: -75px;
        left: -75px;
    }
    
    .blockchain-blocks {
        bottom: 5%;
    }
    
    .block {
        width: 30px;
        height: 40px;
    }
    
    .block-content {
        font-size: 0.5rem;
        padding: 2px;
    }
    
    .verification-steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        transform: rotate(90deg);
        align-self: center;
    }
    
    .step-connector::after {
        right: -4px;
        top: -5px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 8px solid var(--primary-purple);
        border-bottom: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .chart-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .chart-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .chart-controls {
        align-self: stretch;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .blockchain-3d-scene {
        width: 280px;
        height: 280px;
    }
    
    .hub-core {
        width: 50px;
        height: 50px;
    }
    
    .hub-icon {
        font-size: 1.8rem;
    }
    
    .node {
        width: 35px;
        height: 35px;
    }
    
    .node-core i {
        font-size: 1.2rem;
    }
    
    .ring-1 {
        width: 70px;
        height: 70px;
        top: -35px;
        left: -35px;
    }
    
    .ring-2 {
        width: 90px;
        height: 90px;
        top: -45px;
        left: -45px;
    }
    
    .ring-3 {
        width: 110px;
        height: 110px;
        top: -55px;
        left: -55px;
    }
    
    .block {
        width: 25px;
        height: 35px;
    }
    
    .block-content {
        font-size: 0.4rem;
        padding: 1px;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        grid-template-columns: 1fr;
    }
    
    .chart-wrapper {
        height: 250px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .support-card {
        padding: 1.5rem;
    }
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-purple);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modal-fade-in 0.3s ease;
}

@keyframes modal-fade-in {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}
