/* ==========================================================================
   AISlop.dev - Design System & Custom CSS
   Targeting: Premium Dark/Glassmorphism Cyberpunk Aesthetic
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-dark: #07090e;
    --bg-card: rgba(13, 17, 28, 0.7);
    --bg-card-hover: rgba(22, 28, 45, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #4b5563;
    
    --color-accent: #6366f1; /* Indigo */
    --color-success: #00ff88; /* Neon Green (Telos PTY) */
    --color-info: #0ea5e9; /* Cyan */
    --color-warning: #f59e0b; /* Amber */
    --color-error: #ef4444; /* Red */
    
    --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --glass-blur: blur(12px);
    --glow-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #fff;
}

p {
    color: var(--text-muted);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

code, pre, .font-code {
    font-family: var(--font-mono) !important;
    font-size: 0.9em;
}

/* --- Layout Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* --- Background Grid & Glows --- */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    z-index: -3;
    pointer-events: none;
}

.glow-radial-1 {
    position: absolute;
    top: 10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(40px);
}

.glow-radial-2 {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(40px);
}

/* --- Glassmorphism Panels --- */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.card-hover:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--glow-shadow);
}

/* --- Interactive Elements & Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #4f46e5 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 50%, var(--color-success) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Header / Navigation --- */
.main-header {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 100;
    border-radius: 12px;
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.04em;
    color: #fff;
}

.logo-icon {
    color: var(--color-success);
    filter: drop-shadow(0 0 5px var(--color-success));
}

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

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.main-nav a:hover {
    color: #fff;
}

/* --- Hero Section --- */
.hero-section {
    padding: 10rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.badge-container {
    margin-bottom: 1rem;
}

.badge {
    background: rgba(0, 255, 136, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

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

.hero-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 9, 14, 0.5) 0%, transparent 100%);
    pointer-events: none;
}

/* --- Features Section --- */
.features-section {
    padding: 6rem 2rem;
}

.section-title {
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
}

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

.feature-card {
    padding: 2.5rem;
}

.feature-icon {
    font-size: 2rem;
    color: var(--color-success);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

/* --- Live TUI Console Section --- */
.tui-section {
    padding: 6rem 2rem;
}

/* Terminal Mockup */
.terminal-window {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.terminal-header {
    background: #0d0f17;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

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

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

.terminal-status {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-success);
    font-weight: 600;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
    100% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.terminal-body {
    background: #050609;
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.terminal-pane {
    display: flex;
    flex-direction: column;
    height: 400px;
    border-right: 1px solid var(--border-color);
}

.terminal-pane:last-child {
    border-right: none;
}

.terminal-pane-group {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.terminal-pane-group .terminal-pane {
    height: 200px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
}

.terminal-pane-group .terminal-pane:last-child {
    border-bottom: none;
}

.pane-title {
    background: #0d0f17;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

.pane-content {
    padding: 1rem;
    overflow-y: auto;
    font-size: 0.85rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Scrollbars for Terminal */
.pane-content::-webkit-scrollbar {
    width: 6px;
}
.pane-content::-webkit-scrollbar-track {
    background: transparent;
}
.pane-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.terminal-line {
    word-break: break-all;
    line-height: 1.4;
}

.terminal-line.system { color: var(--text-muted); }
.terminal-line.command { color: #fff; font-weight: 500; }
.terminal-line.agent-think { color: var(--color-accent); }
.terminal-line.agent-out { color: var(--text-primary); }
.terminal-line.build-info { color: var(--color-info); }
.terminal-line.build-pass { color: var(--color-success); }
.terminal-line.build-fail { color: var(--color-error); }

.terminal-footer {
    background: #0d0f17;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-shortcut {
    margin-right: 1.5rem;
}

/* --- Swarm Wizard Section --- */
.wizard-section {
    padding: 6rem 2rem;
}

.wizard-container {
    padding: 3rem;
}

.wizard-input-box {
    margin-bottom: 2.5rem;
}

.wizard-input-box label {
    display: block;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.input-wrapper {
    display: flex;
    gap: 1rem;
}

.wizard-input-box input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    color: #fff;
    font-size: 1.05rem;
    transition: var(--transition-fast);
}

.wizard-input-box input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.wizard-suggestions {
    margin-top: 1rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.suggest-btn {
    background: transparent;
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.suggest-btn:hover {
    border-color: var(--color-accent);
    color: #fff;
}

.wizard-output-box {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dag-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.dag-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    height: 480px;
}

.dag-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 400px;
}

/* SVG Line Connections represent DAG edges */
.dag-svg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Agent Node styling */
.dag-node {
    position: absolute;
    width: 120px;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(22, 28, 45, 0.95);
    transition: var(--transition-fast);
}

.dag-node:hover {
    transform: scale(1.05);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.dag-node.active-node {
    border-color: var(--color-success);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
    background: rgba(13, 35, 28, 0.95);
}

.dag-node-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
    margin-top: 0.25rem;
}

.dag-details {
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.dag-details h4 {
    font-size: 1.15rem;
}

.detail-meta {
    font-size: 0.85rem;
}

.detail-label {
    color: var(--text-muted);
}

.status-badge {
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.success { background: rgba(0, 255, 136, 0.15); color: var(--color-success); }
.status-badge.pending { background: rgba(245, 158, 11, 0.15); color: var(--color-warning); }
.status-badge.idle { background: rgba(255,255,255,0.08); color: var(--text-muted); }

.detail-section h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.detail-section pre {
    background: #050609;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.75rem;
    max-height: 160px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

/* --- Calculator Section --- */
.calc-section {
    padding: 6rem 2rem;
}

.calc-container {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
}

.slider-group {
    display: flex;
    flex-direction: column;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.slider-label {
    font-weight: 500;
}

.slider-value {
    color: var(--color-success);
    font-weight: 600;
}

/* Premium Range Input Styling */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-success);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    transition: var(--transition-fast);
}

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

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.comparison-chart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.bar-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar {
    height: 28px;
    border-radius: 6px;
    min-width: 10px;
    transition: width 0.4s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.bar-polsia {
    background: linear-gradient(to right, #4b5563, #ef4444);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

.bar-aislop {
    background: linear-gradient(to right, var(--color-accent), var(--color-success));
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.15);
}

.bar-value {
    font-weight: 700;
    color: #fff;
    min-width: 80px;
}

.savings-card {
    background: rgba(0, 255, 136, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.02);
}

.savings-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-success);
    font-weight: 600;
}

.savings-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 0.5rem 0;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

/* --- Technical Integration / Code Section --- */
.integration-section {
    padding: 6rem 2rem;
}

.integration-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3rem;
    margin-top: 3rem;
}

.integration-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
}

.step-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-success);
    opacity: 0.7;
    line-height: 1;
}

.step-info {
    flex-grow: 1;
}

.step-info h4 {
    margin-bottom: 0.5rem;
}

.step-info p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Codeblock wrapper */
.code-block-wrapper {
    position: relative;
    background: #050609;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
}

.code-block-wrapper pre {
    overflow-x: auto;
    font-size: 0.8rem;
    color: #e5e7eb;
    white-space: pre;
    line-height: 1.5;
}

.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.tech-spec {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.tech-spec h3 {
    margin-bottom: 1.5rem;
}

.spec-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 0.75rem;
    font-size: 0.8rem;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-key {
    color: var(--text-muted);
}

.spec-val {
    color: #fff;
    text-align: right;
    max-width: 60%;
}

.tech-quote {
    margin-top: 2rem;
    border-left: 2px solid var(--color-success);
    padding-left: 1rem;
}

.tech-quote p {
    font-style: italic;
    font-size: 0.85rem;
}

/* --- Footer --- */
.main-footer {
    border-top: 1px solid var(--border-color);
    border-radius: 0;
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
    background: rgba(7, 9, 14, 0.95);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.links-group h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.links-group a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.links-group a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-dark);
}

/* --- Responsive Adaptations (Mobile / Tablet) --- */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 8rem;
        gap: 3rem;
    }
    
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .calc-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hide nav links on mobile for simplicity, or toggle */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .dag-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .dag-container {
        height: 350px;
    }
    
    .dag-details {
        height: 300px;
    }
    
    .terminal-body {
        grid-template-columns: 1fr;
    }
    
    .terminal-pane {
        height: 250px;
    }
    
    .terminal-pane-group .terminal-pane {
        height: 180px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
}
