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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #e5e5e5;
    background: #0a0a0a;
}

/* Navigation */
nav {
    padding: 32px 0;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 29px;
    width: auto;
    display: block;
    filter: invert(1);
}

.logo:hover .logo-text {
    opacity: 0.8;
}

.about-link {
    font-size: 13px;
    color: #a3a3a3;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.about-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    text-align: center;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.hero h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    color: #ffffff;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .playfair {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #f5f5f5;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.5;
    color: #a3a3a3;
    font-weight: 400;
}

/* Main Content */
main {
    padding-bottom: 120px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 80px;
}

/* Category Filter */
.category-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    position: relative;
}

.category-filter {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.category-filter::-webkit-scrollbar {
    display: none;
}

.scroll-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #262626;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #a3a3a3;
}

.scroll-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

#scrollRight:hover {
    transform: translateX(2px);
}

#scrollLeft:hover {
    transform: translateX(-2px);
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #262626;
    border-radius: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    color: #a3a3a3;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.03);
}

.filter-btn.active {
    background: #ffffff;
    border-color: #ffffff;
    color: #0a0a0a;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    padding: 32px;
    border: 1px solid #262626;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #0f0f0f;
    text-align: left;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.05);
}

.card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #a3a3a3;
    margin-bottom: 12px;
    margin-left: -10px;
    padding: 4px 10px;
    border: 1px solid #262626;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
}

.card-date {
    display: block;
    font-size: 10px;
    color: #737373;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.card h2 {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
    color: #ffffff;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    color: #a3a3a3;
}

/* Blog Post Page */
.post-header {
    padding: 100px 0 60px;
    text-align: center;
}

.post-header-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 40px;
}

.post-date {
    display: block;
    font-size: 10px;
    color: #737373;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.post-header h1 {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.post-header h1 .playfair {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.post-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 40px 120px;
}

.summary-box {
    background: #0f0f0f;
    border: 1px solid #262626;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 40px;
}

.summary-box h3 {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.015em;
}

.summary-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-box li {
    font-size: 15px;
    line-height: 1.7;
    color: #d4d4d4;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.summary-box li:last-child {
    margin-bottom: 0;
}

.summary-box li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #737373;
}

.post-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #d4d4d4;
    margin-bottom: 22px;
}

/* Article Actions */
.article-actions {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #262626;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.vote-section,
.share-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vote-label,
.share-label {
    font-size: 13px;
    color: #737373;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.vote-buttons,
.share-buttons {
    display: flex;
    gap: 10px;
}

.vote-btn,
.share-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #737373;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    min-width: 44px;
}

.share-btn {
    padding: 11px;
}

.vote-btn:hover,
.share-btn:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: #e5e5e5;
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.vote-btn.voted {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.vote-btn svg,
.share-btn svg {
    flex-shrink: 0;
}

.vote-count {
    min-width: 20px;
    text-align: center;
}

/* LinkedIn CTA */
.linkedin-cta {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #262626;
    display: flex;
    justify-content: center;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #262626;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    color: #e5e5e5;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.linkedin-link:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}

.linkedin-link svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.linkedin-link:hover svg {
    transform: translateX(3px);
}

/* About Page */
.about-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 80px 80px 120px;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.about-container h1 {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    color: #ffffff;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #d4d4d4;
    margin-bottom: 24px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 60px;
    }

    .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 24px 0;
    }

    .nav-container {
        padding: 0 32px;
    }

    .logo {
        font-size: 13px;
    }

    .about-link {
        font-size: 12px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-container {
        padding: 0 32px;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .container {
        padding: 0 32px;
    }

    .category-filter-wrapper {
        gap: 12px;
        margin-bottom: 32px;
    }

    .scroll-btn {
        width: 32px;
        height: 32px;
    }

    .filter-btn {
        font-size: 12px;
        padding: 7px 14px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 28px;
    }

    .card h2 {
        font-size: 18px;
    }

    main {
        padding-bottom: 80px;
    }

    .post-header {
        padding: 60px 0 40px;
    }

    .post-header-container {
        padding: 0 32px;
    }

    .post-header h1 {
        font-size: 28px;
    }

    .post-content {
        padding: 0 32px 80px;
    }

    .article-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .vote-section,
    .share-section {
        width: 100%;
    }

    .about-container {
        padding: 60px 32px 80px;
    }

    .about-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .profile-image {
        width: 70px;
        height: 70px;
    }

    .linkedin-cta {
        margin-top: 60px;
        padding-top: 48px;
    }

    .linkedin-link {
        font-size: 13px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 24px;
    }

    .hero-container {
        padding: 0 24px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .container {
        padding: 0 24px;
    }

    .card {
        padding: 24px;
    }

    .post-header-container {
        padding: 0 24px;
    }

    .post-content {
        padding: 0 24px 60px;
    }

    .about-container {
        padding: 60px 24px 60px;
    }
}