/* QEasyWeb3 – Enhanced Tech Version */
:root{
  --brand:#6366F1; 
  --text:#F1F5F9;
  --muted:#94A3B8;
  --bg:#0F172A;
  --card:#1E293B;
  --accent:#22D3EE;
  --ring: rgba(99, 102, 241, 0.4);
  --neon-1: rgba(99, 102, 241, 0.8);
  --neon-2: rgba(34, 211, 238, 0.6);
  --glow-radius: 30px;
}

/* Base Styles */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;
    font-family: Inter,"Noto Sans SC",system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;
    color:var(--text);
    background-color:var(--bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 85% 75%, rgba(34, 211, 238, 0.1) 0%, transparent 30%),
        linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
    background-attachment: fixed;
}

/* Container and Layout */
.container{max-width:1200px;margin:0 auto;padding:0 24px}

/* Header Styles with Tech Glow */
.site-header{position:sticky;top:0;z-index:50;
    backdrop-filter:saturate(180%) blur(12px);
    background:linear-gradient(to bottom, rgba(15,23,42,0.9), rgba(15,23,42,0.7));
    border-bottom:1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.site-header.scrolled{
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav{display:flex;align-items:center;justify-content:space-between;height:72px}

.logo{display:flex;align-items:center;gap:10px;
    color:#fff;
    text-decoration:none;
    font-weight:800;
    letter-spacing:.3px;
    transition: all 0.3s ease;
}

.logo:hover{
    text-shadow: 0 0 15px var(--neon-1);
}

.logo img{width:32px;height:32px;
    filter: drop-shadow(0 0 8px var(--neon-1));
    transition: all 0.3s ease;
}

.logo:hover img{
    filter: drop-shadow(0 0 12px var(--neon-2));
    transform: rotate(5deg);
}

.nav-links{display:flex;gap:28px;align-items:center;list-style:none;margin:0;padding:0}

/* Language selector styles */
.language-selector {
  position: relative;
}

.language-selector select {
  background-color: transparent;
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #e2e8f0;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  background-image: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.1));
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.language-selector select:hover {
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--neon-2);
  background-image: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(34, 211, 238, 0.15));
}

.language-selector select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 15px var(--neon-1);
}

.language-selector option {
  background-color: var(--bg);
  color: var(--text);
}

.nav-links a{color:#e2e8f0;
    text-decoration:none;
    font-weight:600;
    opacity:0.9;
    transition: all 0.3s ease;
    position:relative;
    padding:5px 0;
}

.nav-links a::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transition: width 0.3s ease;
}

.nav-links a:hover{
    opacity:1;
    color:#fff;
}

.nav-links a:hover::after{
    width:100%;
}

.nav-toggle{display:none;
    background:none;
    border:0;
    cursor:pointer;
    padding:8px;
}

.nav-toggle .bar{display:block;
    width:24px;
    height:2px;
    background:#e2e8f0;
    margin:5px 0;
    transition: all 0.3s ease;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section with Animated Gradients */
.hero{
    position:relative;
    min-height:80vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    color:#fff;
}

.hero-static{
    background:
        radial-gradient(1500px 800px at 10% 10%, rgba(34,211,238,0.15), transparent 60%),
        radial-gradient(1000px 600px at 90% 30%, rgba(99,102,241,0.22), transparent 60%),
        radial-gradient(1200px 1200px at -10% 120%, rgba(99,102,241,0.12), transparent 60%),
        #0F172A;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Tech Grid Background */
.hero::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index:0;
    opacity:0.5;
}

/* Glowing Orbs */
.hero::after{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:500px;
    height:500px;
    background:radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius:50%;
    transform:translate(-50%, -50%);
    z-index:0;
    filter: blur(60px);
    animation: pulse 8s ease-in-out infinite;
}

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

.hero-content{position:relative;z-index:1;padding:80px 0;animation: fadeIn 1s ease-out}

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

.hero h1{font-size:64px;margin:0 0 16px;line-height:1.1;
    background:linear-gradient(135deg, #fff, #c7d2fe);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    font-weight:800;
    letter-spacing:-1px;
}

.hero .subtitle{font-size:20px;color:#cbd5e1;max-width:640px;line-height:1.6}

.badges{display:flex;gap:12px;margin:32px 0;flex-wrap:wrap}

.badge{background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.12);
    padding:8px 16px;
    border-radius:999px;
    font-size:13px;
    backdrop-filter: blur(5px);
    transition:all 0.3s ease;
    position:relative;
    overflow:hidden;
}

.badge::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition:all 0.6s ease;
}

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

.badge:hover{
    background:rgba(255,255,255,0.12);
    border-color:var(--accent);
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(34, 211, 238, 0.2);
}

.cta{display:flex;gap:16px;margin-top:24px}

/* Section Styles */
.section{padding:96px 0;color:#e2e8f0;position:relative}

.section::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:120px;
    height:4px;
    background:linear-gradient(90deg, var(--brand), var(--accent));
    border-radius:2px;
}

.section h2{color:#fff;margin:32px 0 32px;font-size:36px;position:relative;display:inline-block}

.section h2::after{
    content:"";
    position:absolute;
    bottom:-8px;
    left:0;
    width:60px;
    height:3px;
    background:linear-gradient(90deg, var(--brand), var(--accent));
    border-radius:1.5px;
}

.section .lead{color:#cbd5e1;font-size:18px;line-height:1.7;margin-bottom:40px}

/* Grid Layout */
.grid{display:grid;gap:24px}

.cards-4{grid-template-columns:repeat(4,1fr)}

.cards-3{grid-template-columns:repeat(3,1fr)}

.cards-2{grid-template-columns:repeat(2,1fr)}

/* Card Styles with Glassmorphism */
.card{
    background:linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border:1px solid rgba(255,255,255,0.08);
    border-radius:18px;
    padding:24px;
    box-shadow:0 8px 32px rgba(0,0,0,0.3);
    transition:all 0.3s ease;
    position:relative;
    backdrop-filter: blur(10px);
    overflow:hidden;
}

.card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(45deg, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
    transform:translateX(-100%);
    transition:transform 0.6s ease;
    z-index:0;
}

.card:hover::before{
    transform:translateX(100%);
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 40px rgba(0,0,0,0.4);
    border-color:var(--brand);
}

.card-content{position:relative;z-index:1}

.card h3{margin:0 0 12px;color:#fff;font-size:20px;transition:all 0.3s ease}

.card:hover h3{color:var(--accent)}

.card p{color:#cbd5e1;margin:0 0 16px;line-height:1.6}

.more{color:var(--brand);
    text-decoration:none;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    gap:4px;
    position:relative;
    transition:all 0.3s ease;
}

.more:hover{color:var(--accent);
    transform:translateX(4px);
}

.more::after{
    content:"→";
    transition:transform 0.3s ease;
}

.more:hover::after{
    transform:translateX(4px);
}

/* Lists */
.feature-list{margin:0;padding-left:18px;color:#cbd5e1}

.checklist{margin:0;padding-left:18px;color:#cbd5e1}

.checklist li,.feature-list li{margin:8px 0;position:relative;transition:all 0.3s ease}

.checklist li::marker,.feature-list li::marker{
    color:var(--accent);
    font-size:1.2em;
}

.checklist li:hover,.feature-list li:hover{
    color:#fff;
    transform:translateX(4px);
}

/* Slogan and Steps */
.slogan{color:#a7f3d0;font-weight:700;font-size:22px;margin-bottom:16px;display:block}

.steps{display:flex;gap:16px;flex-wrap:wrap;margin:32px 0;align-items:center}

.step{display:flex;align-items:center;gap:10px;
    background:linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border:1px solid rgba(255,255,255,0.1);
    padding:10px 16px;
    border-radius:999px;
    transition:all 0.3s ease;
    position:relative;
    overflow:hidden;
}

.step::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform:translateX(-100%);
    transition:all 0.6s ease;
}

.step:hover{
    transform:translateY(-3px);
    box-shadow:0 6px 16px rgba(0,0,0,0.3);
    border-color:var(--accent);
}

.step:hover::before{
    transform:translateX(100%);
}

.step span{display:inline-flex;
    align-items:center;
    justify-content:center;
    width:24px;
    height:24px;
    border-radius:50%;
    background:linear-gradient(135deg, var(--brand), var(--accent));
    color:#0F172A;
    font-size:14px;
    font-weight:800;
    transition:all 0.3s ease;
}

.step:hover span{
    transform:scale(1.1);
    box-shadow:0 0 12px var(--neon-2);
}

/* Button Styles with Neon Glow */
.btn{display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 24px;
    border-radius:16px;
    text-decoration:none;
    font-weight:800;
    letter-spacing:.3px;
    border:1px solid transparent;
    transition:all 0.3s ease;
    position:relative;
    overflow:hidden;
    z-index:1;
    text-transform:uppercase;
    font-size:14px;
}

.btn::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform:translateX(-100%);
    transition:transform 0.5s ease;
    z-index:-1;
}

.btn:hover::before{
    transform:translateX(100%);
}

.btn-primary{
    background:linear-gradient(135deg, var(--brand), var(--accent));
    color:#0F172A;
    border-color:transparent;
    box-shadow:0 0 0 rgba(99, 102, 241, 0.5);
}

.btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 0 20px var(--neon-1);
}

.btn-primary:active{
    transform:translateY(-1px);
}

.btn-ghost{
    background:transparent;
    border:2px solid rgba(255,255,255,0.18);
    color:#e2e8f0;
    position:relative;
    overflow:hidden;
}

.btn-ghost::after{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:0;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), transparent);
    transition:width 0.5s ease;
    z-index:-1;
}

.btn-ghost:hover{
    border-color:var(--accent);
    color:#fff;
    box-shadow:0 0 15px var(--neon-2);
}

.btn-ghost:hover::after{
    width:100%;
}

/* Contact Section */
.contact-info{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:24px;
}

.contact-info a{
    color:var(--accent);
    text-decoration:none;
    transition:all 0.3s ease;
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.contact-info a:hover{
    color:#fff;
    text-decoration:underline;
}

/* Modal Styles */
.modal-overlay{
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:rgba(0,0,0,0.85);
    backdrop-filter:blur(8px);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
    animation: fadeIn 0.3s ease-out;
}

.modal-content{
    background:linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    border:1px solid rgba(99, 102, 241, 0.3);
    border-radius:24px;
    padding:32px;
    max-width:520px;
    width:90%;
    max-height:80vh;
    overflow-y:auto;
    box-shadow:0 20px 80px rgba(0,0,0,0.5), 0 0 40px rgba(99, 102, 241, 0.2);
    position:relative;
    animation: slideUp 0.4s ease-out;
}

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

.modal-content::before{
    content:"";
    position:absolute;
    top:-1px;
    left:-1px;
    right:-1px;
    height:3px;
    background:linear-gradient(90deg, var(--brand), var(--accent));
    border-radius:24px 24px 0 0;
}

.modal-content h3{
    color:#fff;
    font-size:24px;
    margin:0 0 24px;
    text-align:center;
}

.modal-body{
    color:#cbd5e1;
    line-height:1.7;
    margin-bottom:24px;
}

.modal-body p{
    margin-bottom:16px;
}

.modal-body ul{
    margin:0 0 16px 20px;
    padding:0;
}

.modal-body li{
    margin-bottom:12px;
    position:relative;
    padding-left:8px;
}

.modal-actions{
    display:flex;
    gap:16px;
    justify-content:flex-end;
    flex-wrap:wrap;
}

.modal-actions .btn{
    flex:1;
    min-width:120px;
}

/* Footer Styles */
.site-footer{
    border-top:1px solid rgba(255,255,255,0.06);
    padding:48px 0 32px;
    color:#94a3b8;
    background-color:#0F172A;
    position:relative;
}

.site-footer::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:1px;
    background:linear-gradient(90deg, transparent, var(--brand), transparent);
}

.site-footer a{color:var(--accent);
    text-decoration:none;
    transition:all 0.3s ease;
}

.site-footer a:hover{color:#fff;
    text-decoration:underline;
}

.disclaimer{font-size:13px;
    color:#94a3b8;
    margin-top:16px;
    line-height:1.7;
    max-width:800px;
}

/* Responsive Design */
@media (max-width:1200px){
    .hero h1{font-size:56px}
    .cards-4{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:768px){
    .nav-toggle{display:block}
    
    .nav-links{
        position:absolute;
        right:24px;
        top:72px;
        background:linear-gradient(135deg, #1E293B, #0F172A);
        border:1px solid rgba(255,255,255,0.1);
        border-radius:16px;
        padding:16px;
        display:none;
        flex-direction:column;
        min-width:200px;
        box-shadow:0 8px 32px rgba(0,0,0,0.4);
        backdrop-filter: blur(12px);
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from { opacity:0; transform:translateY(-10px); }
        to { opacity:1; transform:translateY(0); }
    }
    
    .nav-links.show{display:flex}
    
    .hero h1{font-size:44px}
    
    .cards-3,.cards-2{grid-template-columns:1fr}
    
    .section h2{font-size:30px}
    
    .steps{flex-direction:column;
        align-items:stretch}
    
    .step{justify-content:center}
    
    .cta{flex-direction:column}
}

@media (max-width:480px){
    .container{padding:0 20px}
    
    .hero h1{font-size:36px}
    
    .hero .subtitle{font-size:16px}
    
    .section{padding:64px 0}
    
    .section h2{font-size:28px}
    
    .badge{padding:6px 12px;font-size:12px}
    
    .btn{padding:10px 20px;font-size:13px}
}
