/* ==========================================================================
   INDEX SPECIFIC STYLES (SyncAeverything Homepage)
   ========================================================================== */

/* 0. AMBIENT BACKGROUND GLOW ORBS */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    mix-blend-mode: screen;
}

.orb-primary {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.12) 0%, transparent 70%);
}

.orb-success {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(48, 179, 80, 0.08) 0%, transparent 70%);
}

/* 1. HERO UNIFIED SECTION */
.hero-unified {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

.hero-unified-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Accent Badge */
.sync-badge-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

[data-theme="light"] .sync-badge-container {
    background: rgba(0, 0, 0, 0.02);
}

.sync-badge-container:hover {
    border-color: rgba(0, 102, 204, 0.25);
}

.sync-dot {
    width: 7px;
    height: 7px;
    background-color: var(--success-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.sync-dot.blinking {
    animation: sync-pulse 2.5s infinite ease-in-out;
}

@keyframes sync-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Header Typography */
.hero-unified h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 22px;
    letter-spacing: -0.035em;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 36px;
    font-weight: 400;
}

/* CTA Buttons with Reflections */
.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-curator-solid {
    background: var(--text-main);
    color: var(--bg-color);
    border: 1px solid var(--text-main);
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-curator-solid:hover {
    background: transparent;
    color: var(--text-main);
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-solver-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-solver-outline:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    transform: translateY(-1px);
    box-shadow: none;
}

/* Dual Showcase Graphics */
.hero-mockup-showcase {
    width: 100%;
    max-width: 960px;
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-elevated);
    overflow: hidden;
    background: var(--surface-color);
}

.mockup-side {
    height: 380px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    flex: 1;
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.5s var(--easing), 
                border-color 0.4s var(--easing), 
                box-shadow 0.4s var(--easing);
}

.mockup-left {
    background: #09090b;
    border-right: 1px solid var(--border-color);
}

[data-theme="light"] .mockup-left {
    background: #ffffff;
}

.mockup-right {
    background: #040407;
    background-image: radial-gradient(circle at 80% 80%, rgba(52, 199, 89, 0.08) 0%, transparent 60%);
}

[data-theme="light"] .mockup-right {
    background: #fafafa;
}

.mockup-header {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #27272a;
}

.mockup-dot:nth-child(2) { background: #3f3f46; }
.mockup-dot:nth-child(3) { background: #52525b; }

.mockup-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-left: 12px;
    text-transform: uppercase;
}

.mockup-body {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.mockup-img {
    width: 82%;
    max-width: 310px;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    transition: transform 0.6s var(--easing);
}

.mockup-left:hover .mockup-img {
    transform: translateY(-8px) scale(1.03);
}

/* Simulated Right Dashboard in Hero */
.mockup-dash-lines {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dash-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

[data-theme="light"] .dash-line {
    background: rgba(0, 0, 0, 0.04);
}

.dash-chart-mock {
    margin-top: 15px;
    height: 95px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    width: 100%;
}

.mock-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(0, 113, 227, 0.1) 100%);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 0 12px rgba(0, 113, 227, 0.25);
    animation: bar-grow 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: bottom;
}

.mock-bar:nth-child(even) {
    background: linear-gradient(180deg, var(--success-color) 0%, rgba(52, 199, 89, 0.1) 100%);
    box-shadow: 0 0 12px rgba(52, 199, 89, 0.25);
}

@keyframes bar-grow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* 2. BRAND INTRODUCTION SECTION */
.brand-intro-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.brand-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.brand-intro-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.brand-intro-content p {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Premium Visual Box */
.brand-visual-box {
    position: relative;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.03) 100%);
    border-radius: 28px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.glow-circle-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, rgba(52, 199, 89, 0.05) 50%, transparent 75%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(10px);
}

/* Tech Console Panel */
.tech-console-panel {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 5;
    position: relative;
    font-family: 'Consolas', 'Courier New', monospace;
    text-align: left;
}

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 12px;
}
[data-theme="light"] .console-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.window-dots .dot.red { background-color: #ff5f56; }
.window-dots .dot.yellow { background-color: #ffbd2e; }
.window-dots .dot.green { background-color: #27c93f; }

.console-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.console-status-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(48, 179, 80, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(48, 179, 80, 0.25);
    letter-spacing: 0.5px;
}

.console-screen {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    max-height: 220px;
    scrollbar-width: none; /* Hide scrollbar for clean HUD look */
}
.console-screen::-webkit-scrollbar {
    display: none;
}
[data-theme="light"] .console-screen {
    color: rgba(10, 10, 15, 0.75);
}

.terminal-line {
    word-break: break-all;
    opacity: 0;
    transform: translateY(4px);
    animation: term-fade-in 0.3s forwards;
}

@keyframes term-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-line .term-prompt {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 6px;
}
.terminal-line .term-ok {
    color: var(--success-color);
    font-weight: bold;
    margin-right: 6px;
}
.terminal-line .term-info {
    color: #5ac8fa;
    font-weight: bold;
    margin-right: 6px;
}

.terminal-line.success {
    color: var(--success-color);
}

.streaming-logs::after {
    content: '█';
    color: var(--primary-color);
    margin-left: 2px;
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.console-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    margin-top: 12px;
}
[data-theme="light"] .console-stats-grid {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.console-stats-grid .stat-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--easing);
}
[data-theme="light"] .console-stats-grid .stat-box {
    background: rgba(0, 0, 0, 0.01);
}

.console-stats-grid .stat-box:hover {
    border-color: rgba(0, 113, 227, 0.3);
    background: rgba(0, 113, 227, 0.02);
    transform: translateY(-2px);
}

.console-stats-grid .stat-box .stat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 600;
}

.console-stats-grid .stat-box .stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.console-stats-grid .stat-box .stat-value.success {
    color: var(--success-color);
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}


/* 3. ECOSYSTEM PILLARS */
.section-unified {
    padding: 120px 0;
    position: relative;
}

.section-header.centered {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 720px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.pillar-card {
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s var(--easing);
    min-height: 480px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
    box-shadow: var(--shadow-card);
}

.pillar-left {
    background: linear-gradient(135deg, var(--surface-card) 0%, rgba(0, 113, 227, 0.03) 100%);
}

.pillar-right {
    background: linear-gradient(135deg, var(--surface-card) 0%, rgba(52, 199, 89, 0.02) 100%);
}

.pillar-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.pillar-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 22px;
    line-height: 1.25;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.pillar-card p {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 35px;
    color: var(--text-muted);
}

.pillar-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 45px;
}

.p-detail-item {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.p-detail-item::before {
    content: "✦";
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

.pillar-right .p-detail-item::before {
    color: var(--success-color);
}

.pillar-left:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: var(--shadow-elevated);
}

.pillar-right:hover {
    transform: translateY(-4px);
    border-color: rgba(48, 179, 80, 0.3);
    box-shadow: var(--shadow-elevated);
}

/* 4. THE CONTRAST SWITCH (SPLIT VIEW SCROLL INTEGRATION) */
.contrast-switch-section {
    position: relative;
    padding: 110px 0;
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.contrast-switch-section .section-header h2 {
    color: var(--text-main);
}

.contrast-switch-section .section-header p {
    color: var(--text-muted);
}

.telemetry-viewport {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.tele-col {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

/* B2C Curator Card styling */
.curator-product-card {
    position: relative;
    width: 340px;
    height: 400px;
    background: #ffffff;
    border: 1px solid #e5e5ea;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.1s ease-out;
}

.curator-img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    border-radius: 16px;
    filter: grayscale(0.1);
    transition: filter 0.5s ease;
}

.product-metadata {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #6e6e73;
    font-family: inherit;
    margin-top: 15px;
}

.meta-title {
    font-weight: 600;
}

.meta-status {
    color: var(--success-color);
    font-weight: 700;
}

/* Scanner styles */
.laser-scanner {
    position: absolute;
    left: 0;
    top: var(--laser-top, 0%);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    pointer-events: none;
    z-index: 5;
    transition: top 0.15s ease-out;
}

.scan-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 113, 227, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 113, 227, 0.025) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
}

/* B2B Dashboard Card styling */
.solver-dashboard-card {
    width: 360px;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-elevated);
    font-family: inherit;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--easing), border-color 0.3s var(--easing), box-shadow 0.3s var(--easing);
}

.solver-dashboard-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.08), var(--shadow-elevated);
}

.solver-dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1f1f23;
    padding-bottom: 14px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-color);
    box-shadow: 0 0 10px var(--success-color);
}

.status-indicator.blinking {
    animation: tele-pulse 1.5s infinite;
}

@keyframes tele-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.status-text {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.dashboard-brand {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.network-viz {
    height: 100px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid #1f1f23;
    border-radius: 12px;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.network-svg {
    width: 100%;
    height: 100%;
}

.glow-node-gray {
    filter: drop-shadow(0 0 4px var(--primary-color));
}

.glow-node-white {
    filter: drop-shadow(0 0 5px var(--success-color));
}

/* Dynamic Charts */
.chart-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid #1f1f23;
    border-radius: 12px;
    padding: 15px;
}

.chart-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 80px;
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    gap: 6px;
    height: 100%;
    justify-content: flex-end;
}

.bar {
    width: 100%;
    height: var(--bar-height, 0%);
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(0, 113, 227, 0.3) 100%);
    border-radius: 4px 4px 0 0;
    transition: height 0.2s ease-out;
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.25);
}

.bar-col:nth-child(even) .bar {
    background: linear-gradient(180deg, var(--success-color) 0%, rgba(52, 199, 89, 0.3) 100%);
    box-shadow: 0 0 8px rgba(52, 199, 89, 0.25);
}

.bar-col .label {
    font-size: 0.55rem;
    color: var(--text-muted);
}

.telemetry-readout {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.readout-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid #1f1f23;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.readout-label {
    font-size: 0.55rem;
    color: var(--text-muted);
}

.readout-val {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 700;
}

/* Center Connection Line Flow */
.sync-line-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 80px;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sync-svg-flow {
    width: 80%;
    max-width: 800px;
    overflow: visible;
}

#syncFlowPath {
    animation: flow-dash 4s linear infinite;
}

@keyframes flow-dash {
    to {
        stroke-dashoffset: -320;
    }
}

/* 5. CAPABILITIES BENTO GRID LAYOUT */
.features-unified-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feat-uni-card {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: all 0.4s var(--easing);
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.feat-uni-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0.6;
}

.feat-uni-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 136, 255, 0.25);
    background: var(--surface-card-hover);
    box-shadow: 0 20px 40px rgba(0, 136, 255, 0.1), inset 0 0 15px rgba(255, 255, 255, 0.01);
}

.feat-uni-card:hover::after {
    background: linear-gradient(135deg, var(--primary-color), transparent 60%);
    opacity: 1;
}

.feat-uni-icon {
    margin-bottom: 0;
}

.feat-uni-icon.icon-box {
    margin-bottom: 0;
}

.feat-uni-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
    letter-spacing: -0.015em;
}

.feat-uni-card p {
    font-size: 0.925rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

/* Bento grid sizing rules */
.feat-uni-card.large-span-2 {
    grid-column: span 2;
}

/* 6. TESTIMONIALS & TRUST SHOWCASE */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.review-card-uni {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    text-align: left;
    box-shadow: var(--shadow-card);
}

[data-theme="light"] .review-card-uni {
    background: #ffffff;
}

.review-card-uni .stars {
    color: #e6a817;
    display: block;
    margin-bottom: 18px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.review-card-uni p {
    font-size: 1rem;
    line-height: 1.75;
    font-style: normal;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.reviewer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviewer strong {
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 600;
}

.reviewer span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Counter Elements */
.stats-unified {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 850px;
    margin: 0 auto;
}

.stat-uni-item {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    padding: 40px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.stat-uni-item .num {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.stat-uni-item .lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* 7. CONTACT & CTA */
.contact-unified-wrapper {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 60px;
    max-width: 1050px;
    margin: 0 auto;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-elevated);
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-uni-info {
    text-align: left;
}

.contact-uni-info h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 12px 0 20px;
    color: var(--text-main);
    letter-spacing: -0.025em;
}

.contact-uni-info p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.quick-links-uni {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.btn-line {
    background: #06C755;
    color: #ffffff;
    border: 1px solid #06C755;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-line:hover {
    background: transparent;
    color: #06C755;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.15);
}

.contact-uni-form {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px 40px;
}

[data-theme="light"] .contact-uni-form {
    background: rgba(0, 0, 0, 0.015);
}

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

.form-group-uni {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.form-group-uni label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.form-group-uni input,
.form-group-uni select,
.form-group-uni textarea {
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

[data-theme="light"] .form-group-uni input,
[data-theme="light"] .form-group-uni select,
[data-theme="light"] .form-group-uni textarea {
    background: #ffffff;
}

/* UX Interaction focus states */
.form-group-uni input:focus,
.form-group-uni select:focus,
.form-group-uni textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 113, 227, 0.15);
}

.form-group-uni select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a0ab' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
}

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

/* ==========================================================================
   MOBILE & RESPONSIVE TWEAKS
   ========================================================================== */
@media (max-width: 1024px) {
    .sync-line-container {
        display: none;
    }
    .telemetry-viewport {
        grid-template-columns: 1fr;
        gap: 50px;
        justify-items: center;
    }
    .features-unified-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feat-uni-card.large-span-2 {
        grid-column: span 1; /* reset bento spanning on smaller viewports */
    }
}

@media (max-width: 991px) {
    .brand-intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    .pillar-card {
        padding: 50px 40px;
        min-height: auto;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    .contact-unified-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .hero-unified {
        padding: 150px 0 100px;
    }
    .hero-mockup-showcase {
        flex-direction: column;
        max-width: 500px;
    }
    .mockup-side {
        height: 300px;
        border-right: none;
        flex: 1 !important;
        opacity: 1 !important;
    }
    .mockup-left {
        border-bottom: 1px solid var(--border-color);
    }
    .hero-unified-wrapper:has(.cta-btn-b2c:hover) .mockup-left,
    .hero-mockup-showcase.active-left .mockup-left,
    .hero-mockup-showcase:has(.mockup-left:hover) .mockup-left,
    .hero-unified-wrapper:has(.cta-btn-b2c:hover) .mockup-right,
    .hero-mockup-showcase.active-left .mockup-right,
    .hero-mockup-showcase:has(.mockup-left:hover) .mockup-right,
    .hero-unified-wrapper:has(.cta-btn-b2b:hover) .mockup-right,
    .hero-mockup-showcase.active-right .mockup-right,
    .hero-mockup-showcase:has(.mockup-right:hover) .mockup-right,
    .hero-unified-wrapper:has(.cta-btn-b2b:hover) .mockup-left,
    .hero-mockup-showcase.active-right .mockup-left,
    .hero-mockup-showcase:has(.mockup-right:hover) .mockup-left {
        flex: 1 !important;
        opacity: 1 !important;
    }
    .curator-product-card {
        width: 100%;
        max-width: 320px;
        height: 360px;
    }
    .solver-dashboard-card {
        width: 100%;
        max-width: 330px;
    }
    .stats-unified {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 340px;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .hero-unified {
        padding: 130px 0 70px;
    }
    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding: 0 10px;
    }
    .hero-pillar-card {
        padding: 20px 16px;
    }
    .brand-visual-box {
        height: 300px;
    }
    .tech-console-panel {
        padding: 16px;
    }
    .pillar-card {
        padding: 32px 20px;
    }
    .pillar-card h3 {
        font-size: 1.7rem;
    }
    .features-unified-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    .feat-uni-card {
        padding: 24px 20px;
    }
    .review-card-uni {
        padding: 28px 20px;
    }
    .contact-unified-wrapper {
        padding: 32px 16px;
    }
    .contact-uni-form {
        padding: 28px 16px;
    }
    .curator-product-card {
        width: 100%;
        height: 330px;
    }
    .solver-dashboard-card {
        width: 100%;
        padding: 20px;
    }
    .visual-connectors {
        max-width: 260px;
        max-height: 260px;
    }
}

/* ==========================================================================
   8. BRAND SPIRIT & INTERACTIVE CTA HOVERS
   ========================================================================== */

/* Hero Mockups Hover/Active Interactions triggered by parent wrapper or direct hovers */
/* Hero Mockups Hover/Active Interactions */
.hero-mockup-showcase {
    transition: transform 0.4s var(--easing), border-color 0.4s var(--easing), box-shadow 0.4s var(--easing);
}

.hero-mockup-showcase:hover {
    border-color: rgba(0, 113, 227, 0.3);
    box-shadow: 0 25px 60px rgba(0, 113, 227, 0.08), var(--shadow-elevated);
    transform: translateY(-4px);
}

.hero-mockup-showcase:hover .mockup-img {
    transform: scale(1.015);
}

.hero-unified-wrapper:has(.cta-btn-b2c:hover) .hero-mockup-showcase {
    border-color: rgba(0, 113, 227, 0.4);
    box-shadow: 0 25px 60px rgba(0, 113, 227, 0.12), var(--shadow-elevated);
}

.hero-unified-wrapper:has(.cta-btn-b2b:hover) .hero-mockup-showcase {
    border-color: rgba(52, 199, 89, 0.35);
    box-shadow: 0 25px 60px rgba(52, 199, 89, 0.08), var(--shadow-elevated);
}

/* Brand Spirit Section */
.brand-spirit-section {
    position: relative;
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.brand-spirit-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.spirit-left h2 {
    font-size: clamp(2rem, 4.5vw, 2.6rem);
    font-weight: 700;
    margin: 15px 0 20px;
    letter-spacing: -1px;
}

.spirit-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 20px;
}

.spirit-left p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.spirit-right {
    display: flex;
    justify-content: center;
}

.spirit-quote-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 45px;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
    max-width: 440px;
}

.quote-icon {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 25px;
    pointer-events: none;
}

.spirit-quote-box blockquote {
    font-size: 1.25rem;
    line-height: 1.65;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.spirit-quote-box cite {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-style: normal;
    display: block;
}

/* Principles Cards Section */
.principles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1050px;
    margin: 0 auto;
}

.principle-card {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px 40px;
    transition: all 0.4s var(--easing);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.principle-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px rgba(0, 113, 227, 0.1);
}

.principle-card:nth-child(2):hover {
    border-color: var(--success-color);
    box-shadow: 0 25px 50px rgba(52, 199, 89, 0.08);
}

.p-header-icon {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.principle-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.p-pitch {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--primary-color);
    padding: 12px 16px;
    margin-bottom: 25px;
    border-radius: 0 8px 8px 0;
}

.principle-card:nth-child(2) .p-pitch {
    border-left-color: var(--success-color);
}

.p-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Responsive configurations for brand spirit and principles */
@media (max-width: 991px) {
    .brand-spirit-grid,
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .spirit-quote-box {
        max-width: 100%;
        padding: 35px 30px;
    }
    .principle-card {
        padding: 40px 30px;
    }
}

/* SVG Typography & Icons inside Visual Connector */
.visual-connectors text {
    font-family: 'Outfit', 'Kanit', sans-serif;
    user-select: none;
    pointer-events: none;
    fill: #ffffff;
}

.visual-connectors text.node-subtext {
    fill: #a0a0ab;
}

.visual-connectors text.node-success-title {
    fill: #34c759;
}

[data-theme="light"] .visual-connectors text {
    fill: #1d1d1f;
}

[data-theme="light"] .visual-connectors text.node-subtext {
    fill: #8e8e93;
}

[data-theme="light"] .visual-connectors text.node-success-title {
    fill: #248a3d;
}

.visual-connectors .node-title {
    letter-spacing: -0.2px;
}

.visual-connectors .node-subtext {
    opacity: 0.85;
}



/* ==========================================================================
   INTERACTIVE SIMULATOR STYLES
   ========================================================================== */
.simulator-wrapper {
    display: grid;
    grid-template-columns: 1fr 120px 1.2fr;
    width: 100%;
    min-height: 420px;
    background: #040407;
    position: relative;
    border-top: none;
}

@media (max-width: 768px) {
    .simulator-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        min-height: auto;
    }
}

.sim-panel {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.sim-left {
    background: radial-gradient(circle at 10% 10%, rgba(0, 136, 255, 0.06) 0%, transparent 60%);
    border-right: 1px solid var(--border-color);
}

.sim-right {
    background: radial-gradient(circle at 90% 90%, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
    border-left: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .sim-left {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        gap: 20px;
    }
    .sim-right {
        border-left: none;
        border-top: 1px solid var(--border-color);
        gap: 20px;
    }
}

.sim-panel-header {
    margin-bottom: 16px;
}

.sim-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.curator-badge {
    background: rgba(0, 136, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 136, 255, 0.2);
}

.solver-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.sim-panel h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

/* B2C Product Tabs */
.sim-device-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    width: 100%;
}

.sim-tab-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s var(--easing);
}

.sim-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.sim-tab-btn.active {
    background: rgba(0, 136, 255, 0.12);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 136, 255, 0.25);
}

/* Device Display */
.sim-device-display {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    margin-bottom: 18px;
    position: relative;
}

.sim-device-container {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.sim-device-container.active {
    display: flex;
    animation: device-fade-in 0.4s var(--easing);
}

@keyframes device-fade-in {
    from { opacity: 0; transform: scale(0.92) translateY(5px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.glass-device {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 16px;
    width: 155px;
    height: 155px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    transition: all 0.4s var(--easing);
}

.nfc-card-mock {
    width: 220px;
    height: 138px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
    overflow: hidden;
}

.nfc-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 136, 255, 0.18) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.nfc-card-mock:hover .nfc-card-glow {
    opacity: 1;
}

.sim-device-img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s var(--easing);
}

.glass-device:hover .sim-device-img {
    transform: scale(1.05) translateY(-4px);
}

.nfc-chip {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 28px;
    height: 22px;
    background: linear-gradient(135deg, #e5c060 0%, #aa7c11 100%);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 6px rgba(229, 192, 96, 0.4);
}

/* NFC Tap Trigger Button */
.btn-tap-nfc {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0055ff 100%);
    border: 1px solid rgba(0, 136, 255, 0.3);
    color: #ffffff;
    padding: 13px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--easing);
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.btn-tap-nfc:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 136, 255, 0.55);
    background: linear-gradient(135deg, #0099ff 0%, #0066ff 100%);
}

.btn-tap-nfc:active {
    transform: translateY(0);
}

.tap-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.5s ease-out;
    pointer-events: none;
}

.btn-tap-nfc.tapped .tap-glow {
    transform: scale(1);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

/* Connector Panel */
.sim-connector {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

@media (max-width: 768px) {
    .sim-connector {
        height: 120px;
        width: 100%;
    }
}

.connector-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.signal-path {
    stroke-dasharray: 6 6;
    stroke-dashoffset: 0;
}

.signal-path.active {
    animation: dash-flow 1s infinite linear;
    stroke: var(--primary-color) !important;
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -24;
    }
}

.connector-hub {
    position: relative;
    z-index: 2;
    background: #08080a;
    border: 1px solid var(--border-color);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.8);
    transition: all 0.3s var(--easing);
}

.hub-status-ring {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.connector-hub.syncing .hub-status-ring {
    border-color: var(--primary-color);
    animation: radar-ping 1.2s infinite ease-out;
}

.connector-hub.synced .hub-status-ring {
    border-color: var(--success-color);
    animation: radar-ping 2s infinite ease-out;
}

@keyframes radar-ping {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.hub-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.connector-hub.syncing .hub-text {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(0, 136, 255, 0.5);
}

.connector-hub.synced .hub-text {
    color: var(--success-color);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* B2B Panels */
.b2b-display-grid {
    display: grid;
    grid-template-rows: 1.1fr 1.3fr;
    gap: 16px;
    height: 100%;
}

.b2b-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(2px);
    transition: border-color 0.3s ease;
}

.b2b-card h5 {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
}

/* Cloud DB logs */
.db-rows-container {
    flex: 1;
    overflow-y: auto;
    font-family: monospace;
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 80px;
    padding-right: 4px;
}

.db-row {
    color: var(--text-muted);
    line-height: 1.35;
    word-break: break-all;
}

.db-row.system-msg {
    color: #4b5563;
}

.db-row.success-msg {
    color: var(--success-color);
    animation: highlight-flash 1s ease-out;
}

@keyframes highlight-flash {
    0% { background: rgba(16, 185, 129, 0.2); }
    100% { background: transparent; }
}

/* LINE Mobile Phone Mockup */
.phone-chat-mock {
    background: #0f0f12;
    border: 2px solid #27272a;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    max-height: 180px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.phone-header {
    background: #06c755;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.phone-camera {
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
}

.phone-chat-title {
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
}

.phone-chat-body {
    flex: 1;
    background: #8b9bb4;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    max-height: 130px;
}

.chat-bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    line-height: 1.45;
    position: relative;
    animation: chat-bounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.chat-bubble.bot-msg {
    background: #ffffff;
    color: #000000;
    align-self: flex-start;
    border-top-left-radius: 2px;
}

.chat-bubble.user-msg {
    background: #9fe88d;
    color: #000000;
    align-self: flex-end;
    border-top-right-radius: 2px;
}

@keyframes chat-bounce {
    from { opacity: 0; transform: translateY(10px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Typewriter Caret effect */
.typewriter-text {
    border-right: 2px solid var(--primary-color);
    padding-right: 4px;
    animation: caret-blink 0.75s step-end infinite;
    color: var(--primary-color);
    font-weight: 700;
}

@keyframes caret-blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

/* ==========================================================================
   LIGHT MODE OVERRIDES FOR SIMULATOR
   ========================================================================== */
[data-theme="light"] .simulator-wrapper {
    background: #f4f4f7;
}

[data-theme="light"] .sim-left {
    background: radial-gradient(circle at 10% 10%, rgba(0, 102, 204, 0.04) 0%, transparent 60%);
}

[data-theme="light"] .sim-right {
    background: radial-gradient(circle at 90% 90%, rgba(16, 185, 129, 0.03) 0%, transparent 60%);
}

[data-theme="light"] .glass-device {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nfc-card-mock {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
}

[data-theme="light"] .nfc-card-glow {
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 102, 204, 0.1) 0%, transparent 60%);
}

[data-theme="light"] .sim-tab-btn {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
    color: var(--text-muted);
}

[data-theme="light"] .sim-tab-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}

[data-theme="light"] .sim-tab-btn.active {
    background: rgba(0, 102, 204, 0.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.15);
}

[data-theme="light"] .connector-hub {
    background: #ffffff;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .connector-hub.syncing .hub-status-ring {
    border-color: var(--primary-color);
}

[data-theme="light"] .b2b-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .phone-chat-mock {
    background: #ffffff;
    border-color: #e4e4e7;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

[data-theme="light"] .db-row.system-msg {
    color: #9ca3af;
}


/* Tagline Slide-Up & Fade Scroller */
.tagline-scroller {
    display: inline-block;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s var(--easing), transform 0.4s var(--easing);
    color: var(--primary-color);
    font-weight: 700;
    vertical-align: bottom;
}

.tagline-scroller.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.tagline-scroller.fade-in-prep {
    opacity: 0;
    transform: translateY(10px);
    transition: none !important;
}


/* Hero Spacing & Typography */
.hero-unified-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 0 50px;
}

.hero-unified-wrapper h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.hero-tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(0.925rem, 1.8vw, 1.05rem);
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Split-Pillars Grid Styling */
.hero-pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 900px;
    margin: 45px auto 0;
}

.hero-pillar-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: left;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    transition: transform 0.4s var(--easing), border-color 0.4s var(--easing), box-shadow 0.4s var(--easing);
    overflow: hidden;
}

.hero-pillar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 113, 227, 0.25);
    box-shadow: 0 15px 35px rgba(0, 113, 227, 0.06), var(--shadow-elevated);
}

.hero-pillar-card.solver-theme:hover {
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.06), var(--shadow-elevated);
}

.card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    top: -40px;
    right: -40px;
    pointer-events: none;
    filter: blur(35px);
    opacity: 0.5;
    z-index: 1;
}

.pillar-badge {
    position: relative;
    z-index: 5;
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.curator-badge {
    background: rgba(0, 113, 227, 0.06);
    color: var(--primary-color);
    border: 1px solid rgba(0, 113, 227, 0.12);
}

.solver-badge {
    background: rgba(16, 185, 129, 0.06);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.12);
}

.hero-pillar-card h3 {
    position: relative;
    z-index: 5;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.hero-pillar-card p {
    position: relative;
    z-index: 5;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pillar-features {
    position: relative;
    z-index: 5;
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pillar-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

.feat-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
}

.curator-dot {
    background-color: var(--primary-color);
    box-shadow: 0 0 6px var(--primary-color);
}

.solver-dot {
    background-color: var(--success-color);
    box-shadow: 0 0 6px var(--success-color);
}

.pillar-link {
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.pillar-link:hover {
    transform: translateX(3px);
}

.hero-pillar-card.solver-theme .pillar-link {
    color: var(--success-color);
}

.brand-image-box img {
    transition: transform 0.6s var(--easing), filter 0.5s ease;
}

.brand-image-box:hover img {
    transform: scale(1.02);
    filter: grayscale(0) !important;
}

@media (max-width: 991px) {
    .hero-pillars-grid {
        gap: 20px;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .hero-unified-wrapper {
        padding: 60px 0 40px;
    }
    .hero-pillars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
        max-width: 450px;
    }
    .hero-pillar-card {
        padding: 24px 20px;
    }
}
