/* Satoshi Font - similar to Matter */
@import url('https://fonts.cdnfonts.com/css/satoshi');

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

:root {
    --bg-color: #ffffff;
    --text-primary: #000000;
    --text-secondary: #888888;
    --divider-color: #eaeaea;
    --active-color: #3b4b30;
}

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

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-weight: 500;
}

/* Navigation */
.nav-container {
    display: flex;
    flex-direction: column;
    width: 320px;
    padding: 8px;
    position: fixed;
    left: 80px;
    top: 80px;
    z-index: 1000;
}

.nav-item-row {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 4px 0;
}

.active-indicator {
    width: 6px;
    height: 6px;
    background-color: var(--active-color);
    border-radius: 50%;
}

.nav-link {
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    color: var(--text-primary);
    opacity: 0.5;
    transition: opacity 0.05s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link.active {
    opacity: 1;
}

/* Main Content */
.home {
    padding: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 560px;
}

.hero-container-wrapper {
    display: flex;
    flex-direction: column;
}

.hero-container {
    margin-bottom: 24px;
}

/* Typography */
.title {
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    margin: 0;
}

.paragraph {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.paragraph:last-child {
    margin-bottom: 0;
}

.text-secondary {
    color: var(--text-secondary);
}

.paragraph a {
    color: #2A5EC0;
    text-decoration: none;
}

.paragraph a:hover {
    opacity: 0.7;
}

/* Divider */
.divider-container {
    width: 100%;
    max-width: 560px;
    padding: 0;
}

.divider-line {
    height: 1px;
    background-color: var(--divider-color);
    width: 100%;
}

/* Blog Grid */
.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.post-item a {
    text-decoration: none;
    display: block;
}

.post-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    transition: opacity 0.05s ease;
}

.post-item a:hover .post-title {
    opacity: 0.7;
}

.post-meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-secondary);
}

/* Social Row */
.row {
    display: flex;
    gap: 16px;
}

.row a {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #76A1F1;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.row a:hover {
    opacity: 0.7;
}

/* Animations */
.fadeInUp {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s ease forwards;
}

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

.hero-container-wrapper .paragraph:nth-child(2) { animation-delay: 0.1s; }
.hero-container-wrapper .paragraph:nth-child(3) { animation-delay: 0.15s; }
.hero-container-wrapper .paragraph:nth-child(4) { animation-delay: 0.2s; }
.hero-container-wrapper .paragraph:nth-child(5) { animation-delay: 0.25s; }
.hero-container-wrapper .paragraph:nth-child(6) { animation-delay: 0.3s; }
.hero-container-wrapper .paragraph:nth-child(7) { animation-delay: 0.35s; }
.hero-container-wrapper .paragraph:nth-child(8) { animation-delay: 0.4s; }
.hero-container-wrapper .paragraph:nth-child(9) { animation-delay: 0.45s; }
.hero-container-wrapper .paragraph:nth-child(10) { animation-delay: 0.5s; }
.hero-container-wrapper .paragraph:nth-child(11) { animation-delay: 0.55s; }
.hero-container-wrapper .paragraph:nth-child(12) { animation-delay: 0.6s; }
.hero-container-wrapper .paragraph:nth-child(13) { animation-delay: 0.65s; }

/* Responsive */
@media (max-width: 1024px) {
    .nav-container {
        position: relative;
        left: 0;
        top: 0;
        flex-direction: row;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        padding: 24px 24px 0;
        gap: 16px;
    }

    .home {
        padding: 24px;
        padding-top: 16px;
    }
}

@media (max-width: 768px) {
    .home {
        padding: 24px;
    }

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