/* 哈体育 Sportha — 全站样式（HTML+CSS only） */
:root{
  --bg:#ffffff; --fg:#0b1220; --muted:#5b6478; --border:#e5e8ef; --card:#ffffff;
  --primary:#1d4ed8; --primary-glow:#3b82f6; --primary-fg:#ffffff;
  --accent:#0ea5e9; --secondary:#f4f6fb; --destructive:#dc2626;
  --gradient-primary:linear-gradient(135deg,#1d4ed8,#3b82f6);
  --gradient-hero:linear-gradient(135deg,rgba(11,18,32,.78),rgba(29,78,216,.55));
  --shadow-card:0 4px 14px -6px rgba(15,23,42,.12);
  --shadow-elegant:0 18px 38px -16px rgba(29,78,216,.35);
  --radius:.75rem;
}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",PingFang SC,"Hiragino Sans GB",Microsoft YaHei,sans-serif;
  color:var(--fg);background:var(--bg);line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{margin:0;line-height:1.25;font-weight:700;color:var(--fg)}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
.container{max-width:1200px;margin:0 auto;padding:0 1rem}
@media(min-width:640px){.container{padding:0 1.5rem}}
@media(min-width:1024px){.container{padding:0 2rem}}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:.625rem}
.brand img{width:40px;height:40px;object-fit:contain}
.brand-name{font-weight:700;font-size:1rem}
.brand-sub{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.nav-desktop{display:none;gap:1.75rem}
.nav-desktop a{font-size:.875rem;font-weight:500;color:var(--muted);transition:color .15s}
.nav-desktop a:hover,.nav-desktop a[aria-current="page"]{color:var(--primary)}
@media(min-width:1024px){.nav-desktop{display:flex}.menu-btn{display:none}.cta-desktop{display:inline-flex}}
.cta-desktop{display:none}
.menu-btn{padding:.5rem;display:inline-flex;align-items:center;justify-content:center}
.menu-btn svg{width:24px;height:24px}
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:600;transition:opacity .15s,transform .15s,background .15s}
.btn-primary{background:var(--gradient-primary);color:var(--primary-fg);box-shadow:var(--shadow-elegant)}
.btn-primary:hover{opacity:.92}
.btn-outline{border:1px solid rgba(255,255,255,.4);color:#fff;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}
.btn-ghost{border:1px solid var(--border);background:#fff;color:var(--fg)}
.btn-ghost:hover{background:var(--secondary)}
.nav-mobile{display:none;border-top:1px solid var(--border);background:#fff}
.nav-mobile.open{display:block}
.nav-mobile-inner{padding:.75rem 1rem;display:flex;flex-direction:column;gap:.25rem}
.nav-mobile a{padding:.625rem 0;font-size:.875rem;font-weight:500}
.nav-mobile .btn{justify-content:center;margin-top:.5rem}

/* Hero */
.hero{position:relative;color:#fff;overflow:hidden}
.hero-bg{position:absolute;inset:0}
.hero-bg img{width:100%;height:100%;object-fit:cover}
.hero-bg::after{content:"";position:absolute;inset:0;background:var(--gradient-hero)}
.hero-inner{position:relative;padding:6rem 0}
@media(min-width:768px){.hero-inner{padding:8rem 0}}
.hero h1{font-size:2.25rem;max-width:48rem;color:#fff}
@media(min-width:768px){.hero h1{font-size:3.5rem}}
.hero p.lead{margin-top:1.25rem;color:rgba(255,255,255,.88);max-width:42rem;font-size:1.05rem}
.eyebrow-pill{display:inline-block;padding:.25rem .75rem;border-radius:9999px;background:rgba(29,78,216,.85);color:#fff;font-size:.75rem;font-weight:600;backdrop-filter:blur(6px);margin-bottom:1.25rem}
.hero-cta{margin-top:2rem;display:flex;flex-wrap:wrap;gap:.75rem}

/* Sections */
section.band{padding:4rem 0}
section.band-tight{padding:2.5rem 0;border-bottom:1px solid var(--border);background:rgba(244,246,251,.6)}
.eyebrow{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--primary);font-weight:600;margin-bottom:.5rem}
h2.section-title{font-size:1.75rem}
@media(min-width:768px){h2.section-title{font-size:2.25rem}}
.section-desc{margin-top:.75rem;color:var(--muted);max-width:48rem}

/* Grid utilities */
.grid{display:grid;gap:1.5rem}
.cols-2{grid-template-columns:1fr}
.cols-3{grid-template-columns:1fr}
.cols-4{grid-template-columns:repeat(2,1fr)}
@media(min-width:768px){.cols-2{grid-template-columns:repeat(2,1fr)}.cols-3{grid-template-columns:repeat(2,1fr)}.cols-4{grid-template-columns:repeat(4,1fr)}}
@media(min-width:1024px){.cols-3{grid-template-columns:repeat(3,1fr)}}

/* Stats */
.stat{display:flex;align-items:center;gap:.75rem}
.stat .icn{width:32px;height:32px;color:var(--primary);flex-shrink:0}
.stat-v{font-size:1.4rem;font-weight:700}
.stat-l{font-size:.75rem;color:var(--muted)}

/* Cards */
.card{background:var(--card);border:1px solid var(--border);border-radius:1rem;overflow:hidden;box-shadow:var(--shadow-card);transition:transform .25s,border-color .15s}
.card:hover{transform:translateY(-3px);border-color:rgba(29,78,216,.4)}
.card .img{aspect-ratio:16/10;overflow:hidden}
.card .img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.card:hover .img img{transform:scale(1.05)}
.card-body{padding:1.5rem}
.card-body h3{font-size:1.05rem;margin-bottom:.5rem}
.card-body p{font-size:.875rem;color:var(--muted)}

.feature{background:#fff;border:1px solid var(--border);border-radius:.75rem;padding:1.5rem;box-shadow:var(--shadow-card);transition:border-color .15s}
.feature:hover{border-color:rgba(29,78,216,.4)}
.feature h3{font-size:1rem;margin-bottom:.5rem}
.feature p{font-size:.875rem;color:var(--muted)}

/* Why us */
.why{display:grid;gap:3rem;align-items:center}
@media(min-width:1024px){.why{grid-template-columns:1fr 1fr}}
.why .imgwrap{border-radius:1rem;overflow:hidden;box-shadow:var(--shadow-elegant);aspect-ratio:4/3}
.why .imgwrap img{width:100%;height:100%;object-fit:cover}
.checklist li{display:flex;gap:.75rem;align-items:flex-start;padding:.5rem 0;color:rgba(11,18,32,.85)}
.checklist svg{width:20px;height:20px;color:var(--primary);flex-shrink:0;margin-top:3px}

/* CTA banner */
.cta-banner{padding:2.5rem 1.5rem;border-radius:1.25rem;background:var(--gradient-primary);color:#fff;text-align:center;box-shadow:var(--shadow-elegant)}
@media(min-width:768px){.cta-banner{padding:3.5rem}}
.cta-banner h2{color:#fff;font-size:1.75rem}
@media(min-width:768px){.cta-banner h2{font-size:2.25rem}}
.cta-banner p{margin-top:.75rem;color:rgba(255,255,255,.9)}
.cta-banner .actions{margin-top:1.75rem;display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem}
.btn-on-primary{background:#fff;color:var(--primary)}
.btn-on-primary:hover{background:rgba(255,255,255,.9)}
.btn-on-primary-outline{border:1px solid rgba(255,255,255,.4);color:#fff}

/* Form */
.form-card{background:#fff;border:1px solid var(--border);border-radius:1rem;padding:2rem;box-shadow:var(--shadow-card)}
.form-row{display:grid;gap:1rem}
@media(min-width:640px){.form-row.cols-2-form{grid-template-columns:1fr 1fr}}
.field{display:flex;flex-direction:column;gap:.375rem;margin-bottom:1rem}
.field label{font-size:.875rem;font-weight:500}
.field .req{color:var(--destructive);margin-left:2px}
.field input,.field select,.field textarea{
  width:100%;min-height:44px;padding:.625rem .75rem;border:1px solid var(--border);
  border-radius:.5rem;background:#fff;font:inherit;font-size:16px;color:var(--fg);
  transition:border-color .15s,box-shadow .15s;
}
@media(min-width:640px){.field input,.field select,.field textarea{font-size:.875rem}}
.field textarea{min-height:120px;resize:vertical;line-height:1.5}
.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px rgba(59,130,246,.2)}
.btn-submit{width:100%;justify-content:center;padding:.875rem 1.25rem}
.tip{padding:1rem;border:1px solid rgba(29,78,216,.3);background:rgba(29,78,216,.05);border-radius:.75rem;font-size:.875rem;line-height:1.6}
.contact-side{display:flex;flex-direction:column;gap:1rem}
.contact-card{display:flex;gap:1rem;background:rgba(244,246,251,.6);border:1px solid var(--border);border-radius:.75rem;padding:1.25rem}
.contact-card .icn-box{width:44px;height:44px;border-radius:.5rem;background:var(--gradient-primary);color:#fff;display:grid;place-items:center;flex-shrink:0}
.contact-card .icn-box svg{width:20px;height:20px}
.contact-card .lbl{font-size:.75rem;color:var(--muted)}
.contact-card .val{font-weight:600;margin-top:.125rem}
.contact-card .desc{font-size:.75rem;color:var(--muted);margin-top:.25rem}

/* Footer */
.site-footer{background:#0b1220;color:#fff;margin-top:5rem}
.site-footer .container{padding-top:3.5rem;padding-bottom:1.5rem}
.footer-grid{display:grid;gap:2.5rem}
@media(min-width:768px){.footer-grid{grid-template-columns:repeat(4,1fr)}}
.site-footer h3,.site-footer h4{color:#fff}
.site-footer h3{font-size:1.125rem;margin-bottom:.75rem}
.site-footer h4{font-size:1rem;margin-bottom:.75rem}
.site-footer p,.site-footer li,.site-footer a{font-size:.875rem;color:rgba(255,255,255,.75);line-height:1.7}
.site-footer a:hover{color:#fff}
.site-footer ul li{margin-bottom:.4rem}
.footer-contact li{display:flex;gap:.5rem;align-items:flex-start}
.footer-contact svg{width:16px;height:16px;flex-shrink:0;margin-top:4px}
.footer-bottom{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:.5rem;font-size:.75rem;color:rgba(255,255,255,.6)}
@media(min-width:768px){.footer-bottom{flex-direction:row;justify-content:space-between}}

/* Article (legal pages) */
.article-hero{background:linear-gradient(135deg,rgba(29,78,216,.08),#fff);border-bottom:1px solid var(--border);padding:4rem 0}
.article-hero h1{font-size:2.25rem}
@media(min-width:768px){.article-hero h1{font-size:3rem}}
.article{max-width:48rem;margin:0 auto;padding:3rem 1rem}
.article section{margin-bottom:2rem}
.article h2{font-size:1.5rem;margin-bottom:.75rem}
.article h3{font-size:1rem;margin:.75rem 0 .5rem;color:rgba(11,18,32,.9)}
.article p{margin-bottom:.75rem;color:rgba(11,18,32,.9)}
.article ul.disc{list-style:disc;padding-left:1.5rem}
.article ul.disc li{margin-bottom:.25rem}
.article a.lnk{color:var(--primary);text-decoration:underline;text-underline-offset:2px}
.article table{width:100%;border-collapse:collapse;font-size:.875rem;border:1px solid var(--border);border-radius:.5rem;overflow:hidden}
.article th,.article td{padding:.625rem .75rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--border)}
.article th{background:rgba(244,246,251,.6);font-weight:600}
details{background:#fff;border:1px solid var(--border);border-radius:.75rem;padding:1.25rem;margin-bottom:.75rem}
details summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:1rem}
details summary::-webkit-details-marker{display:none}
details summary::after{content:"＋";color:var(--primary);transition:transform .2s}
details[open] summary::after{transform:rotate(45deg)}
details p{margin-top:.75rem;font-size:.875rem;color:var(--muted)}

/* Thank-you */
.ty{min-height:80vh;display:flex;align-items:center;justify-content:center;padding:4rem 1rem}
.ty-card{max-width:42rem;width:100%;background:#fff;border:1px solid var(--border);border-radius:1rem;padding:2rem;text-align:center;box-shadow:var(--shadow-card)}
@media(min-width:640px){.ty-card{padding:3rem}}
.ty-icn{width:64px;height:64px;border-radius:9999px;background:var(--gradient-primary);color:#fff;display:grid;place-items:center;margin:0 auto 1.5rem}
.ty-icn svg{width:32px;height:32px}
.ty h1{font-size:1.875rem;margin-bottom:.75rem}
@media(min-width:640px){.ty h1{font-size:2.25rem}}
.ty p.muted{color:var(--muted);margin-bottom:2rem}
.ty-grid{display:grid;gap:.75rem;margin-bottom:2rem;text-align:left}
@media(min-width:640px){.ty-grid{grid-template-columns:1fr 1fr}}
.ty-mini{border:1px solid var(--border);border-radius:.75rem;padding:1rem;background:rgba(244,246,251,.5)}
.ty-mini .lbl{font-size:.75rem;color:var(--muted);display:flex;align-items:center;gap:.375rem}
.ty-mini .lbl svg{width:14px;height:14px;color:var(--primary)}
.ty-mini .val{margin-top:.25rem;font-weight:600}

/* Cookie banner */
.cookie-banner{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:60;background:#fff;border:1px solid var(--border);border-radius:1rem;box-shadow:0 12px 32px rgba(15,23,42,.18);padding:1.25rem;display:none;max-width:42rem}
@media(min-width:640px){.cookie-banner{left:auto;right:1.5rem;bottom:1.5rem}}
.cookie-banner.show{display:block}
.cookie-banner h4{font-size:1rem;margin-bottom:.5rem}
.cookie-banner p{font-size:.8125rem;color:var(--muted);margin-bottom:1rem}
.cookie-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.cookie-actions button{padding:.5rem .875rem;border-radius:.5rem;font-size:.8125rem;font-weight:600}
.cookie-actions .accept{background:var(--gradient-primary);color:#fff}
.cookie-actions .reject{border:1px solid var(--border);background:#fff}
.cookie-actions .custom{border:1px solid var(--border);background:#fff}
.cookie-prefs{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border);display:none}
.cookie-prefs.show{display:block}
.cookie-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;font-size:.875rem}

/* Misc */
.muted-sm{font-size:.75rem;color:var(--muted)}
.text-center{text-align:center}
.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}
.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}
.tag{display:inline-block;font-size:.75rem;font-weight:600;color:var(--primary);background:rgba(29,78,216,.1);padding:.125rem .5rem;border-radius:.25rem}
.divider{height:1px;background:var(--border);margin:2rem 0}

/* Accessibility */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:4px}
