/* 云手机 - video.hackrobot.cn 课程落地页风格 */ .root { min-height: 100vh; background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%); color: #1e293b; } .header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; max-width: 1100px; margin: 0 auto; } .logo { font-size: 1.25rem; font-weight: 700; color: #0f172a; text-decoration: none; } .logo:hover { color: #0284c7; } .backLink { font-size: 0.9rem; color: #64748b; text-decoration: none; } .backLink:hover { color: #0284c7; } /* Hero */ .hero { text-align: center; padding: 4rem 1.5rem 3rem; max-width: 800px; margin: 0 auto; } .heroTitle { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: #0f172a; margin: 0 0 1rem; letter-spacing: -0.02em; } .heroSubtitle { font-size: 1.1rem; color: #475569; margin: 0 0 2rem; line-height: 1.6; } .stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-bottom: 2rem; } .stat { text-align: center; } .statValue { display: block; font-size: 2rem; font-weight: 800; color: #0284c7; margin-bottom: 0.25rem; } .statLabel { font-size: 0.9rem; color: #64748b; } .ctaBtn { display: inline-block; padding: 0.9rem 2rem; font-size: 1rem; font-weight: 600; color: white; background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); border-radius: 9999px; text-decoration: none; box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4); transition: transform 0.15s, box-shadow 0.15s; } .ctaBtn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5); } /* Sections */ .section { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem; } .section h2 { font-size: 1.75rem; font-weight: 700; color: #0f172a; text-align: center; margin: 0 0 0.75rem; } .sectionDesc { text-align: center; color: #64748b; margin: 0 0 2rem; line-height: 1.6; } /* 这门课适合谁 */ .audienceGrid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.25rem; } @media (min-width: 640px) { .audienceGrid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1024px) { .audienceGrid { grid-template-columns: repeat(4, 1fr); } } .audienceCard { padding: 1.5rem; background: white; border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); border: 1px solid #f1f5f9; transition: box-shadow 0.2s, transform 0.2s; } .audienceCard:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); transform: translateY(-2px); } .audienceIcon { font-size: 2rem; display: block; margin-bottom: 0.75rem; } .audienceCard h3 { font-size: 1.05rem; font-weight: 600; color: #0f172a; margin: 0 0 0.5rem; } .audienceCard p { font-size: 0.9rem; color: #64748b; margin: 0; line-height: 1.5; } /* 学完你将获得 */ .benefitsList { display: flex; flex-direction: column; gap: 1rem; } .benefitItem { display: flex; gap: 1rem; padding: 1.25rem; background: white; border-radius: 12px; border: 1px solid #f1f5f9; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); } .benefitNum { flex-shrink: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); color: white; font-weight: 700; font-size: 1rem; border-radius: 10px; } .benefitItem h3 { font-size: 1.05rem; font-weight: 600; color: #0f172a; margin: 0 0 0.35rem; } .benefitItem p { font-size: 0.9rem; color: #64748b; margin: 0; line-height: 1.5; } /* 实战课程 - 复刻 video.hackrobot.cn 样式 */ .curriculum { display: flex; flex-direction: column; gap: 0.5rem; } .curriculumBlock { background: white; border-radius: 12px; border: 1px solid #e2e8f0; overflow: hidden; transition: box-shadow 0.2s, border-color 0.2s; } .curriculumBlock:hover { border-color: #cbd5e1; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); } .curriculumHeader { display: flex; align-items: center; gap: 0.5rem; padding: 1rem 1.25rem; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border-bottom: 1px solid #e2e8f0; cursor: default; } .curriculumHeaderIcon { font-size: 1rem; color: #0284c7; flex-shrink: 0; } .curriculumTitle { flex: 1; font-size: 1rem; font-weight: 600; color: #0f172a; margin: 0; } .curriculumCount { font-size: 0.8rem; font-weight: 500; color: #64748b; background: #e2e8f0; padding: 0.2rem 0.5rem; border-radius: 6px; } .curriculumList { margin: 0; padding: 0.5rem 0; list-style: none; } .curriculumItem { margin: 0; padding: 0; } .curriculumItemLink { display: flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.25rem; color: #334155; text-decoration: none; font-size: 0.95rem; transition: background 0.15s, color 0.15s; } .curriculumItemLink:hover { background: #f0f9ff; color: #0284c7; } .curriculumItemLink::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #cbd5e1; flex-shrink: 0; } .curriculumItemLink:hover::before { background: #0284c7; } .curriculumTryBadge { font-size: 0.75rem; color: #0284c7; margin-left: 0.25rem; flex-shrink: 0; } .curriculumArrow { margin-left: auto; font-size: 0.85rem; color: #94a3b8; } .curriculumItemLink:hover .curriculumArrow { color: #0284c7; } /* FAQ */ .faq { max-width: 600px; margin: 0 auto; } .faqItem { padding: 1rem 1.25rem; background: white; border-radius: 10px; border: 1px solid #e2e8f0; margin-bottom: 0.75rem; } .faqQ { font-size: 0.95rem; font-weight: 500; color: #334155; } /* CTA Section */ .ctaSection { text-align: center; padding: 4rem 1.5rem; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: white; } .ctaSection h2 { font-size: 1.5rem; font-weight: 700; color: white; margin: 0 0 0.5rem; } .ctaSection p { font-size: 1rem; color: #94a3b8; margin: 0 0 1rem; } .ctaFeatures { font-size: 0.9rem; color: #64748b; margin-bottom: 1.5rem; } .ctaSection .ctaBtn { background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%); } /* Footer */ .footer { text-align: center; padding: 2rem 1.5rem; border-top: 1px solid #e2e8f0; } .footer p { font-size: 0.9rem; color: #64748b; margin: 0 0 0.5rem; } .footer a { font-size: 0.85rem; color: #0284c7; text-decoration: none; } .footer a:hover { text-decoration: underline; }