:root {
    --futech-ink: #18212f;
    --futech-muted: #637083;
    --futech-blue: #0f5f8c;
    --futech-teal: #2f9b8f;
    --futech-coral: #c96b4b;
    --futech-light: #f5f7f8;
    --futech-border: #dde4e8;
}

body {
    color: var(--futech-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

a {
    color: var(--futech-blue);
}

.btn {
    border-radius: 6px;
    font-weight: 700;
    padding: .75rem 1.15rem;
}

.btn-primary {
    --bs-btn-bg: var(--futech-blue);
    --bs-btn-border-color: var(--futech-blue);
    --bs-btn-hover-bg: #0b4d72;
    --bs-btn-hover-border-color: #0b4d72;
}

.btn-outline-primary {
    --bs-btn-color: var(--futech-blue);
    --bs-btn-border-color: var(--futech-blue);
    --bs-btn-hover-bg: var(--futech-blue);
    --bs-btn-hover-border-color: var(--futech-blue);
}

.navbar-brand {
    letter-spacing: 0;
}

.navbar .nav-link {
    color: var(--futech-ink);
    font-weight: 650;
}

.navbar .nav-link:hover,
.navbar .current-menu-item > .nav-link {
    color: var(--futech-blue);
}

.custom-logo {
    max-height: 54px;
    width: auto;
}

.home-hero {
    background:
        linear-gradient(90deg, rgba(24, 33, 47, .94), rgba(24, 33, 47, .72)),
        radial-gradient(circle at 80% 30%, rgba(47, 155, 143, .55), transparent 34%),
        linear-gradient(135deg, #18212f, #32475a);
    color: #fff;
}

.min-vh-hero {
    min-height: calc(100vh - 82px);
    padding: 5rem 0;
}

.home-hero h1,
.page-hero h1 {
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
}

.home-hero .lead,
.page-hero .lead {
    max-width: 760px;
    color: rgba(255, 255, 255, .82);
}

.page-hero {
    background: linear-gradient(135deg, var(--futech-ink), #29485a);
    color: #fff;
    padding: 6rem 0;
}

.section-padding {
    padding: 5rem 0;
}

.eyebrow {
    color: var(--futech-blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.content-narrow {
    max-width: 840px;
}

.service-card,
.product-card,
.case-card,
.case-detail,
.feature-block,
.process-step,
.testimonial {
    background: #fff;
    border: 1px solid var(--futech-border);
    border-radius: 8px;
    padding: 1.5rem;
}

.service-card,
.case-card,
.feature-block,
.process-step {
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover,
.case-card:hover,
.feature-block:hover,
.process-step:hover {
    box-shadow: 0 1rem 2rem rgba(24, 33, 47, .08);
    transform: translateY(-3px);
}

.product-card {
    overflow: hidden;
    padding: 0;
}

.product-card-media {
    min-height: 170px;
    background:
        linear-gradient(135deg, rgba(15, 95, 140, .7), rgba(47, 155, 143, .72)),
        repeating-linear-gradient(45deg, #dfe7eb 0 12px, #f7f9fa 12px 24px);
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hero-stat-grid div,
.metric-panel div {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    padding: 1.25rem;
}

.hero-stat-grid strong,
.metric-panel strong {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
}

.hero-stat-grid span,
.metric-panel span {
    display: block;
    color: rgba(255, 255, 255, .78);
}

.metric-panel {
    background: var(--futech-ink);
    border-radius: 8px;
    padding: 1rem;
}

.metric-panel div + div {
    margin-top: 1rem;
}

.process-step span {
    color: var(--futech-coral);
    display: block;
    font-weight: 800;
    margin-bottom: .75rem;
}

.testimonial blockquote {
    font-size: 1.08rem;
    margin-bottom: 1.25rem;
}

.testimonial figcaption {
    color: var(--futech-muted);
    font-weight: 700;
}

.cta-band {
    background: linear-gradient(135deg, var(--futech-blue), var(--futech-teal));
    color: #fff;
    padding: 4rem 0;
}

.cta-band p {
    color: rgba(255, 255, 255, .86);
}

.futech-form {
    background: #fff;
    border: 1px solid var(--futech-border);
    border-radius: 8px;
    box-shadow: 0 1rem 2.5rem rgba(24, 33, 47, .08);
    padding: 2rem;
}

.form-control,
.form-select {
    border-radius: 6px;
    padding: .8rem .9rem;
}

.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    margin-bottom: .75rem;
    padding-left: 1.75rem;
    position: relative;
}

.check-list li::before {
    background: var(--futech-teal);
    border-radius: 999px;
    content: "";
    height: .65rem;
    left: 0;
    position: absolute;
    top: .55rem;
    width: .65rem;
}

.map-placeholder {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(24, 33, 47, .12), rgba(47, 155, 143, .2)),
        repeating-linear-gradient(0deg, transparent 0 26px, rgba(24, 33, 47, .08) 26px 27px),
        repeating-linear-gradient(90deg, transparent 0 26px, rgba(24, 33, 47, .08) 26px 27px);
    border: 1px solid var(--futech-border);
    border-radius: 8px;
    display: flex;
    font-weight: 800;
    justify-content: center;
    min-height: 260px;
}

.sample-article {
    border-bottom: 1px solid var(--futech-border);
    margin-bottom: 3rem;
    padding-bottom: 3rem;
}

.rich-content img {
    height: auto;
    max-width: 100%;
}

.footer-link {
    color: rgba(255, 255, 255, .72);
    display: inline-block;
    margin-bottom: .45rem;
    text-decoration: none;
}

.footer-link:hover {
    color: #fff;
}

@media (max-width: 991.98px) {
    .min-vh-hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .section-padding {
        padding: 3.75rem 0;
    }

    .home-hero h1,
    .page-hero h1 {
        font-size: 2.65rem;
    }
}

@media (max-width: 575.98px) {
    .hero-stat-grid {
        grid-template-columns: 1fr;
    }

    .futech-form {
        padding: 1.25rem;
    }
}
