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

html {
    background-color: #ffffff;
}

:root {
    --primary-color: #007aff;
    --primary-dark: #0056cc;
    --text-dark: #1e293b;
    --text-gray: #334155;
    --bg-light: #ffffff;
    --bg-primary: #ffffff;
    --white: #FFFFFF;
    --border-color: #D1D5DB;
    /* 與 2026_0412_guest.morefans.tw 頁首導覽一致 */
    --mf-ink-soft: #425466;
    --mf-ink: #0a2540;
}

body {
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-gray);
    background-color: #ffffff;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.section-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #333333;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background-color: #333333;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.nav {
    z-index: 99;
    color: var(--mf-ink-soft);
    font-size: 16px;
    background-color: #ffffff;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    display: flex;
    position: sticky;
    top: 0;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1440px;
    padding: 0.75rem 24px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: transparent;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    flex: 1;
    justify-content: flex-start;
    align-items: center;
    display: flex;
}

.nav-center {
    flex: 1;
    justify-content: center;
    align-items: center;
    display: flex;
}

.nav-right {
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    display: flex;
}

.nav-logo {
    grid-column-gap: 0.5rem;
    grid-row-gap: 0.5rem;
    color: inherit;
    justify-content: flex-start;
    align-items: center;
    min-height: 2.5rem;
    text-decoration: none;
    display: flex;
}

.nav-logo:hover,
.nav-logo:focus,
.nav-logo:active {
    color: color-mix(in srgb, currentColor 80%, transparent);
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    grid-column-gap: 0.5rem;
    grid-row-gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    height: 2.5rem;
    justify-content: flex-start;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-logo-icon {
    aspect-ratio: 1;
    flex: none;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-logo-icon img {
    width: 33px;
    height: 33px;
    display: block;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.nav-logo-en {
    font-size: 0.6875rem;
    line-height: 1.25;
    color: inherit;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.15rem;
}

.paragraph-lg {
    font-size: 1.13rem;
    line-height: 1.6em;
    letter-spacing: 0em;
    color: var(--text-dark);
    font-weight: bold;
}

.nav .paragraph-lg {
    color: var(--mf-ink-soft);
}

.utility-margin-bottom-0 {
    margin-bottom: 0;
}

.nav-menu {
    background-color: transparent;
    justify-content: center;
    align-self: center;
    align-items: center;
    height: 100%;
    margin-bottom: 0;
    padding-left: 0;
    display: flex;
    position: static;
}

.nav-menu-list {
    gap: 0 2.5rem;
    flex-flow: row;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    display: flex;
}

.nav-menu-list-item {
    display: flex;
    margin-bottom: 0 !important;
}

.nav-link {
    grid-column-gap: 0.25rem;
    grid-row-gap: 0.25rem;
    border-radius: 8px;
    white-space: nowrap;
    word-break: keep-all;
    color: var(--mf-ink-soft);
    flex: none;
    justify-content: flex-start;
    align-items: center;
    padding: 0.5em 0.5em;
    text-decoration: none;
    display: flex;
    transition: all 0.2s ease;
    font-weight: bold;
}

.nav-link:hover,
.nav-link:focus {
    background-color: rgba(15, 23, 42, 0.06);
    color: var(--mf-ink);
}

.nav-link.nav-cta {
    background-color: #000000;
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    gap: 0.35rem;
}

.nav-link.nav-cta:hover {
    background-color: #333333;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.nav .nav-link.nav-cta,
.nav .nav-link.nav-cta:hover,
.nav .nav-link.nav-cta:focus {
    color: #ffffff;
}

.nav-link div {
    color: inherit;
}

.nav-link.nav-cta span {
    color: inherit;
}

.lang-toggle {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.lang-toggle:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.nav-mobile-menu-button {
    padding: 0.5rem;
    color: inherit;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-mobile-menu-button:hover {
    color: inherit;
}

.nav-mobile-menu-button .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-mobile-menu-button svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.hero {
    padding: 100px 0 150px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    left: -6%;
    right: -6%;
    top: 40%;
    bottom: -18%;
    z-index: -2;
    background:
        radial-gradient(circle at 18% 88%, rgba(99, 102, 241, 0.24), transparent 52%),
        radial-gradient(circle at 82% 92%, rgba(56, 189, 248, 0.22), transparent 50%),
        radial-gradient(circle at 52% 100%, rgba(236, 72, 153, 0.18), transparent 55%);
    filter: blur(34px);
    transform: translateZ(0);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.52) 32%,
        rgba(248, 250, 252, 0.38) 58%,
        rgba(226, 232, 240, 0.62) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
    z-index: -1;
}

.hero > .container,
.hero .hero-shape {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-gray);
    line-height: 1.8;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: none;
    border-radius: 24px;
    aspect-ratio: auto;

    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);
}

.hero-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    opacity: 0.15;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.hero-stats-wrapper {
    aspect-ratio: auto;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-image-wrapper.hero-stats-wrapper::after {
    content: none;
    display: none;
}

.hero-image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    filter: saturate(0.8) contrast(1.1);
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.hero-shape svg {
    width: 100%;
    height: 100%;
}

.shape-fill {
    fill: #ffffff;
}

.why-choose {
    padding: 100px 0;
    background-color: #fafafa;
    border-top: 1px solid #e5e7eb;
}

.why-choose .section-title {
    max-width: 800px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.6;
}

.about {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    margin-bottom: 30px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.industries {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.industries .section-subtitle {
    text-align: center;
    letter-spacing: 0.05em;
}

.industries .section-title {
    margin-bottom: 0.5rem;
}

.industries-desc {
    text-align: center;
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 2rem 1rem;
    margin-top: 2rem;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.industry-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.industry-icon svg {
    width: 48px;
    height: 48px;
}

.industry-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.services {
    padding: 100px 0;
    background-color: #fafafa;
    border-top: 1px solid #e5e7eb;
}

.services .section-subtitle {
    text-align: center;
    letter-spacing: 0.05em;
}

.brand-stack {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 16px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.brand-row:hover {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 2px rgba(203, 213, 225, 0.35);
}

.brand-row:focus-visible {
    outline: 2px solid rgba(30, 41, 59, 0.35);
    outline-offset: 3px;
}

.brand-row {
    justify-content: space-between;
}

.brand-left {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.brand-left svg,
.brand-left img {
    flex: none;
    display: block;
    max-width: 100%;
}

/* Per-logo size tuning */
.brand-left img[class*="eco-size-"] {
    height: 30px;
    width: auto;
    transform-origin: left center;
    transform: scale(var(--eco-scale, 1));
}

/* Per-logo visual scaling (does not affect card layout size) */
.eco-size-01 { --eco-scale: 1; }
.eco-size-02 { --eco-scale: 1; }
.eco-size-03 { --eco-scale: 1; }
.eco-size-04 { --eco-scale: 1; }
.eco-size-05 { --eco-scale: 1.13; }
.eco-size-06 { --eco-scale: 1.13; }
.eco-size-07 { --eco-scale: 1; }

.brand-act {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(30, 41, 59, 0.6);
}

.brand-arrow {
    transition: transform 0.18s ease;
}

.brand-row:hover .brand-arrow {
    transform: translateX(4px);
}

.service-nav-list {
    list-style: none;
    margin: 60px 0 0;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}

.service-nav-list.divide-y.divide-gray-100 > li + li {
    border-top: 1px solid #f3f4f6;
}

.service-nav-list > li {
    width: 100%;
}

.service-nav-link {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    align-items: center;
    gap: 16px;
    padding: 14px 64px 14px 20px;
    text-decoration: none;
    transition: background-color 0.18s ease;
}

.service-nav-link.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.service-nav-left {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.service-nav-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.service-nav-icon > svg,
.service-nav-icon > div > svg {
    display: block;
}

.service-nav-icon > div.bg-black {
    background: #000;
    border-radius: 6px;
    padding: 8px;
    display: inline-flex;
}

.service-nav-name {
    font-size: 1rem;
    color: #111827;
    line-height: 1.35;
    font-weight: 500;
    white-space: nowrap;
}

.service-nav-right {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-glass-shell {
    position: relative;
    margin-top: 56px;
    border-radius: 28px;
    padding: 26px;
    overflow: hidden;
    isolation: isolate;
}

.services-glass-shell::before {
    content: "";
    position: absolute;
    inset: -22% -6% auto;
    height: 360px;
    z-index: -2;
    background:
        radial-gradient(circle at 14% 38%, rgba(99, 102, 241, 0.22), transparent 56%),
        radial-gradient(circle at 82% 28%, rgba(56, 189, 248, 0.22), transparent 54%),
        radial-gradient(circle at 54% 82%, rgba(236, 72, 153, 0.18), transparent 58%);
    filter: blur(34px);
    transform: translateZ(0);
}

.services-glass-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.44), rgba(248, 250, 252, 0.12));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
    z-index: -1;
}

.services-glass-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-glass-card {
    min-height: 148px;
}

.service-glass-link {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 10px 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.24));
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    font-family: "Inter", "SF Pro Text", "Segoe UI", "Noto Sans TC", sans-serif;
}

.service-glass-link:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.16);
}

.service-glass-link:focus-visible {
    outline: 2px solid rgba(51, 65, 85, 0.35);
    outline-offset: 3px;
}

.service-glass-icon {
    position: relative;
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    opacity: 1;
    filter: none;
    transition: filter 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.service-glass-icon::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--service-glow, rgba(59, 130, 246, 0.34)) 0%, transparent 68%);
    filter: blur(16px);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.28s ease, transform 0.28s ease;
    z-index: -1;
}

.service-glass-icon > svg {
    width: 58px;
    height: 58px;
    display: block;
}

.service-glass-icon > div > svg {
    width: 58px;
    height: 58px;
    display: block;
}

.service-glass-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: 0.01em;
}

.service-glass-btn {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: linear-gradient(160deg, #475569, #334155);
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 10px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 16px rgba(30, 41, 59, 0.28);
    transition: background 0.25s ease, transform 0.25s ease;
}

.service-glass-btn svg {
    width: 14px;
    height: 14px;
}

.service-glass-link:hover .service-glass-btn {
    background: linear-gradient(160deg, #334155, #1e293b);
    transform: translateX(2px);
}

.service-glass-link:hover .service-glass-icon {
    opacity: 1;
    filter: none;
    transform: translateY(-2px);
}

.service-glass-link:hover .service-glass-icon::after {
    opacity: 1;
    transform: scale(1);
}

.matrix-list {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.matrix-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 18px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.matrix-card {
    --matrix-accent: #1e293b;
}

.matrix-card:focus-visible {
    outline: 2px solid rgba(30, 41, 59, 0.35);
    outline-offset: 3px;
}

.matrix-ico {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    color: var(--matrix-accent);
    transition: color 0.2s ease;
}

.matrix-ico svg {
    width: 24px;
    height: 24px;
    display: block;
}

.matrix-txt {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.matrix-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--matrix-accent);
    line-height: 1.25;
    transition: color 0.2s ease;
}

.matrix-sub {
    font-size: 0.95rem;
    color: rgba(51, 65, 85, 0.9);
    line-height: 1.5;
    transition: color 0.2s ease;
}

.matrix-cta {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    color: rgba(30, 41, 59, 0.45);
    transition: transform 0.2s ease, color 0.2s ease;
}

.matrix-cta svg {
    width: 18px;
    height: 18px;
    display: block;
}

.matrix-card-01 {
    --matrix-accent: #D9317A;
}

.matrix-card-02 {
    --matrix-accent: #00F2FE;
}

.matrix-card-03 {
    --matrix-accent: #FF0000;
}

.matrix-card-04 {
    --matrix-accent: #0A66C2;
}

.matrix-card-05 {
    --matrix-accent: #111827;
}

.matrix-card-06 {
    --matrix-accent: #111827;
}

.matrix-card-07 {
    --matrix-accent: #9146FF;
}

.matrix-card-08 {
    --matrix-accent: #1877F2;
}

.matrix-card:hover {
    background-color: #f8fafc;
    border-color: #d1d5db;
}

.matrix-card:hover .matrix-cta {
    color: var(--text-dark);
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .matrix-card {
        padding: 16px 14px;
        gap: 14px;
        border-radius: 12px;
    }

    .matrix-title {
        font-size: 1.05rem;
    }

    .matrix-sub {
        font-size: 0.92rem;
    }

    .brand-row {
        padding: 14px 12px;
        gap: 14px;
    }

    .brand-left svg {
        max-width: 260px;
    }

    .services-glass-shell {
        padding: 18px;
        border-radius: 22px;
    }

    .services-glass-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .service-glass-card {
        min-height: 96px;
    }

    .service-glass-link {
        border-radius: 16px;
        padding: 2px 2px;
        gap: 12px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .service-glass-title {
        font-size: 18px;
        flex: 1;
        text-align: left;
    }

    .service-glass-btn {
        font-size: 0.76rem;
        padding: 9px 12px;
        margin-top: 0;
        flex: none;
        white-space: nowrap;
    }

    .service-glass-icon {
        width: 52px;
        height: 52px;
        flex: none;
    }

    .service-glass-icon > svg,
    .service-glass-icon > div > svg {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 520px) {
    .services-glass-grid {
        grid-template-columns: 1fr;
    }
}

/* Minimal utility classes (Tailwind-like) used in services list */
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.h-6 { height: 24px; }
.h-8 { height: 32px; }
.w-auto { width: auto; }
.object-contain { object-fit: contain; }
.text-gray-400 { color: #9ca3af; }
.block { display: block; }
.w-full { width: 100%; }
.border { border-width: 1px; border-style: solid; }
.border-gray-200 { border-color: #e5e7eb; }
.rounded-lg { border-radius: 12px; }
.divide-y { border-collapse: separate; }
.divide-gray-100 { border-color: #f3f4f6; }
.bg-black { background-color: #000000; }
.rounded { border-radius: 6px; }
.p-2 { padding: 8px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-item {
    text-align: center;
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-item h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.contact {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.testimonials {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.testimonials-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.testimonials-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonials-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.testimonials-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    margin: 0;
}

.testimonials-cta {
    flex-shrink: 0;
}

.testimonials-body {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.testimonials-summary {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.testimonials-rating {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonials-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.testimonials-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    margin-left: -8px;
}

.testimonials-avatar:first-child {
    margin-left: 0;
}

.testimonials-more {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-gray);
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 9999px;
    margin-left: 4px;
}

.testimonials-stars {
    font-size: 0.9375rem;
    color: #f59e0b;
    margin: 0 0 1rem 0;
}

.testimonials-count {
    color: var(--text-gray);
    font-weight: 400;
}

.testimonials-summary-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}

.testimonials-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.testimonials-link:hover {
    text-decoration: underline;
}

.testimonials-slider-wrap {
    position: relative;
    overflow: hidden;
    padding-left: 56px;
    padding-right: 56px;
}

.testimonials-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, color 0.2s;
}

.testimonials-arrow:hover {
    background: #f8fafc;
    color: var(--text-dark);
}

.testimonials-arrow-prev {
    left: 8px;
}

.testimonials-arrow-next {
    right: 8px;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0 1rem;
    -webkit-overflow-scrolling: touch;
}

.testimonials-track::-webkit-scrollbar {
    height: 6px;
}

.testimonials-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.testimonial-card {
    flex: 0 0 min(380px, 85vw);
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.testimonial-logo {
    min-width: 72px;
    height: 48px;
    padding: 0 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), #00b4d8);
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-card-header strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
}

.testimonial-tag {
    font-size: 0.8125rem;
    color: var(--text-gray);
}

.testimonial-quote {
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.75;
    margin: 0 0 1rem 0;
}

.testimonial-summary {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.testimonial-stars {
    font-size: 0.875rem;
    color: #f59e0b;
    margin: 0;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.testimonials-dot.is-active {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .testimonials-slider-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .testimonials-body {
        grid-template-columns: 1fr;
    }

    .testimonials-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .testimonials-arrow-prev,
    .testimonials-arrow-next {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 min(320px, 88vw);
    }
}

.cta-process {
    padding: 80px 0;
    background-color: #f8fafc;
    color: var(--text-dark);
    border-top: 1px solid #e2e8f0;
}

.cta-process .container {
    max-width: 1440px;
    padding: 0 24px;
}

.cta-process-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
    max-width: 100%;
    margin: 0 auto;
}

.cta-block {
    padding: 2rem 0;
}

.cta-block-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.cta-block-lead {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 0.35rem;
}

.cta-block-desc {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.cta-block-btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.cta-block-btn:hover {
    background-color: #333333;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.process-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.process-step {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem 1.25rem;
    align-items: start;
    padding: 1.25rem 0;
    padding-left: 1.25rem;
    position: relative;
    border-left: 2px solid var(--border-color);
    margin-left: 0.6rem;
}

.process-step::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 1.5rem;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
}

.process-num {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-gray);
    letter-spacing: 0.05em;
    margin-top: 0.1rem;
}

.process-body {
    min-width: 0;
}

.process-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.process-desc {
    font-size: 0.9375rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    padding: 60px 0 20px;
    border-top: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 36rem;
    min-width: 0;
}

.footer-brand-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.footer-logo-img {
    flex: none;
    width: 32px;
    height: 32px;
    display: block;
}

.footer-brand-row h3 {
    color: #f8fafc;
    margin: 0;
    line-height: 1.2;
}

.footer-logo p {
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

.footer-links h4,
.footer-contact h4 {
    color: #f8fafc;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #f8fafc;
}

.footer-contact p {
    color: #94a3b8;
}

.footer-contact ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact ul li a:hover {
    color: #f8fafc;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
}

.footer-extra-contact {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-extra-line {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
}

.footer-extra-line-link {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-extra-line-link:hover {
    text-decoration: underline;
}

.footer-extra-line-text {
    color: #e2e8f0;
    font-size: 0.95rem;
}

.footer-extra-hours {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-extra-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-extra-social-icon {
    width: 34px;
    height: 34px;
    background: rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.footer-extra-social-icon img {
    width: 16px;
    height: 16px;
    display: block;
}

.footer-extra-social-icon i {
    font-size: 1rem;
    color: #cbd5e1;
}

.footer-extra-line-icon {
    color: #cbd5e1;
    font-size: 1.2rem;
    transform: translateY(0.5px);
}

.footer-extra-line-sep {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin: 0 1px;
}

.footer-line-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #06c755;
    color: #fff;
    font-weight: 700;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.footer-line-badge-sm {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transform: rotate(0deg);
}

.scroll-top.show {
    display: flex;
}

@media (max-width: 768px) {
    .nav-mobile-menu-button {
        display: flex;
    }

    .nav-center {
        display: none;
    }

    .nav-center.active {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        z-index: 1000;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-menu-list {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-menu-list-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-right {
        justify-content: flex-end;
    }

    .lang-toggle {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero {
        padding: 60px 0 100px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-image {
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 680px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-text .section-subtitle {
        text-align: center;
    }

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

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

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem 0.75rem;
    }

    .cta-process .container {
        padding: 0 20px;
    }

    .cta-process-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 100%;
    }

    .cta-block {
        text-align: center;
    }

    .cta-block-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .process-block {
        padding-left: 0;
    }

    .process-step {
        margin-left: 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

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

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.1rem 0.5rem;
    }

    .industry-icon {
        width: 40px;
        height: 40px;
    }

    .industry-icon svg {
        width: 34px;
        height: 34px;
    }

    .industry-item span {
        font-size: 0.875rem;
    }
}
