@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Tokens (HSL) */
    --bg-dark: hsl(222, 47%, 7%);
    --bg-card: hsla(223, 47%, 14%, 0.5);
    --bg-card-hover: hsla(223, 47%, 18%, 0.7);
    --border-color: hsla(217, 30%, 30%, 0.3);
    --border-hover: hsla(217, 30%, 50%, 0.5);
    
    --text-primary: hsl(210, 40%, 98%);
    --text-secondary: hsl(215, 20%, 75%);
    --text-muted: hsl(215, 16%, 52%);
    
    --accent-blue: hsl(199, 89%, 48%);
    --accent-blue-glow: hsla(199, 89%, 48%, 0.35);
    --accent-cyan: hsl(180, 80%, 45%);
    --accent-red: hsl(346, 84%, 61%);
    --accent-red-glow: hsla(346, 84%, 61%, 0.35);
    --accent-green: hsl(142, 70%, 45%);
    --accent-green-glow: hsla(142, 70%, 45%, 0.35);
    
    /* Layout Tokens */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: hsla(217, 30%, 30%, 0.5);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Background Gradients */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.glow-blob-1 {
    top: -10%;
    right: 10%;
    width: 45vw;
    height: 45vw;
    background: var(--accent-blue);
}

.glow-blob-2 {
    bottom: 10%;
    left: -5%;
    width: 40vw;
    height: 40vw;
    background: var(--accent-cyan);
}

.glow-blob-3 {
    top: 40%;
    right: -10%;
    width: 35vw;
    height: 35vw;
    background: var(--accent-red);
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: hsla(222, 47%, 7%, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: 800;
    box-shadow: 0 0 15px var(--accent-blue-glow);
}

.logo span {
    background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.25rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition-smooth);
}

nav a:hover {
    color: var(--text-primary);
}

nav a:hover::after {
    width: 100%;
}

/* Page Layout */
main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem 6rem;
}

section {
    margin-bottom: 7rem;
}

/* Glassmorphism Card Template */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Typographical Standards */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

h2::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 28px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-cyan));
    border-radius: 4px;
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 4rem 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.badge {
    background: hsla(217, 30%, 30%, 0.35);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-blue-glow);
}

.badge-dot.pulse {
    animation: alert-pulse 2s infinite;
}

@keyframes alert-pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--accent-blue-glow); }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 4px 20px var(--accent-blue-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-blue-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    background: hsla(199, 89%, 48%, 0.05);
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 50% 50%, hsla(223, 47%, 20%, 0.6), hsla(222, 47%, 7%, 0.8));
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-visual-globe {
    width: 240px;
    height: 240px;
    border: 1px dashed var(--accent-blue);
    border-radius: 50%;
    position: relative;
    animation: rotation-dashed 40s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes rotation-dashed {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-visual-inner {
    width: 180px;
    height: 180px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    position: absolute;
    animation: rotation-solid 20s linear reverse infinite;
    box-shadow: 0 0 25px rgba(180, 80, 45, 0.1);
}

@keyframes rotation-solid {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-visual-text {
    position: absolute;
    text-align: center;
    font-family: var(--font-heading);
    z-index: 5;
}

.visual-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visual-desc {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.25rem;
}

/* Timeline/Pipeline Section */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 7px;
    width: 2px;
    height: calc(100% - 25px);
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-cyan) 60%, var(--border-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    top: 5px;
    left: -3rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 3px solid var(--accent-blue);
    z-index: 5;
    transition: var(--transition-smooth);
}

.timeline-item.active .timeline-marker {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px var(--accent-cyan);
    transform: scale(1.2);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    background: hsla(223, 47%, 14%, 0.3);
    border: 1px solid var(--border-color);
}

.timeline-header:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.timeline-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-step {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 600;
}

.timeline-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-icon {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.timeline-item.active .timeline-icon {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.timeline-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-body-content {
    padding: 2rem;
    background: hsla(223, 47%, 10%, 0.4);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.timeline-details h4 {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: var(--accent-cyan);
}

.timeline-details ul {
    list-style: none;
}

.timeline-details li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.timeline-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

.timeline-code-block {
    background: hsl(222, 47%, 4%);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: monospace;
    font-size: 0.8rem;
    color: hsl(210, 40%, 90%);
    overflow-x: auto;
    white-space: pre;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background-color: hsl(222, 47%, 4%);
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
    padding: 10px;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.gallery-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.gallery-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: auto;
}

/* Modal View */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 200;
    background: rgba(4, 8, 17, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.modal.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: hsla(217, 30%, 30%, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 210;
}

.modal-close:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: var(--bg-dark);
}

.modal-image-panel {
    background: hsl(222, 47%, 4%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.modal-image-panel img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.modal-info-panel {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-left: 1px solid var(--border-color);
}

.modal-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.modal-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-tech-specs h5 {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-tech-specs ul {
    list-style: none;
}

.modal-tech-specs li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.modal-tech-specs li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

/* Simulator Section */
.simulator-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: stretch;
}

.simulator-controls {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-label-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.slider-val {
    font-family: monospace;
    font-size: 0.95rem;
    color: var(--accent-cyan);
    font-weight: 700;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

select {
    width: 100%;
    background: hsl(222, 47%, 4%);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: var(--transition-smooth);
}

select:focus {
    border-color: var(--accent-blue);
    outline: none;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.75rem;
    pointer-events: none;
}

/* Custom Sliders */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: hsla(217, 30%, 30%, 0.5);
    border-radius: 3px;
    border: none;
}

input[type=range]::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6px;
    box-shadow: 0 0 10px var(--accent-blue-glow);
    transition: var(--transition-smooth);
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: hsla(217, 30%, 30%, 0.7);
}

input[type=range]::-webkit-slider-thumb:hover {
    background: var(--accent-cyan);
    transform: scale(1.15);
}

/* Simulator Output Display */
.simulator-results {
    background: hsla(222, 47%, 4%, 0.5);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.result-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.result-glow.low {
    background: var(--accent-green);
    box-shadow: 0 0 80px var(--accent-green-glow);
}

.result-glow.high {
    background: var(--accent-red);
    box-shadow: 0 0 80px var(--accent-red-glow);
}

.gauge-container {
    position: relative;
    width: 200px;
    height: 200px;
    z-index: 5;
    margin-bottom: 2rem;
}

.gauge-svg {
    transform: rotate(-90deg);
}

.gauge-track {
    fill: none;
    stroke: hsla(217, 30%, 30%, 0.3);
    stroke-width: 10;
}

.gauge-fill {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 565.48; /* 2 * PI * r (r=90) */
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.4s ease;
}

.gauge-fill.low {
    stroke: var(--accent-green);
}

.gauge-fill.high {
    stroke: var(--accent-red);
}

.gauge-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gauge-prob {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}

.gauge-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.risk-level-badge {
    z-index: 5;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.risk-level-badge.low {
    background: hsla(142, 70%, 45%, 0.15);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    box-shadow: 0 0 15px rgba(142, 70, 45, 0.1);
    animation: breathing 4s ease-in-out infinite;
}

.risk-level-badge.high {
    background: hsla(346, 84%, 61%, 0.15);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    box-shadow: 0 0 15px rgba(346, 84, 61, 0.1);
    animation: pulse-red 2s infinite;
}

@keyframes breathing {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.03); opacity: 1; box-shadow: 0 0 25px rgba(142, 70, 45, 0.2); }
    100% { transform: scale(1); opacity: 0.9; }
}

@keyframes pulse-red {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(346, 84, 61, 0.35); }
    100% { transform: scale(1); }
}

.result-message {
    z-index: 5;
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 280px;
    line-height: 1.6;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--border-color);
    background: hsl(222, 47%, 4%);
    padding: 4rem 2rem;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 500px;
    line-height: 1.6;
}

.footer-team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.member-chip {
    background: hsla(217, 30%, 30%, 0.2);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .timeline-body-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .simulator-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .simulator-results {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        gap: 1.25rem;
    }
    
    .modal-container {
        grid-template-columns: 1fr;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .modal-info-panel {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 2rem;
    }
    
    .modal-image-panel {
        min-height: 250px;
        padding: 1rem;
    }
}
