:root {
    --primary: #A8000B;
    --primary-dark: #7D0006;
    --primary-light: #FFF2F3;
    --text-main: #2D3748;
    --text-muted: #718096;
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 20px -2px rgba(168, 0, 11, 0.03), 0 2px 8px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 30px 60px -15px rgba(0, 0, 0, 0.05), 0 10px 25px -5px rgba(168, 0, 11, 0.02);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --primary-light: #2D0A0C;
    --text-main: #E2E8F0;
    --text-muted: #8899B4;
    --bg-body: #0E1017;
    --bg-card: #181B24;
    --shadow-sm: 0 4px 20px -2px rgba(0, 0, 0, 0.3), 0 2px 8px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 30px 60px -15px rgba(0, 0, 0, 0.4), 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] header {
    background: rgba(14, 16, 23, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] nav a {
    color: #A0AEC0;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #12141E 0%, #0E1017 100%);
}

[data-theme="dark"] .hero::before {
    background: radial-gradient(circle, rgba(168, 0, 11, 0.06) 0%, transparent 70%);
}

[data-theme="dark"] .hero::after {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.04) 0%, transparent 70%);
}

[data-theme="dark"] .hero-watermark {
    color: rgba(168, 0, 11, 0.04);
}

[data-theme="dark"] .hero-content p,
[data-theme="dark"] .influence-text {
    color: #A0AEC0;
}

[data-theme="dark"] .hero-badges span {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(168, 0, 11, 0.15);
    color: #CBD5E0;
}

[data-theme="dark"] .hero-img-glow {
    background: linear-gradient(135deg, rgba(168,0,11,0.15) 0%, transparent 50%, rgba(56,189,248,0.1) 100%);
}

[data-theme="dark"] .intro-box {
    background: var(--bg-card);
    border-color: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .feature-mini-card {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .feature-mini-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .feature-mini-card h4,
[data-theme="dark"] .biz-card h3,
[data-theme="dark"] .section-heading h2,
[data-theme="dark"] .sub-block-title,
[data-theme="dark"] .contact-left-brand h3 {
    color: #E2E8F0;
}

[data-theme="dark"] .biz-card {
    background: #181B24 !important;
    border-color: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .biz-tags span {
    background: rgba(255, 255, 255, 0.05);
    color: #8899B4;
}

[data-theme="dark"] .modern-contact-section {
    background: var(--bg-card);
    border-color: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .contact-card-item {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .contact-card-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .contact-card-value {
    color: #E2E8F0;
}

[data-theme="dark"] .section-divider {
    background: linear-gradient(90deg, transparent, rgba(168, 0, 11, 0.2), transparent);
}

[data-theme="dark"] .hero-img-wrapper::after {
    box-shadow: inset 0 0 30px 10px rgba(14, 16, 23, 0.5);
}

[data-theme="dark"] footer {
    background: #080A10;
    border-top-color: rgba(255, 255, 255, 0.03);
}

*, *::before, *::after {
    transition: background-color 0.4s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Noto Serif SC", "宋体", "Songti SC", "SimSun", serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: multiply;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container a{color:#475569;text-decoration:none;}

.inline-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    flex-shrink: 0;
}


.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #E53E3E);
    z-index: 1001;
    transition: width 0.1s linear;
    width: 0%;
}


header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease;
}

header.hide {
    transform: translateY(-100%);
}

.header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-container img {
    max-height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

nav a {
    text-decoration: none;
    color: #4A5568;
    font-weight: 600;
    margin-left: 36px;
    transition: var(--transition);
    font-size: 15px;
    position: relative;
    padding: 4px 0;
    display: inline-block;
}

nav {
    display: flex;
    align-items: center;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary);
}

nav a.active {
    color: var(--primary);
}

nav a.active::after {
    width: 100%;
}

.dark-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: 24px;
    margin-top: 2px;
    border-radius: 50%;
    color: #4A5568;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.dark-toggle:hover {
    color: var(--primary);
    background: rgba(168, 0, 11, 0.06);
}

[data-theme="dark"] .dark-toggle {
    color: #A0AEC0;
}

[data-theme="dark"] .dark-toggle:hover {
    color: var(--primary);
    background: rgba(168, 0, 11, 0.1);
}

.sun-icon { display: block; }
.moon-icon { display: none; }

[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }


.hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(168, 0, 11, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #FFF6F6 0%, #F4F7FC 100%);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 0, 11, 0.08) 0%, rgba(56, 189, 248, 0.04) 40%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: left 0.15s ease-out, top 0.15s ease-out, opacity 0.4s ease;
    z-index: 1;
    will-change: left, top;
    opacity: 0;
}

@media (hover: hover) {
    .hero:hover .hero-glow {
        opacity: 1;
    }
}

[data-theme="dark"] .hero-glow {
    background: radial-gradient(circle, rgba(168, 0, 11, 0.15) 0%, rgba(56, 189, 248, 0.08) 40%, transparent 70%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 0, 11, 0.03) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.03) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.hero-watermark {
    position: absolute;
    font-size: 160px;
    font-weight: 900;
    color: rgba(168, 0, 11, 0.02);
    white-space: nowrap;
    bottom: -20px;
    left: 5%;
    user-select: none;
    pointer-events: none;
    letter-spacing: 4px;
}

.hero-content {
    flex: 1;
    max-width: 560px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    line-height: 1.3;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 40px;
    text-align: left;
    text-shadow: 0 0 0.5px currentColor;
    min-height: 1.3em;
}

.typing-line {
    background: linear-gradient(135deg, #A8000B 0%, #E53E3E 25%, #A8000B 50%, #E53E3E 75%, #A8000B 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: metalFlow 4s linear infinite;
    animation-delay: 1.5s;
}

@keyframes metalFlow {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.typing-line .char {
    display: inline-block;
    animation: popIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes popIn {
    0%   { opacity: 0; transform: translateY(12px) scale(0.9); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.typing-cursor {
    display: inline-block;
    color: var(--primary);
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    margin-left: 2px;
    opacity: 0;
    animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 28%, 100% { opacity: 1; }
    8%  { opacity: 0.15; }
    12% { opacity: 1; }
    22% { opacity: 0.2; }
    26% { opacity: 1; }
}

.hero-sub-company {
    color: var(--primary);
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-top: 18px;
    letter-spacing: 3px;
}

.hero-sub-en {
    color: var(--text-muted);
    display: block;
    font-size: 12px;
    font-weight: normal;
    margin-top: 10px;
    letter-spacing: -0.2px;
}

.hero-content p {
    font-size: 16.5px;
    color: #4A5568;
    margin-bottom: 40px;
    text-align: left;
    line-height: 1.8;
    text-indent: 2em;
}

.influence-text {
    font-size: 15px;
    color: #4A5568;
    text-align: justify;
    line-height: 2;
    text-indent: 2em;
}

.biz-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-mini-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-left-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.hero-badges {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.hero-badges span {
    background: #ffffff;
    border: 1px solid rgba(168, 0, 11, 0.08);
    color: #333;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}


.hero-split {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 30px 80px -20px rgba(168, 0, 11, 0.25),
        0 10px 30px -10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-10deg) rotateX(3deg);
}

.hero-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    box-shadow: inset 0 0 30px 10px rgba(248, 250, 252, 0.35);
    pointer-events: none;
    z-index: 4;
}

.slideshow {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: -10px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: crossfade 25s infinite;
    filter: blur(6px) scale(1.08);
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }
.slide:nth-child(5) { animation-delay: 20s; }

@keyframes crossfade {
    0%   { opacity: 0; filter: blur(6px) scale(1.08); }
    4%   { opacity: 1; filter: blur(0) scale(1); }
    20%  { opacity: 1; filter: blur(0) scale(1); }
    24%  { opacity: 0; filter: blur(6px) scale(1.08); }
    100% { opacity: 0; filter: blur(6px) scale(1.08); }
}

.hero-img-wrapper:hover {
    transform: scale(1.02);
    box-shadow:
        0 40px 100px -20px rgba(168, 0, 11, 0.35),
        0 15px 40px -10px rgba(0, 0, 0, 0.1);
}

.hero-img-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168,0,11,0.08) 0%, transparent 50%, rgba(56,189,248,0.06) 100%);
    pointer-events: none;
    z-index: 2;
}

.slide-watermark {
    position: absolute;
    right: 14px;
    bottom: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
    z-index: 3;
    pointer-events: none;
    white-space: nowrap;
}


@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
        gap: 40px;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-content h1 {
        text-align: center;
    }
    .hero-content p {
        text-align: center;
    }
    .hero-badges {
        justify-content: center;
    }
    .hero-img-wrapper {
        max-width: 420px;
    }
}
}

.hero-badges span:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 10px 30px -8px rgba(168, 0, 11, 0.15);
}

.hero-badges span:hover .inline-icon {
    stroke: var(--primary);
}

.section-divider {
    height: 1px;
    max-width: 200px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(168, 0, 11, 0.12), transparent);
}


.section-heading {
    text-align: center;
    margin: 90px 0 55px 0;
    position: relative;
}

.section-heading h2 {
    font-size: 32px;
    color: #1A202C;
    font-weight: 900;
    position: relative;
    display: inline-block;
    z-index: 2;
    text-shadow: 0 0 0.5px currentColor;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 35px;
    height: 4px;
    background: var(--primary);
    margin: 12px auto 0 auto;
    border-radius: 4px;
}


.intro-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.01);
    position: relative;
    overflow: hidden;
}

.intro-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(168,0,11,0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(56,189,248,0.03) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(168,0,11,0.008) 20px,
            rgba(168,0,11,0.008) 21px
        );
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.feature-item-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-mini-card {
    background: #F8FAFC;
    padding: 24px;
    border-radius: 6px;
    border-top: 3px solid transparent;
    transition: var(--transition);
    position: relative;
}

.feature-mini-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.feature-mini-card:nth-child(1) {
    border-top-color: #38BDF8;
}
.feature-mini-card:nth-child(2) {
    border-top-color: #F59E0B;
}
.feature-mini-card:nth-child(3) {
    border-top-color: #10B981;
}
.feature-mini-card:nth-child(4) {
    border-top-color: #A855F7;
}

.feature-mini-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mini-icon-bg {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-mini-card:nth-child(1) .mini-icon-bg {
    background: #E0F2FE;
    color: #0284C7;
}
.feature-mini-card:nth-child(2) .mini-icon-bg {
    background: #FEF3C7;
    color: #D97706;
}
.feature-mini-card:nth-child(3) .mini-icon-bg {
    background: #D1FAE5;
    color: #059669;
}
.feature-mini-card:nth-child(4) .mini-icon-bg {
    background: #F3E8FF;
    color: #7E22CE;
}

.feature-mini-card:hover .mini-icon-bg {
    transform: scale(1.1) rotate(-4deg);
}

.feature-mini-card h4 {
    font-size: 16px;
    color: #1A202C;
    font-weight: 700;
}

.sub-block-title {
    font-size: 18px;
    font-weight: 800;
    color: #1A202C;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-block-title::before {
    content: "";
    width: 4px;
    height: 18px;
    background: var(--primary);
    border-radius: 4px;
}

.influence-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}



.business-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
    perspective: 1000px;
}

.biz-card {
    background: var(--bg-card);
    border-radius: 6px;
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.15s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.biz-card:nth-child(1) { background: linear-gradient(135deg, #F0F7FF, #ffffff); }
.biz-card:nth-child(2) { background: linear-gradient(135deg, #FFFAF0, #ffffff); }
.biz-card:nth-child(3) { background: linear-gradient(135deg, #F0FFF4, #ffffff); }
.biz-card:nth-child(4) { background: linear-gradient(135deg, #FAF5FF, #ffffff); }

.biz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #E53E3E, var(--primary));
    background-size: 200% 100%;
    opacity: 0;
    transition: var(--transition);
}

.biz-card:hover::before {
    opacity: 1;
    animation: shimmer 1.2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.biz-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(168, 0, 11, 0.1);
}

.biz-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.biz-card:nth-child(1) .biz-icon-wrapper {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    color: #0284C7;
}
.biz-card:nth-child(2) .biz-icon-wrapper {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #D97706;
}
.biz-card:nth-child(3) .biz-icon-wrapper {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #059669;
}
.biz-card:nth-child(4) .biz-icon-wrapper {
    background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
    color: #7E22CE;
}

.biz-card h3 {
    font-size: 19px;
    color: #1A202C;
    font-weight: 700;
    margin-bottom: 12px;
}

.biz-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.biz-tags span {
    font-size: 11.5px;
    background: #F1F5F9;
    color: #475569;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.biz-tags span .inline-icon {
    margin-right: 4px;
}


.modern-contact-section {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.01);
    margin-bottom: 50px;
}

.contact-flex-layout {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-left-brand {
    flex: 1;
    max-width: 400px;
}

.contact-left-brand h3 {
    font-size: 26px;
    color: #1A202C;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-brand-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #7D0006 0%, #A8000B 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px -5px rgba(168, 0, 11, 0.3);
}

.contact-right-grid {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-card-item {
    background: #F8FAFC;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card-item:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: rgba(168, 0, 11, 0.08);
}

.contact-card-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.contact-card-label .inline-icon {
    margin-right: 6px;
}

.contact-card-value {
    color: #1A202C;
    font-weight: 700;
    transition: var(--transition);
}

.contact-card-item:nth-child(-n+2) .contact-card-value {
    font-size: 16px;
}

.contact-card-item:nth-child(3) .contact-card-value {
    font-size: 15px;
}

.contact-card-item:nth-child(4) .contact-card-value {
    font-size: 14.5px;
    font-weight: 600;
}

.contact-section {
    margin: 120px auto;
}

.heading-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.contact-card-item:hover .contact-card-value {
    color: var(--primary);
}

.contact-card-item.wide-column {
    grid-column: span 2;
}


.credentials-area {
    background:
        radial-gradient(circle at 30% 50%, rgba(168,0,11,0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(56,189,248,0.03) 0%, transparent 50%),
        #111622;
    color: #8FA0B8;
    padding: 80px 0;
    font-size: 14px;
    border-top: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
    transition: background-position-y 0.05s linear;
}

.cred-main-title {
    color: #fff;
    font-size: 26px;
    text-align: center;
    margin-bottom: 55px;
    font-weight: 700;
}

.cred-row-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.cred-column h4 {
    color: #E8EDF5;
    font-size: 16px;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid #232D42;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.cred-column h4 svg,
.cred-icon {
    flex-shrink: 0;
    color: #74839B;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.cred-main-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.cred-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px 0;
}

.cred-row-item .label {
    color: #6B7E9A;
    font-size: 13px;
}

.cred-row-item .val {
    color: #E2E8F0;
    font-size: 12px;
    font-family: 'SF Mono', 'Consolas', monospace;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}


footer {
    background: #0B0E17;
    color: #475569;
    padding: 35px 0;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid #1A2333;
}


.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 40px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(168, 0, 11, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(168, 0, 11, 0.4);
}


.fade-ready {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}


.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(168, 0, 11, 0.15);
    pointer-events: none;
    animation: rippleAnim 0.6s ease-out forwards;
}

@keyframes rippleAnim {
    0%   { width: 0; height: 0; opacity: 1; }
    100% { width: 300px; height: 300px; opacity: 0; }
}


@media (max-width: 992px) {
    .grid-2,
    .business-grid-4,
    .contact-flex-layout {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .contact-left-brand {
        max-width: 100%;
        text-align: center;
    }

    .business-grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .cred-row-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    .header-box {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 16px;
    }

    nav a {
        margin: 0 12px;
        font-size: 14px;
    }

    nav {
        justify-content: center;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-watermark {
        font-size: 80px;
    }

    .hero-badges span {
        font-size: 12px;
        padding: 6px 14px;
    }

    .business-grid-4,
    .contact-right-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-item.wide-column {
        grid-column: span 1;
    }

    .intro-box,
    .modern-contact-section {
        padding: 28px;
    }

    .cred-row-grid {
        grid-template-columns: 1fr;
    }

    .feature-item-box {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .grid-2 {
        gap: 24px;
    }

    .section-heading {
        margin: 50px 0 30px 0;
    }

    .section-heading h2 {
        font-size: 24px;
    }

}

@media (max-width: 480px) {
    .feature-item-box {
        grid-template-columns: 1fr;
    }

    .hero-badges {
        gap: 6px;
    }

    .hero-badges span {
        font-size: 10px;
        padding: 4px 10px;
    }

    .hero-badges .inline-icon {
        width: 14px;
        height: 14px;
    }
}