/* =========================================
   DESIGN SYSTEM: Deep Slate & Emerald
   (No content show animations, instant render)
   ========================================= */
:root {
    --primary: #10b981;       /* Emerald Green */
    --primary-dark: #059669;  /* Darker Emerald */
    --primary-light: #d1fae5; /* Light Emerald Tint */
    --accent: #0ea5e9;        /* Sky Blue for links/highlights */
    --bg-base: #f8fafc;       /* Very light slate */
    --bg-card: #ffffff;
    --text-main: #0f172a;     /* Deep Slate */
    --text-muted: #475569;    /* Medium Slate */
    --border: #e2e8f0;
    
    --shadow-soft: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-pill: 999px;
    
    --font-main: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--bg-base);
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

.container { width: 92%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-align: center;
    transition: all 0.2s ease; /* Snappy, no bounce */
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-large { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

/* =========================================
   HEADER
   ========================================= */
.site-header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

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

.main-nav ul { display: flex; list-style: none; padding: 0; margin: 0; gap: 2rem; }
.main-nav a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}
.main-nav a:hover { color: var(--primary); text-decoration: none; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    position: absolute;
    transition: all 0.2s ease;
}
.hamburger { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hamburger::before { content: ''; top: -8px; }
.hamburger::after { content: ''; top: 8px; }

.mobile-menu-toggle[aria-expanded="true"] .hamburger { background-color: transparent; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); top: 0; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg); top: 0; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    background-color: var(--text-main);
    color: #fff;
    text-align: center;
    padding: 6rem 1rem;
    border-bottom: 4px solid var(--primary);
}

.hero-content { max-width: 800px; margin: 0 auto; }

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #cbd5e1;
    line-height: 1.6;
}

/* =========================================
   ARTICLE SECTION (Editorial Style)
   ========================================= */
.article-section { padding: 4rem 0; }

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.blog-content .lead-paragraph {
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 500;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.blog-content h2 {
    font-size: 1.75rem;
    color: var(--text-main);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
    font-weight: 700;
}

.blog-content h2:first-of-type { margin-top: 0; }

.blog-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.blog-content .text-link {
    color: var(--primary-dark);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-light);
}

.blog-content .text-link:hover {
    background-color: var(--primary-light);
    text-decoration: none;
}

/* Custom Content Style: Card-like Lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    position: relative;
    padding: 1rem 1.25rem 1rem 3rem;
    background-color: var(--bg-base);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 500;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    padding: 5rem 0;
    background-color: var(--bg-base);
    border-top: 1px solid var(--border);
}

.contact-wrapper { text-align: center; max-width: 900px; margin: 0 auto; }

.contact-header h2 {
    font-size: 2.25rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
}

.contact-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.contact-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.contact-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.contact-item p, .contact-item a {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.contact-item a:hover { color: var(--primary); text-decoration: none; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background-color: var(--text-main);
    color: #94a3b8;
    text-align: center;
    padding: 3rem 0;
    font-size: 0.95rem;
}

.footer-content { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.footer-brand { font-size: 1.25rem; font-weight: 800; color: #fff; }
.site-footer a { color: #fff; font-weight: 600; }
.site-footer a:hover { color: var(--primary); }

/* =========================================
   SCROLL TO TOP BUTTON
   ========================================= */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    display: none; /* Hidden by default, toggled via JS */
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.scroll-to-top:hover { background-color: var(--primary-dark); }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    
    .main-nav {
        display: none;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
    }

    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 1rem; text-align: center; }
    .header-cta { display: none; }
    
    .hero-section { padding: 4rem 1rem; }
    .blog-content { padding: 2rem 1.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
}