/* ============================================
   睿英创想 — 简约 · 克制
   ============================================ */

:root {
    --bg:        #fafaf8;
    --bg-dark:   #1a1a1a;
    --fg:        #171717;
    --fg-mid:    #6b6b6b;
    --fg-light:  #a3a3a3;
    --border:    #e8e8e4;
    --accent:    #171717;
    --sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-w: 1080px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:100px; }
body {
    font-family: var(--sans);
    font-size: 16px;
    color: var(--fg);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color:inherit; text-decoration:none; }

/* ----- Nav ----- */
.nav {
    position: fixed; top:0; left:0; right:0; z-index:100;
    padding: 18px 0;
    transition: background .25s, box-shadow .25s, padding .25s;
}
.nav.scrolled {
    background: rgba(250,250,248,.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--border);
    padding: 12px 0;
}
.nav-inner {
    max-width: var(--max-w); margin:0 auto; padding:0 36px;
    display:flex; align-items:center; justify-content:space-between;
}
.logo {
    display:flex; align-items:center; gap:10px;
    font-size:18px; font-weight:700; letter-spacing:-.3px;
}
.logo-mark {
    width:7px; height:7px; border-radius:50%;
    background: var(--fg);
}
.nav-links { display:flex; align-items:center; gap:36px; }
.nav-links a {
    font-size:14px; font-weight:450; color:var(--fg-mid);
    transition:color .2s;
}
.nav-links a:hover { color:var(--fg); }
.nav-btn {
    padding:7px 18px; border-radius:20px;
    background:var(--fg); color:#fff !important;
    font-weight:550 !important; font-size:13px !important;
    transition:background .2s, transform .15s !important;
}
.nav-btn:hover { background:#333; }
.nav-btn:active { transform:scale(.97); }

/* ----- Hero ----- */
.hero {
    min-height:90vh; display:flex; align-items:center;
    padding:120px 0 100px;
    overflow:hidden;
}
.hero-grid {
    max-width: var(--max-w); margin:0 auto; padding:0 36px;
    display:grid; grid-template-columns:1fr 1fr; gap:60px;
    align-items:center; width:100%;
}
.hero-eyebrow {
    font-size:12px; font-weight:550; letter-spacing:2.5px;
    text-transform:uppercase; color:var(--fg-light);
    margin-bottom:24px;
}
.hero-text h1 {
    font-size:clamp(44px, 7vw, 72px); font-weight:800;
    line-height:1.08; letter-spacing:-2.5px; color:var(--fg);
    margin-bottom:28px;
}
.hero-desc {
    font-size:17px; color:var(--fg-mid); line-height:1.75;
    margin-bottom:44px; max-width:420px;
}
.hero-actions { display:flex; gap:16px; }

/* Hero visual */
.hero-visual {
    position:relative; height:420px;
    display:flex; align-items:center; justify-content:center;
}
.hv-ring {
    position:absolute; border-radius:50%;
    border:1px solid var(--border);
}
.hv-ring-1 {
    width:300px; height:300px;
    animation: ringPulse 8s var(--ease) infinite;
}
.hv-ring-2 {
    width:200px; height:200px;
    border-style:dashed;
    border-color:#e0e0dc;
    animation: ringPulse 8s -2s var(--ease) infinite;
}
@keyframes ringPulse {
    0%,100% { transform:scale(1); opacity:.6; }
    50%     { transform:scale(1.06); opacity:1; }
}
.hv-accent {
    position:absolute; width:36px; height:36px;
    border-radius:10px;
    background:var(--fg);
    top:30%; right:15%;
    animation: accentFloat 6s var(--ease) infinite;
}
@keyframes accentFloat {
    0%,100% { transform:translateY(0) rotate(0deg); }
    50%     { transform:translateY(-14px) rotate(6deg); }
}

/* Floating cards */
.hv-card {
    position:absolute;
    background:#fff;
    border:1px solid var(--border);
    border-radius:10px;
    padding:16px 18px;
    box-shadow:0 4px 24px rgba(0,0,0,.04), 0 1px 0 rgba(0,0,0,.03);
    display:flex; flex-direction:column; gap:10px;
    animation: cardFloat 7s var(--ease) infinite;
}
.hv-card-a {
    width:180px;
    top:22%; left:5%;
    animation-delay:0s;
}
.hv-card-b {
    width:140px;
    bottom:24%; right:8%;
    animation-delay:-3s;
}
@keyframes cardFloat {
    0%,100% { transform:translateY(0); }
    50%     { transform:translateY(-10px); }
}

/* Card bars (mock chart) */
.hv-card-bar {
    display:flex; align-items:flex-end; gap:5px; height:28px;
}
.hv-card-bar span {
    flex:1; border-radius:3px 3px 0 0;
    background:var(--border);
}
.hv-card-bar span:nth-child(1) { height:55%; background:var(--fg-light); }
.hv-card-bar span:nth-child(2) { height:78%; background:var(--fg); }
.hv-card-bar span:nth-child(3) { height:42%; background:var(--fg-light); }
.hv-card-bar span:nth-child(4) { height:88%; background:var(--fg); }
.hv-card-bar span:nth-child(5) { height:62%; background:var(--fg-light); }

/* Card lines */
.hv-card-line {
    height:5px; border-radius:3px; background:var(--border);
    width:100%;
}
.hv-card-line.short { width:60%; }

/* Card dots */
.hv-dot-row { display:flex; gap:6px; }
.hv-dot {
    width:7px; height:7px; border-radius:50%;
    background:var(--border);
}
.hv-dot.active { background:var(--fg); }

/* Buttons */
.btn {
    display:inline-flex; align-items:center; justify-content:center;
    padding:13px 30px; font-size:15px; font-weight:600;
    font-family:var(--sans); border-radius:8px;
    background:var(--fg); color:#fff; border:none;
    cursor:pointer; transition:background .2s, transform .15s;
}
.btn:hover { background:#333; }
.btn:active { transform:scale(.97); }
.btn-outline {
    background:transparent; color:var(--fg);
    box-shadow:inset 0 0 0 1px var(--border);
}
.btn-outline:hover { background:#fff; box-shadow:inset 0 0 0 1px #ccc; }

/* ----- Section ----- */
.section { padding:100px 0; }
.section-dark { background:var(--bg-dark); color:#fff; }
.section-inner { max-width:var(--max-w); margin:0 auto; padding:0 36px; }

.section-head { margin-bottom:56px; }
.section-eyebrow {
    font-size:12px; font-weight:550; letter-spacing:2px;
    text-transform:uppercase; color:var(--fg-light);
    display:block; margin-bottom:10px;
}
.section-head h2 {
    font-size:clamp(28px,4vw,40px); font-weight:800;
    letter-spacing:-1px;
}
.section-head.light .section-eyebrow { color:rgba(255,255,255,.4); }
.section-head.light h2 { color:#fff; }

/* ----- Services ----- */
.services-list {
    display:flex; flex-direction:column;
    border-top:1px solid var(--border);
}
.service-row {
    display:grid; grid-template-columns:60px 1fr;
    gap:40px; padding:36px 0;
    border-bottom:1px solid var(--border);
    transition:padding .3s var(--ease);
}
.service-row:hover { padding-left:10px; }
.service-num {
    font-size:13px; font-weight:500; color:var(--fg-light);
    padding-top:4px;
}
.service-body h3 {
    font-size:22px; font-weight:700; letter-spacing:-.4px;
    margin-bottom:8px;
}
.service-body > p {
    font-size:15px; color:var(--fg-mid); line-height:1.7;
    margin-bottom:16px; max-width:540px;
}
.service-tags { display:flex; flex-wrap:wrap; gap:8px; }
.service-tags span {
    font-size:12px; padding:3px 12px;
    border-radius:20px;
    background:var(--bg);
    border:1px solid var(--border);
    color:var(--fg-mid);
    font-weight:450;
}

/* ----- About ----- */
.about-block { max-width:640px; }
.about-statement {
    font-size:20px; font-weight:400; line-height:1.7;
    color:rgba(255,255,255,.85);
    margin-bottom:28px;
    letter-spacing:-.1px;
}
.about-sub {
    font-size:15px; line-height:1.7;
    color:rgba(255,255,255,.5);
}

/* ----- Contact ----- */
.contact-layout {
    display:grid; grid-template-columns:1fr 1fr; gap:80px;
}
.contact-lede p {
    font-size:17px; line-height:1.7; color:var(--fg);
    margin-bottom:20px;
}
.contact-lede strong { font-weight:650; }
.email-link {
    font-size:15px; color:var(--fg-mid);
    padding-bottom:3px;
    border-bottom:1px solid var(--border);
    transition:border-color .2s, color .2s;
}
.email-link:hover { border-color:var(--fg); color:var(--fg); }

.form {
    display:flex; flex-direction:column; gap:14px;
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form input,
.form textarea {
    font-family:var(--sans); font-size:15px;
    padding:13px 16px; border-radius:8px;
    border:1px solid var(--border);
    background:var(--bg); color:var(--fg);
    outline:none; transition:border-color .2s, box-shadow .2s;
}
.form input:focus,
.form textarea:focus {
    border-color:#bbb;
    box-shadow:0 0 0 3px rgba(0,0,0,.03);
}
.form input::placeholder,
.form textarea::placeholder { color:var(--fg-light); }
.form textarea { resize:vertical; min-height:90px; }
.form .btn { align-self:flex-start; }

/* ----- Footer ----- */
.footer { padding:36px 0; border-top:1px solid var(--border); }
.footer-inner {
    max-width:var(--max-w); margin:0 auto; padding:0 36px;
    display:flex; align-items:center; justify-content:space-between;
}
.footer-inner p { font-size:13px; color:var(--fg-light); }
.footer-links { display:flex; align-items:center; gap:8px; }
.footer-links a {
    font-size:13px; color:var(--fg-light);
    transition:color .2s;
}
.footer-links a:hover { color:var(--fg-mid); }
.footer-sep { color:var(--border); font-size:13px; }

/* ----- Reveal ----- */
.reveal {
    opacity:0; transform:translateY(14px);
    transition:opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* ----- Toast ----- */
.toast {
    position:fixed; bottom:32px; left:50%; transform:translateX(-50%);
    padding:13px 26px; border-radius:8px;
    font-size:14px; font-weight:500; z-index:9999;
    background:var(--fg); color:#fff;
    box-shadow:0 8px 32px rgba(0,0,0,.12);
    animation: toastIn .35s var(--ease);
}
@keyframes toastIn {
    from { opacity:0; transform:translateX(-50%) translateY(10px); }
    to   { opacity:1; transform:translateX(-50%) translateY(0); }
}

/* ----- Responsive ----- */
@media (max-width:860px) {
    .hero { min-height:auto; padding:140px 0 80px; }
    .hero-grid { grid-template-columns:1fr; gap:48px; }
    .hero-visual { height:260px; order:-1; }
    .hv-ring-1 { width:200px; height:200px; }
    .hv-ring-2 { width:140px; height:140px; }
    .hv-card-a { width:140px; top:15%; left:10%; }
    .hv-card-b { width:110px; bottom:20%; right:5%; }
    .section { padding:72px 0; }
    .contact-layout { grid-template-columns:1fr; gap:40px; }
}
@media (max-width:600px) {
    .nav-inner, .hero-inner, .section-inner, .footer-inner { padding-left:20px; padding-right:20px; }
    .nav-links { gap:20px; }
    .hero-inner h1 { font-size:38px; letter-spacing:-1.5px; }
    .service-row { grid-template-columns:1fr; gap:8px; padding:28px 0; }
    .form-row { grid-template-columns:1fr; }
    .footer-inner { flex-direction:column; gap:10px; text-align:center; }
    .footer-links { flex-wrap:wrap; justify-content:center; }
}
