/* open.css - 开放平台页面专属CSS */

/* Hero 区域 */
.op-hero{padding:120px 20px 80px;background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%);color:#fff;text-align:center;position:relative;overflow:hidden}
.op-hero::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-image:radial-gradient(circle at 20% 50%,rgba(0,0,153,.15) 0%,transparent 50%),radial-gradient(circle at 80% 80%,rgba(255,215,0,.08) 0%,transparent 50%)}
.op-hero-content{position:relative;z-index:1;max-width:800px;margin:0 auto}
.op-hero-badge{display:inline-block;padding:4px 16px;background:rgba(255,215,0,.15);border:1px solid rgba(255,215,0,.3);border-radius:20px;font-size:13px;color:var(--gold);margin-bottom:12px}
.op-free-badge{display:inline-block;padding:4px 16px;background:rgba(0,200,83,.2);border:1px solid rgba(0,200,83,.5);border-radius:20px;font-size:13px;color:#00e676;margin-bottom:24px;margin-left:8px}
.op-hero h1{font-size:48px;font-weight:700;margin-bottom:16px;line-height:1.2}
.op-hero h1 .highlight{color:var(--gold)}
.op-hero p{font-size:20px;color:rgba(255,255,255,.8);margin-bottom:32px;line-height:1.6}

/* Feature 区域 */
.op-feature-section{padding:80px 20px;max-width:1000px;margin:0 auto}
.op-feature-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:48px;box-shadow:0 4px 20px rgba(0,0,0,.06);text-align:center}
.op-feature-card .op-icon{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,var(--primary),#0f3460);display:flex;align-items:center;justify-content:center;margin:0 auto 24px;font-size:32px}
.op-feature-card h2{font-size:28px;font-weight:700;color:var(--dark);margin-bottom:16px}
.op-feature-card p{font-size:17px;color:#555;line-height:1.8;max-width:700px;margin:0 auto}
.op-feature-card .op-quote{font-size:18px;color:var(--primary);font-weight:600;margin-top:16px;font-style:italic}
.op-free-tag{display:inline-block;margin-top:20px;padding:8px 24px;background:linear-gradient(135deg,#00c853,#00e676);color:#fff;font-size:16px;font-weight:600;border-radius:8px;box-shadow:0 4px 12px rgba(0,200,83,.3)}

/* Steps 区域 */
.op-steps-section{background:var(--light);padding:80px 20px}
.op-steps-content{max-width:1000px;margin:0 auto}
.op-steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-top:48px}
.op-step-card{background:#fff;border-radius:12px;padding:32px;position:relative;transition:all .3s;border:2px solid transparent}
.op-step-card:hover{border-color:var(--primary);box-shadow:0 8px 30px rgba(0,0,153,.1);transform:translateY(-4px)}
.op-step-number{width:48px;height:48px;border-radius:50%;background:var(--primary);color:#fff;font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.op-step-card h4{font-size:17px;font-weight:600;color:var(--dark);margin-bottom:8px;line-height:1.5}
.op-step-card p{font-size:14px;color:var(--gray);line-height:1.6}

/* Reassurance 区域 */
.op-reassurance{padding:80px 20px;max-width:800px;margin:0 auto;text-align:center}
.op-reassurance-icon{font-size:48px;margin-bottom:24px}
.op-reassurance h2{font-size:28px;font-weight:700;color:var(--dark);margin-bottom:24px}
.op-reassurance p{font-size:18px;color:#555;line-height:1.8}
.op-reassurance .op-reassurance-list{display:flex;justify-content:center;gap:32px;margin-top:32px;flex-wrap:wrap}
.op-reassurance-item{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--gray)}
.op-reassurance-item .check{width:24px;height:24px;border-radius:50%;background:#e6f4ea;color:#137333;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0}

/* Code Example 区域 */
.op-code-section{background:var(--dark);color:#fff;padding:80px 20px}
.op-code-content{max-width:900px;margin:0 auto;text-align:center}
.op-code-content h2{font-size:32px;margin-bottom:16px}
.op-code-content>p{font-size:17px;color:rgba(255,255,255,.7);margin-bottom:40px}
.op-code-wrapper{position:relative;margin-top:20px}
.op-code-block{background:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:24px 24px 24px 24px;text-align:left;font-family:'Courier New',monospace;font-size:14px;color:rgba(255,255,255,.9);line-height:1.8;overflow-x:auto}
.op-code-block .op-code-label{display:inline-block;background:var(--gold);color:var(--dark);padding:4px 14px;border-radius:4px 4px 0 0;font-size:12px;font-weight:600;margin-bottom:12px;letter-spacing:1px}
.op-code-block .op-code-comment{color:rgba(255,255,255,.4)}

/* CTA 区域 */
.op-cta{padding:64px 20px;text-align:center;background:linear-gradient(135deg,var(--primary),#0f3460);color:#fff}
.op-cta h2{font-size:28px;margin-bottom:16px}
.op-cta p{font-size:16px;color:rgba(255,255,255,.8);margin-bottom:32px}
.op-cta-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.op-cta-actions .btn{padding:12px 36px;font-size:16px}
.op-cta-actions .btn-primary{background:var(--gold);color:var(--dark)}
.op-cta-actions .btn-primary:hover{background:#e6c300}
.op-cta-actions .btn-outline{color:#fff;border-color:rgba(255,255,255,.3)}
.op-cta-actions .btn-outline:hover{background:rgba(255,255,255,.1)}

/* 响应式 */
@media(max-width:768px){
    .op-hero{padding:100px 20px 60px}
    .op-hero h1{font-size:32px}
    .op-hero p{font-size:16px}
    .op-free-badge{display:block;margin-left:0;margin-bottom:16px}
    .op-feature-section{padding:48px 20px}
    .op-feature-card{padding:32px 24px}
    .op-feature-card h2{font-size:24px}
    .op-steps-section{padding:48px 20px}
    .op-steps-grid{grid-template-columns:1fr;gap:16px}
    .op-step-card{padding:24px}
    .op-reassurance{padding:48px 20px}
    .op-reassurance h2{font-size:24px}
    .op-reassurance .op-reassurance-list{gap:16px}
    .op-code-section{padding:48px 20px}
    .op-code-content h2{font-size:24px}
    .op-cta{padding:48px 20px}
    .op-cta h2{font-size:24px}
}
