/* ========================================
   BANJI-X | 万事极
   Professional — Tailwind-inspired Clarity
   ======================================== */

:root {
    --bg: #fafafa;
    --bg-elevated: #ffffff;
    --bg-soft: #f5f5f5;
    --bg-hover: #f0f0f0;
    --bg-grid: rgba(0,0,0,0.04);

    --text: #0f0f0f;
    --text-secondary: #525252;
    --text-muted: #737373;
    --text-subtle: #a3a3a3;

    --accent: #0f0f0f;
    --accent-inverse: #ffffff;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow: 0 4px 16px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.05);
    --shadow-lg: 0 24px 48px rgba(0,0,0,0.06);

    --font: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --radius: 8px;
    --radius-sm: 6px;
    --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
    --transition-slow: 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection { background: var(--text); color: var(--accent-inverse); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #d4d4d4; border-radius: 3px; }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ── Grid Background ── */
.grid-bg {
    position: relative;
}
.grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--bg-grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--bg-grid) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 70%, transparent 100%);
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(250,250,250,0.92);
    backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
}
@media (min-width: 768px) { .nav-inner { padding: 0 40px; } }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.logo-mark {
    width: 26px;
    height: 26px;
    color: var(--text);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: color var(--transition);
}
.nav-link:hover { color: var(--text); }

.nav-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-inverse);
    background: var(--accent);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    margin-left: 12px;
    transition: opacity var(--transition), transform var(--transition);
}
.nav-cta:hover { opacity: 0.82; transform: translateY(-1px); }

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text);
    transition: var(--transition);
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
    .nav-toggle { display: none; }
}

.nav.active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--bg-elevated);
    padding: 16px 24px;
    gap: 2px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--bg-hover);
}

.nav.active .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.nav.active .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.active .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* ── Hero ── */
.hero {
    position: relative;
    padding: 150px 0 110px;
    background: var(--bg);
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (min-width: 1024px) { .hero-layout { grid-template-columns: 1fr 1.05fr; gap: 72px; } }

.hero-content { max-width: 540px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-soft);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
    border: 1px solid rgba(0,0,0,0.05);
}

.badge-pulse {
    width: 6px; height: 6px;
    background: #16a34a;
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
    font-size: clamp(2.5rem, 5.2vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-title em {
    font-style: normal;
    color: var(--text-muted);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-inverse);
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text);
    box-shadow: var(--shadow-xs), 0 0 0 1px rgba(0,0,0,0.06);
}
.btn-secondary:hover { background: var(--bg-soft); transform: translateY(-1px); }

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.btn-ghost:hover { color: var(--text); background: var(--bg-soft); }

.btn-lg { padding: 13px 28px; font-size: 0.95rem; }

/* ── Hero Dashboard Carousel ── */
.hero-visual { position: relative; width: 100%; }

.dashboard-carousel {
    position: relative;
    width: 100%;
    min-height: 340px;
}

.dashboard-mockup {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    transform: translateX(24px) scale(0.97);
    transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1), transform 0.55s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}

.dashboard-mockup.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--bg-soft);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 8px; height: 8px; border-radius: 50%; background: #ddd; }

.dash-title {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-subtle);
    letter-spacing: 0.02em;
}

.dash-body {
    display: grid;
    grid-template-columns: 120px 1fr;
    min-height: 280px;
}

.dash-sidebar {
    background: var(--bg-soft);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-right: 1px solid rgba(0,0,0,0.04);
}

.dash-nav-item {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    cursor: default;
}
.dash-nav-item.active {
    background: var(--bg-hover);
    color: var(--text);
    font-weight: 600;
}

.dash-main {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.dash-stat {
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dash-stat-label {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dash-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.dash-stat-change {
    font-size: 0.65rem;
    font-weight: 600;
    color: #16a34a;
}

.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 60px;
    padding: 10px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
}

.chart-bar {
    flex: 1;
    height: var(--h);
    background: var(--text-subtle);
    border-radius: 2px 2px 0 0;
    opacity: 0.35;
    transition: opacity var(--transition);
}
.chart-bar.active { opacity: 0.8; background: var(--text); }

.dash-timeline {
    display: flex;
    gap: 6px;
    padding: 10px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
}

.tl-item {
    flex: 1;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.tl-item.done { color: var(--text); font-weight: 600; }
.tl-item.active { color: var(--text); font-weight: 700; }

.tl-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--text-subtle);
    opacity: 0.4;
}
.tl-item.done .tl-dot { background: var(--text); opacity: 1; }
.tl-item.active .tl-dot { background: var(--text); opacity: 1; box-shadow: 0 0 0 2px var(--bg-soft), 0 0 0 4px var(--text); }

.dash-proto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 10px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
}

.proto-card {
    aspect-ratio: 3/4;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition), box-shadow var(--transition);
}
.proto-card.active { box-shadow: var(--shadow-sm); transform: scale(1.02); }

.dash-deploy {
    padding: 10px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.deploy-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-hover);
    border-radius: 2px;
    overflow: hidden;
}

.deploy-fill {
    height: 100%;
    width: var(--w);
    background: var(--text);
    border-radius: 2px;
    transition: width 1s ease;
}

.deploy-label {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
}

.dashboard-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.dashboard-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-subtle);
    opacity: 0.25;
    transition: opacity var(--transition), background var(--transition), transform var(--transition);
    cursor: pointer;
}

.dashboard-dots span.active {
    opacity: 1;
    background: var(--text);
    transform: scale(1.1);
}

@media (max-width: 640px) {
    .dash-body { grid-template-columns: 1fr; }
    .dash-sidebar { display: none; }
    .dash-stats { grid-template-columns: 1fr; }
    .dashboard-carousel { min-height: 420px; }
}

/* ── Stats Bar ── */
.stats-bar {
    background: var(--bg-elevated);
    padding: 52px 0;
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
}

@media (min-width: 768px) {
    .stats-row { justify-content: space-between; gap: 0; }
}

.stats-item { text-align: center; }

.stats-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.04em;
    line-height: 1;
}

.stats-suffix {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-muted);
}

.stats-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 500;
}

/* ── Sections ── */
.section { padding: 100px 0; position: relative; }

.section-header { margin-bottom: 56px; }

.section-header.center {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 56px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── About ── */
.about { background: var(--bg-soft); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: start;
}

@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
}

.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 18px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.about-feature:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
    border-color: rgba(0,0,0,0.07);
}

.feature-icon {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    color: var(--text);
    flex-shrink: 0;
}
.feature-icon svg { width: 18px; height: 18px; }

.about-feature strong {
    display: block;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.about-feature span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* About visual cards */
.about-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    padding: 22px;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(0,0,0,0.04);
}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(0,0,0,0.07);
}

.about-card-1 { margin-left: 0; }
.about-card-2 { margin-left: 16px; }
.about-card-3 { margin-left: 32px; }

@media (min-width: 640px) {
    .about-card-2 { margin-left: 28px; }
    .about-card-3 { margin-left: 56px; }
}

.about-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    color: var(--text);
    flex-shrink: 0;
}

.about-card-icon svg { width: 18px; height: 18px; }

.about-card-text { flex: 1; }

.about-card-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.about-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Products ── */
.products { background: var(--bg); }

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,0,0,0.08);
}

.product-icon-wrap {
    position: relative;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon {
    width: 100%;
    height: 100%;
    color: var(--text-muted);
    transition: color var(--transition);
}

.product-card:hover .product-icon {
    color: var(--text);
}

/* SVG Icon Draw Animation on Hover */
.product-icon svg {
    width: 100%;
    height: 100%;
}

.product-icon path,
.product-icon circle,
.product-icon rect,
.product-icon line,
.product-icon polyline {
    stroke-dasharray: 120;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.4,0,0.2,1);
}

.product-card:hover .product-icon path,
.product-card:hover .product-icon circle,
.product-card:hover .product-icon rect,
.product-card:hover .product-icon line,
.product-card:hover .product-icon polyline {
    stroke-dashoffset: 0;
    animation: iconDraw 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes iconDraw {
    0% { stroke-dashoffset: 120; }
    100% { stroke-dashoffset: 0; }
}

.product-name {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.product-desc {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 14px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-soft);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.01em;
    border: 1px solid rgba(0,0,0,0.04);
}

/* ── Partners ── */
.partners { background: var(--bg-soft); }

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 640px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .partners-grid { grid-template-columns: repeat(5, 1fr); } }

.partner-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(0,0,0,0.07);
}

.partner-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    transition: background var(--transition), color var(--transition);
}

.partner-card:hover .partner-logo {
    background: var(--text);
    color: var(--accent-inverse);
}

.partner-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.partner-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── CTA ── */
.cta-section { padding: 64px 0 100px; background: var(--bg); }

.cta-card {
    background: var(--text);
    border-radius: var(--radius);
    padding: 56px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--accent-inverse);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}

.cta-title em {
    font-style: normal;
    color: var(--text-subtle);
}

.cta-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 28px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.cta-actions .btn-primary {
    background: var(--accent-inverse);
    color: var(--text);
}
.cta-actions .btn-primary:hover { opacity: 0.9; }

.cta-actions .btn-ghost {
    color: rgba(255,255,255,0.7);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}
.cta-actions .btn-ghost:hover {
    color: var(--accent-inverse);
    background: rgba(255,255,255,0.05);
}

/* ── Footer ── */
.footer {
    background: var(--bg-soft);
    padding: 56px 0 0;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-main { grid-template-columns: 1.3fr 2fr; gap: 64px; }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.logo-mark-sm { width: 22px; height: 22px; color: var(--text); }

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    background: var(--bg-elevated);
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.social-link:hover {
    color: var(--text);
    background: var(--bg-hover);
    border-color: rgba(0,0,0,0.07);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (min-width: 640px) {
    .footer-links { grid-template-columns: repeat(3, 1fr); }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-link:hover { color: var(--text); }

.footer-address {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid var(--bg-hover);
    font-size: 0.78rem;
    color: var(--text-subtle);
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--text); }

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.1s; }
.reveal-delay-3 { transition-delay: 0.15s; }
.reveal-delay-4 { transition-delay: 0.2s; }
.reveal-delay-5 { transition-delay: 0.25s; }
.reveal-delay-6 { transition-delay: 0.3s; }

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