/*
 * Zaplar (zaplar.com) — Exact Official Light Editorial Design System
 * Matches user's exact screenshots: Emerald Green (#15803d) top bar, pristine white (#ffffff) navbar & content sections,
 * dark green (#0f5435) pill buttons, editorial typography, and vertical grid lines.
 */

:root {
    --green-banner: #15803d;
    --green-button: #0f5435;
    --green-button-hover: #166534;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark-hero: #1a1614;

    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --border-light: #e2e8f0;

    --radius-pill: 100px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --font-sans: 'Google Sans', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background: var(--bg-white);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--green-button);
}

/* Top Announcement Banner */
.top-announcement {
    background-color: var(--green-banner);
    color: #ffffff;
    padding: 0.6rem 0;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
}

.top-announcement a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 1.1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.45rem;
    color: #000000 !important;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.navbar-brand img.logo-img {
    height: 28px;
    width: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    font-size: 0.95rem;
    padding: 0.5rem 1.1rem !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--green-button) !important;
}

/* Green Pill Button (Exact Zaplar button) */
.btn-green-pill {
    background-color: var(--green-button);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-pill);
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.btn-green-pill:hover {
    background-color: var(--green-button-hover);
    box-shadow: 0 4px 15px rgba(15, 84, 53, 0.3);
    transform: translateY(-1px);
}

.btn-white-pill {
    background-color: #ffffff;
    color: #000000 !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius-pill);
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.btn-white-pill:hover {
    background-color: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

/* Hero Section (Exact warm wood backdrop with monitor) */
.hero-editorial {
    background: linear-gradient(180deg, #1f1a17 0%, #120e0c 100%);
    color: #ffffff;
    padding: 6rem 0 7rem;
    position: relative;
    overflow: hidden;
}

.hero-monitor-container {
    position: relative;
    max-width: 840px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.monitor-frame {
    background: #090a0f;
    border: 2px solid #2a2522;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.yc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.yc-badge .yc-square {
    width: 24px;
    height: 24px;
    background-color: #ff6600;
    color: #ffffff;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 0.9rem;
}

.hero-editorial h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 1rem;
}

.hero-editorial p {
    font-size: 1.2rem;
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Light Editorial Content Sections */
.section-editorial {
    padding: 6.5rem 0;
    position: relative;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
}

.green-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--green-button);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.green-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--green-button);
    display: inline-block;
}

/* Cards & Grid Containers */
.editorial-card {
    background-color: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    height: 100%;
    transition: var(--transition);
}

.editorial-card:hover {
    background-color: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.editorial-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

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

/* Footer */
footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer h5 {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

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

footer a:hover {
    color: var(--green-button);
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
}
