/* Ascenta Studio — styles.css?v=45
   主样式：全局重置 + 排版 + 导航 + Hero + 服务卡片 + 品牌网格 + FAQ + 页脚 + 响应式
   对应 REPORT §3.3 CSS 文件体系 (styles.css 31KB)
   性能原则：动画只用 transform/opacity，不触发 layout/paint (REPORT §3.5)
*/

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: #0a0a0a;
    color: #f5f5f5;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, video, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #7c9eff;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ── Layout helpers ───────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 340;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.section-cta {
    margin-top: 2.5rem;
    text-align: center;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-ui);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    will-change: transform;
}

.btn-primary {
    background: #7c9eff;
    color: #0a0a0a;
}

.btn-primary:hover {
    background: #9bb5ff;
    color: #0a0a0a;
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid #3a3a3a;
    color: #f5f5f5;
}

.btn-outline:hover {
    border-color: #7c9eff;
    color: #7c9eff;
    transform: translateY(-1px);
}

/* ── Site header / nav ─────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-img {
    width: 28px;
    height: 28px;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    color: #c0c0c0;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #f5f5f5;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #f5f5f5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 340;
    margin-bottom: 2rem;
    line-height: 1.05;
    max-width: 800px;
}

.hero-cta {
    font-size: 1rem;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a0a0a0;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, #a0a0a0, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(1.2); opacity: 1; }
}

/* ── Services overview ──────────────────────────────────────── */
.services-overview,
.concept-brands-preview,
.quoting-principles,
.faq-section {
    padding: 5rem 0;
}

.services-overview {
    background: #111;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.services-grid-detailed {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ── Service card ───────────────────────────────────────────── */
.service-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 158, 255, 0.3);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.service-short {
    color: #7c9eff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-description {
    color: #c0c0c0;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-feature {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.service-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7c9eff;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-from {
    font-size: 0.8rem;
    color: #707070;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
}

.service-cta {
    width: 100%;
    text-align: center;
}

/* ── Brand cards ────────────────────────────────────────────── */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.brands-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.brand-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: block;
}

.brand-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 158, 255, 0.3);
}

.brand-card-media {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #222;
}

.brand-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.brand-card:hover .brand-card-media img {
    transform: scale(1.05);
}

.brand-card-info {
    padding: 1.25rem;
}

.brand-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #707070;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0.25rem 0;
}

.brand-tagline {
    font-size: 0.85rem;
    color: #a0a0a0;
}

.brand-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.brand-badge-checkout {
    background: rgba(124, 158, 255, 0.15);
    color: #7c9eff;
}

/* ── Quoting principles ─────────────────────────────────────── */
.quoting-principles {
    background: #0a0a0a;
}

.principles-list {
    list-style: none;
    max-width: 600px;
}

.principles-list li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 1rem;
    color: #c0c0c0;
}

.principles-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #7c9eff;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section {
    background: #111;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
    padding: 1.25rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #7c9eff;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #707070;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 0 1.25rem;
    color: #a0a0a0;
    font-size: 0.95rem;
}

/* ── Page header ────────────────────────────────────────────── */
.page-header {
    padding: 8rem 0 3rem;
    background: #0a0a0a;
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 340;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

/* ── SEO page ───────────────────────────────────────────────── */
.seo-header {
    padding: 8rem 0 3rem;
}

.seo-audience {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
}

.audience-label {
    color: #707070;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.seo-content {
    padding: 3rem 0;
}

.seo-content-body {
    max-width: 720px;
}

.seo-content-body h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    margin: 2rem 0 1rem;
}

.seo-content-body p {
    color: #c0c0c0;
    margin-bottom: 1.5rem;
}

.seo-features {
    margin: 1.5rem 0;
}

.seo-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #c0c0c0;
}

.seo-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #7c9eff;
}

.seo-cta-block {
    margin-top: 3rem;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 8px;
    text-align: center;
}

.seo-cta-block h2 {
    margin-top: 0;
}

/* ── Contact ───────────────────────────────────────────────── */
.contact-section {
    padding: 3rem 0 5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-details dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #707070;
    margin-top: 1rem;
}

.contact-details dd {
    color: #f5f5f5;
    margin-bottom: 0.5rem;
}

.contact-principles {
    margin-top: 2rem;
}

.contact-principles h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

/* ── Forms (quote.css will override) ──────────────────────── */
.form-row {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-bottom: 0.4rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #f5f5f5;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #7c9eff;
}

textarea.form-input {
    resize: vertical;
}

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.form-feedback.success {
    color: #4ade80;
}

.form-feedback.error {
    color: #f87171;
}

/* ── Legal pages ────────────────────────────────────────────── */
.legal-content {
    padding: 3rem 0 5rem;
}

.legal-body {
    max-width: 720px;
}

.legal-body h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    margin: 2rem 0 1rem;
}

.legal-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 1.5rem 0 0.75rem;
}

.legal-body p {
    color: #c0c0c0;
    margin-bottom: 1rem;
}

.legal-body ul {
    list-style: disc;
    margin: 1rem 0 1rem 1.5rem;
}

.legal-body li {
    color: #c0c0c0;
    margin-bottom: 0.5rem;
}

/* ── 404 ───────────────────────────────────────────────────── */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 340;
    color: #2a2a2a;
    line-height: 1;
}

.error-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin: 1rem 0;
}

.error-message {
    color: #a0a0a0;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand .footer-logo {
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: #707070;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-contact {
    font-size: 0.85rem;
    color: #a0a0a0;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.85rem;
    color: #a0a0a0;
}

.footer-col a:hover {
    color: #7c9eff;
}

.footer-bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 0.8rem;
    color: #707070;
}

.footer-built {
    margin-top: 0.25rem;
    font-size: 0.75rem;
}

/* ── Reveal animation (IntersectionObserver) ─────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #0a0a0a;
        padding: 1.5rem 2rem;
        gap: 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid,
    .brands-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
