/* ==========================================================================
   OpenGrid GIS - Modern Utility GIS Design System
   ========================================================================== */

:root {
    --bg-dark: #0a0e17;
    --bg-card: rgba(18, 26, 42, 0.75);
    --bg-card-hover: rgba(26, 38, 62, 0.85);
    --border-card: rgba(255, 255, 255, 0.08);
    
    --primary-cyan: #00f2fe;
    --primary-blue: #4facfe;
    --accent-power: #ffb703;
    --accent-water: #00b4d8;
    --accent-time: #10b981;

    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scroll-Snap Full-Page Layout */
.scroll-snap-container {
    width: 100%;
}

.full-page-section {
    min-height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 90px 32px 32px;
}

/* Header & Navbar Fixed Across All Slides */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 36px;
    background: #0a0e17 !important;
    background: rgba(10, 14, 23, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.25) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    pointer-events: auto !important;
}

/* Fixed Navigation Indicator Dots */
.scroll-dots-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 999999;
    pointer-events: auto;
}

.scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-dot:hover, .scroll-dot.active {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    transform: scale(1.4);
    box-shadow: 0 0 12px var(--primary-cyan);
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
    min-width: 170px;
}

.brand img, .brand-svg-logo {
    width: 160px;
    height: 48px;
    min-width: 160px;
    display: block;
    transition: var(--transition-fast);
}

.brand:hover img, .brand:hover .brand-svg-logo {
    transform: scale(1.04);
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #040914;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-main);
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    margin-left: auto;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 32px 60px;
    text-align: center;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.hero-topology-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    cursor: grab;
    touch-action: none;
    opacity: 0.65;
    pointer-events: auto;
}

.hero-topology-canvas:active {
    cursor: grabbing;
}

.hero-content-box {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    pointer-events: none; /* Allows mouse dragging and physics interaction behind/through the text */
}

.hero-content-box a,
.hero-content-box button {
    pointer-events: auto;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(10, 14, 23, 0.75);
    border: 1px solid rgba(0, 242, 254, 0.35);
    color: var(--primary-cyan);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    pointer-events: auto;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    text-shadow: 0 4px 24px rgba(6, 10, 19, 0.9), 0 2px 8px rgba(0, 0, 0, 0.8);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 242, 254, 0.3));
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(6, 10, 19, 0.95), 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Section Header */
.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Capabilities Grid */
.capabilities-section {
    padding: 40px 0 60px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 32px;
    backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-power .card-icon {
    background: rgba(255, 183, 3, 0.15);
    color: var(--accent-power);
    border: 1px solid rgba(255, 183, 3, 0.3);
}

.card-water .card-icon {
    background: rgba(0, 180, 216, 0.15);
    color: var(--accent-water);
    border: 1px solid rgba(0, 180, 216, 0.3);
}

.card-time .card-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-time);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-subtle);
    margin-bottom: 8px;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 24px;
}

.card-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-tags li {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--text-muted);
}

/* Topology Canvas Animation Section */
.topology-animation-section {
    width: 100%;
    max-width: 92vw !important;
    padding: 80px 20px 24px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.topo-anim-box {
    background: var(--bg-card);
    border: 1px solid rgba(0, 242, 254, 0.35);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 254, 0.08);
    backdrop-filter: blur(20px);
    width: 82vw;
    max-width: 1560px;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
}

.topo-anim-header {
    padding: 16px 28px;
    background: rgba(10, 14, 23, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.anim-badge {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 4px;
}

.topo-anim-title h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.topo-anim-status {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.pulse-red { background-color: #ef4444; box-shadow: 0 0 8px #ef4444; }
.pulse-yellow { background-color: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.pulse-green { background-color: #10b981; box-shadow: 0 0 8px #10b981; }

.canvas-wrapper {
    position: relative;
    width: 100%;
    flex: 1;
    background: #0c121e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

#topologyCanvas {
    width: 100%;
    height: 100%;
    flex: 1;
    display: block;
    background: #0c121e;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .topo-anim-box {
        width: 94vw;
        min-height: 70vh;
    }
}

/* SVG Topology Keyframes Animation */
.topology-svg-anim {
    width: 100%;
    height: 320px;
    background: #03050a;
    display: block;
}

.svg-edge-path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: topoEdgeAnim 9s infinite ease-in-out;
}

@keyframes topoEdgeAnim {
    0%, 30% {
        stroke: rgba(239, 68, 68, 0.6);
        stroke-dasharray: 8, 6;
        stroke-width: 2;
    }
    40%, 65% {
        stroke: rgba(245, 158, 11, 0.8);
        stroke-dasharray: 0;
        stroke-width: 2.5;
    }
    70%, 100% {
        stroke: rgba(16, 185, 129, 0.9);
        stroke-dasharray: 0;
        stroke-width: 3;
        filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.6));
    }
}

.node-circle {
    transition: all 0.5s ease;
    animation: topoNodeAnim 9s infinite ease-in-out;
}

@keyframes topoNodeAnim {
    0%, 30% {
        fill: #ef4444;
        r: 6;
        filter: drop-shadow(0 0 4px #ef4444);
        transform: translate(-15px, 12px);
    }
    40%, 65% {
        fill: #f59e0b;
        r: 7.5;
        filter: drop-shadow(0 0 6px #f59e0b);
        transform: translate(0px, 0px);
    }
    70%, 100% {
        fill: #00f2fe;
        r: 9;
        filter: drop-shadow(0 0 10px #00f2fe);
        transform: translate(0px, 0px);
    }
}

.node-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    fill: rgba(241, 245, 249, 0.85);
    text-anchor: middle;
}

.anim-status-legend {
    display: flex;
    gap: 16px;
    align-items: center;
}

.legend-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.legend-element-tag {
    font-size: 0.76rem;
    font-family: var(--font-mono);
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tag-tx {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #f59e0b;
}
.tag-sw {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}
.tag-vlv {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
}
.tag-pump {
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: #00f2fe;
}
.tag-res {
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.4);
    color: #00b4d8;
}

/* Visualizer Network Tabs */
.visualizer-tabs-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(6, 9, 17, 0.6);
    padding: 4px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.viz-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.viz-tab-btn.active {
    background: rgba(0, 242, 254, 0.12);
    border-color: rgba(0, 242, 254, 0.4);
    color: var(--primary-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

.viz-tab-btn.active.tab-water-active {
    background: rgba(0, 180, 216, 0.15);
    border-color: rgba(0, 180, 216, 0.4);
    color: #38bdf8;
    box-shadow: 0 0 12px rgba(0, 180, 216, 0.25);
}

.canvas-overlay-controls {
    width: 100%;
    padding: 12px 24px;
    background: rgba(10, 14, 23, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.anim-control-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.anim-control-btn:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.anim-caption {
    font-size: 0.8rem;
    color: var(--text-subtle);
}

/* Collector Portal Section */
.collector-section {
    padding: 20px 0 60px;
}

.collector-container-box {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.collector-header {
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-card);
    flex-wrap: wrap;
    gap: 16px;
    background: rgba(10, 14, 23, 0.8);
}

.collector-title-group h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

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

.collector-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    padding: 32px 28px;
}

@media (max-width: 868px) {
    .collector-body {
        grid-template-columns: 1fr;
    }
}

.collector-form-col h4, .collector-info-col h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.half-width {
    flex: 1;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.required-star {
    color: #ef4444;
    font-weight: 700;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: #060911;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-group textarea {
    resize: vertical;
    line-height: 1.5;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

/* Drag & Drop Zone */
.drop-zone-box {
    border: 2px dashed rgba(0, 242, 254, 0.3);
    background: rgba(6, 9, 17, 0.7);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-bottom: 16px;
}

.drop-zone-box:hover, .drop-zone-box.drag-active {
    border-color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.08);
    transform: scale(1.01);
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.drop-icon {
    font-size: 2.4rem;
}

.drop-main-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.drop-sub-text {
    font-size: 0.85rem;
    color: var(--text-subtle);
}

.selected-files-container {
    margin-top: 16px;
    text-align: left;
}

.file-list-header {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-cyan);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.file-name {
    font-weight: 600;
    color: var(--text-main);
    word-break: break-all;
}

.file-size {
    font-family: var(--font-mono);
    color: var(--text-subtle);
    font-size: 0.78rem;
}

/* Format Badges */
.format-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.format-tag {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: 4px;
}

.btn-primary-action {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    color: #040914;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    width: 100%;
    transition: var(--transition-fast);
}

.btn-primary-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.8);
}

.btn-primary-action:not(:disabled):hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.response-box {
    background: #030509;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 20px;
    min-height: 220px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin-bottom: 20px;
    overflow-y: auto;
}

.response-placeholder {
    color: var(--text-subtle);
}

.status-success {
    color: var(--accent-time);
}

.status-error {
    color: #ef4444;
}

.json-output {
    margin-top: 12px;
    background: #060911;
    padding: 12px;
    border-radius: 6px;
    color: var(--primary-cyan);
    font-size: 0.8rem;
    white-space: pre-wrap;
}

.api-snippet-box h5 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.api-snippet-box pre {
    background: #060911;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Information / Deployment Section */
.info-section {
    padding: 20px 0 80px;
}

.info-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(0, 242, 254, 0.05));
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.info-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-time);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.code-snippet {
    background: #060911;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.code-snippet code {
    color: var(--primary-cyan);
}

.code-snippet .comment {
    color: var(--text-subtle);
}

/* Custom Model Adaptation Banner */
.custom-model-banner {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.08) 0%, rgba(0, 242, 254, 0.08) 100%);
    border: 1px solid rgba(0, 136, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 36px 36px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.custom-model-content {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.custom-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.25);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.custom-model-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.custom-model-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.custom-tags-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.custom-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 8px;
}

/* GeoJSON Inspector Accordion */
.geojson-inspector {
    background: #060911;
    border-top: 1px solid var(--border-card);
    padding: 14px 28px;
}

.geojson-summary {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-cyan);
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.badge-tag {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-subtle);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

.geojson-code {
    margin-top: 14px;
    background: #030509;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: #38bdf8;
    max-height: 280px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Solvers & GIS Interoperability Section */
.solvers-section {
    padding: 30px 0 60px;
}

.solvers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.solver-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 32px;
    backdrop-filter: blur(16px);
}

.solver-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.solver-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-formats {
    background: rgba(0, 242, 254, 0.15);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.icon-solvers {
    background: rgba(0, 136, 255, 0.15);
    color: #0088ff;
    border: 1px solid rgba(0, 136, 255, 0.3);
}

.solver-card-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.sub-label {
    font-size: 0.8rem;
    color: var(--text-subtle);
}

.format-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.format-list li {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
}

.format-list strong {
    color: var(--text-main);
}

.solvers-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.solver-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: var(--transition-fast);
}

.solver-item:hover {
    border-color: rgba(0, 136, 255, 0.4);
    background: rgba(0, 136, 255, 0.08);
}

.item-highlight {
    border: 1px solid rgba(0, 242, 254, 0.4);
    background: rgba(0, 242, 254, 0.06);
}

.item-highlight .solver-name {
    color: var(--primary-cyan);
}

.solver-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    font-family: var(--font-mono);
}

.solver-desc {
    font-size: 0.75rem;
    color: var(--text-subtle);
    line-height: 1.3;
}

/* Studies & Topology Conversion Section */
.studies-section {
    padding: 30px 0 60px;
}

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

.text-center p {
    margin: 0 auto;
    max-width: 750px;
}

.studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.study-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition-smooth);
}

.study-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-3px);
}

.study-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 254, 0.12);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 242, 254, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.study-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.study-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Smart Grid & AI Planning Section */
.ai-planning-section {
    padding: 40px 0 70px;
}

.ai-planning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.ai-card {
    background: linear-gradient(135deg, rgba(18, 26, 42, 0.85) 0%, rgba(10, 18, 32, 0.9) 100%);
    border: 1px solid rgba(0, 136, 255, 0.25);
    border-radius: var(--radius-md);
    padding: 32px;
    backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}

.ai-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.ai-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(0, 136, 255, 0.15);
    color: #0088ff;
    border: 1px solid rgba(0, 136, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ai-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
}

.ai-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.ai-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-bullet-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 12px;
    border-radius: 6px;
}

.ai-bullet-list strong {
    color: var(--primary-cyan);
}

/* Evaluation & Model Accuracy Monitoring Section */
.evaluation-section {
    padding: 30px 0 60px;
}

.evaluation-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(0, 136, 255, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.eval-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-time);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.evaluation-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.evaluation-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 850px;
    margin: 0 auto 32px;
}

.eval-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    text-align: left;
}

.eval-item {
    background: rgba(10, 14, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 24px;
    position: relative;
}

.eval-step {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-time);
    background: rgba(16, 185, 129, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.eval-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.eval-item p {
    font-size: 0.88rem;
    color: var(--text-subtle);
    line-height: 1.5;
    margin-bottom: 0;
}

.nav-cta-link {
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--primary-cyan) !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600 !important;
}

.nav-cta-link:hover {
    background: rgba(0, 242, 254, 0.25);
    color: #ffffff !important;
}

.hero-actions-row {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    max-width: 480px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.btn-large {
    padding: 16px 28px;
    font-size: 1.05rem;
    display: inline-block;
    text-decoration: none;
}

.margin-top-24 {
    margin-top: 24px;
}

/* Upload Page Styles */
.upload-hero-section {
    padding: 60px 0 30px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.incentives-section {
    padding: 10px 0 40px;
}

.incentives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.incentive-card {
    background: rgba(18, 26, 42, 0.75);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(12px);
}

.incentive-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.incentive-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.incentive-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.upload-form-wrapper {
    padding: 10px 0 70px;
    max-width: 960px;
    margin: 0 auto;
}

.form-container-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.form-header-banner {
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 20px;
    margin-bottom: 32px;
}

.form-header-banner h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-header-banner p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-section-block {
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 28px;
}

.section-block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: #040914;
    background: var(--primary-cyan);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.section-block-title h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Footer */
.footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-subtle);
    font-size: 0.85rem;
}

/* Mobile & Tablet Responsive Adjustments */
@media (max-width: 900px) {
    .header-badge {
        display: none;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 16px;
        gap: 8px;
    }
    .nav-links {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        gap: 14px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
}
