/* MORATORIUM DESIGN SYSTEM - STYLING */

:root {
    --bg-darker: #070709;
    --bg-dark: #0f0f13;
    --bg-panel: #14141a;
    --bg-panel-hover: #1a1a24;
    
    --border-color: #2b2b36;
    --border-color-active: #48485a;
    
    --accent-red: #e60012;
    --accent-red-hover: #b3000e;
    --accent-red-glow: rgba(230, 0, 18, 0.4);
    --accent-red-rgb: 230, 0, 18;
    
    --text-white: #ffffff;
    --text-gray: #a0a0ab;
    --text-dark: #5c5c68;
    
    --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', Courier, monospace;
    
    --header-height: 56px;
    --container-width: 1200px;
    --transition-speed: 0.25s;
}

/* 1. Global Reset & Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-darker);
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    background-color: var(--bg-darker);
}

/* Background Grids, Noise, and Scanlines */
.system-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 999;
}

.system-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.12) 50%,
        rgba(0, 0, 0, 0.12)
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1000;
}

/* 2. Typographical & Utility classes */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: 0.05em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

.font-mono {
    font-family: var(--font-mono);
}

.accent-text {
    color: var(--accent-red);
}

.text-accent {
    color: var(--accent-red);
}

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

.t-accent { color: var(--accent-red); }
.t-green { color: #00ff66; }
.t-gray { color: var(--text-gray); }

/* Layout Grid & Containers */
.section-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 80px 24px;
}

.grid-layout {
    display: grid;
    gap: 24px;
}

.cols-2 {
    grid-template-columns: repeat(2, 1-fraction);
}

@media (min-width: 768px) {
    .cols-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* 3. Header Styling */
.sys-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(7, 7, 9, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.sys-header-container {
    max-width: var(--container-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sys-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sys-status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-red);
}

.sys-status-indicator.pulse {
    animation: indicatorPulse 2s infinite ease-in-out;
}

@keyframes indicatorPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.sys-title {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.sys-nav {
    display: flex;
    align-items: center;
}

.sys-nav ul {
    display: flex;
    gap: 8px;
}

.sys-nav a {
    display: block;
    padding: 6px 14px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-gray);
    border: 1px solid transparent;
}

.sys-nav a:hover,
.sys-nav a.active {
    color: var(--text-white);
    border-bottom: 1px solid var(--accent-red);
}

.sys-nav a.btn-header-dl {
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
}

.sys-nav a.btn-header-dl:hover {
    background-color: var(--accent-red);
    color: var(--text-white);
}

.sys-header-extra {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dark);
}

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

.sys-menu-toggle .bar {
    width: 20px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.2s ease;
}

/* Mobile Header adjustments */
@media (max-width: 768px) {
    .sys-header-extra {
        display: none;
    }
    
    .sys-menu-toggle {
        display: flex;
    }
    
    .sys-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-darker);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        border-left: 1px solid var(--border-color);
    }
    
    .sys-nav.active {
        transform: translateX(0);
    }
    
    .sys-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }
    
    .sys-nav a {
        font-size: 1.2rem;
        padding: 10px 20px;
        width: 200px;
        text-align: center;
    }
}

/* 4. Common Panel & UI Elements */
.sys-panel {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    position: relative;
    transition: border-color var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.sys-panel.border-accent {
    border-color: var(--accent-red);
}

.sys-panel:hover {
    border-color: var(--border-color-active);
}

.sys-panel.border-accent:hover {
    border-color: var(--accent-red);
    box-shadow: 0 0 15px rgba(230,0,18,0.1);
}

.pad-md { padding: 24px; }
.pad-lg { padding: 36px; }
.pad-xl { padding: 48px; }

.sys-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-gray);
}

.panel-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-dark);
    border-radius: 50%;
}

.panel-dot.bg-accent {
    background-color: var(--accent-red);
}

.sys-tag {
    position: absolute;
    top: -9px;
    left: 20px;
    background-color: var(--bg-darker);
    padding: 0 8px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

/* Tables */
.sys-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.sys-table th, .sys-table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.sys-table th {
    font-family: var(--font-mono);
    color: var(--text-gray);
    width: 35%;
    font-weight: 500;
}

.sys-table td {
    color: var(--text-white);
}

.sys-table tr:last-child th,
.sys-table tr:last-child td {
    border-bottom: none;
}

/* Buttons */
.sys-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 14px 28px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-white);
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.sys-btn .btn-text {
    font-size: 1rem;
    z-index: 2;
}

.sys-btn .btn-subtext {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-gray);
    margin-top: 4px;
    z-index: 2;
}

.sys-btn.primary {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}

.sys-btn.primary:hover {
    background-color: var(--accent-red-hover);
    border-color: var(--accent-red-hover);
    box-shadow: 0 0 20px var(--accent-red-glow);
    transform: translateY(-2px);
}

.sys-btn.secondary {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: var(--border-color);
}

.sys-btn.secondary:hover {
    border-color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.sys-btn.lg {
    padding: 20px 40px;
    width: 100%;
    max-width: 420px;
}

.sys-btn.lg .btn-text {
    font-size: 1.15rem;
}

.btn-glitch-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    opacity: 0;
    pointer-events: none;
}

.sys-btn:hover .btn-glitch-border {
    opacity: 1;
    animation: borderGlitch 0.5s infinite linear;
}

@keyframes borderGlitch {
    0% { clip-path: inset(0 0 95% 0); }
    20% { clip-path: inset(0 95% 0 0); }
    40% { clip-path: inset(95% 0 0 0); }
    60% { clip-path: inset(0 0 0 95%); }
    80% { clip-path: inset(0 0 95% 0); }
    100% { clip-path: inset(0 0 0 0); }
}

/* 5. Section Specifics */

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.25) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(7, 7, 9, 0.4) 0%,
        rgba(7, 7, 9, 0.95) 100%
    );
    z-index: 2;
}

.hero-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 3;
}

.hero-border-box {
    border: 1px solid var(--border-color);
    background-color: rgba(15, 15, 19, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 60px 40px;
    position: relative;
    max-width: 700px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    border-left: 2px solid var(--accent-red);
    padding-left: 16px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Corner decorations for futuristic UI look */
.hero-corner-decor {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--accent-red);
    border-style: solid;
    pointer-events: none;
}
.hero-corner-decor.tl { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.hero-corner-decor.tr { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
.hero-corner-decor.bl { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }
.hero-corner-decor.br { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-border-box {
        padding: 40px 24px;
    }
    .hero-actions .sys-btn {
        width: 100%;
    }
}

/* Section Header Shared */
.section-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 4px;
}

/* --- GAME SECTION --- */
.game-desc-header {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-white);
}

.game-desc-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.game-desc-text:last-child {
    margin-bottom: 0;
}

/* --- VISUAL SECTION --- */
.game-mockup-frame {
    border: 1px solid var(--border-color);
    background-color: var(--bg-panel);
    width: 100%;
}

.mockup-header {
    height: 36px;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dark);
}

.mockup-tab {
    color: var(--text-gray);
}

.mockup-indicator {
    color: var(--accent-red);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-indicator::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-red);
    border-radius: 50%;
    animation: indicatorPulse 1.5s infinite;
}

.mockup-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    overflow: hidden;
}

.mockup-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
}

.mockup-character-layer {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 90%;
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    transition: background-image 0.4s ease-in-out, opacity 0.4s ease-in-out;
    z-index: 2;
}

.mockup-ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    box-sizing: border-box;
    z-index: 3;
}

/* Inside Mockup UI elements */
.mockup-notification-toast {
    align-self: flex-end;
    background-color: rgba(15, 15, 19, 0.85);
    border: 1px solid var(--accent-red);
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    display: flex;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    animation: toastSlideIn 0.3s ease-out;
}

@keyframes toastSlideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.mockup-textbox {
    width: 100%;
    background-color: rgba(7, 7, 9, 0.9);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    position: relative;
}

.textbox-speaker {
    position: absolute;
    top: -12px;
    left: 20px;
    background-color: var(--accent-red);
    color: var(--text-white);
    padding: 2px 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
}

.textbox-text {
    font-size: 0.95rem;
    min-height: 48px;
    color: var(--text-white);
}

.textbox-next-prompt {
    position: absolute;
    bottom: 8px;
    right: 16px;
    font-size: 0.65rem;
    color: var(--accent-red);
    animation: blink 1s infinite alternate;
}

@keyframes blink {
    from { opacity: 0.2; }
    to { opacity: 1; }
}

.mockup-controls {
    display: flex;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-dark);
}

.mockup-ctrl-btn {
    flex: 1;
    background: none;
    border: none;
    border-right: 1px solid var(--border-color);
    padding: 12px;
    color: var(--text-dark);
    font-family: var(--font-mono);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.mockup-ctrl-btn:last-child {
    border-right: none;
}

.mockup-ctrl-btn .btn-num {
    font-size: 0.7rem;
}

.mockup-ctrl-btn .btn-label {
    font-size: 0.75rem;
    font-weight: 700;
}

.mockup-ctrl-btn:hover,
.mockup-ctrl-btn.active {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-white);
}

.mockup-ctrl-btn.active {
    border-bottom: 2px solid var(--accent-red);
}

@media (max-width: 600px) {
    .textbox-text {
        font-size: 0.8rem;
        min-height: 36px;
    }
    .textbox-speaker {
        font-size: 0.65rem;
        top: -10px;
    }
    .mockup-notification-toast {
        display: none;
    }
}

/* --- FEATURES SECTION --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    background-color: var(--bg-panel);
}

.feature-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-red);
    font-weight: 700;
}

.feature-title {
    font-size: 1.4rem;
}

.feature-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.feature-mockup {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    width: 100%;
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

/* --- FEATURE MOCK 1: AXIS --- */
.axis-mock {
    background-color: #0b0b0f;
}

.axis-ui {
    width: 100%;
    max-width: 280px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.axis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
}

.blink-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-red);
    border-radius: 50%;
    animation: indicatorPulse 1s infinite;
}

.axis-radar-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 15px auto;
}

.axis-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.axis-grid::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    width: 100px;
    height: 100px;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.axis-grid::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.axis-radar-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, rgba(230,0,18,0.1) 0deg, transparent 90deg, transparent 360deg);
    border-radius: 50%;
    animation: radarSweep 4s linear infinite;
    pointer-events: none;
}

@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.axis-graph-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.axis-poly-bg {
    fill: rgba(255, 255, 255, 0.02);
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 0.5px;
}

.axis-poly-val {
    fill: rgba(230, 0, 18, 0.15);
    stroke: var(--accent-red);
    stroke-width: 1.5px;
}

.axis-point {
    fill: var(--text-white);
    stroke: var(--accent-red);
    stroke-width: 1px;
}

.axis-label {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-gray);
    transform: translate(-50%, -50%);
}

.axis-label.pt { top: -5px; left: 50%; }
.axis-label.rt { top: 40px; left: 110%; }
.axis-label.rb { top: 120px; left: 95%; }
.axis-label.lb { top: 120px; left: 5%; }
.axis-label.lt { top: 40px; left: -10%; }

.axis-status {
    border-top: 1px solid var(--border-color);
    padding-top: 6px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-dark);
}

.status-row span.value-text {
    font-weight: 700;
}

/* --- FEATURE MOCK 2: SMARTPHONE --- */
.phone-mock {
    background-color: #0c0d10;
}

.phone-ui {
    width: 100%;
    max-width: 250px;
    height: 98%;
    background-color: #121318;
    border: 4px solid #1e2029;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.phone-screen-header {
    height: 24px;
    background-color: #0c0d10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dark);
}

.phone-chat-area {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #0f1014;
}

/* Custom scrollbar for mobile mockup */
.phone-chat-area::-webkit-scrollbar {
    width: 2px;
}
.phone-chat-area::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
}

.chat-date {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 4px;
}

.chat-bubble {
    max-width: 80%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-bubble.received {
    align-self: flex-start;
}

.chat-bubble.sent {
    align-self: flex-end;
}

.chat-sender {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-gray);
}

.chat-msg-body {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.received .chat-msg-body {
    background-color: #20222b;
    color: var(--text-white);
    border-bottom-left-radius: 0;
}

.sent .chat-msg-body {
    background-color: var(--accent-red);
    color: var(--text-white);
    border-bottom-right-radius: 0;
}

.chat-time {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--text-dark);
}

.sent .chat-time {
    align-self: flex-end;
}

.read-mark {
    color: #00ff66;
}

.phone-input-bar {
    height: 36px;
    background-color: #1a1c24;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.phone-input-placeholder {
    font-size: 0.7rem;
    color: var(--text-dark);
}

.phone-send-btn {
    width: 20px;
    height: 20px;
    background-color: var(--accent-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    cursor: pointer;
}

/* --- FEATURE MOCK 3: LOG --- */
.log-mock {
    background-color: #08080b;
}

.log-ui {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--font-mono);
}

.log-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
}

.log-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
    overflow-y: auto;
}

.log-item {
    font-size: 0.7rem;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.log-timestamp {
    color: var(--text-dark);
}

.log-speaker {
    color: var(--accent-red);
}

.log-message {
    color: var(--text-gray);
    flex: 1;
    min-width: 150px;
}

.log-item.alert {
    background-color: rgba(230,0,18,0.05);
    border-left: 2px solid var(--accent-red);
    padding: 4px;
}

.log-item.alert .log-speaker {
    color: var(--accent-red);
    font-weight: 700;
}

.log-item.alert .log-message {
    color: var(--text-white);
}

.log-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: var(--text-dark);
    border-top: 1px dashed var(--border-color);
    padding-top: 6px;
}

/* --- FEATURE MOCK 4: CHOICES --- */
.choices-mock {
    background-color: #0b0b0e;
}

.choices-ui {
    width: 100%;
    max-width: 320px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.choices-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
}

.choices-timer {
    color: var(--accent-red);
}

.choices-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: auto 0;
}

.choice-btn {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 10px 16px;
    cursor: pointer;
    position: relative;
    text-align: left;
    display: flex;
    gap: 12px;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.choice-btn .choice-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.choice-btn .choice-text {
    font-size: 0.8rem;
    font-weight: 500;
}

.choice-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.choice-btn:hover,
.choice-btn.active {
    background-color: rgba(230, 0, 18, 0.04);
    border-color: var(--accent-red);
    color: var(--text-white);
}

.choice-btn:hover .choice-num,
.choice-btn.active .choice-num {
    color: var(--accent-red);
}

.choice-btn:hover .choice-border,
.choice-btn.active .choice-border {
    background-color: var(--accent-red);
}

/* --- DOWNLOAD SECTION --- */
.download-section {
    padding: 40px 0 80px 0;
}

.download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}

.download-title {
    font-size: 1.8rem;
}

.download-desc {
    color: var(--text-gray);
    font-size: 1rem;
    max-width: 600px;
}

.download-box {
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.download-terminal-output {
    width: 100%;
    background-color: #070709;
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    text-align: left;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 4px;
}

.terminal-line {
    margin-bottom: 4px;
}

.terminal-line:last-child {
    margin-bottom: 0;
}

/* --- FOOTER --- */
.sys-footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-darker);
    padding: 40px 0;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-title {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-dark);
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .footer-right {
        align-items: flex-end;
    }
}

.footer-links {
    display: flex;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--accent-red);
}

.footer-system-status {
    display: flex;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dark);
}

/* 6. Interaction / Animation States */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
