/* ===== RESET & BASE ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:-apple-system,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;color:#333;background:#fff;line-height:1.6}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img{max-width:100%;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ===== HEADER ===== */
.header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(255,255,255,0.97);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid #f0f0f0;box-shadow:0 1px 0 rgba(0,0,0,0.04)}
.header .container{display:flex;align-items:center;justify-content:space-between;height:64px}
.header-logo{display:flex;align-items:center;gap:10px}
.header-logo img{height:40px;width:auto}
.header-logo-text{font-size:20px;font-weight:800;color:#333}
.header-logo-text em{font-style:normal;color:#ff6600}
.header-nav{display:flex;align-items:center;gap:6px}
.header-nav a{font-size:14px;color:#666;padding:6px 14px;border-radius:20px;transition:all 0.2s;font-weight:500}
.header-nav a:hover{color:#ff6600;background:#fff5ee}
.header-nav .nav-btn{background:#ff6600;color:#fff!important;font-weight:700;padding:8px 20px;margin-left:8px}
.header-nav .nav-btn:hover{background:#e65500}
.header-mobile-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;border:none;background:none;padding:8px}
.header-mobile-toggle span{display:block;width:22px;height:2px;background:#333;border-radius:2px;transition:all 0.3s}

/* ===== HERO ===== */
.hero{padding:100px 0 60px;background:linear-gradient(180deg,#fff 0%,#fff7f2 100%)}
.hero .container{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.hero-left{}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1.5px solid #ffe0c0;padding:6px 16px;border-radius:20px;font-size:13px;color:#ff6600;font-weight:600;margin-bottom:20px}
.hero-badge .dot{width:7px;height:7px;background:#22c55e;border-radius:50%;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.3}}
.hero h1{font-size:clamp(26px,4vw,40px);font-weight:800;line-height:1.25;color:#1a1a1a;margin-bottom:16px}
.hero h1 em{font-style:normal;color:#ff6600}
.hero-sub{font-size:16px;color:#666;line-height:1.8;margin-bottom:28px}
.hero-stats{display:flex;gap:32px;margin-bottom:32px;padding-bottom:28px;border-bottom:1px solid #f0f0f0}
.hero-stat{}
.hero-stat-num{font-size:24px;font-weight:800;color:#ff6600}
.hero-stat-label{font-size:13px;color:#999;margin-top:2px}
.hero-btns{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 28px;border-radius:8px;font-size:15px;font-weight:700;border:none;cursor:pointer;transition:all 0.25s;white-space:nowrap;text-decoration:none}
.btn-orange{background:linear-gradient(135deg,#ff6600,#ff8533);color:#fff;box-shadow:0 4px 16px rgba(255,102,0,0.3)}
.btn-orange:hover{transform:translateY(-2px);box-shadow:0 6px 24px rgba(255,102,0,0.4)}
.btn-outline{background:#fff;color:#ff6600;border:2px solid #ff6600}
.btn-outline:hover{background:#fff5ee}
.btn-icon{width:20px;height:20px;flex-shrink:0}

/* macOS Dropdown */
.mac-dropdown-wrapper{position:relative;display:inline-flex;align-items:center}
.mac-dropdown-btn{display:inline-flex;align-items:center;gap:8px}
.dropdown-arrow{width:14px;height:14px;transition:transform 0.3s}
.mac-dropdown-wrapper.active .dropdown-arrow{transform:rotate(180deg)}
.mac-dropdown-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:200px;background:#fff;border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,0.12);z-index:100;visibility:hidden;opacity:0;transform:translateY(-8px);transition:all 0.3s}
.mac-dropdown-wrapper.active .mac-dropdown-menu{visibility:visible;opacity:1;transform:translateY(0)}
.mac-dropdown-item{display:flex;align-items:center;gap:10px;padding:13px 18px;color:#333;font-size:14px;font-weight:500;transition:all 0.2s;border-bottom:1px solid #f0f0f0;text-decoration:none}
.mac-dropdown-item:last-child{border-bottom:none;border-radius:0 0 14px 14px}
.mac-dropdown-item:first-child{border-radius:14px 14px 0 0}
.mac-dropdown-item:hover{background:#fff5ee;color:#ff6600}
.mac-dropdown-icon{width:18px;height:18px;flex-shrink:0;color:#ff6600}

/* Hero Card */
.hero-right{display:flex;align-items:center;justify-content:center}
.hero-card{background:#fff;border-radius:20px;border:1.5px solid #ffe0c0;padding:28px;box-shadow:0 12px 48px rgba(255,102,0,0.08);width:100%;max-width:420px}
.hero-card-header{display:flex;align-items:center;gap:14px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #f0f0f0}
.hero-card-logo{width:48px;height:48px;border-radius:12px;object-fit:contain;flex-shrink:0}
.hero-card-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.hero-card-title{font-size:16px;font-weight:700;color:#1a1a1a}
.hero-card-status{display:flex;align-items:center;gap:6px;font-size:12px;color:#22c55e;font-weight:600}
.hero-card-status .dot{width:6px;height:6px;background:#22c55e;border-radius:50%;animation:pulse 2s infinite}
.hero-chat{display:flex;flex-direction:column;gap:12px}
.chat-msg{font-size:13px;line-height:1.7;border-radius:12px;padding:10px 14px;max-width:90%;word-break:break-all}
.chat-msg.user{background:#fff5ee;color:#333;align-self:flex-end;border-bottom-right-radius:4px}
.chat-msg.ai{background:#f8f8f8;color:#333;align-self:flex-start;border-bottom-left-radius:4px;border:1px solid #eee}
.chat-msg.ai::before{content:'🦞 '}

/* ===== SECTIONS ===== */
.section{padding:72px 0}
.section-title-wrap{text-align:center;margin-bottom:48px}
.section-tag{display:inline-block;background:#fff5ee;color:#ff6600;font-size:13px;font-weight:700;padding:5px 16px;border-radius:20px;margin-bottom:12px}
.section-title{font-size:clamp(24px,4vw,32px);font-weight:800;color:#1a1a1a;margin-bottom:10px}
.section-sub{font-size:15px;color:#888}

/* ===== STEPS ===== */
.steps-bg{background:#fff}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.step-card{background:#fff;border-radius:12px;padding:28px 24px;border:1.5px solid #f0f0f0;text-align:center;transition:all 0.3s}
.step-card:hover{border-color:#ffb380;box-shadow:0 4px 20px rgba(255,102,0,0.1);transform:translateY(-3px)}
.step-num{width:40px;height:40px;border-radius:50%;background:#ff6600;color:#fff;font-size:18px;font-weight:800;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.step-icon{font-size:40px;margin-bottom:12px}
.step-title{font-size:16px;font-weight:700;color:#1a1a1a;margin-bottom:8px}
.step-desc{font-size:14px;color:#888;line-height:1.7}
.step-time{display:inline-block;margin-top:12px;background:#fff5ee;color:#ff6600;font-size:12px;font-weight:600;padding:3px 12px;border-radius:20px}

/* ===== DEPLOY ===== */
.deploy-bg{background:#fafafa}
.deploy-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.deploy-item{background:#fff;border-radius:12px;padding:24px;border:1.5px solid #f0f0f0;display:flex;gap:16px;align-items:flex-start;transition:all 0.3s}
.deploy-item:hover{border-color:#ffb380;box-shadow:0 4px 16px rgba(255,102,0,0.08)}
.deploy-num{width:32px;height:32px;border-radius:8px;background:#ff6600;color:#fff;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.deploy-content h3{font-size:15px;font-weight:700;color:#1a1a1a;margin-bottom:6px}
.deploy-content p{font-size:13px;color:#888;line-height:1.7}
.code-block{background:#1a1a2e;border-radius:12px;padding:24px;margin-top:32px;overflow-x:auto}
.code-block pre{font-family:'Courier New',Courier,monospace;font-size:13px;color:#a8daff;line-height:1.9;white-space:pre;margin:0}
.code-block .cmt{color:#6b7280}
.code-block .cmd{color:#86efac}
.code-block .var{color:#fbbf24}

/* ===== WHY ===== */
.why-bg{background:#fff}
.why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.why-card{background:#fff;border-radius:12px;padding:28px;border:1.5px solid #f0f0f0;display:flex;gap:18px;align-items:flex-start;transition:all 0.3s}
.why-card:hover{border-color:#ffb380;box-shadow:0 4px 20px rgba(255,102,0,0.08);transform:translateY(-2px)}
.why-icon{font-size:36px;flex-shrink:0}
.why-content h3{font-size:17px;font-weight:700;color:#1a1a1a;margin-bottom:8px}
.why-content p{font-size:14px;color:#888;line-height:1.75}

/* ===== SKILLS ===== */
.skills-bg{background:#fafafa}
.skills-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.skill-card{background:#fff;border-radius:12px;padding:24px;border:1.5px solid #f0f0f0;transition:all 0.3s}
.skill-card:hover{border-color:#ffb380;box-shadow:0 4px 20px rgba(255,102,0,0.1);transform:translateY(-3px)}
.skill-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.skill-icon{font-size:36px}
.skill-badge{display:inline-block;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:700}
.skill-badge.hot{background:#fff0e6;color:#ff6600}
.skill-badge.rec{background:#e6f4ff;color:#0070f3}
.skill-badge.use{background:#f0fdf4;color:#16a34a}
.skill-title{font-size:16px;font-weight:700;color:#1a1a1a;margin-bottom:10px}
.skill-desc{font-size:13px;color:#888;line-height:1.7;margin-bottom:14px}
.skill-tags{display:flex;flex-wrap:wrap;gap:6px}
.skill-tag{display:inline-block;background:#f5f5f5;color:#666;font-size:12px;padding:3px 10px;border-radius:20px}

/* ===== CHANNELS ===== */
.channels-bg{background:#fff}
.channels-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.channel-card{background:#fff;border-radius:12px;padding:28px 20px;text-align:center;border:1.5px solid #f0f0f0;transition:all 0.3s}
.channel-card:hover{border-color:#ffb380;box-shadow:0 4px 20px rgba(255,102,0,0.1);transform:translateY(-3px)}
.channel-icon{font-size:48px;margin-bottom:14px}
.channel-name{font-size:17px;font-weight:700;color:#1a1a1a;margin-bottom:8px}
.channel-desc{font-size:13px;color:#888;line-height:1.7;margin-bottom:14px}
.channel-status{display:inline-block;padding:4px 14px;border-radius:20px;font-size:12px;font-weight:700}
.channel-status.ok{background:#dcfce7;color:#16a34a}
.channel-status.wait{background:#fef3c7;color:#d97706}

/* ===== FOOTER ===== */
.footer{background:#1a1a2e;color:rgba(255,255,255,0.5);padding:48px 0 28px}
.footer-grid{display:flex;justify-content:space-between;flex-wrap:wrap;gap:32px;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,0.08);margin-bottom:24px}
.footer-brand p{font-size:13px;margin-top:12px;max-width:280px;line-height:1.8;color:rgba(255,255,255,0.4)}
.footer-links{display:flex;gap:48px;flex-wrap:wrap}
.footer-links-group h4{color:rgba(255,255,255,0.85);font-size:14px;font-weight:700;margin-bottom:14px}
.footer-links-group a{display:block;color:rgba(255,255,255,0.4);font-size:13px;margin-bottom:8px;transition:color 0.2s}
.footer-links-group a:hover{color:#ff8533}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px}

/* ===== BACK TOP ===== */
.back-top{position:fixed;bottom:24px;right:24px;width:40px;height:40px;background:#ff6600;color:#fff;border:none;border-radius:50%;font-size:18px;cursor:pointer;display:none;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(255,102,0,0.4);z-index:999;transition:all 0.3s;text-decoration:none}
.back-top:hover{background:#e65500;transform:translateY(-2px)}
.back-top.show{display:flex}

/* ===== RESPONSIVE ===== */
@media(max-width:960px){
.hero .container{grid-template-columns:1fr;gap:40px}
.hero-right{display:none}
.steps-grid{grid-template-columns:1fr}
.skills-grid{grid-template-columns:repeat(2,1fr)}
.channels-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
.header-nav{display:none}
.header-nav.open{display:flex;flex-direction:column;position:absolute;top:64px;left:0;right:0;background:#fff;padding:16px 20px 24px;border-bottom:1px solid #f0f0f0;box-shadow:0 8px 24px rgba(0,0,0,0.08)}
.header-nav.open a{padding:10px 14px;border-radius:8px}
.header-mobile-toggle{display:flex}
.hero{padding:90px 0 50px}
.hero-stats{gap:24px}
.section{padding:50px 0}
.why-grid{grid-template-columns:1fr}
.deploy-grid{grid-template-columns:1fr}
.skills-grid{grid-template-columns:1fr}
.channels-grid{grid-template-columns:repeat(2,1fr)}
.footer-grid{flex-direction:column}
.footer-links{gap:24px}
.footer-bottom{flex-direction:column;text-align:center}
.deploy-list li{gap:14px;padding:18px 0}
.deploy-icon{width:42px;height:42px;font-size:20px}
.deploy-content h4{font-size:16px}
.deploy-image{padding:16px;border-radius:14px}
.deploy-image pre{padding:16px;font-size:12px;line-height:1.6}
}
@media(max-width:480px){
.channels-grid{grid-template-columns:1fr}
.hero-btns{flex-direction:column;align-items:stretch}
.hero-btns .btn,.mac-dropdown-wrapper{width:100%}
.hero-btns .btn{justify-content:center}
.mac-dropdown-menu{min-width:100%}
.hero-stats{gap:20px}
}
