/* Latent Bud Architecture Page Styles */

/* ============================================
   HERO SECTION
   ============================================ */
.latent_arch_page {
    background: #f9f8f4;
    min-height: 100vh;
}

.latent_arch_hero {
    position: relative;
    background: #0a0a0a;
    padding: 8vw 11.3vw 6vw 11.3vw;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.latent_arch_hero_bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.latent_arch_blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.latent_arch_blob_1 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, transparent 70%);
    top: -10vw;
    left: -10vw;
    animation: floatBlob 15s ease-in-out infinite;
}

.latent_arch_blob_2 {
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
    bottom: -5vw;
    right: -5vw;
    animation: floatBlob 12s ease-in-out infinite reverse;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.latent_arch_hero_content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 60vw;
}

.latent_arch_hero_label {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #A78BFA;
    padding: 0.5vw 1.5vw;
    border-radius: 2vw;
    font-size: 0.8vw;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1.5vw;
}

.latent_arch_hero_title {
    font-size: 3.5vw;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5vw;
}

.latent_arch_hero_title em {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: 400;
    color: #A78BFA;
}

.latent_arch_hero_subtitle {
    font-size: 1.1vw;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2.5vw;
}

.latent_arch_hero_subtitle strong {
    color: #A78BFA;
}

.latent_arch_hero_stats {
    display: flex;
    justify-content: center;
    gap: 2vw;
}

.latent_arch_hero_stat {
    text-align: center;
    padding: 1.5vw 2vw;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1vw;
    transition: all 0.3s ease;
}

.latent_arch_hero_stat:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
}

.latent_arch_hero_stat_value {
    font-size: 2.5vw;
    font-weight: 700;
    color: #8B5CF6;
}

.latent_arch_hero_stat_suffix {
    font-size: 1.5vw;
    font-weight: 600;
    color: #A855F7;
}

.latent_arch_hero_stat_label {
    display: block;
    font-size: 0.8vw;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.3vw;
}

/* ============================================
   CONTAINER
   ============================================ */
.latent_arch_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2vw;
}

/* ============================================
   OVERVIEW SECTION
   ============================================ */
.latent_arch_overview {
    padding: 5vw 11.3vw;
    background: #ffffff;
}

.latent_arch_audience_toggle {
    display: flex;
    justify-content: center;
    gap: 0.5vw;
    margin-bottom: 3vw;
    background: #f5f5f5;
    padding: 0.3vw;
    border-radius: 0.6vw;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.latent_arch_audience_tab {
    padding: 0.8vw 2vw;
    background: transparent;
    border: none;
    border-radius: 0.4vw;
    font-size: 0.9vw;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.latent_arch_audience_tab:hover {
    color: #8B5CF6;
}

.latent_arch_audience_tab.active {
    background: #8B5CF6;
    color: #ffffff;
}

.latent_arch_overview_content h2 {
    font-size: 2vw;
    font-weight: 500;
    text-align: center;
    margin-bottom: 2vw;
}

.latent_arch_benefit_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2vw;
}

.latent_arch_benefit_card {
    background: #f9f8f4;
    border-radius: 1vw;
    padding: 2vw;
    text-align: center;
    transition: all 0.3s ease;
}

.latent_arch_benefit_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}

.latent_arch_benefit_icon {
    width: 3.5vw;
    height: 3.5vw;
    margin: 0 auto 1.2vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 0.8vw;
    color: #8B5CF6;
}

.latent_arch_benefit_icon svg {
    width: 1.5vw;
    height: 1.5vw;
}

.latent_arch_benefit_card h3 {
    font-size: 1.1vw;
    font-weight: 500;
    margin-bottom: 0.5vw;
}

.latent_arch_benefit_card p {
    font-size: 0.85vw;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.latent_arch_section_title {
    font-size: 2.5vw;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1vw;
}

.latent_arch_section_title em {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: 400;
}

.latent_arch_section_subtitle {
    font-size: 1vw;
    color: #666;
    text-align: center;
    max-width: 45vw;
    margin: 0 auto 3vw;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.latent_arch_problem {
    padding: 5vw 11.3vw;
    background: #f5ebf9;
}

.latent_arch_timeline {
    background: #ffffff;
    border-radius: 1vw;
    padding: 2vw;
    margin-bottom: 3vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.latent_arch_timeline_header {
    text-align: center;
    margin-bottom: 1.5vw;
}

.latent_arch_timeline_header span {
    font-size: 0.9vw;
    font-weight: 600;
    color: #333;
}

.latent_arch_timeline_track {
    display: flex;
    height: 4vw;
    border-radius: 0.5vw;
    overflow: hidden;
}

.latent_arch_timeline_segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.5vw;
}

.latent_arch_timeline_cpu {
    background: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
    color: #ffffff;
}

.latent_arch_timeline_cpu.latent_arch_timeline_blocking {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
}

.latent_arch_timeline_gpu {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    color: #ffffff;
}

.latent_arch_timeline_label {
    font-size: 0.75vw;
    font-weight: 600;
}

.latent_arch_timeline_badge {
    font-size: 0.6vw;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.2vw 0.5vw;
    border-radius: 0.3vw;
    margin-top: 0.2vw;
}

.latent_arch_timeline_time {
    font-size: 0.7vw;
    opacity: 0.9;
    margin-top: 0.2vw;
}

.latent_arch_timeline_footer {
    display: flex;
    margin-top: 1vw;
}

.latent_arch_timeline_range {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5vw;
    font-size: 0.75vw;
    font-weight: 600;
}

.latent_arch_timeline_range_cpu {
    flex: 0 0 86%;
    background: rgba(249, 115, 22, 0.1);
    color: #EA580C;
    border-radius: 0.3vw 0 0 0.3vw;
}

.latent_arch_timeline_range_gpu {
    flex: 0 0 14%;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-radius: 0 0.3vw 0.3vw 0;
}

.latent_arch_bottleneck_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5vw;
}

.latent_arch_bottleneck_card {
    background: #ffffff;
    border-radius: 1vw;
    padding: 2vw;
    position: relative;
    transition: all 0.3s ease;
}

.latent_arch_bottleneck_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.latent_arch_bottleneck_num {
    position: absolute;
    top: 1vw;
    left: 1vw;
    width: 2vw;
    height: 2vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.1);
    color: #DC2626;
    border-radius: 50%;
    font-size: 0.9vw;
    font-weight: 600;
}

.latent_arch_bottleneck_card h3 {
    font-size: 1vw;
    font-weight: 500;
    margin: 1.5vw 0 0.5vw;
}

.latent_arch_bottleneck_card p {
    font-size: 0.85vw;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   SINGLE NODE ARCHITECTURE
   ============================================ */
.latent_arch_single_node {
    padding: 5vw 11.3vw;
    background: #ffffff;
}

/* Side-by-side layout for diagram and drawer */
.latent_arch_interactive_layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2vw;
    min-height: 35vw;
    align-items: stretch;
}

.latent_arch_diagram_col {
    display: flex;
    flex-direction: column;
}

.latent_arch_diagram_col .latent_arch_diagram_container {
    flex: 1;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.latent_arch_diagram_container {
    background: #F8FAFC;
    border-radius: 1vw;
    padding: 2vw;
    margin-bottom: 2vw;
    overflow-x: auto;
}

.latent_arch_single_svg,
.latent_arch_multi_svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Drawer column styles */
.latent_arch_drawer_col {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.latent_arch_drawer_item {
    background: #f9f8f4;
    border-radius: 1vw;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
}

.latent_arch_drawer_item:hover {
    border-color: rgba(139, 92, 246, 0.2);
}

.latent_arch_drawer_item.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.latent_arch_drawer_header {
    display: flex;
    align-items: center;
    gap: 0.8vw;
    padding: 1.2vw 1.5vw;
    transition: all 0.3s ease;
}

.latent_arch_drawer_indicator {
    width: 0.6vw;
    height: 0.6vw;
    border-radius: 50%;
    background: #ccc;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.latent_arch_drawer_item.active .latent_arch_drawer_indicator {
    background: #8B5CF6;
    box-shadow: 0 0 0 0.3vw rgba(139, 92, 246, 0.2);
}

.latent_arch_drawer_header h4 {
    font-size: 1vw;
    font-weight: 500;
    margin: 0;
    color: #555;
    transition: all 0.3s ease;
}

.latent_arch_drawer_item.active .latent_arch_drawer_header h4 {
    color: #8B5CF6;
    font-weight: 600;
}

.latent_arch_drawer_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5vw;
}

.latent_arch_drawer_item.active .latent_arch_drawer_content {
    max-height: 20vw;
    padding: 0 1.5vw 1.5vw;
}

.latent_arch_drawer_content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latent_arch_drawer_content li {
    font-size: 0.85vw;
    color: #555;
    margin-bottom: 0.6vw;
    padding-left: 1.2vw;
    position: relative;
    line-height: 1.5;
}

.latent_arch_drawer_content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45vw;
    width: 0.4vw;
    height: 0.4vw;
    background: #8B5CF6;
    border-radius: 50%;
}

.latent_arch_drawer_content li strong {
    color: #333;
}

/* Legacy component details (hidden but kept for compatibility) */
.latent_arch_component_details {
    display: none;
    justify-content: center;
    gap: 1vw;
    margin-bottom: 2vw;
}

.latent_arch_component_btn {
    padding: 0.8vw 1.5vw;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 0.5vw;
    font-size: 0.85vw;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.latent_arch_component_btn:hover {
    border-color: rgba(139, 92, 246, 0.3);
    color: #8B5CF6;
}

.latent_arch_component_btn.active {
    background: #8B5CF6;
    color: #ffffff;
    border-color: #8B5CF6;
}

.latent_arch_detail_panel {
    display: none;
    background: #f9f8f4;
    border-radius: 1vw;
    padding: 2vw;
    border-left: 4px solid #8B5CF6;
}

.latent_arch_detail_panel h4 {
    font-size: 1.1vw;
    font-weight: 500;
    margin-bottom: 1vw;
    color: #8B5CF6;
}

.latent_arch_detail_panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latent_arch_detail_panel li {
    font-size: 0.9vw;
    color: #555;
    margin-bottom: 0.5vw;
    padding-left: 1.5vw;
    position: relative;
}

.latent_arch_detail_panel li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45vw;
    width: 0.5vw;
    height: 0.5vw;
    background: #8B5CF6;
    border-radius: 50%;
}

.latent_arch_detail_panel li strong {
    color: #333;
}

/* ============================================
   MULTI-NODE SECTION
   ============================================ */
.latent_arch_multi_node {
    padding: 5vw 11.3vw;
    background: #f5ebf9;
}

/* ============================================
   OPTIMIZATIONS SECTION
   ============================================ */
.latent_arch_optimizations {
    padding: 5vw 11.3vw;
    background: #ffffff;
}

.latent_arch_opt_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5vw;
}

.latent_arch_opt_card {
    background: #f9f8f4;
    border-radius: 1vw;
    padding: 2vw;
    text-align: center;
    transition: all 0.3s ease;
}

.latent_arch_opt_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}

.latent_arch_opt_card_highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.08) 100%);
    border: 2px solid rgba(139, 92, 246, 0.2);
}

.latent_arch_opt_speedup {
    margin-bottom: 1vw;
}

.latent_arch_opt_speedup_value {
    font-size: 2.5vw;
    font-weight: 700;
    color: #8B5CF6;
}

.latent_arch_opt_speedup_suffix {
    font-size: 1.5vw;
    font-weight: 600;
    color: #A855F7;
}

.latent_arch_opt_card h3 {
    font-size: 1vw;
    font-weight: 500;
    margin-bottom: 0.3vw;
}

.latent_arch_opt_source {
    font-size: 0.75vw;
    color: #8B5CF6;
    margin-bottom: 0.8vw;
}

.latent_arch_opt_card > p:not(.latent_arch_opt_source) {
    font-size: 0.85vw;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1vw;
}

.latent_arch_opt_code {
    background: #1F2937;
    border-radius: 0.5vw;
    padding: 1vw;
    text-align: left;
}

.latent_arch_opt_code code {
    font-size: 0.7vw;
    color: #A78BFA;
    font-family: 'Monaco', 'Consolas', monospace;
    white-space: pre;
    line-height: 1.6;
}

.latent_arch_opt_formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5vw;
    font-size: 0.9vw;
    color: #666;
    flex-wrap: wrap;
}

.latent_arch_opt_result {
    font-size: 1.2vw;
    font-weight: 700;
    color: #8B5CF6;
}

/* ============================================
   GPU COMPARISON SECTION
   ============================================ */
.latent_arch_gpu_comparison {
    padding: 5vw 11.3vw;
    background: #f5ebf9;
}

.latent_arch_gpu_insight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.8vw;
    padding: 1.5vw 2vw;
    margin-bottom: 3vw;
}

.latent_arch_gpu_insight_icon {
    width: 2vw;
    height: 2vw;
    color: #8B5CF6;
}

.latent_arch_gpu_insight p {
    font-size: 0.95vw;
    color: #333;
    margin: 0;
}

.latent_arch_gpu_insight strong {
    color: #8B5CF6;
}

.latent_arch_gpu_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5vw;
}

.latent_arch_gpu_card {
    background: #ffffff;
    border-radius: 1vw;
    padding: 2vw;
    text-align: center;
    transition: all 0.3s ease;
}

.latent_arch_gpu_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.latent_arch_gpu_card_highlight {
    border: 2px solid rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(168, 85, 247, 0.03) 100%);
}

.latent_arch_gpu_card h3 {
    font-size: 1.1vw;
    font-weight: 500;
    margin-bottom: 1vw;
}

.latent_arch_gauge_container {
    margin-bottom: 1vw;
}

.latent_arch_gauge {
    width: 100%;
    height: auto;
}

.latent_arch_gauge_bg {
    stroke-linecap: round;
}

.latent_arch_gauge_fill {
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease-out;
}

.latent_arch_gpu_stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8vw;
    color: #666;
    padding-top: 1vw;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.latent_arch_gpu_stat strong {
    color: #8B5CF6;
}

/* ============================================
   SCALING SECTION
   ============================================ */
.latent_arch_scaling {
    padding: 5vw 11.3vw;
    background: #ffffff;
}

.latent_arch_scaling_chart {
    background: #f9f8f4;
    border-radius: 1vw;
    padding: 2vw;
    margin-bottom: 2vw;
    height: 25vw;
    position: relative;
}

.latent_arch_scaling_chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.latent_arch_scaling_table {
    overflow-x: auto;
    margin-bottom: 2vw;
}

.latent_arch_scaling_table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 0.8vw;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.latent_arch_scaling_table th,
.latent_arch_scaling_table td {
    padding: 1vw 1.5vw;
    text-align: left;
    font-size: 0.9vw;
}

.latent_arch_scaling_table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.latent_arch_scaling_table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #555;
}

.latent_arch_scaling_table tr:last-child td {
    border-bottom: none;
}

.latent_arch_efficiency_badge {
    display: inline-block;
    padding: 0.3vw 0.8vw;
    border-radius: 2vw;
    font-size: 0.75vw;
    font-weight: 600;
}

.latent_arch_efficiency_100 {
    background: rgba(34, 197, 94, 0.15);
    color: #15803D;
}

.latent_arch_efficiency_85 {
    background: rgba(34, 197, 94, 0.12);
    color: #16A34A;
}

.latent_arch_efficiency_75 {
    background: rgba(234, 179, 8, 0.15);
    color: #A16207;
}

.latent_arch_efficiency_65 {
    background: rgba(249, 115, 22, 0.15);
    color: #C2410C;
}

.latent_arch_scaling_notes {
    background: #f9f8f4;
    border-radius: 1vw;
    padding: 2vw;
}

.latent_arch_scaling_notes h4 {
    font-size: 1vw;
    font-weight: 500;
    margin-bottom: 1vw;
}

.latent_arch_scaling_notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latent_arch_scaling_notes li {
    font-size: 0.85vw;
    color: #555;
    margin-bottom: 0.5vw;
    padding-left: 1.5vw;
    position: relative;
}

.latent_arch_scaling_notes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45vw;
    width: 0.5vw;
    height: 0.5vw;
    background: #F97316;
    border-radius: 50%;
}

.latent_arch_scaling_notes li strong {
    color: #333;
}

/* ============================================
   FLOW SECTION
   ============================================ */
.latent_arch_flow {
    padding: 5vw 11.3vw;
    background: #f5ebf9;
}

.latent_arch_flow_container {
    background: #ffffff;
    border-radius: 1vw;
    padding: 3vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.latent_arch_flow_steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2vw;
}

.latent_arch_flow_step {
    display: flex;
    align-items: flex-start;
    gap: 1.5vw;
    padding: 1.5vw 2vw;
    border-left: 3px solid #E5E7EB;
    margin-left: 1vw;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.latent_arch_flow_step.active {
    border-left-color: #8B5CF6;
    background: rgba(139, 92, 246, 0.05);
    opacity: 1;
}

.latent_arch_flow_num {
    width: 2.5vw;
    height: 2.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E5E7EB;
    color: #666;
    border-radius: 50%;
    font-size: 0.9vw;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.latent_arch_flow_step.active .latent_arch_flow_num {
    background: #8B5CF6;
    color: #ffffff;
}

.latent_arch_flow_content h4 {
    font-size: 1vw;
    font-weight: 500;
    margin-bottom: 0.3vw;
}

.latent_arch_flow_content p {
    font-size: 0.85vw;
    color: #666;
    margin: 0;
}

.latent_arch_flow_play {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8vw;
    margin: 0 auto;
    padding: 1vw 2.5vw;
    background: #8B5CF6;
    color: #ffffff;
    border: none;
    border-radius: 0.5vw;
    font-size: 0.95vw;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.latent_arch_flow_play:hover {
    background: #7C3AED;
    transform: translateY(-2px);
}

.latent_arch_flow_play svg {
    width: 1vw;
    height: 1vw;
}

/* ============================================
   CTA SECTION
   ============================================ */
.latent_arch_cta {
    padding: 6vw 11.3vw;
    background: #0a0a0a;
    text-align: center;
}

.latent_arch_cta h2 {
    font-size: 2.5vw;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1vw;
}

.latent_arch_cta > p,
.latent_arch_cta .latent_arch_container > p {
    font-size: 1vw;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5vw;
}

.latent_arch_cta_buttons {
    display: flex;
    justify-content: center;
    gap: 1vw;
}

.latent_arch_btn_primary {
    display: inline-block;
    padding: 1vw 2.5vw;
    background: #8B5CF6;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0.5vw;
    font-size: 0.95vw;
    font-weight: 500;
    transition: all 0.3s ease;
}

.latent_arch_btn_primary:hover {
    background: #7C3AED;
    transform: translateY(-2px);
}

.latent_arch_btn_secondary {
    display: inline-block;
    padding: 1vw 2.5vw;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5vw;
    font-size: 0.95vw;
    font-weight: 500;
    transition: all 0.3s ease;
}

.latent_arch_btn_secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   SVG ANIMATIONS
   ============================================ */
.latent_arch_worker,
.latent_arch_batch,
.latent_arch_gpu {
    transition: all 0.3s ease;
    cursor: pointer;
}

.latent_arch_worker:hover,
.latent_arch_batch:hover,
.latent_arch_gpu:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.latent_arch_node_group {
    transition: all 0.3s ease;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .latent_arch_hero_content {
        max-width: 80vw;
    }

    .latent_arch_hero_stats {
        flex-wrap: wrap;
        gap: 1.5vw;
    }

    .latent_arch_hero_stat {
        flex: 0 0 calc(50% - 0.75vw);
    }

    .latent_arch_benefit_grid {
        grid-template-columns: 1fr;
    }

    .latent_arch_bottleneck_grid {
        grid-template-columns: 1fr;
    }

    .latent_arch_opt_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .latent_arch_gpu_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .latent_arch_interactive_layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .latent_arch_drawer_col {
        order: 2;
    }

    .latent_arch_diagram_col {
        order: 1;
    }

    .latent_arch_drawer_header h4 {
        font-size: 1.4vw;
    }

    .latent_arch_drawer_content li {
        font-size: 1.2vw;
    }
}

@media (max-width: 768px) {
    .latent_arch_hero {
        padding: 15vw 5vw 10vw;
    }

    .latent_arch_hero_title {
        font-size: 7vw;
    }

    .latent_arch_hero_subtitle {
        font-size: 3.5vw;
    }

    .latent_arch_hero_stat_value {
        font-size: 6vw;
    }

    .latent_arch_hero_stat_label {
        font-size: 2.5vw;
    }

    .latent_arch_overview,
    .latent_arch_problem,
    .latent_arch_single_node,
    .latent_arch_multi_node,
    .latent_arch_optimizations,
    .latent_arch_gpu_comparison,
    .latent_arch_scaling,
    .latent_arch_flow,
    .latent_arch_cta {
        padding: 10vw 5vw;
    }

    .latent_arch_section_title {
        font-size: 6vw;
    }

    .latent_arch_section_subtitle {
        font-size: 3.5vw;
        max-width: 100%;
    }

    .latent_arch_audience_toggle {
        flex-wrap: wrap;
    }

    .latent_arch_audience_tab {
        font-size: 3vw;
        padding: 2vw 4vw;
    }

    .latent_arch_opt_grid,
    .latent_arch_gpu_grid {
        grid-template-columns: 1fr;
    }

    .latent_arch_component_details {
        flex-wrap: wrap;
    }

    .latent_arch_component_btn {
        font-size: 3vw;
        padding: 2vw 3vw;
    }

    .latent_arch_drawer_header {
        padding: 3vw 4vw;
        gap: 2vw;
    }

    .latent_arch_drawer_indicator {
        width: 2vw;
        height: 2vw;
    }

    .latent_arch_drawer_header h4 {
        font-size: 3.5vw;
    }

    .latent_arch_drawer_content {
        padding: 0 4vw;
    }

    .latent_arch_drawer_item.active .latent_arch_drawer_content {
        padding: 0 4vw 4vw;
        max-height: 50vw;
    }

    .latent_arch_drawer_content li {
        font-size: 3vw;
        padding-left: 3vw;
        margin-bottom: 2vw;
    }

    .latent_arch_drawer_content li::before {
        width: 1.2vw;
        height: 1.2vw;
        top: 1vw;
    }

    .latent_arch_cta h2 {
        font-size: 6vw;
    }

    .latent_arch_cta_buttons {
        flex-direction: column;
        align-items: center;
    }

    .latent_arch_btn_primary,
    .latent_arch_btn_secondary {
        font-size: 3.5vw;
        padding: 3vw 6vw;
        width: 80%;
        text-align: center;
    }

    .latent_arch_flow_step {
        padding: 3vw 4vw;
    }

    .latent_arch_flow_num {
        width: 8vw;
        height: 8vw;
        font-size: 3vw;
    }

    .latent_arch_flow_content h4 {
        font-size: 3.5vw;
    }

    .latent_arch_flow_content p {
        font-size: 3vw;
    }

    .latent_arch_flow_play {
        font-size: 3.5vw;
        padding: 3vw 6vw;
    }

    .latent_arch_scaling_table th,
    .latent_arch_scaling_table td {
        font-size: 3vw;
        padding: 3vw;
    }
}
