* { margin: 0; padding: 0; box-sizing: border-box; } :root { --orange: #FF6B35; --orange-light: #FF8F5E; --orange-dark: #E85A24; --blue: #4A6CF7; --blue-light: #6B8CFF; --purple: #7C5CFC; --dark: #1A1A2E; --text: #333; --text-light: #666; --bg: #F5F7FA; --white: #fff; --shadow: 0 4px 24px rgba(0,0,0,0.08); --shadow-lg: 0 12px 40px rgba(0,0,0,0.12); } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; } /* ====== Hero ====== */ .hero { background: linear-gradient(135deg, #FF6B35 0%, #FF8F5E 40%, #FFB347 100%); color: white; padding: 60px 24px 80px; text-align: center; position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 30px 30px; animation: heroPattern 20s linear infinite; } @keyframes heroPattern { from { transform: translate(0, 0); } to { transform: translate(30px, 30px); } } .hero-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; } .hero-badge { display: inline-block; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); padding: 6px 20px; border-radius: 20px; font-size: 14px; margin-bottom: 20px; letter-spacing: 1px; } .hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,0.1); } .hero .subtitle { font-size: 18px; opacity: 0.95; margin-bottom: 28px; } .hero-stats { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; } .hero-stat { text-align: center; } .hero-stat .num { font-size: 36px; font-weight: 800; } .hero-stat .label { font-size: 13px; opacity: 0.85; margin-top: 2px; } /* ====== Sections ====== */ .section { max-width: 800px; margin: 0 auto; padding: 48px 20px; } .section-header { text-align: center; margin-bottom: 36px; } .section-header h2 { font-size: 26px; font-weight: 700; color: var(--dark); margin-bottom: 8px; } .section-header p { color: var(--text-light); font-size: 15px; } /* ====== Info Cards ====== */ .info-grid { display: grid; grid-template-columns: 1fr; gap: 16px; } .info-card { background: var(--white); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start; transition: transform 0.3s; } .info-card:hover { transform: translateY(-2px); } .info-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; } .info-icon.orange { background: #FFF0E8; } .info-icon.blue { background: #EEF2FF; } .info-icon.purple { background: #F3EEFF; } .info-icon.green { background: #E8F9EF; } .info-card h3 { font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 6px; } .info-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; } /* ====== Timeline ====== */ .period-section { background: var(--white); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; } .period-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 10px; margin-bottom: 10px; } .period-badge.orange { background: #FFF0E8; color: var(--orange); } .period-badge.blue { background: #EEF2FF; color: var(--blue); } .period-section h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 6px; } .period-info { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.7; } /* ====== Registration Input ====== */ .reg-input-row { display: flex; gap: 10px; align-items: center; margin-top: 12px; } .reg-input { flex: 1; padding: 10px 14px; border: 2px solid #e8e8e8; border-radius: 10px; font-size: 14px; outline: none; transition: border-color 0.3s; } .reg-input:focus { border-color: var(--orange); } .reg-input::placeholder { color: #bbb; } .reg-btn { padding: 10px 20px; border: none; border-radius: 10px; font-size: 14px; font-weight: 700; color: white; cursor: pointer; white-space: nowrap; transition: transform 0.2s, opacity 0.2s; } .reg-btn:hover { transform: scale(1.03); } .reg-btn:active { transform: scale(0.97); } .reg-btn.orange { background: var(--orange); } .reg-btn.blue { background: var(--blue); } /* ====== Exam Info ====== */ .exam-card { background: linear-gradient(135deg, var(--dark) 0%, #2D2D5E 100%); color: white; border-radius: 20px; padding: 32px 28px; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; } .exam-card::after { content: ''; position: absolute; top: -40%; right: -20%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,107,53,0.15), transparent); border-radius: 50%; } .exam-card h3 { font-size: 15px; opacity: 0.7; margin-bottom: 8px; letter-spacing: 2px; position: relative; z-index: 2; } .exam-date { font-size: 38px; font-weight: 800; margin-bottom: 6px; position: relative; z-index: 2; background: linear-gradient(135deg, #FF6B35, #FFB347); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .exam-note { font-size: 14px; opacity: 0.6; position: relative; z-index: 2; } /* ====== Value Cards ====== */ .value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .value-card { background: var(--white); border-radius: 16px; padding: 22px 18px; text-align: center; box-shadow: var(--shadow); transition: transform 0.3s; } .value-card:hover { transform: translateY(-3px); } .value-emoji { font-size: 36px; margin-bottom: 10px; } .value-card h3 { font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 6px; } .value-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; } /* ====== Highlights ====== */ .highlight-strip { background: linear-gradient(135deg, #FFF8E1, #FFF3E0); border-radius: 16px; padding: 20px 24px; border-left: 5px solid #FFB347; margin: 20px 0; } .highlight-strip p { font-size: 14px; color: #8B6914; line-height: 1.7; } .highlight-strip strong { color: #E85A24; } /* ====== Fee Section ====== */ .fee-table { width: 100%; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); } .fee-row { display: flex; align-items: center; padding: 18px 24px; border-bottom: 1px solid #f0f0f0; } .fee-row:last-child { border-bottom: none; } .fee-label { flex: 1; font-size: 15px; color: var(--text); } .fee-value { font-size: 16px; font-weight: 700; color: var(--orange); } /* ====== FAQ ====== */ .faq-item { background: var(--white); border-radius: 14px; margin-bottom: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); overflow: hidden; } .faq-q { padding: 18px 24px; font-size: 15px; font-weight: 600; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; transition: background 0.2s; } .faq-q:hover { background: #f8f9fa; } .faq-q .arrow { font-size: 12px; color: #999; transition: transform 0.3s; } .faq-item.open .faq-q .arrow { transform: rotate(180deg); } .faq-a { display: none; padding: 0 24px 18px; font-size: 14px; color: var(--text-light); line-height: 1.8; } .faq-item.open .faq-a { display: block; } /* ====== CTA ====== */ .cta-section { text-align: center; padding: 48px 20px 24px; max-width: 800px; margin: 0 auto; } .cta-box { background: linear-gradient(135deg, #FF6B35, #FF8F5E, #FFB347); border-radius: 20px; padding: 40px 28px; color: white; box-shadow: 0 8px 32px rgba(255,107,53,0.3); } .cta-box h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; } .cta-box p { font-size: 15px; opacity: 0.95; margin-bottom: 24px; line-height: 1.7; } .cta-btn { display: inline-block; background: white; color: var(--orange); padding: 14px 40px; border-radius: 30px; font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,0.15); transition: transform 0.3s, box-shadow 0.3s; } .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); } /* ====== Countdown ====== */ .countdown-section { background: var(--dark); color: white; padding: 36px 20px; text-align: center; } .countdown-title { font-size: 14px; opacity: 0.6; letter-spacing: 3px; margin-bottom: 16px; } .countdown-boxes { display: flex; justify-content: center; gap: 12px; } .countdown-box { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 16px 20px; min-width: 72px; } .countdown-box .num { font-size: 32px; font-weight: 800; color: var(--orange-light); } .countdown-box .unit { font-size: 12px; opacity: 0.5; margin-top: 2px; } /* ====== Footer ====== */ .footer { text-align: center; padding: 32px 20px; color: #aaa; font-size: 13px; } /* ====== Modal ====== */ .modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); z-index: 1000; justify-content: center; align-items: center; } .modal-overlay.show { display: flex; } .modal { background: white; border-radius: 20px; padding: 32px; width: 90%; max-width: 380px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.2); } .modal h3 { font-size: 20px; margin-bottom: 6px; color: var(--dark); } .modal .modal-period { font-size: 14px; color: var(--orange); font-weight: 600; margin-bottom: 20px; } .modal-input { width: 100%; padding: 12px 16px; border: 2px solid #e8e8e8; border-radius: 12px; font-size: 16px; outline: none; transition: border-color 0.3s; box-sizing: border-box; text-align: center; } .modal-input:focus { border-color: var(--orange); } .modal-select { width: 100%; padding: 12px 16px; border: 2px solid #e8e8e8; border-radius: 12px; font-size: 16px; outline: none; background: white; color: #999; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; box-sizing: border-box; } .modal-select:focus { border-color: var(--orange); } .modal-select.has-value { color: #333; } .modal-submit { width: 100%; padding: 14px; background: var(--orange); color: white; border: none; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 14px; transition: background 0.2s; } .modal-submit:hover { background: var(--orange-dark); } .modal-submit:disabled { background: #ccc; cursor: default; } .modal-cancel { background: none; border: none; color: #999; font-size: 14px; margin-top: 12px; cursor: pointer; } .modal-cancel:hover { color: #666; } /* ====== Toast ====== */ .toast { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.85); background: rgba(0,0,0,0.82); color: #fff; padding: 28px 36px; border-radius: 18px; font-size: 15px; line-height: 1.8; text-align: center; z-index: 2000; opacity: 0; transition: opacity 0.3s, transform 0.3s; max-width: 340px; box-shadow: 0 12px 40px rgba(0,0,0,0.25); pointer-events: none; white-space: pre-line; } .toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); } /* ====== Animations ====== */ .fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; } .fade-up.visible { opacity: 1; transform: translateY(0); } /* ====== Mobile ====== */ @media (max-width: 640px) { .hero { padding: 48px 20px 64px; } .hero h1 { font-size: 26px; } .hero .subtitle { font-size: 15px; } .hero-stats { gap: 20px; } .hero-stat .num { font-size: 28px; } .section { padding: 36px 16px; } .section-header h2 { font-size: 22px; } .value-grid { grid-template-columns: 1fr; } .exam-date { font-size: 30px; } .countdown-boxes { gap: 8px; } .countdown-box { padding: 12px 16px; min-width: 60px; } .countdown-box .num { font-size: 26px; } }