/* Style file for PHP/HTML representation under Beget/LAMP */

:root {
    --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --color-bg-light: #fafbfd;
    --color-bg-card: #ffffff;
    --color-text-main: #131b26;
    --color-text-muted: #5e6b7e;
    --color-border: #e2e8f0;
    
    --color-blue: #2563eb;
    --color-blue-dark: #1d4ed8;
    --color-blue-light: #eff6ff;
    
    --color-emerald: #10b981;
    --color-emerald-light: #ecfdf5;
    
    --color-red: #ef4444;
    --color-red-light: #fef2f2;
    
    --color-amber: #f59e0b;
    --color-amber-light: #fffbeb;
    
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-950: #020617;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-slate-900);
}

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

.mono-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-slate-900);
    text-decoration: none;
}

.logo-image-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: border-color 0.15s ease;
}

.logo:hover .logo-image-wrapper {
    border-color: #93c5fd;
}

.logo-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

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

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-slate-900);
}

/* Content Width & Container */
section {
    padding: 5.5rem 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag h2 {
    font-size: 2.25rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.section-tag p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    padding-top: 7rem;
    padding-bottom: 7rem;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-cols: 1.12fr 0.88fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.hero-bullets {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin-bottom: 2.5rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-slate-900);
    font-weight: 500;
}

.bullet-item svg {
    color: var(--color-emerald);
    flex-shrink: 0;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-blue);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: all 0.2s ease;
}

.hero-btn:hover {
    background-color: var(--color-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

/* Hero Desktop HUD CSS Illustration */
.hero-visual {
    background-color: var(--color-slate-950);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
    font-family: var(--font-sans);
}

.hud-header {
    background-color: var(--color-slate-900);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hud-dots {
    display: flex;
    gap: 0.35rem;
}

.hud-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #475569;
}

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

.hud-title {
    color: #94a3b8;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.05em;
}

.hud-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hud-card {
    background-color: var(--color-slate-900);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.85rem;
}

.hud-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.hud-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--color-red);
}

.hud-badge.green {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald);
}

.hud-address {
    font-weight: 500;
    font-size: 0.85rem;
    color: #f1f5f9;
}

.hud-text {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}

.hud-ai-box {
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 6px;
    padding: 0.65rem;
    margin-top: 0.5rem;
}

.hud-ai-box p {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: #60a5fa;
}

/* Card Grids */
.cards-grid {
    display: grid;
    grid-template-cols: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    border-color: #cbd5e1;
}

.card-icon {
    width: 44px;
    height: 44px;
    background-color: var(--color-blue-light);
    color: var(--color-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon.red {
    background-color: var(--color-red-light);
    color: var(--color-red);
}

.card h3 {
    font-size: 1.2rem;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Schema Grid - Solution Section */
.diag-container {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 2.5rem;
}

.diagram-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 1.5rem;
}

.diag-node {
    flex: 1;
    background-color: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.diag-node.accent {
    background-color: var(--color-blue-light);
    border-color: rgba(37, 99, 235, 0.2);
}

.diag-node h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-slate-800);
}

.diag-node p {
    font-size: 0.85rem;
}

.diag-arrow {
    display: flex;
    align-items: center;
    color: #94a3b8;
}

.solution-badge {
    text-align: center;
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 1.25rem;
    font-size: 1rem;
    color: var(--color-slate-850);
    max-width: 750px;
    margin: 0 auto;
}

.solution-badge strong {
    color: var(--color-blue);
}

/* Scenario Steps (Work flow) */
.scen-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.scen-step {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-num {
    background-color: var(--color-blue);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

p.scen-text {
    font-style: italic;
    color: var(--color-slate-900);
    background-color: var(--color-bg-light);
    border-left: 3px solid var(--color-blue);
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    border-radius: 0 4px 4px 0;
}

/* Real-time Simulator Panel CSS Mockup (Interactive workspace section) */
.workspace-mockup {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 480px;
}

.ws-sidebar {
    background-color: #f8fafc;
    border-right: 1px solid var(--color-border);
    padding: 1rem;
}

.ws-list-header {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.ws-ticker {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ws-ticker-item {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.75rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.ws-ticker-item.active {
    border-color: var(--color-blue);
    background-color: var(--color-blue-light);
}

.ws-ticker-item-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    font-family: var(--font-mono);
}

.ws-main {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.ws-main-grid {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 1rem;
}

.ws-field {
    background-color: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.75rem;
}

.ws-field-lbl {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.ws-field-val {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-slate-900);
    margin-top: 0.15rem;
}

/* Base of Knowledge (Catalog block) */
.kb-grid {
    display: grid;
    grid-template-cols: 300px 1fr;
    gap: 2rem;
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
}

.kb-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kb-btn {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.kb-btn.active, .kb-btn:hover {
    background-color: var(--color-blue-light);
    border-color: var(--color-blue);
    color: var(--color-blue);
}

.kb-content-pane {
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
}

.kb-content-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kb-content-list li {
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-slate-800);
}

.kb-content-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-emerald);
    font-weight: bold;
}

/* Comparison Table */
.table-wrapper {
    overflow-x: auto;
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

th, td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

th {
    background-color: #f8fafc;
    color: var(--color-slate-900);
    font-weight: 600;
}

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

td strong {
    color: var(--color-blue-dark);
}

/* Roadmap Grid */
.roadmap-grid {
    display: grid;
    grid-template-cols: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
}

.roadmap-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.roadmap-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.roadmap-card h4 {
    font-size: 0.95rem;
    color: var(--color-slate-800);
    margin-bottom: 1rem;
}

.roadmap-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.roadmap-points li {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 1rem;
}

.roadmap-points li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #94a3b8;
}

/* Footer & Top back button */
footer {
    background-color: var(--color-slate-950);
    color: white;
    padding: 5rem 1.5rem;
    text-align: center;
}

footer h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

footer p {
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.footer-bullet-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.f-bullet {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.f-bullet svg {
    color: var(--color-emerald);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    color: #64748b;
    font-size: 0.85rem;
}

.to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--color-blue);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 98;
}

.to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.to-top-btn:hover {
    background-color: var(--color-blue-dark);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-cols: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .hero-bullets {
        justify-content: center;
    }
    
    .workspace-mockup {
        grid-template-cols: 1fr;
    }
    
    .kb-grid {
        grid-template-cols: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .burger-menu {
        display: block;
    }
    
    .diagram-flow {
        flex-direction: column;
    }
    
    .diag-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .ws-main-grid {
        grid-template-cols: 1fr;
    }
}
