:root { --bg:#090b0d; --surface:#121619; --surface-2:#1a1f23; --line:#2a3035; --text:#f4f7f8; --muted:#aab3b8; --faint:#707b82; --accent:#90baff; --accent-strong:#5f94ee; --green:#33d17a; --yellow:#f6bc3b; --shadow:0 24px 70px rgba(0,0,0,.28); }
:root[data-theme="light"] { --bg:#f3f6f8; --surface:#fff; --surface-2:#e8edf1; --line:#d8e0e5; --text:#172027; --muted:#57636c; --faint:#78848c; --accent:#176bd9; --accent-strong:#0759bf; --green:#129756; --yellow:#b97800; --shadow:0 22px 50px rgba(31,48,61,.12); }
* { box-sizing:border-box; } html { scroll-behavior:smooth; } body { margin:0; background:var(--bg); color:var(--text); font-family:"DM Sans",Arial,sans-serif; transition:background .28s,color .28s; } button,a { font:inherit; } a { color:inherit; text-decoration:none; } .app-shell { overflow:hidden; min-height:100vh; background:radial-gradient(ellipse 900px 380px at 80% -90px,rgba(43,83,130,.2),transparent 65%); } .container { width:min(1120px,calc(100% - 48px)); margin:0 auto; }
.topbar { height:82px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; } .brand { display:flex; align-items:center; gap:10px; font-family:Manrope,sans-serif; font-size:23px; font-weight:800; letter-spacing:-1px; } .brand-mark { width:31px; height:31px; } .brand-dot { color:var(--accent); } .theme-toggle { display:grid; place-items:center; width:40px; height:40px; color:var(--text); border:1px solid var(--line); background:var(--surface); border-radius:11px; cursor:pointer; transition:.2s; } .theme-toggle:hover { border-color:var(--accent); transform:translateY(-1px); } .theme-toggle svg { width:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.hero { min-height:468px; display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:56px; position:relative; border-bottom:1px solid var(--line); } .hero-copy { position:relative; z-index:2; padding:65px 0; } .eyebrow { color:var(--accent); font-size:11px; letter-spacing:1.5px; font-weight:700; margin:0 0 13px; } h1,h2,h3 { font-family:Manrope,sans-serif; letter-spacing:-1.25px; margin:0; } h1 { font-size:clamp(37px,5vw,58px); line-height:1.09; font-weight:800; } h1 span { color:var(--accent); } .lede { max-width:525px; line-height:1.65; color:var(--muted); font-size:16px; margin:19px 0 20px; }.status-row { display:flex; gap:9px; align-items:center; color:var(--muted); font-size:14px; font-weight:500; } .status-dot { width:9px; height:9px; border-radius:50%; background:var(--faint); box-shadow:0 0 0 4px color-mix(in srgb,var(--faint) 12%,transparent); }.status-dot.online { background:var(--green); box-shadow:0 0 0 4px color-mix(in srgb,var(--green) 13%,transparent); }.status-dot.offline { background:var(--yellow); box-shadow:0 0 0 4px color-mix(in srgb,var(--yellow) 14%,transparent); }.status-dot.checking { animation:pulse 1.1s infinite; }.enter-button { width:max-content; margin-top:22px; display:flex; align-items:center; gap:25px; padding:14px 16px 14px 19px; color:#07111f; border-radius:12px; font-weight:700; background:var(--accent); box-shadow:0 9px 24px rgba(77,139,235,.22); transition:.2s; }.enter-button:hover:not(.is-disabled) { transform:translateY(-2px); background:#b1ceff; }.enter-button svg { width:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }.enter-button.is-disabled { background:var(--surface-2); color:var(--faint); cursor:not-allowed; box-shadow:none; }.refresh-note { font-size:12px; color:var(--faint); margin:12px 0 0; }
.hero-visual { height:305px; position:relative; } .orb { position:absolute; border-radius:50%; filter:blur(1px); opacity:.38; }.orb-one { width:260px;height:260px;right:-25px;top:63px;background:radial-gradient(circle,#193e6a,transparent 68%);}.orb-two { width:120px;height:120px;right:230px;top:7px;background:radial-gradient(circle,#376856,transparent 67%);}.photo-stack { width:295px; height:216px; position:absolute; right:42px; top:43px; transform:rotate(-5deg); }.photo { border:1px solid rgba(255,255,255,.13); border-radius:17px; position:absolute; box-shadow:var(--shadow); }.photo-back { background:linear-gradient(135deg,#2c4750,#151e27); inset:8px -10px -10px 19px; transform:rotate(12deg); }.photo-mid { background:linear-gradient(135deg,#3e3849,#172229); inset:3px 3px -4px 9px; transform:rotate(5deg); }.photo-front { overflow:hidden; inset:0; background:linear-gradient(160deg,#a3c8ed 0%,#e0a995 46%,#3d7c69 47%,#172f32 100%); }.photo-front:after { content:"CLOUD A7  /  K12"; position:absolute; bottom:15px; left:18px; font-size:10px; font-weight:700; letter-spacing:1.5px; color:white; text-shadow:0 1px 4px #17202b; }.mountains { position:absolute; bottom:-7px; left:-10px; width:240px; height:120px; background:#285d55; clip-path:polygon(0 100%,25% 54%,36% 76%,56% 23%,79% 78%,91% 58%,100% 100%); }.sun { position:absolute; top:30px; right:41px; width:31px; height:31px; background:#ffe4a5; border-radius:50%; box-shadow:0 0 35px #ffe3aa; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); }.credentials { margin:67px 0 0; padding:31px 34px 25px; }.section-heading h2 { font-size:27px; }.credential-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:25px; }.credential { padding:16px 17px; background:var(--surface-2); border-radius:11px; min-width:0; position:relative; }.field-label { display:block; color:var(--faint); font-size:10px; letter-spacing:1.2px; font-weight:700; margin-bottom:8px; }.credential code,.guide-card code { color:var(--text); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:14px; overflow-wrap:anywhere; }.copy-button { color:var(--accent); background:none; border:none; padding:0; font-size:12px; font-weight:700; cursor:pointer; position:absolute; right:15px; bottom:16px; }.privacy-note { margin:17px 0 0; color:var(--faint); font-size:12px; }
.guides { margin-top:72px; }.guide-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:25px; }.guide-card { padding:27px 28px 23px; }.guide-icon { width:40px; height:40px; display:grid; place-items:center; border-radius:11px; margin-bottom:18px; }.desktop-icon { color:#9fc7ff; background:#17355a; }.phone-icon { color:#89d7a2; background:#1d4931; }.guide-icon svg { width:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }.guide-card h3 { font-size:21px; }.guide-card ol { padding-left:20px; margin:16px 0 0; color:var(--muted); font-size:14px; line-height:1.68; }.guide-card li+li { margin-top:6px; }.guide-card strong { color:var(--text); font-weight:600; }.guide-card code { background:var(--surface-2); padding:2px 5px; border-radius:4px; font-size:11px; }.mobile-head { display:flex; align-items:center; justify-content:space-between; }.store-links { display:flex; gap:7px; }.store-button { display:grid; place-items:center; width:33px; height:33px; border:1px solid var(--line); border-radius:8px; color:var(--text); transition:.2s; }.store-button:hover { color:var(--accent); border-color:var(--accent); }.store-button svg { width:16px; fill:currentColor; }
.contact { margin:70px 0 55px; padding:30px 34px; display:flex; justify-content:space-between; align-items:center; gap:25px; background:linear-gradient(112deg,var(--surface),color-mix(in srgb,var(--surface) 78%,#14304e)); }.contact h2 { font-size:24px; }.contact p:not(.eyebrow) { color:var(--muted); font-size:14px; margin:8px 0 0; }.contact-button { flex:none; padding:13px 17px; border-radius:10px; border:1px solid var(--line); color:var(--accent); font-size:14px; font-weight:700; transition:.2s; }.contact-button:hover { background:var(--surface-2); border-color:var(--accent); }.contact-button span { margin-left:8px; }.footer { border-top:1px solid var(--line); height:77px; display:flex; justify-content:space-between; align-items:center; color:var(--faint); font-size:12px; }.toast { position:fixed; left:50%; bottom:24px; transform:translate(-50%,20px); opacity:0; pointer-events:none; color:#fff; background:#1d6c48; padding:11px 15px; border-radius:9px; font-size:13px; box-shadow:var(--shadow); transition:.2s; }.toast.show { transform:translate(-50%,0); opacity:1; }
@keyframes pulse { 50% { opacity:.35; transform:scale(.76); } } @media (max-width:760px) { .container { width:min(100% - 32px,550px); }.topbar { height:68px; }.hero { grid-template-columns:1fr; min-height:0; padding:52px 0 47px; }.hero-copy { padding:0; }.hero-visual { display:none; } h1 { font-size:39px; }.lede { font-size:15px; }.enter-button { width:100%; justify-content:space-between; }.credentials { margin-top:42px; padding:25px 20px 21px; }.credential-grid,.guide-grid { grid-template-columns:1fr; }.credential-grid { margin-top:20px; }.guides { margin-top:52px; }.guide-card { padding:24px 21px 20px; }.contact { margin:52px 0 38px; padding:25px 21px; align-items:flex-start; flex-direction:column; }.contact-button { width:100%; text-align:center; }.footer { height:auto; padding:21px 0; gap:6px; flex-direction:column; align-items:flex-start; }.brand { font-size:21px; } } @media (prefers-reduced-motion:reduce) { *,*:before,*:after { animation-duration:.01ms!important; transition-duration:.01ms!important; scroll-behavior:auto!important; } }

/* Cân chỉnh typography, khoảng thở và vùng chạm cho màn hình lớn lẫn điện thoại. */
body { font-size:16px; }
.topbar { height:88px; }
.brand { font-size:25px; }
.brand-mark { width:34px; height:34px; display:block; }
.hero { min-height:510px; }
h1 { font-size:clamp(40px,5vw,62px); }
.lede { max-width:545px; font-size:17px; }
.status-row { font-size:15px; }
.enter-button { min-height:56px; padding:15px 18px 15px 21px; font-size:16px; border-radius:14px; }
.section-heading h2 { font-size:30px; }
.credentials { padding:37px 39px 30px; }
.credential { padding:18px 19px 46px; }
.credential code { font-size:15px; }
.copy-button { right:19px; bottom:17px; font-size:13px; min-height:28px; }
.privacy-note { font-size:13px; }
.guide-grid { gap:22px; }
.guide-card { padding:32px 33px 28px; }
.guide-icon { width:50px; height:50px; margin-bottom:21px; border-radius:14px; }
.guide-icon svg { width:25px; }
.guide-card h3 { font-size:23px; }
.guide-card ol { margin-top:18px; font-size:15.5px; line-height:1.72; }
.store-links { gap:10px; }
.store-button { width:52px; height:52px; border-radius:14px; background:var(--surface-2); }
.store-button img { display:block; max-width:27px; max-height:28px; }
.store-button.app-store { color:#fff; background:#1b1e21; border-color:#343a3f; }
.store-button.app-store img { width:24px; }
.contact { padding:35px 39px; }
.contact h2 { font-size:27px; }
.contact p:not(.eyebrow) { font-size:15px; }
.contact-button { min-height:50px; padding:14px 19px; font-size:15px; display:flex; align-items:center; justify-content:center; }
.footer { font-size:13px; }
@media (max-width:760px) {
  .container { width:min(100% - 32px, 560px); }
  .topbar { height:74px; }
  .brand { font-size:23px; }
  .brand-mark { width:32px; height:32px; }
  .theme-toggle { width:46px; height:46px; }
  .hero { padding:55px 0 53px; }
  h1 { font-size:clamp(36px, 10vw, 45px); line-height:1.12; }
  .lede { margin:18px 0 22px; font-size:16px; line-height:1.62; }
  .status-row { font-size:14px; }
  .enter-button { margin-top:24px; width:100%; min-height:58px; font-size:16px; }
  .refresh-note { line-height:1.5; }
  .credentials { margin-top:44px; padding:28px 21px 23px; border-radius:16px; }
  .section-heading h2 { font-size:26px; }
  .credential-grid { gap:12px; }
  .credential { min-height:96px; padding:16px 16px 42px; }
  .credential code { font-size:14px; }
  .copy-button { right:16px; bottom:11px; min-height:30px; }
  .guides { margin-top:58px; }
  .guide-grid { gap:15px; margin-top:21px; }
  .guide-card { padding:26px 21px 23px; border-radius:16px; }
  .guide-icon { margin-bottom:18px; }
  .guide-card h3 { font-size:22px; }
  .guide-card ol { font-size:15px; line-height:1.7; }
  .mobile-head { align-items:center; }
  .store-links { gap:9px; }
  .store-button { width:50px; height:50px; }
  .contact { margin-top:58px; padding:28px 21px; border-radius:16px; }
  .contact h2 { font-size:24px; line-height:1.25; }
  .contact p:not(.eyebrow) { line-height:1.6; }
  .contact-button { min-height:54px; }
  .footer { padding:25px 0; font-size:12px; }
}
@media (max-width:380px) {
  .container { width:calc(100% - 26px); }
  h1 { font-size:34px; }
  .mobile-head { align-items:flex-start; gap:14px; flex-direction:column; }
  .store-button { width:48px; height:48px; }
}
