:root {
    --color-primary: #ff6900;
    --color-primary-soft: rgba(255, 105, 0, 0.1);
    --color-primary-deep: #f25a00;
    --color-bg: #050608;
    --color-bg-soft: #0b0d11;
    --color-surface: #10131a;
    --color-surface-soft: #141822;
    --color-border-subtle: rgba(148, 163, 184, 0.4);
    --color-border-strong: rgba(148, 163, 184, 0.7);
    --color-text: #f9fafb;
    --color-text-soft: #9ca3af;
    --color-text-mute: #6b7280;
    --shadow-soft: 0 22px 50px rgba(15, 23, 42, 0.8);
    --radius-card: 22px;
    --radius-pill: 999px;
    --header-height: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--color-text);
    background:
        radial-gradient(circle at top left, rgba(255, 105, 0, 0.22) 0, transparent 46%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.18) 0, transparent 42%),
        radial-gradient(circle at bottom, rgba(15, 23, 42, 0.9) 0, #020617 70%);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(24px);
    background: linear-gradient(to bottom, rgba(3, 7, 18, 0.9), rgba(3, 7, 18, 0.7), transparent);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    background: radial-gradient(circle at 25% 0, #ffe2c2 0, #ffb777 18%, #ff7a1a 60%, #b03900 100%);
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 14px 28px rgba(255, 125, 28, 0.55);
}

.logo-text {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.02em;
}

.nav {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--color-text-soft);
}

.nav a {
    position: relative;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #fb923c, #fed7aa);
    transition: width 0.22s ease;
}

.nav a:hover {
    color: #e5e7eb;
}

.nav a:hover::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 13px;
    color: var(--color-text-soft);
}

.phone-number {
    font-weight: 600;
    color: #f97316;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.98);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #e5e7eb;
    border-radius: 999px;
}

/* HERO */
.hero {
    padding: 36px 0 70px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3.1fr) minmax(0, 2.6fr);
    gap: 46px;
    align-items: center;
}

.hero-content h1 {
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 14px;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    background: radial-gradient(circle at left, rgba(255, 105, 0, 0.35) 0, rgba(15, 23, 42, 0.9) 55%, rgba(15, 23, 42, 1) 100%);
    border: 1px solid rgba(248, 250, 252, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
    font-size: 12px;
    color: #e5e7eb;
    margin-bottom: 14px;
}

.hero-subtitle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle, #f97316 0, #f97316 45%, transparent 70%);
    box-shadow: 0 0 0 4px rgba(248, 250, 252, 0.08);
}

.hero-desc {
    font-size: 14px;
    color: var(--color-text-soft);
    line-height: 1.8;
    margin-bottom: 26px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316, #fb923c, #fed7aa);
    color: #111827;
    box-shadow: 0 22px 45px rgba(248, 113, 22, 0.6);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 26px 55px rgba(248, 113, 22, 0.75);
}

.btn-ghost {
    background: rgba(15, 23, 42, 0.75);
    color: #e5e7eb;
    border: 1px solid rgba(75, 85, 99, 0.9);
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.95);
}

.btn-block {
    width: 100%;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: var(--color-text-mute);
}

.hero-tags span {
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
}

.hero-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-card {
    background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.38) 0, rgba(15, 23, 42, 0.96) 26%, rgba(15, 23, 42, 1) 70%);
    border-radius: 26px;
    padding: 20px 22px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(248, 250, 252, 0.06);
}

.hero-card-highlight {
    position: relative;
    overflow: hidden;
}

.hero-card-highlight::after {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at top, rgba(248, 250, 252, 0.12) 0, transparent 50%),
        radial-gradient(circle at bottom right, rgba(248, 113, 22, 0.22) 0, transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-card-highlight > * {
    position: relative;
}

.hero-card h2 {
    margin: 0 0 12px;
    font-size: 18px;
}

.hero-card ul {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: var(--color-text-soft);
    line-height: 1.7;
}

.metrics {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.metric-item {
    flex: 1;
}

.metric-value {
    font-size: 22px;
    font-weight: 700;
}

.metric-label {
    font-size: 12px;
    color: var(--color-text-soft);
}

.metric-desc {
    margin-top: 10px;
    font-size: 12px;
    color: var(--color-text-soft);
}

/* SECTIONS */
.section {
    padding: 44px 0;
}

.section-alt {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9) 0, #020617 80%);
}

.section-header {
    text-align: center;
    margin-bottom: 26px;
}

.section-header h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.section-header p {
    font-size: 14px;
    color: var(--color-text-soft);
}

.grid {
    display: grid;
    gap: 20px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    position: relative;
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.86) 0, #020617 70%);
    border-radius: var(--radius-card);
    padding: 20px 18px 18px;
    border: 1px solid rgba(31, 41, 55, 0.95);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.9);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at top left, rgba(248, 113, 22, 0.09) 0, transparent 55%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.08) 0, transparent 50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.card > * {
    position: relative;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.95);
    border-color: rgba(248, 113, 22, 0.7);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.card > p {
    font-size: 13px;
    color: var(--color-text-soft);
    margin-bottom: 10px;
}

.card-list {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: var(--color-text-soft);
    line-height: 1.7;
}

.case-card {
    position: relative;
}

.case-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(248, 250, 252, 0.06);
    color: #fdba74;
    font-size: 11px;
    margin-bottom: 8px;
}

.section-contact {
    padding-bottom: 56px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.8fr);
    gap: 20px;
}

.contact-card {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9) 0, #020617 80%);
    border-radius: 22px;
    padding: 20px 20px 18px;
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(31, 41, 55, 0.95);
}

.contact-card h3 {
    margin: 0 0 10px;
}

.contact-list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    font-size: 13px;
    color: var(--color-text-soft);
}

.contact-list li {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.contact-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
}

.contact-highlights span {
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.9);
    border: 1px dashed rgba(75, 85, 99, 0.9);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-row label {
    font-size: 13px;
}

.form-row select,
.form-row textarea,
.form-row input {
    font-family: inherit;
    font-size: 13px;
    padding: 8px 9px;
    border-radius: 11px;
    border: 1px solid rgba(55, 65, 81, 0.95);
    background: rgba(15, 23, 42, 0.9);
    outline: none;
    color: #e5e7eb;
}

.form-row select:focus,
.form-row textarea:focus,
.form-row input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 1px rgba(248, 113, 22, 0.3);
}

.form-tip {
    font-size: 12px;
    color: var(--color-text-mute);
}

/* FOOTER */
.site-footer {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    background: rgba(3, 7, 18, 0.98);
    padding: 16px 0;
    font-size: 12px;
    color: var(--color-text-mute);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.footer-logo .logo-mark {
    width: 22px;
    height: 22px;
    font-size: 14px;
    box-shadow: 0 12px 24px rgba(248, 113, 22, 0.6);
}

.footer-logo .logo-text {
    font-size: 15px;
}

.footer-desc {
    max-width: 420px;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.footer-links span {
    color: var(--color-text-mute);
}

.footer-links a {
    color: var(--color-text-mute);
}

.footer-meta {
    margin-top: 6px;
    text-align: right;
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-panel {
        order: -1;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .nav {
        position: fixed;
        inset: var(--header-height) 18px auto 18px;
        border-radius: 20px;
        background: rgba(15, 23, 42, 0.98);
        box-shadow: 0 22px 60px rgba(0, 0, 0, 0.9);
        padding: 10px 16px 12px;
        flex-direction: column;
        gap: 4px;
        transform-origin: top;
        transform: scaleY(0.7);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .nav.nav-open {
        opacity: 1;
        pointer-events: auto;
        transform: scaleY(1);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header-contact {
        display: none;
    }

    .hero {
        padding-top: 28px;
    }

    .section {
        padding: 32px 0;
    }

    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }
}

