/* ================================================
   快翻 VPN 官网
   ================================================ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;color:#1a1a2e;line-height:1.6;background:#fff;overflow-x:hidden}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
ul{list-style:none}
button{font-family:inherit;cursor:pointer}
.wrap{max-width:1180px;margin:0 auto;padding:0 28px}

/* ================================================
   HEADER
   ================================================ */
.header{position:fixed;top:0;left:0;right:0;height:70px;z-index:999;transition:background .3s,box-shadow .3s}
.header.scrolled{background:rgba(255,255,255,.97);backdrop-filter:blur(14px);box-shadow:0 1px 10px rgba(0,0,0,.06)}
.header-wrap{max-width:1180px;margin:0 auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;height:100%}

.brand{display:flex;align-items:center;gap:10px}
.brand-logo{width:36px;height:36px;flex-shrink:0}
.brand-logo-img{width:38px;height:38px;border-radius:10px;flex-shrink:0}
.brand-name{font-size:20px;font-weight:800;color:#fff;transition:color .3s}
.header.scrolled .brand-name{color:#1a1a2e}

.nav{display:flex;align-items:center;gap:4px}
.nav-link{padding:8px 16px;font-size:14px;font-weight:500;color:rgba(255,255,255,.8);border-radius:8px;transition:all .2s}
.nav-link:hover,.nav-link.active{color:#fff;background:rgba(255,255,255,.1)}
.header.scrolled .nav-link{color:#555}
.header.scrolled .nav-link:hover,.header.scrolled .nav-link.active{color:#1a1a2e;background:rgba(0,0,0,.04)}
.nav-cta{background:linear-gradient(135deg,#310BE8,#8200FF,#D703FF)!important;color:#fff!important;border-radius:50px!important;padding:9px 22px!important;font-weight:600!important;box-shadow:0 3px 12px rgba(130,0,255,.25)}
.nav-cta:hover{box-shadow:0 5px 20px rgba(130,0,255,.4);transform:translateY(-1px)}
.header.scrolled .nav-cta{color:#fff!important}

.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;padding:8px}
.hamburger span{display:block;width:22px;height:2.5px;background:#fff;border-radius:2px;transition:all .3s}
.header.scrolled .hamburger span{background:#1a1a2e}
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* ================================================
   HERO
   ================================================ */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;padding:100px 0 130px;background:linear-gradient(135deg,#310BE8 0%,#0027FE 35%,#8200FF 65%,#D703FF 100%);overflow:hidden}
.hero-bg{position:absolute;inset:0;pointer-events:none}
.hero-glow{position:absolute;border-radius:50%}
.g1{width:600px;height:600px;top:-10%;right:-5%;background:radial-gradient(circle,rgba(215,3,255,.2),transparent 70%)}
.g2{width:450px;height:450px;bottom:-15%;left:5%;background:radial-gradient(circle,rgba(49,11,232,.25),transparent 70%)}
.hero-particles{position:absolute;inset:0;background-image:radial-gradient(1.5px 1.5px at 10% 20%,rgba(255,255,255,.12),transparent),radial-gradient(1px 1px at 30% 60%,rgba(255,255,255,.08),transparent),radial-gradient(1.5px 1.5px at 55% 15%,rgba(255,255,255,.1),transparent),radial-gradient(1px 1px at 75% 45%,rgba(255,255,255,.06),transparent),radial-gradient(1.5px 1.5px at 85% 75%,rgba(255,255,255,.08),transparent)}

.hero-flex{position:relative;z-index:2;display:flex;align-items:center;gap:60px}
.hero-left{flex:1}
.hero-title{font-size:50px;font-weight:800;color:#fff;line-height:1.2;margin-bottom:16px}
.hero-sub{font-size:18px;color:rgba(255,255,255,.6);margin-bottom:40px}

/* 圆圈数据指标 */
.hero-circles{display:flex;gap:32px;margin-bottom:40px}
.circle-stat{display:flex;flex-direction:column;align-items:center;gap:10px}
.circle-ring{width:100px;height:100px;border-radius:50%;border:2.5px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);backdrop-filter:blur(6px)}
.circle-ring strong{font-size:32px;font-weight:800;color:#fff;line-height:1}
.circle-ring i{font-style:normal;font-size:16px;font-weight:700;color:rgba(255,255,255,.7)}
.circle-stat>span{font-size:13px;color:rgba(255,255,255,.5);font-weight:500}

.hero-btns{display:flex;gap:14px;flex-wrap:wrap}
.btn-main{display:inline-flex;align-items:center;gap:8px;padding:15px 36px;border-radius:50px;font-size:16px;font-weight:700;background:#fff;color:#310BE8;box-shadow:0 5px 22px rgba(255,255,255,.2);transition:all .3s;text-decoration:none}
.btn-main span{background:linear-gradient(135deg,#310BE8,#0027FE 35%,#8200FF 65%,#D703FF);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.btn-main:hover{box-shadow:0 8px 30px rgba(255,255,255,.35);transform:translateY(-2px)}
.btn-ghost{display:inline-flex;align-items:center;padding:15px 32px;border-radius:50px;font-size:16px;font-weight:600;background:#fff;color:#310BE8;box-shadow:0 5px 22px rgba(255,255,255,.2);transition:all .3s;text-decoration:none}
.btn-ghost span{background:linear-gradient(135deg,#310BE8,#0027FE 35%,#8200FF 65%,#D703FF);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.btn-ghost:hover{box-shadow:0 8px 30px rgba(255,255,255,.35);transform:translateY(-2px)}

.hero-right{flex:0 0 300px;position:relative;display:flex;justify-content:center}

.phone-frame{position:relative}
.phone-bezel{width:260px;background:#111;border-radius:36px;padding:10px;box-shadow:0 0 0 2px rgba(255,255,255,.08),0 25px 60px rgba(0,0,0,.5),0 0 100px rgba(130,0,255,.12)}
.phone-notch{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:85px;height:25px;background:#000;border-radius:0 0 14px 14px;z-index:3}
.phone-img{width:100%;border-radius:26px;display:block;position:relative;z-index:1}

.hero-wave{position:absolute;bottom:-1px;left:0;right:0;z-index:3}
.hero-wave svg{display:block;width:100%;height:80px}

/* ================================================
   功能区块
   ================================================ */
.sec{padding:90px 0}
.sec-alt{background:#f7f8fc}
.sec-row{display:flex;align-items:center;gap:70px}
.sec-row.reverse{flex-direction:row-reverse}

.sec-visual{flex:0 0 46%}
.feature-img{
    width:100%;
    border-radius:16px;
    transition:transform .4s ease;
}
.feature-img:hover{transform:scale(1.02)}

.sec-text{flex:1}
.sec-text h2{font-size:30px;font-weight:800;margin-bottom:16px;color:#1a1a2e;line-height:1.35}
.sec-text p{font-size:16px;line-height:1.9;color:#666}

/* ================================================
   下载
   ================================================ */
.download{padding:80px 0;background:linear-gradient(135deg,#310BE8 0%,#0027FE 35%,#8200FF 65%,#D703FF 100%);text-align:center}
.dl-title{font-size:30px;font-weight:800;color:#fff;margin-bottom:48px}
.dl-grid{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}
.dl-item{display:flex;flex-direction:column;align-items:center;gap:12px;width:150px;padding:30px 18px;border-radius:16px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(10px);transition:all .3s;color:#fff}
.dl-item:hover{background:rgba(255,255,255,.13);transform:translateY(-3px);box-shadow:0 8px 28px rgba(0,0,0,.2)}
.dl-icon{width:40px;height:40px;color:rgba(255,255,255,.8)}
.dl-icon svg{width:100%;height:100%}
.dl-item span{font-size:13px;font-weight:600;color:rgba(255,255,255,.85)}

/* ================================================
   FAQ
   ================================================ */
.faq{padding:80px 0;background:#f7f8fc}
.faq-title{font-size:30px;font-weight:800;text-align:center;margin-bottom:36px}
.faq-list{max-width:720px;margin:0 auto}
.faq-item{background:#fff;border-radius:12px;margin-bottom:10px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.03)}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;padding:18px 22px;font-size:15px;font-weight:600;color:#222;background:none;border:none;text-align:left;transition:color .2s}
.faq-q:hover{color:#8200FF}
.faq-arrow{width:18px;height:18px;position:relative;flex-shrink:0;transition:transform .3s}
.faq-arrow::before,.faq-arrow::after{content:'';position:absolute;top:50%;left:50%;width:8px;height:2px;background:#aaa;border-radius:1px;transition:all .3s}
.faq-arrow::before{transform:translate(-75%,-50%) rotate(35deg)}
.faq-arrow::after{transform:translate(-25%,-50%) rotate(-35deg)}
.faq-item.open .faq-arrow{transform:rotate(180deg)}
.faq-item.open .faq-arrow::before,.faq-item.open .faq-arrow::after{background:#8200FF}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s}
.faq-item.open .faq-a{max-height:180px}
.faq-a p{padding:0 22px 18px;font-size:14px;line-height:1.8;color:#666}

/* ================================================
   FOOTER
   ================================================ */
.footer{background:#1a0860;color:rgba(255,255,255,.55);padding-top:48px}
.footer-cols{display:flex;gap:60px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.06)}
.f-col h4{font-size:13px;font-weight:600;color:#fff;margin-bottom:14px;text-transform:uppercase;letter-spacing:.5px}
.f-col a{display:block;font-size:13px;color:rgba(255,255,255,.4);padding:3px 0;transition:color .2s}
.f-col a:hover{color:#fff}
.footer-bottom{padding:16px 0;text-align:center;font-size:12px;color:rgba(255,255,255,.2)}

/* ================================================
   ANIMATIONS
   ================================================ */
.anim-up{opacity:0;transform:translateY(35px);transition:opacity .7s ease,transform .7s ease}
.anim-up.show{opacity:1;transform:translateY(0)}
.d1{transition-delay:.1s}.d2{transition-delay:.2s}.d3{transition-delay:.35s}

.scroll-in{opacity:0;transform:translateY(30px);transition:opacity .6s ease,transform .6s ease}
.scroll-in.show{opacity:1;transform:translateY(0)}
.sec-row .scroll-in:nth-child(2){transition-delay:.12s}

/* 保底：JS 不执行时强制显示 */
@keyframes forceShow{to{opacity:1;transform:none}}
.scroll-in{animation:forceShow 0s 2s forwards}
.anim-up{animation:forceShow 0s 1s forwards}

/* ================================================
   RESPONSIVE - TABLET
   ================================================ */
@media(max-width:960px){
    .hero-flex{flex-direction:column;text-align:center;gap:40px}
    .hero-title{font-size:36px}
    .hero-circles{justify-content:center;gap:20px}
    .circle-ring{width:85px;height:85px}
    .circle-ring strong{font-size:26px}
    .hero-btns{justify-content:center}
    .hero-right{flex:none}
    .phone-bezel{width:210px;border-radius:30px;padding:8px}
    .phone-notch{width:70px;height:20px;border-radius:0 0 12px 12px}
    .phone-img{border-radius:22px}
    .sec-row,.sec-row.reverse{flex-direction:column;gap:40px;text-align:center}
    .sec-visual{flex:none;width:100%;max-width:480px;margin:0 auto}
    .footer-cols{flex-wrap:wrap;gap:28px}
}

/* ================================================
   RESPONSIVE - MOBILE
   ================================================ */
@media(max-width:640px){
    .header{height:58px}
    .hamburger{display:flex}
    .nav{position:fixed;top:0;right:-100%;width:78%;max-width:280px;height:100vh;flex-direction:column;align-items:stretch;gap:0;background:rgba(6,2,26,.98);backdrop-filter:blur(20px);padding:72px 18px 40px;transition:right .3s}
    .nav.open{right:0}
    .nav-link{padding:13px 14px;font-size:15px;color:rgba(255,255,255,.75)!important;border-radius:10px}
    .nav-link:hover{background:rgba(255,255,255,.07)!important}
    .hero{padding:90px 0 110px}
    .hero-title{font-size:28px}
    .hero-sub{font-size:15px}
    .hero-circles{gap:14px}
    .circle-ring{width:72px;height:72px}
    .circle-ring strong{font-size:22px}
    .circle-ring i{font-size:13px}
    .phone-bezel{width:180px;border-radius:26px;padding:7px}
    .phone-notch{width:60px;height:17px;border-radius:0 0 10px 10px}
    .phone-img{border-radius:19px}
    .sec{padding:55px 0}
    .sec-text h2{font-size:22px}
    .sec-text p{font-size:14px}
    .download{padding:55px 0}
    .dl-title{font-size:24px;margin-bottom:32px}
    .dl-item{width:130px;padding:22px 14px}
    .faq{padding:55px 0}
    .faq-title{font-size:24px}
    .footer-cols{flex-direction:column;gap:18px;text-align:center}
    .btn-main{padding:13px 28px;font-size:15px}
    .btn-ghost{padding:13px 24px;font-size:15px}
}
