/* 
   Inwoovation Lab Portal Stylesheet (2026 Ultra-Premium Dark Glassmorphism + Blog Layout)
   Author: vmffkxhs2362-svg
*/

:root {
    --bg-base: #0f172a;
    --bg-surface: #1e293b;
    --bg-glass: rgba(30, 41, 59, 0.85);
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(56, 189, 248, 0.35);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.4);
    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.4);
    --accent-amber: #f59e0b;
    --accent-purple: #a855f7;
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Glowing Background Orbs */
body::before, body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -1;
    opacity: 0.22;
    pointer-events: none;
}

body::before {
    top: -15%;
    left: -10%;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

body::after {
    bottom: -15%;
    right: -10%;
    background: radial-gradient(circle, var(--accent-emerald), transparent 70%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Header Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    margin-top: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 1rem;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-main span {
    color: var(--primary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.lang-switch {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    padding: 0.2rem;
    border-radius: 100px;
    display: flex;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-btn.active {
    background: var(--primary);
    color: #0f172a;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Hero Section */
.hero {
    text-align: center;
    margin: 4rem auto 3rem auto;
    max-width: 900px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.06rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Stats Ribbon */
.stats-ribbon {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.stat-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-info {
    text-align: left;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Research Blog Magazine Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.blog-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 45px var(--primary-glow);
    transform: translateY(-6px);
}

.blog-img-box {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-box img {
    transform: scale(1.08);
}

.blog-badge-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.blog-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--accent-emerald);
    font-weight: 700;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
    line-height: 1.35;
    margin-bottom: 0.8rem;
    transition: color 0.2s;
}

.blog-card:hover .blog-title {
    color: var(--primary);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.blog-author {
    color: var(--text-muted);
    font-weight: 600;
}

.blog-link-btn {
    color: var(--primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Service Grid Dashboard */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.8rem;
    margin-bottom: 4.5rem;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.card-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.card-body h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02rem;
}

.card-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 2rem;
}

.card-action {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

/* Theme Variations */
.card.theme-emerald:hover { border-color: var(--accent-emerald); box-shadow: 0 20px 45px var(--accent-emerald-glow); transform: translateY(-6px); }
.card.theme-emerald .card-icon { color: var(--accent-emerald); background: rgba(16, 185, 129, 0.12); }
.card.theme-emerald .card-badge { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.3); }

.card.theme-amber:hover { border-color: var(--accent-amber); box-shadow: 0 20px 45px rgba(245, 158, 11, 0.35); transform: translateY(-6px); }
.card.theme-amber .card-icon { color: var(--accent-amber); background: rgba(245, 158, 11, 0.12); }
.card.theme-amber .card-badge { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); border: 1px solid rgba(245, 158, 11, 0.3); }

.card.theme-purple:hover { border-color: var(--accent-purple); box-shadow: 0 20px 45px rgba(168, 85, 247, 0.35); transform: translateY(-6px); }
.card.theme-purple .card-icon { color: var(--accent-purple); background: rgba(168, 85, 247, 0.12); }
.card.theme-purple .card-badge { background: rgba(168, 85, 247, 0.15); color: var(--accent-purple); border: 1px solid rgba(168, 85, 247, 0.3); }

.card.theme-blue:hover { border-color: var(--primary); box-shadow: 0 20px 45px var(--primary-glow); transform: translateY(-6px); }
.card.theme-blue .card-icon { color: var(--primary); background: rgba(56, 189, 248, 0.12); }
.card.theme-blue .card-badge { background: rgba(56, 189, 248, 0.15); color: var(--primary); border: 1px solid rgba(56, 189, 248, 0.3); }

/* Articles Callout */
.articles-callout {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
    gap: 2rem;
}

.articles-callout-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.8rem;
}

.articles-callout-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    line-height: 1.6;
}

.articles-callout-btn {
    background: var(--primary);
    color: #0f172a;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1rem 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 0 25px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.articles-callout-btn:hover {
    transform: scale(1.05);
    background: #7dd3fc;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 3rem 0;
    text-align: center;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: auto;
}

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

footer a:hover {
    text-decoration: underline;
}

footer p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container { padding: 1.2rem; }
    header { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .hero { text-align: left; margin: 2.5rem auto; }
    .hero h1 { font-size: 2.3rem; }
    .hero p { font-size: 1.05rem; }
    .stats-ribbon { justify-content: flex-start; gap: 1rem; }
    .stat-box { flex: 1; min-width: 140px; }
    .blog-grid { grid-template-columns: 1fr; }
    .grid { grid-template-columns: 1fr; }
    .articles-callout { padding: 2rem; flex-direction: column; align-items: flex-start; }
}
