:root {
    /* Colors - Modern SaaS palette */
    --bg-primary: #faf8f5;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --accent: #ff6b35;
    --accent-light: #ff8c5a;
    --accent-dark: #e55a2b;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border: #e8e4df;
    --border-light: #f0ece7;

    /* Typography */
    --font-heading: "Space Grotesk", sans-serif;
    --font-body: "Marcellus", serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;

    /* Layout */
    --max-width: 1200px;
    --content-width: 720px;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #1a1a1a;
    --accent: #ff6b35;
    --accent-light: #ff8c5a;
    --accent-dark: #e55a2b;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --text-muted: #888888;
    --border: #2a2a2a;
    --border-light: #222222;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 1px rgba(0, 0, 0, 0.4);
}

/* Fonts loaded via HTML link tags for better performance */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.content-container {
    max-width: var(--content-width);
    margin: 0 auto;
}

/* Header */
header {
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--bg-secondary);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

nav a {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

nav a:hover {
    color: var(--text-primary);
}

nav a.active {
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.header-cta {
    padding: 10px 20px;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.header-cta:hover {
    background: var(--accent-dark);
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    margin-left: var(--space-sm);
}

.theme-toggle:hover {
    border-color: var(--accent);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
}

.share-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    cursor: pointer;
}

.share-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    padding: var(--space-3xl) 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}

.hero-text h1 {
    margin-bottom: var(--space-md);
}

.hero-text h1 span {
    color: var(--accent);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
}

.hero-image {
    position: relative;
}

.hero-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.hero-card img {
    width: 100%;
    border-radius: var(--radius-md);
}

/* Stats Bar */
.stats-bar {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.stats-text {
    font-size: 15px;
    color: var(--text-secondary);
}

.stats-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.stats-logos {
    display: flex;
    gap: var(--space-md);
}

.stats-logo {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Section */
.section {
    padding: var(--space-3xl) 0;
}

.section-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    max-width: 600px;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
}

/* Post Card */
.post-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}

.post-card-image {
    height: 200px;
    background: linear-gradient(135deg, #fff5f0, #ffeee5);
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-content {
    padding: var(--space-lg);
}

.post-card-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xs);
}

.post-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.post-card:hover .post-card-title {
    color: var(--accent);
}

.post-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

/* Category Filter */
.category-filter {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.category-btn {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.category-btn:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.category-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Contact Page */
.contact-section {
    padding: var(--space-3xl) 0;
}

.contact-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.contact-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.contact-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.contact-description strong {
    color: var(--text-primary);
}

.email-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition-fast);
    max-width: 320px;
}

.email-card:hover {
    border-color: var(--accent);
}

.email-icon {
    width: 44px;
    height: 44px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.email-content {
    display: flex;
    flex-direction: column;
}

.email-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.email-address {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.find-me-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.social-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.social-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.social-icon {
    width: 20px;
    height: 20px;
}

/* Single Post */
.post-header {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.post-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}

.post-title {
    font-size: 2.75rem;
    margin-bottom: var(--space-md);
}

.post-meta {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: var(--space-lg);
}

.post-meta span {
    margin: 0 8px;
}

.post-hero-image {
    margin-top: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.post-hero-image img {
    width: 100%;
}

.post-content {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.post-content h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.post-content h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.post-content p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    line-height: 1.8;
}

.post-content ul,
.post-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.post-content li {
    margin-bottom: var(--space-xs);
    list-style: disc;
    color: var(--text-secondary);
}

.post-content ol li {
    list-style: decimal;
}

.post-content blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.post-content blockquote p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0;
}

.post-content blockquote cite {
    display: block;
    margin-top: var(--space-sm);
    font-style: normal;
    color: var(--text-muted);
    font-size: 14px;
}

/* Accent text for important highlights */
.accent {
    color: var(--accent);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.back-link:hover {
    color: var(--accent);
}

/* Footer */
footer {
    padding: var(--space-xl) 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border-light);
}

/* Reading Progress */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent);
    z-index: 1000;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* 404 Error Page */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) 0;
    margin-top: -80px;
    /* Offset the sticky header height */
}

.error-content {
    max-width: 500px;
}

.error-code {
    display: block;
    font-size: 8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.error-title {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.error-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.error-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.error-quote {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        gap: var(--space-xl);
    }

    .contact-card {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-3xl: 4rem;
        --space-2xl: 3rem;
    }

    body {
        font-size: 17px;
        line-height: 1.7;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    /* Mobile Header */
    .header-inner {
        position: relative;
    }

    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        z-index: 1000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        padding: var(--space-xl);
    }

    nav.active {
        display: flex;
    }

    nav a {
        font-size: 1.25rem;
        padding: var(--space-sm) var(--space-lg);
    }

    .header-cta {
        display: none;
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        transition: var(--transition-fast);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .menu-close {
        position: absolute;
        top: var(--space-lg);
        right: var(--space-lg);
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        color: var(--text-primary);
    }

    /* Hero Mobile */
    .hero {
        padding: var(--space-xl) 0 var(--space-2xl);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }

    .hero-image {
        order: -1;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-card {
        padding: var(--space-md);
    }

    .hero-text h1 {
        font-size: 1.85rem;
    }

    .hero-description {
        margin: 0 auto var(--space-lg);
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    /* Stats Mobile */
    .stats-bar {
        padding: var(--space-lg) 0;
    }

    .stats-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .stats-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xs);
    }

    .stats-logo {
        font-size: 12px;
        padding: 6px 12px;
    }

    /* Section Mobile */
    .section {
        padding: var(--space-2xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    /* Posts Grid Mobile */
    .posts-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .post-card-image {
        height: 180px;
    }

    .post-card-content {
        padding: var(--space-md);
    }

    .post-card-title {
        font-size: 1.15rem;
    }

    /* Category Filter Mobile */
    .category-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--space-sm);
        margin-bottom: var(--space-lg);
        -webkit-overflow-scrolling: touch;
    }

    .category-btn {
        flex-shrink: 0;
    }

    /* Post Page Mobile */
    .post-header {
        padding: var(--space-lg) 0 var(--space-xl);
    }

    .post-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .post-meta {
        font-size: 13px;
    }

    .post-meta span {
        margin: 0 4px;
    }

    .post-hero-image {
        margin-top: var(--space-lg);
        border-radius: var(--radius-md);
    }

    /* Post Content Mobile - Better Reading */
    .post-content {
        padding: var(--space-xl) 0 var(--space-2xl);
    }

    .post-content p {
        font-size: 1.05rem;
        line-height: 1.85;
        margin-bottom: var(--space-lg);
    }

    .post-content h2 {
        font-size: 1.5rem;
        margin-top: var(--space-2xl);
    }

    .post-content h3 {
        font-size: 1.2rem;
        margin-top: var(--space-xl);
    }

    .post-content ul,
    .post-content ol {
        padding-left: var(--space-md);
    }

    .post-content li {
        font-size: 1.05rem;
        line-height: 1.75;
        margin-bottom: var(--space-sm);
    }

    .post-content blockquote {
        margin: var(--space-lg) calc(-1 * var(--space-md));
        padding: var(--space-md);
        border-radius: 0;
    }

    .post-content blockquote p {
        font-size: 1.05rem;
    }

    .back-link {
        margin-bottom: var(--space-md);
    }

    /* Contact Mobile */
    .contact-section {
        padding: var(--space-xl) 0;
    }

    .contact-card {
        padding: var(--space-lg);
        gap: var(--space-xl);
    }

    .contact-title {
        font-size: 1.75rem;
    }

    .contact-description {
        font-size: 14px;
    }

    .email-card {
        max-width: 100%;
    }

    .social-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .social-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
    }

    /* Footer Mobile */
    footer {
        padding: var(--space-lg) 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-badge {
        font-size: 11px;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .post-content p,
    .post-content li {
        font-size: 1rem;
    }

    .contact-card {
        padding: var(--space-md);
    }

    .contact-title {
        font-size: 1.5rem;
    }
}

/* Touch-friendly adjustments */
@media (hover: none) {
    .post-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .post-card:active {
        transform: scale(0.98);
    }

    .btn:active {
        transform: scale(0.98);
    }
}

.page-transition {
    opacity: 0;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Hide menu toggle on desktop */
.menu-toggle {
    display: none;
}