/* ===== e-Tomic Demo Portal v3.0 (16:9 Landscape Hero Edition) ===== */
:root {
    --bg-dark: #07090e;
    --bg-card: rgba(13, 17, 23, 0.75);
    --bg-card-hover: rgba(20, 26, 36, 0.95);
    --neon-green: #00ff88;
    --neon-glow: rgba(0, 255, 136, 0.25);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: #1a2332;
    --border-glow: #00ff88;
}

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

body {
    background-color: var(--bg-dark);
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

/* ===== HEADER / NAVBAR ===== */
header.top-nav {
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-logo {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    font-size: 15px;
    color: var(--neon-green);
    box-shadow: 0 0 12px var(--neon-glow);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
}

.brand-sub {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.status-tag {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    color: var(--neon-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-main);
    background: transparent;
    border: 1px solid var(--border);
    transition: all 0.25s ease;
}

.btn-nav:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-glow);
}

/* ===== MAIN ===== */
main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 24px;
}

.hero-section {
    margin-bottom: 32px;
}

.eyebrow {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    color: var(--neon-green);
    margin-bottom: 12px;
}

.hero-section h1 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.hero-section h1 span {
    color: var(--neon-green);
    text-shadow: 0 0 20px var(--neon-glow);
}

.hero-section p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 650px;
}

/* ===== FILTER GUMBI ===== */
.filter-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: 'Fira Code', monospace;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    color: var(--neon-green);
    border-color: var(--neon-green);
}

.filter-btn.active {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 12px var(--neon-glow);
}

/* ===== DEMO GRID & KARTICE ===== */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.demo-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 15px var(--neon-glow);
}

/* Browser Frame */
.browser-frame {
    background: #090c12;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

.dots {
    display: flex;
    gap: 5px;
}

.dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.browser-url {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: var(--text-muted);
    background: #121824;
    padding: 3px 8px;
    border-radius: 4px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card Media - Fiksiran 16:9 Landscape Omjer */
.card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #05070a;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.demo-card:hover .card-media img {
    transform: scale(1.06);
}

/* Card Overlay & Button */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 14, 0.75);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
}

.demo-card:hover .card-overlay {
    opacity: 1;
}

.btn-demo {
    background: var(--neon-green);
    color: #07090e;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 0 15px var(--neon-glow);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-demo:hover {
    transform: scale(1.05);
    background: #33ff9e;
}

/* Card Content */
.card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.badge {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: var(--neon-green);
    text-transform: uppercase;
}

.demo-path {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: var(--text-muted);
}

.card-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.card-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(7, 9, 14, 0.9);
}

footer span {
    color: var(--neon-green);
    font-family: 'Fira Code', monospace;
}