/* ===================================
   StarFort Play - 首页专属样式
   =================================== */

/* ============== Hero 视频横幅 ============== */
.hero-video {
    position: relative;
    height: calc(100vh - var(--header-h) - var(--topbar-h));
    min-height: 580px;
    max-height: 780px;
    overflow: hidden;
    background: var(--bg-dark, #0B1A35);
    isolation: isolate;
}
.hero-video__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--bg-dark, #0B1A35);
    overflow: hidden;
}
.hero-video__el {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 4;
}
/* Ken Burns cinematic 3-layer crossfade — feels like an 18s looping video clip */
.hero-video__layer {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    will-change: transform, opacity;
    animation: hero-kenburns 18s linear infinite;
}
.hero-video__layer--1 { animation-delay:  0s; }
.hero-video__layer--2 { animation-delay:  6s; }
.hero-video__layer--3 { animation-delay: 12s; }
@keyframes hero-kenburns {
      0% { opacity: 0; transform: scale(1.05) translate3d(0, 0, 0); }
      6% { opacity: 1; }
     33% { opacity: 1; transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
     39% { opacity: 0; transform: scale(1.16) translate3d(-2%, -1.2%, 0); }
    100% { opacity: 0; transform: scale(1.16) translate3d(-2%, -1.2%, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-video__layer { animation: none; opacity: 1; }
    .hero-video__layer--2, .hero-video__layer--3 { display: none; }
}
.hero-video__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(11,26,53,0.88) 0%, rgba(11,26,53,0.45) 55%, rgba(11,26,53,0.65) 100%),
        radial-gradient(ellipse at 75% 30%, rgba(255,107,26,0.18) 0%, transparent 60%);
    pointer-events: none;
}
.hero-video__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-video__content {
    max-width: 720px;
    color: #fff;
    padding: 60px 0;
}
.hero-video__content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-video__content p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 580px;
}
.hero-video__scroll {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 3;
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.55);
    border-radius: 12px;
    pointer-events: none;
}
.hero-video__scroll span {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 7px;
    background: var(--accent, #FF6B1A);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: hero-scroll-hint 1.8s ease-in-out infinite;
}
@keyframes hero-scroll-hint {
    0%, 100% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 12px); opacity: 0.2; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-video__scroll span { animation: none; }
}

/* ============== Hero 轮播 (legacy, retained for other pages) ============== */
.hero-slider {
    position: relative;
    height: calc(100vh - var(--header-h) - var(--topbar-h));
    min-height: 580px;
    max-height: 780px;
    overflow: hidden;
    background: var(--bg-dark);
}
.slider-container { position: relative; width: 100%; height: 100%; }
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 800ms ease;
}
.slide.active { opacity: 1; }
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 26, 53, 0.85) 0%, rgba(11, 26, 53, 0.4) 100%);
}
.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 0;
    color: white;
    max-width: 720px;
    z-index: 2;
}
.slide-tag {
    display: inline-block;
    background: rgba(255, 107, 26, 0.2);
    color: var(--accent-light);
    border: 1px solid rgba(255, 107, 26, 0.5);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.slide h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.text-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.slide p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 580px;
}
.slide-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.slider-container .slide-content {
    height: calc(100vh - var(--header-h) - var(--topbar-h));
    min-height: 520px;
    max-height: 720px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    transition: all var(--transition-base);
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-50%) scale(1.05); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.dot {
    width: 36px;
    height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-base);
}
.dot.active { background: var(--accent); width: 56px; }

/* ============== 信任标识 ============== */
.trust-section {
    background: var(--bg-light);
    padding: 32px 0;
    border-bottom: 1px solid var(--border-light);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}
.trust-item i {
    font-size: 2rem;
    color: var(--secondary);
}
.trust-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.trust-item span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============== Turnkey Solutions ============== */
.turnkey-section {
    padding: 90px 0;
}
.turnkey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 280px 280px;
    gap: 20px;
}
.turnkey-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-dark);
    color: white;
    display: block;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-base);
}
.turnkey-card.large {
    grid-column: span 2;
    grid-row: span 2;
}
.turnkey-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.turnkey-image {
    position: absolute;
    inset: 0;
    transition: transform var(--transition-slow);
}
.turnkey-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.turnkey-card:hover .turnkey-image { transform: scale(1.05); }
.turnkey-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(11,26,53,0.95) 100%);
}
.turnkey-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.card-tag {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    align-self: flex-start;
}
.turnkey-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.turnkey-card.large .turnkey-content h3 { font-size: 1.875rem; }
.turnkey-content p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 14px;
    line-height: 1.5;
}
.card-link {
    color: var(--secondary-light);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-fast);
}
.turnkey-card:hover .card-link { gap: 10px; color: var(--accent-light); }

/* ============== Equipment Matrix ============== */
.equipment-matrix {
    padding: 90px 0;
    background: var(--bg-light);
}
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.matrix-card {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}
.matrix-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--matrix-color, var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}
.matrix-card:hover::before { transform: scaleX(1); }
.matrix-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.matrix-card.mc-green { --matrix-color: #10B981; }
.matrix-card.mc-purple { --matrix-color: #8B5CF6; }
.matrix-card.mc-orange { --matrix-color: #F97316; }
.matrix-card.mc-yellow { --matrix-color: #EAB308; }
.matrix-card.mc-white { --matrix-color: #475569; }
.matrix-card.mc-brown { --matrix-color: #92400E; }

.matrix-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--matrix-color) 12%, transparent);
    color: var(--matrix-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}
.matrix-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.matrix-card > p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 18px;
}
.matrix-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.matrix-tags li {
    background: var(--bg-light);
    color: var(--text-base);
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}
.matrix-link {
    color: var(--matrix-color);
    font-weight: 700;
    font-size: 0.875rem;
}

/* ============== Themes Section ============== */
.themes-section {
    padding: 90px 0;
    background: var(--primary);
    color: white;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 183, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 26, 0.12) 0%, transparent 50%);
}
.themes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.theme-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
    transition: transform var(--transition-base);
}
.theme-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.theme-card:hover img { transform: scale(1.08); }
.theme-overlay {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
    color: white;
}
.theme-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.theme-overlay p {
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
}

/* ============== Venues Section ============== */
.venues-section { padding: 90px 0; }
.venues-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.venue-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-base);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
}
.venue-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.venue-image {
    position: relative;
    overflow: hidden;
    min-height: 240px;
}
.venue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.venue-card:hover .venue-image img { transform: scale(1.05); }
.venue-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
}
.venue-ico {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(0, 183, 255, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 14px;
}
.venue-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.venue-info > p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 14px;
}
.venue-info ul {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}
.venue-info ul li {
    padding: 4px 0;
    font-size: 0.825rem;
    color: var(--text-base);
    display: flex;
    align-items: center;
    gap: 8px;
}
.venue-info ul li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 700;
}

/* ============== Projects Section ============== */
.projects-section {
    padding: 90px 0;
    background: var(--bg-light);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-base);
    transition: all var(--transition-base);
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.project-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.project-info { padding: 24px; }
.project-cat {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: block;
}
.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
}
.project-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 14px;
    line-height: 1.5;
}
.project-info .card-link {
    color: var(--secondary);
}

/* ============== CTA Section ============== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 183, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 107, 26, 0.15) 0%, transparent 50%);
}
.cta-content {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 14px;
}
.cta-content p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============== Responsive ============== */
@media (max-width: 1024px) {
    .turnkey-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .turnkey-card.large { grid-column: span 2; grid-row: auto; height: 320px; }
    .turnkey-card { height: 240px; }
    .matrix-grid, .themes-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .venues-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 640px) {
    .hero-video { min-height: 480px; max-height: 640px; }
    .hero-video__content { padding: 40px 0; }
    .hero-video__content h1 { font-size: 2rem; }
    .hero-video__content p { font-size: 1rem; }
    .hero-video__scroll { display: none; }
    .hero-slider { min-height: 480px; }
    .slide-content { padding: 40px 0; }
    .slide h1 { font-size: 2rem; }
    .slide p { font-size: 1rem; }
    .turnkey-grid, .matrix-grid, .themes-grid, .projects-grid { grid-template-columns: 1fr; }
    .turnkey-card.large { grid-column: span 1; height: 260px; }
    .venue-card { grid-template-columns: 1fr; }
    .venue-image { min-height: 180px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .slider-arrow { width: 42px; height: 42px; }
    .slider-arrow.prev { left: 12px; } .slider-arrow.next { right: 12px; }
}

/* ============== Intro / SEO Section ============== */
.intro-section {
    padding: 90px 0;
    background: white;
}
.intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
}
.intro-text .section-tag {
    display: inline-block;
    background: rgba(0, 183, 255, 0.1);
    color: var(--secondary-dark);
    border: 1px solid rgba(0, 183, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.intro-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
    margin: 12px 0 22px;
    text-wrap: balance;
}
.intro-text .lead {
    font-size: 1.0625rem;
    color: var(--text-base);
    line-height: 1.65;
    margin-bottom: 18px;
}
.intro-text p {
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 22px;
}
.intro-text a {
    color: var(--secondary-dark);
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 183, 255, 0.3);
    transition: all var(--transition-fast);
}
.intro-text a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.intro-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.stat-card {
    padding: 28px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-light), white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}
.stat-card:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-base);
}
.stat-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-card span {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ============== Section Header (shared) ============== */
.section-header {
    margin-bottom: 56px;
}
.section-header.center {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.section-header.light h2,
.section-header.light p { color: white; }
.section-header.light p { color: rgba(255,255,255,0.8); }
.section-tag {
    display: inline-block;
    background: rgba(0, 183, 255, 0.1);
    color: var(--secondary-dark);
    border: 1px solid rgba(0, 183, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-header.light .section-tag {
    background: rgba(255, 107, 26, 0.18);
    color: var(--accent-light);
    border-color: rgba(255, 107, 26, 0.4);
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 14px;
    text-wrap: balance;
}
.section-header p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.section-link {
    color: var(--secondary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: auto;
    align-self: flex-end;
    white-space: nowrap;
}
.section-link:hover { color: var(--accent); }

/* ============== Equipment Matrix - IMAGE BASED ============== */
.matrix-grid-image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.matrix-img-card {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}
.matrix-img-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.matrix-img-bg {
    position: relative;
    height: 260px;
    overflow: hidden;
    transition: all var(--transition-slow);
}
.matrix-img-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.matrix-img-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,26,53,0) 50%, rgba(11,26,53,0.55) 100%);
    transition: background var(--transition-base);
}
.matrix-img-card:hover .matrix-img-bg {
    transform: scale(1);
}
.matrix-img-card:hover .matrix-img-bg::after {
    background: linear-gradient(180deg, rgba(11,26,53,0.1) 0%, rgba(11,26,53,0.65) 100%);
}
.matrix-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--accent);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.matrix-badge.green,
.matrix-badge.mc-green   { background: #10B981; }
.matrix-badge.purple,
.matrix-badge.mc-purple  { background: #8B5CF6; }
.matrix-badge.orange,
.matrix-badge.mc-orange  { background: #F97316; }
.matrix-badge.yellow,
.matrix-badge.mc-yellow  { background: #EAB308; color: var(--primary); }
.matrix-badge.blue,
.matrix-badge.mc-blue    { background: #3B82F6; }
.matrix-badge.brown,
.matrix-badge.mc-brown   { background: #92400E; }
.matrix-badge.white { background: #3B82F6; }

.matrix-img-content {
    padding: 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.matrix-img-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.25;
}
.matrix-img-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.matrix-img-content .matrix-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.matrix-img-content .matrix-tags li {
    background: var(--bg-light);
    color: var(--text-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}
.matrix-img-content .matrix-link {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: gap var(--transition-fast);
}
.matrix-img-card:hover .matrix-link { gap: 12px; }

/* ============== Process Section ============== */
.process-section {
    padding: 90px 0;
    background: white;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.process-step {
    padding: 28px 20px;
    text-align: center;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}
.process-step:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-base);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(255, 107, 26, 0.25);
}
.process-step h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.process-step p {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.process-step a {
    color: var(--secondary-dark);
    font-weight: 600;
    text-decoration: underline;
}

/* ============== Insights Preview ============== */
.insights-preview {
    padding: 90px 0;
    background: var(--bg-light);
}
.insights-preview .section-header {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}
.insights-preview .section-header > div,
.insights-preview .section-header > * {
    flex: 0 1 auto;
}
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.insight-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    display: block;
}
.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}
.insight-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}
.insight-card:hover .insight-img {
    transform: scale(1.05);
}
.insight-body {
    padding: 22px;
}
.insight-cat {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 107, 26, 0.1);
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.insight-body h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
}
.insight-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}
.insight-meta {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* ============== FAQ Section ============== */
.faq-section {
    padding: 90px 0;
    background: white;
}
.faq-grid {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-base);
    padding: 20px 24px;
    transition: all var(--transition-base);
}
.faq-item:hover {
    border-color: var(--secondary);
}
.faq-item[open] {
    background: white;
    border-color: var(--secondary);
    box-shadow: var(--shadow-base);
}
.faq-item summary {
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 40px;
    line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    color: var(--accent);
    transition: transform var(--transition-fast);
    line-height: 1;
}
.faq-item[open] summary::after {
    content: '–';
}
.faq-item p {
    margin-top: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}
.faq-item p a {
    color: var(--secondary-dark);
    font-weight: 600;
    text-decoration: underline;
}
.faq-item p a:hover { color: var(--accent); }

/* ============== Whatsapp Button ============== */
.btn-whatsapp {
    background: #25D366;
    color: white;
}
.btn-whatsapp:hover {
    background: #1FAE53;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* ============== Responsive Override ============== */
@media (max-width: 1024px) {
    .matrix-grid-image, .insights-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .intro-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
    /* Reduce vertical padding for ALL homepage sections on tablet */
    .intro-section,
    .matrix-section,
    .equipment-section,
    .turnkey-section,
    .venues-section,
    .cases-section,
    .process-section,
    .insights-preview,
    .faq-section,
    .testimonials-section,
    .global-section,
    .news-section,
    .stats-banner { padding: 50px 0 !important; }
    .hero-section { padding: 60px 0 40px !important; }
    .intro-grid { gap: 28px !important; }
    .section-header { margin-bottom: 28px !important; }
    .section-header h2 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 10px; }
    .section-header p { font-size: 0.9rem; }
}

@media (max-width: 640px) {
    .matrix-grid-image, .insights-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .intro-stats { 
        grid-template-columns: 1fr 1fr; 
        gap: 10px;
    }
    .stat-card {
        padding: 18px 12px;
        border-radius: 12px;
    }
    .stat-card strong {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }
    .stat-card span {
        font-size: 0.7rem;
        line-height: 1.35;
    }
    .insights-preview .section-header { flex-direction: column; align-items: flex-start; }
    .section-link { margin-left: 0; align-self: flex-start; }
    
    /* Tighter spacing on phones */
    .intro-section,
    .matrix-section,
    .equipment-section,
    .turnkey-section,
    .venues-section,
    .cases-section,
    .process-section,
    .insights-preview,
    .faq-section,
    .testimonials-section,
    .global-section,
    .news-section,
    .stats-banner { padding: 36px 0 !important; }
    .hero-section { padding: 40px 0 28px !important; }
    .intro-grid { gap: 20px !important; }
    .section-header { margin-bottom: 20px !important; }
    .section-header h2 { font-size: 1.35rem !important; }
    .section-header p { font-size: 0.85rem; line-height: 1.5; }
    .section-tag { font-size: 0.6rem; padding: 4px 10px; margin-bottom: 8px; }
}
