/* 广西小仁广物传媒有限公司 - 样式表 */

:root {
    --primary: #7C3AED;
    --primary-2: #5B21B6;
    --gold: #D4A574;
    --gold-2: #C19A5B;
    --bg: #1A1028;
    --bg-2: #231538;
    --bg-3: #2D1E45;
    --surface: rgba(124, 58, 237, 0.08);
    --border: rgba(124, 58, 237, 0.2);
    --text: #FFFFFF;
    --text-2: rgba(255,255,255,0.75);
    --text-3: rgba(255,255,255,0.5);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans SC', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 0;
    transition: all .3s ease;
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(26,16,40,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-wrap {
    max-width: 1200px; margin: 0 auto; padding: 0 28px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px;
}
.logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: #fff;
}
.logo-mark {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #D4A574 100%);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 22px;
    box-shadow: 0 4px 20px rgba(124,58,237,0.4);
    transition: transform .3s ease;
}
.logo:hover .logo-mark { transform: scale(1.05); }
.logo-mark.sm { width: 34px; height: 34px; font-size: 18px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-weight: 700; font-size: 17px; }
.logo-sub { font-size: 10px; color: var(--text-3); letter-spacing: 1px; }
.nav-links {
    display: flex; gap: 36px; flex: 1; justify-content: center;
}
.nav-link {
    text-decoration: none; color: var(--text-2); font-size: 14px; font-weight: 500;
    position: relative; padding: 4px 0;
    transition: color .25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link::after {
    content:''; position:absolute; bottom:-4px; left:0; height:2px; width:0;
    background: var(--gold); transition: width .3s ease; border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
    padding: 10px 22px;
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    color: #fff; text-decoration: none;
    border-radius: 100px; font-size: 13px; font-weight: 600;
    box-shadow: 0 4px 16px rgba(124,58,237,0.35);
    transition: transform .25s ease;
}
.nav-cta:hover { transform: translateY(-2px); }
.nav-mobile-btn {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-mobile-btn span {
    width: 24px; height: 2px; background: #fff; border-radius: 2px;
    transition: all .3s;
}

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 28px 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.bg-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(124,58,237,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 70%, rgba(212,165,116,0.15) 0%, transparent 50%),
        linear-gradient(180deg, #1A1028 0%, #231538 100%);
}
.bg-shape {
    position: absolute; border-radius: 50%; filter: blur(80px);
}
.bg-shape.s1 { width: 500px; height: 500px; background: rgba(124,58,237,0.2); top: -100px; left: -100px; }
.bg-shape.s2 { width: 400px; height: 400px; background: rgba(212,165,116,0.15); bottom: -150px; right: -80px; }
.bg-shape.s3 { width: 300px; height: 300px; background: rgba(168,85,247,0.15); top: 50%; left: 50%; transform: translate(-50%,-50%); }

.hero-inner {
    position: relative; z-index: 2; text-align: center;
    max-width: 800px;
}
.hero-badge {
    display: inline-block; padding: 8px 20px;
    border: 1px solid rgba(212,165,116,0.3);
    background: rgba(212,165,116,0.08);
    border-radius: 100px;
    font-size: 13px; color: var(--gold);
    margin-bottom: 32px;
}
.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900; line-height: 1.25;
    margin-bottom: 20px;
}
.hero-title .t1 {
    display: block;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-title .t2 {
    display: block;
    background: linear-gradient(135deg, #D4A574 0%, #F5D79A 50%, #D4A574 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-slogan {
    font-size: 16px; color: var(--gold); font-weight: 500;
    letter-spacing: 2px; margin-bottom: 24px;
}
.hero-desc {
    font-size: 16px; color: var(--text-2); line-height: 1.9;
    margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 100px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    border: none; text-decoration: none; font-family: inherit;
    transition: all .3s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(124,58,237,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,58,237,0.55); }
.btn-outline {
    background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--gold); color: var(--gold); }
.btn-full { width: 100%; }

/* ===== Hero Scroll ===== */
.hero-scroll {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    font-size: 11px; color: var(--text-3); letter-spacing: 2px;
}
.mouse {
    width: 22px; height: 34px; border: 2px solid var(--text-3);
    border-radius: 11px; position: relative;
}
.wheel {
    width: 3px; height: 8px; background: var(--gold);
    border-radius: 2px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    animation: wheel 1.6s infinite;
}
@keyframes wheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 22px; }
}

/* ===== Section Head ===== */
.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
    font-size: clamp(28px, 4vw, 44px); font-weight: 900;
    background: linear-gradient(180deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}
.section-title.center { text-align: center; }
.section-sub { font-size: 15px; color: var(--text-3); }
.section-sub.center { text-align: center; }

/* ===== Business ===== */
.business { padding: 120px 28px; max-width: 1200px; margin: 0 auto; }
.biz-grid {
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.biz-card {
    background: linear-gradient(145deg, rgba(124,58,237,0.06) 0%, rgba(45,30,69,0.4) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px;
    position: relative; overflow: hidden;
    transition: all .4s ease;
}
.biz-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0); transition: transform .4s ease;
}
.biz-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.biz-card:hover::before { transform: scaleX(1); }
.biz-num {
    position: absolute; top: 16px; right: 20px;
    font-size: 12px; font-weight: 700; color: var(--gold);
    letter-spacing: 2px; opacity: 0.6;
}
.biz-icon {
    width: 54px; height: 54px; color: var(--gold);
    margin-bottom: 18px;
}
.biz-icon svg { width: 100%; height: 100%; }
.biz-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.biz-card > p { font-size: 14px; color: var(--text-2); margin-bottom: 18px; }
.biz-card ul { list-style: none; }
.biz-card ul li {
    padding: 6px 0; font-size: 13px; color: var(--text-3);
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.biz-card ul li:last-child { border-bottom: none; }
.biz-card ul li::before { content: '▸ '; color: var(--gold); margin-right: 4px; }

/* ===== Stats ===== */
.stats {
    padding: 80px 28px; max-width: 1200px; margin: 0 auto;
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stat-item {
    text-align: center; padding: 36px 20px;
    background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px;
}
.stat-num {
    font-size: clamp(36px, 5vw, 52px); font-weight: 900;
    color: var(--gold);
}
.stat-plus, .stat-unit { font-size: 24px; color: var(--gold); font-weight: 700; }
.stat-label { display: block; font-size: 13px; color: var(--text-3); margin-top: 8px; }

/* ===== Cases ===== */
.cases { padding: 120px 28px; background: var(--bg-2); }
.cases-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.case-card {
    border-radius: 16px; overflow: hidden;
    background: var(--bg-3); border: 1px solid var(--border);
    transition: all .3s ease;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.case-img {
    aspect-ratio: 4/3; position: relative; overflow: hidden;
    transition: transform .4s ease;
    background: #1A1028;
}
.case-img img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.case-card:hover .case-img img { transform: scale(1.08); }
.case-card:hover .case-img { transform: none; }
.case-tag {
    position: absolute; top: 16px; left: 16px;
    padding: 4px 12px; font-size: 11px; font-weight: 600;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(6px);
    border-radius: 100px; color: #fff;
}
.case-info { padding: 20px 24px; }
.case-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.case-info p { font-size: 13px; color: var(--text-3); }

/* ===== About ===== */
.about { padding: 120px 28px; max-width: 1200px; margin: 0 auto; }
.about-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.about-lead {
    font-size: 18px; color: var(--text); line-height: 1.7; margin-bottom: 16px; font-weight: 500;
}
.about-text > p { font-size: 15px; color: var(--text-2); line-height: 1.9; margin-bottom: 16px; }
.hl { color: var(--gold); }
.company-info {
    margin-top: 28px; padding-top: 24px;
    border-top: 1px solid var(--border);
}
.info-row {
    display: flex; justify-content: space-between;
    padding: 12px 0; font-size: 13px;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.info-row span:first-child { color: var(--text-3); }
.info-row span:last-child { color: var(--text); font-weight: 500; text-align: right; }

.about-features { display: flex; flex-direction: column; gap: 16px; }
.feature {
    display: flex; gap: 20px; padding: 24px;
    background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px;
    transition: all .3s ease;
}
.feature:hover { border-color: var(--gold); }
.f-num {
    font-size: 32px; font-weight: 900; color: var(--gold); opacity: 0.5;
    font-family: 'Georgia', serif;
}
.feature h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.feature p { font-size: 13px; color: var(--text-3); }

/* ===== Contact ===== */
.contact { padding: 120px 28px; background: var(--bg-2); }
.contact-inner { max-width: 1200px; margin: 0 auto; }
.contact-row {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; margin-top: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.ci-item {
    display: flex; gap: 16px; padding: 20px;
    background: var(--bg-3); border: 1px solid var(--border); border-radius: 14px;
    transition: all .3s ease;
}
.ci-item:hover { border-color: var(--gold); transform: translateX(4px); }
.ci-icon { font-size: 22px; }
.ci-body strong { display: block; font-size: 14px; margin-bottom: 4px; }
.ci-body p { font-size: 13px; color: var(--text-3); }
.contact-email { color: var(--gold); text-decoration: none; transition: color .2s ease; }
.contact-email:hover { color: var(--primary); text-decoration: underline; }

.contact-form {
    padding: 36px; background: var(--bg-3); border: 1px solid var(--border); border-radius: 20px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 14px 18px; margin-bottom: 16px;
    background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
    color: #fff; font-size: 14px; font-family: inherit;
    transition: all .3s ease; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,165,116,0.15);
}
.contact-form textarea { resize: vertical; }

/* ===== Footer ===== */
.footer { padding: 60px 28px 24px; background: var(--bg); border-top: 1px solid var(--border); }
.foot-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px;
}
.foot-logo {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.foot-logo strong { font-size: 15px; font-weight: 700; }
.foot-logo span { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.foot-brand p { font-size: 13px; color: var(--text-3); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h5 { font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.foot-col a { font-size: 13px; color: var(--text-3); text-decoration: none; transition: color .25s; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom {
    max-width: 1200px; margin: 0 auto; padding-top: 24px;
    border-top: 1px solid var(--border); text-align: center;
}
.foot-bottom p { font-size: 12px; color: var(--text-3); margin-bottom: 4px; }

/* ===== AI Creative ===== */
.kicker { display: inline-block; font-family: var(--mono, 'Consolas', monospace); font-size: 12px; color: var(--gold); margin-bottom: 12px; letter-spacing: 1px; }
.ai-creative { padding: 120px 28px; background: var(--bg-2); position: relative; }
.ai-creative::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ai-grid {
    max-width: 1240px; margin: 0 auto;
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.ai-card {
    background: linear-gradient(145deg, rgba(212,165,116,0.04) 0%, var(--bg-3) 100%);
    border: 1px solid rgba(212,165,116,0.15);
    border-radius: 20px;
    padding: 36px;
    position: relative; overflow: hidden;
    transition: all .4s ease;
}
.ai-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.ai-badge {
    position: absolute; top: 20px; right: 24px;
    font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 100px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
    color: #1A1028;
}
.ai-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.ai-emoji { font-size: 40px; }
.ai-meta h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.ai-tag {
    display: inline-block; font-size: 11px; font-weight: 600;
    padding: 3px 10px; background: rgba(212,165,116,0.12);
    color: var(--gold); border-radius: 6px; letter-spacing: 0.5px;
}
.ai-desc { font-size: 14px; color: var(--text-2); line-height: 1.8; margin-bottom: 20px; }
.ai-list { list-style: none; }
.ai-list li {
    padding: 8px 0 8px 16px; font-size: 13px; color: var(--text-3);
    position: relative;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
    line-height: 1.6;
}
.ai-list li:last-child { border-bottom: none; }
.ai-list li::before {
    content: '▸'; position: absolute; left: 0;
    color: var(--gold); font-weight: 700;
}
.ai-list li strong { color: var(--text); font-weight: 600; }
.ai-pipeline {
    margin-top: 16px; padding: 14px 18px;
    background: rgba(0,0,0,0.3); border: 1px dashed rgba(212,165,116,0.2);
    border-radius: 10px;
    font-family: var(--mono, 'Consolas', monospace);
    font-size: 11px; color: var(--gold);
    word-break: break-all;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .contact-row { grid-template-columns: 1fr; }
    .foot-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-mobile-btn { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column; gap: 20px;
        position: fixed; top: 70px; right: 20px;
        background: rgba(26,16,40,0.98); padding: 30px;
        border-radius: 16px; border: 1px solid var(--border);
    }
    .form-grid { grid-template-columns: 1fr; }
    .foot-inner { grid-template-columns: 1fr; gap: 28px; }
    .business, .cases, .about, .contact { padding: 80px 24px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 36px; }
    .section-title { font-size: 26px; }
}

/* ===== Animations ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: all .7s ease; }
.fade-in.show { opacity: 1; transform: translateY(0); }

::selection { background: rgba(212,165,116,0.3); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
