/* 1. Global Reset & Performance */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #020617;
    --card: #0f172a;
    --accent: #38bdf8;
    --text: #f8fafc;
    --muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-y: none;
}

/* 2. Navigation */
.global-nav {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 1.2rem 10%; 
    background: rgba(2, 6, 23, 0.9); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    position: sticky; 
    top: 0; 
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { 
    text-decoration: none; 
    color: var(--text); 
    font-weight: 600; 
    transition: 0.3s ease; 
}
.nav-links a.active, .nav-links a:hover { color: var(--accent); }

/* 3. Hero & Layout */
.container {
    padding: 80px 10%;
    max-width: 1400px;
    margin: 0 auto;
}

.badge {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.gradient-text {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 4. Grid & Cards (Restored Icons) */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); 
    gap: 25px; 
}

.card {
    background: var(--card); 
    padding: 40px; 
    border-radius: 24px;
    border: 1px solid var(--border); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover { 
    transform: translateY(-10px); 
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-icon { 
    margin-bottom: 25px; 
    background: linear-gradient(135deg, var(--card), #1e293b);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* 5. Interface Carousel (Gallery Section) */
.screenshot-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 30px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /* Hide scrollbars */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.screenshot-carousel::-webkit-scrollbar { display: none; }



.screenshot-item {
    flex: 0 0 280px; /* CRITICAL: Prevents shrinking */
    scroll-snap-align: center;
    transition: transform 0.4s ease;
}

.screenshot-item img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* 6. Status Indicators (Live Button) */
.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(56, 189, 248, 0.05);
    backdrop-filter: blur(5px);
}

.live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* 7. Footer */
.main-footer {
    background: #010409;
    padding: 80px 0 30px 0;
    margin-top: 100px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-links ul { list-style: none; }
.footer-links ul li a {
    color: var(--muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 8px;
}

/* 8. Animations */
.animate {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

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

/* 9. Responsive Mobile Logic */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}