:root{ --brand: #5e63ae; --brand-dark: #083a65; --accent: #f05a28; --text: #0f172a; --muted: #64748b; --card: #ffffff; --line: rgba(15,23,42,.10); --radius: 14px; --main-color:#5e63ae } html, body{ height: 100%; margin: 0; } body{ min-height: 100vh; font-family: "Microsoft YaHei","PingFang SC",system-ui,-apple-system,Segoe UI,Roboto,Arial; color: var(--text); background: #fff; display: flex; flex-direction: column; } .brand-wrap{ display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; } .brand-badge{ width:34px; height:34px; border-radius:50%; background: rgba(255,255,255,.18); display:flex; align-items:center; justify-content:center; border: 1px solid rgba(255,255,255,.28); } .brand-title{ font-weight:700; letter-spacing:.2px; line-height:1.1; } .brand-sub{ font-size:12px; opacity:.85; } .navbar .nav-link{ color: rgba(255,255,255,.88); } .navbar .nav-link:hover{ color:#fff; } .lang-btn{ border: 1px solid rgba(255,255,255,.35) !important; color:#fff !important; background: rgba(255,255,255,.08) !important; } /* 防止品牌文字把右侧挤下去 */ .brand-wrap{ display:flex; align-items:center; gap:10px; min-width:0; } .brand-title,.brand-sub{ white-space:nowrap; } /* ===== Hero ===== */ .hero{ position: relative; min-height: clamp(360px, 54vh, 560px); padding: clamp(40px, 6vh, 72px) 0 clamp(28px, 4.5vh, 56px); background: url("../image/mysbg.png") center top / cover no-repeat; display:flex; align-items:stretch; overflow: hidden; } .hero .container{ position:relative; z-index:1; display:flex; align-items:center; justify-content:center; } .hero-card{ width: min(480px, 90vw); margin: 0 auto; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.66); border-radius: 20px; box-shadow: 0 24px 50px rgba(2,6,23,.24); padding: 24px 24px 20px; backdrop-filter: blur(14px); text-align: center; } .hero-card h1{ font-size: clamp(28px, 3vw, 44px); font-weight: 800; margin: 0 0 10px 0; letter-spacing: .2px; line-height: 1.15; } .hero-card p{ margin: 0 0 18px 0; color: rgba(15,23,42,.80); line-height:1.7; font-size: 15px; text-wrap: balance; } .btn-primary-brand{ --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark); --bs-btn-padding-x: 18px; --bs-btn-padding-y: 10px; border-radius: 10px; font-weight: 700; } @media (min-width: 1600px){ .hero{ min-height: 660px; background-position: center 14%; } } @media (min-width: 1200px) and (max-width: 1599.98px){ .hero{ min-height: 540px; background-position: center 10%; } } @media (min-width: 992px) and (max-width: 1199.98px){ .hero{ min-height: 500px; background-position: 50% 8%; } } @media (max-width: 991.98px){ .hero{ min-height: 380px; padding: 34px 0 24px; background-position: 52% top; } .hero-card{ width: min(440px, 92vw); padding: 20px 18px 18px; border-radius: 18px; } .hero-card p{ font-size: 14px; margin-bottom: 16px; } } @media (max-width: 575.98px){ .hero{ min-height: 340px; padding: 24px 0 16px; background-position: 56% top; } .hero-card{ width: calc(100vw - 28px); padding: 18px 16px 16px; border-radius: 16px; } .hero-card h1{ font-size: 24px; } } /* ===== Notice ===== */ .notice{ padding: 14px 0; border-bottom: 1px solid var(--line); } .notice .tip-title{ color: #dc2626; font-weight: 800; margin-right: 6px; } .notice p{ margin:0; color: rgba(15,23,42,.70); font-size: 13px; line-height: 1.7; } /* ===== Section common ===== */ .section{ padding: 44px 0; } .section-title{ text-align:center; font-size: 18px; font-weight: 900; color: var(--brand); margin-bottom: 18px; } /* ===== Flow ===== */ .flow-wrap{ border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 22px 18px; } .flow-step{ text-align:center; padding: 8px 10px; } .flow-ico{ width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 14px; background: rgba(11,95,168,.08); border: 1px solid rgba(11,95,168,.18); display:flex; align-items:center; justify-content:center; color: var(--brand); font-size: 26px; } .flow-step h6{ margin:0 0 6px 0; font-weight: 900; } .flow-step p{ margin:0; color: var(--muted); font-size: 13px; } .flow-arrow{ display:flex; align-items:center; justify-content:center; color: rgba(15,23,42,.25); font-size: 24px; } @media (max-width: 767px){ .flow-arrow{ display:none; } } .brand-badge-logo{ width: 32px; height: 32px; background: url("../image/tdac_icon.png") center/contain no-repeat; } /* ===== Intro ===== */ .intro-card{ border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; background: #fff; } .intro-card h2{ font-size: 26px; font-weight: 900; color: var(--brand); margin: 4px 0 10px 0; } .intro-card p{ color: rgba(15,23,42,.72); line-height: 1.8; font-size: 14px; margin-bottom: 10px; } .btn-outline-brand{ border: 1px solid rgba(11,95,168,.30); color: var(--brand); font-weight: 800; border-radius: 10px; padding: 10px 16px; } .btn-outline-brand:hover{ background: rgba(11,95,168,.08); color: var(--brand-dark); border-color: rgba(11,95,168,.42); } /* ===== Why us ===== */ .why-title{ text-align:center; font-size: 22px; font-weight: 1000; margin: 6px 0 4px; } .why-sub{ text-align:center; color: var(--muted); margin-bottom: 18px; font-size: 13px; } .feature{ background: #f8fafc; border: 1px solid rgba(15,23,42,.06); border-radius: var(--radius); padding: 18px 16px; height: 100%; } .feature .fi{ width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid rgba(15,23,42,.08); display:flex; align-items:center; justify-content:center; margin: 0 auto 10px; color: rgba(15,23,42,.70); font-size: 20px; } .feature h6{ text-align:center; font-weight: 900; margin: 0 0 6px; } .feature p{ text-align:center; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; } /* ===== 新增:套餐模块 ===== */ .plan{ border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px 16px; height: 100%; } .plan .tag{ display:inline-block; font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(11,95,168,.18); background: rgba(11,95,168,.08); color: rgba(15,23,42,.72); margin-bottom: 10px; } .plan h5{ font-weight: 1000; margin: 0 0 6px; } .plan .meta{ color: rgba(15,23,42,.60); font-size: 13px; } .plan ul{ margin: 10px 0 0; padding-left: 18px; color: rgba(15,23,42,.72); font-size: 13px; line-height: 1.85; } .btn-accent{ background: var(--accent); border-color: var(--accent); font-weight: 900; border-radius: 12px; padding: 12px 26px; box-shadow: 0 12px 28px rgba(240,90,40,.30); } .btn-accent:hover{ filter: brightness(.95); } /* ===== 新增:FAQ ===== */ .accordion-item{ border: 1px solid rgba(15,23,42,.10); border-radius: 16px !important; overflow:hidden; background:#fff; margin-bottom: 10px; } .accordion-button{ font-weight: 900; } .accordion-button:not(.collapsed){ background: rgba(11,95,168,.08); color: var(--brand-dark); } /* ===== Dark section ===== */ .dark-section{ background: var(--brand-dark); color: rgba(255,255,255,.88); padding: 54px 0; } .dark-section h3{ text-align:center; font-weight: 1000; margin: 0 0 12px; font-size: 26px; color:#fff; } .dark-section p{ text-align:center; margin: 0 auto; max-width: 980px; line-height: 1.9; font-size: 14px; color: rgba(255,255,255,.78); } /* ===== Footer ===== */ footer{ margin-top: auto; flex-shrink: 0; background: #0b1220; color: rgba(255,255,255,.75); padding: 26px 0 18px; font-size: 12px; } footer a{ color: rgba(255,255,255,.78); text-decoration:none; } footer a:hover{ color:#fff; text-decoration:underline; } .footer-divider{ height:1px; background: rgba(255,255,255,.10); margin: 14px 0; } /* ===== 新增:悬浮客服按钮 ===== */ .float-help{ position: fixed; right: 8px; bottom: 18px; z-index: 2000; display:flex; align-items: flex-end; flex-direction: column; gap: 10px; } .float-btn{ width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(15,23,42,.12); background: #fff; box-shadow: 0 14px 30px rgba(2,6,23,.12); display:flex; align-items:center; justify-content:center; color: rgba(15,23,42,.75); } .float-btn:hover{ color: var(--brand); border-color: rgba(11,95,168,.25); } .float-phone{ gap: 8px; overflow: hidden; white-space: nowrap; transition: width .2s ease, padding .2s ease; } .float-phone .float-phone-text{ max-width: 0; opacity: 0; overflow: hidden; transition: max-width .2s ease, opacity .2s ease; } .float-phone:hover{ width: auto; min-width: 46px; padding: 0 14px; } .float-phone:hover .float-phone-text{ max-width: 180px; opacity: 1; } /* ===== Flow Stepper v2 ===== */ .flow2{ border: 1px solid var(--line); border-radius: var(--radius); background:#fff; padding: 22px; } .flow2 .step{ display:flex; gap:14px; position:relative; padding: 10px 0; } .flow2 .step:not(:last-child)::after{ content:""; position:absolute; left: 18px; top: 52px; bottom: -6px; width:2px; background: rgba(11,95,168,.18); } .flow2 .badge-num{ width: 38px; height: 38px; border-radius: 14px; background: rgba(11,95,168,.10); border:1px solid rgba(11,95,168,.20); display:flex; align-items:center; justify-content:center; font-weight: 900; color: var(--brand); flex: 0 0 38px; } .flow2 .step h6{ margin: 2px 0 6px; font-weight: 900; } .flow2 .step p{ margin:0; color: rgba(15,23,42,.70); font-size: 13px; line-height:1.8; } .flow2-side{ border: 1px dashed rgba(11,95,168,.28); border-radius: var(--radius); padding: 16px 16px 14px; background: rgba(11,95,168,.04); height:100%; } .flow2-side .k{ font-weight: 900; margin-bottom: 8px; } .flow2-side .i{ font-size: 13px; color: rgba(15,23,42,.70); line-height: 1.9; } /* ===== Intro v2: 信息块更像官网 ===== */ .intro2{ border: 1px solid var(--line); border-radius: var(--radius); background:#fff; overflow:hidden; } .intro2 .left{ min-height: 240px; /*background: linear-gradient(120deg, rgba(11,95,168,.16), rgba(11,95,168,.03));*/ position:relative; } .intro2 .left::before{ content:""; position:absolute; inset:0; background: url("../image/malaixiya.jpg") center/contain no-repeat; opacity:.95; } .intro2 .right{ padding: 18px 18px 16px; } .intro2 h2{ font-size: 24px; font-weight: 1000; color: var(--brand); margin: 2px 0 10px; text-align: center; } .intro2 .bul{ display:grid; gap:8px; margin: 10px 0 14px; } .intro2 .bul div{ display:flex; gap:10px; color: rgba(15,23,42,.72); font-size: 13px; line-height:1.8; } .intro2 .bul i{ color: var(--brand); } /* ===== Top bar (clean) ===== */ .topbar{ position: sticky; top: 0; z-index: 1000; background: var(--brand); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.12); } /* container:PC 单行不换行;手机允许换行让 #nav 到下一行 */ .topbar .topbar-inner{ display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; } /* 你现在的结构:topbar-head 里面是 brand + right */ .topbar .topbar-head{ display: flex; align-items: center; justify-content: space-between; width: auto; /* PC:不占满,避免把 #nav 顶下去 */ flex: 0 0 auto; gap: 12px; } .topbar .topbar-right{ display:flex; align-items:center; gap: 8px; flex: 0 0 auto; } /* brand */ .topbar .brand-wrap{ display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; min-width: 0; } .topbar .brand-title{ font-weight:700; letter-spacing:.2px; line-height:1.1; } .topbar .brand-sub{ font-size:12px; opacity:.85; } .topbar .brand-title, .topbar .brand-sub{ white-space: nowrap; } /* 避免抖动 */ /* logo badge */ .topbar .brand-badge{ width:34px; height:34px; border-radius:50%; background: rgba(255,255,255,.18); display:flex; align-items:center; justify-content:center; border: 1px solid rgba(255,255,255,.28); } .topbar .brand-badge-logo{ background: url("../image/mdac_icon.png") center/contain no-repeat; background-color: transparent; } /* nav link */ .topbar .navbar .nav-link{ color: rgba(255,255,255,.88); } .topbar .navbar .nav-link:hover{ color:#fff; } .topbar .lang-btn{ border: 1px solid rgba(255,255,255,.35) !important; color:#fff !important; background: rgba(255,255,255,.08) !important; } .navbar-collapse{ text-align: center; } /* PC:#nav 在同一行靠右 */ @media (min-width: 1200px){ .topbar .topbar-inner{ flex-wrap: nowrap; /* 不换行 */ } .topbar .navbar-collapse{ flex: 1 1 auto; justify-content: flex-end; /* 菜单靠右 */ } /* PC 不需要右侧(手机语言 + 汉堡),避免空盒子影响对齐 */ .topbar .topbar-right{ display: none; } } .contact-page{ padding: 28px 0 50px; } /* 手机:brand +(语言+汉堡)一行,#nav 展开到下一行(不抖) */ @media (max-width: 1199.98px){ .topbar .topbar-inner{ flex-wrap: wrap; /* 允许换行,让 #nav 到下一行 */ padding-left: 2px !important; /* 贴边 */ padding-right: 2px !important; } /* 手机:topbar-head 占满一行,左右分布 */ .topbar .topbar-head{ width: 100%; } /* 手机:#nav 永远在下一行展开 */ .topbar .navbar-collapse{ width: 100%; } /* 右侧按钮统一高度对齐 */ .topbar .lang-btn{ height: 34px; line-height: 34px; padding: 0 10px; } .topbar .navbar-toggler{ padding: 0 !important; margin: 0 !important; line-height: 1; } .topbar .navbar-toggler-icon{ width: 28px; height: 28px; } } /* ===== Why v2: 从网格改成“条目式” ===== */ .why2-item{ border: 1px solid rgba(15,23,42,.08); border-radius: var(--radius); padding: 14px 14px 12px; background: #fff; height:100%; display:flex; gap:12px; } .why2-ico{ width: 42px; height:42px; border-radius: 14px; background: rgba(11,95,168,.08); border:1px solid rgba(11,95,168,.18); display:flex; align-items:center; justify-content:center; color: var(--brand); flex: 0 0 42px; font-size: 20px; } .why2-item h6{ margin: 0 0 4px; font-weight: 900; } .why2-item p{ margin:0; color: rgba(15,23,42,.70); font-size: 13px; line-height:1.75; } /* ---- Passport upload icon button ---- */ .passport-wrap{ position:relative; } .passport-upload{ position:absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; border-radius: 6px; background: rgba(21,56,84,.06); border: 1px solid rgba(21,56,84,.20); display:flex; align-items:center; justify-content:center; cursor:pointer; } .passport-upload i{ font-size: 22px; color: rgba(21,56,84,.85); } .passport-upload input[type="file"]{ position:absolute; inset:0; opacity:0; cursor:pointer; } .passport-upload:hover{ background: rgba(21,56,84,.10); border-color: rgba(21,56,84,.35); } /* 真正的 file input 隐藏掉,不参与 hover */ .passport-file{ position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; left:-9999px; } /* label 就是按钮,cursor 一定是小手 */ .passport-upload{ cursor:pointer; } .passport-upload .layui-icon{ pointer-events:none; }