:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --text-color: #333;
    --background-light: #f5f7fa;
    --transition-speed: 0.3s;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #eee;
    --card-bg: #ffffff;
    --hero-gradient-start: #f5f7fa;
    --hero-gradient-end: #c3cfe2;
    --features-bg: white;
    --about-bg: white;
    --blog-preview-bg: var(--background-light);
    --app-preview-bg: var(--background-light);
    --footer-link-color: var(--text-primary);
    --primary-color-rgb: 0, 122, 255;  /* RGB values of your primary color */
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #404040;
    --card-bg: #2d2d2d;
    --hero-gradient-start: #2d2d2d;
    --hero-gradient-end: #1a1a1a;
    --features-bg: var(--bg-primary);
    --about-bg: var(--bg-primary);
    --blog-preview-bg: var(--bg-primary);
    --app-preview-bg: var(--bg-primary);
    --footer-link-color: var(--text-secondary);
    
    /* Update text colors */
    --text-color: var(--text-primary);
    --background-light: var(--bg-secondary);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    transition: color var(--transition-speed);
}

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

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
}

.hero {
    background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
}

.features {
    background: var(--features-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform var(--transition-speed);
    border-color: var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
    }

    .burger-menu {
        display: block;
        position: relative;
        z-index: 1002;
        margin-left: auto;
    }

    .logo {
        margin-right: auto;
    }

    .nav-links {
        display: flex;
        gap: 1rem;
    }
    
    .nav-links a {
        margin-left: 0;
    }
    
    section {
        padding: 4rem 1rem;
    }
}

.app-store-button {
    display: inline-block;
    transition: opacity var(--transition-speed);
}

.app-store-button:hover {
    opacity: 0.8;
}

.app-store-button img {
    display: block;
    width: 156px;
    height: 40px;
}

.hero-content {
    max-width: 600px;
    margin-right: 2rem;
}

.cta-buttons {
    margin-top: 2rem;
}

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

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin: 1rem 0 2rem;
}

.platform-notice {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.notify-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.notify-link:hover {
    text-decoration: underline;
}

.about {
    background: var(--about-bg);
    padding: 6rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    white-space: pre-wrap;
}

.about-text p {
    margin-bottom: 1rem;
}

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

/* Dark mode adjustment */
[data-theme="dark"] .about-content {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--footer-link-color);
    text-decoration: none;
    transition: opacity var(--transition-speed);
    font-size: 0.75rem;
}

.footer-links a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

.app-preview {
    background: var(--app-preview-bg);
    padding: 6rem 0;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.preview-item {
    text-align: center;
    padding: 1rem;
}

.preview-item img {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.footer-tagline {
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FAQ Styles */
.faq {
    background-color: var(--bg-primary);
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    border: none;
    background: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
    text-align: left;
}

.faq-toggle {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    height: auto;
    opacity: 1;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
}

/* Hover effects */
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Blog Styles */
.blog-preview {
    background: var(--blog-preview-bg);
    padding: 4rem 0;
}

.blog-preview .blog-post-preview {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform var(--transition-speed);
}

.blog-preview .blog-post-preview:hover {
    transform: translateY(-5px);
}

.blog-preview h3 {
    margin: 0 0 1rem;
    font-size: 1.8rem;
}

.blog-preview h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.blog-preview h3 a:hover {
    color: var(--primary-color);
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
}

.blog-cta .button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color var(--transition-speed);
}

.blog-cta .button:hover {
    background-color: rgba(var(--primary-color-rgb), 0.9);
}

.blog-cta .external-icon {
    transition: transform var(--transition-speed);
}

.blog-cta .button:hover .external-icon {
    transform: translate(3px, -3px);
}

@media (max-width: 768px) {
    .blog-preview {
        padding: 3rem 1rem;
    }
    
    .blog-preview h3 {
        font-size: 1.5rem;
    }
}

.button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color var(--transition-speed);
}

.button:hover {
    background: var(--secondary-color);
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.external-icon {
    font-size: 0.9em;
    transition: transform var(--transition-speed);
}

.external-link:hover .external-icon {
    transform: translate(2px, -2px);
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-grow: 1;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: var(--bg-primary);
        padding: 5rem 1.5rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        transition: right 0.3s ease;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1001;
    }

    .nav-controls {
        order: -1;
        margin: 0 0 2rem 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .language-dropdown {
        position: fixed;
        top: 0;
        right: 0;
        transform: translate(-50%, -10vh);
        width: 90%;
        max-width: 320px;
        background: var(--bg-primary);
        border-radius: 12px;
        padding: 1rem;
        z-index: 1010;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}

.language-selector {
    position: relative;
    z-index: 1001;
}

.language-button {
    background: none;
    border: 1px solid #eee;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: border-color var(--transition-speed);
}

.language-button:hover {
    border-color: var(--primary-color);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-primary);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed), visibility var(--transition-speed);
    min-width: 120px;
    border: 1px solid var(--border-color);
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
}

.language-selector::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.language-selector:hover .language-dropdown {
    display: block;
}

.language-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: background-color var(--transition-speed);
}

.language-dropdown a:hover {
    background-color: var(--bg-secondary);
}

.language-dropdown a.active {
    color: var(--primary-color);
    font-weight: 500;
    background-color: var(--bg-secondary);
}

@media (max-width: 768px) {
    .nav-right {
        flex-direction: column;
    }
    
    .language-selector {
        margin-bottom: 1rem;
    }

    .language-dropdown {
        position: fixed;
        top: 50vh;
        left: 50%;
        transform: translate(-50%, -40vh);
        width: 90%;
        max-width: 320px;
        background: var(--bg-primary);
        border-radius: 12px;
        padding: 1rem;
        z-index: 1010;
        max-height: 60vh;
        margin-top: 3rem;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    /* Ensure navbar doesn't overlap */
    .navbar {
        z-index: 1000;
        height: 64px;
    }

    /* Add some extra padding to account for fixed navbar */
    .nav-right {
        padding-top: calc(64px + 1rem);
    }

    /* Add backdrop when dropdown is active */
    .language-selector.active::before {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        width: 100vw;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1005;
    }

    [data-theme="dark"] .language-selector.active::before {
        background: rgba(0, 0, 0, 0.7);
    }

    .language-dropdown a {
        padding: 12px 16px;
        display: block;
        color: var(--text-primary);
        text-decoration: none;
        transition: background-color 0.2s;
    }

    .language-dropdown a:hover {
        background-color: var(--bg-secondary);
    }

    /* Dark mode adjustments */
    [data-theme="dark"] .language-dropdown {
        background: var(--bg-primary);
        border-color: var(--border-color);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    /* Burger animation */
    .burger-menu.active .burger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Dark mode adjustments */
    [data-theme="dark"] .nav-right {
        background: var(--bg-primary);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 4px;
    color: var(--text-primary);
    margin-right: 1rem;
    border-radius: 24px;
    transition: all var(--transition-speed);
}

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

.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    padding: 2px;
}

.theme-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    opacity: 0.4;
    transition: all var(--transition-speed);
    padding: 4px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

/* Active icon styles */
[data-theme="light"] .sun-icon,
[data-theme="dark"] .moon-icon {
    opacity: 1;
    background-color: var(--bg-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

/* Hover effects for icons */
.theme-icon:hover {
    opacity: 0.8;
}

[data-theme="light"] .sun-icon:hover,
[data-theme="dark"] .moon-icon:hover {
    opacity: 1;
}

.app-store-badges {
    display: flex;
    justify-content: flex-start;
    margin: 20px 0;
}

.app-store-link {
    display: none; /* Hidden by default */
}

.app-store-badge {
    height: 40px;
    width: auto;
}

[data-theme="dark"] .app-store-badge {
    filter: none; /* Remove invert filter */
}

/* Show only the badge that matches the current language */
[data-i18n-visible].visible {
    display: block;
}

/* App Store badge theme handling */
.light-badge {
    display: block;
}

.dark-badge {
    display: none;
}

[data-theme="dark"] .light-badge {
    display: none;
}

[data-theme="dark"] .dark-badge {
    display: block;
}

.dropdown-arrow {
    color: var(--text-primary);
}

.faq-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.faq-question {
    color: var(--text-primary);
}

.faq-answer {
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

.faq-toggle {
    color: var(--text-primary);
}

.faq-item:hover {
    background-color: var(--bg-secondary);
}

.language-button {
    color: var(--text-primary);
}

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

.logo-image {
    height: 48px;  /* Increased from 32px */
    width: auto;
    transition: opacity var(--transition-speed);
}

.logo-image:hover {
    opacity: 0.9;
}

/* Burger menu styles */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.burger-line {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background-color: var(--text-primary);  /* Use theme color instead of hardcoded */
    transition: transform 0.3s ease, opacity 0.3s ease, background-color var(--transition-speed);
}

[data-theme="dark"] .burger-line {
    background-color: var(--text-primary);  /* Ensure proper color in dark mode */
}

@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .app-store-badges {
        justify-content: center;
    }

    /* Keep the visibility rules */
    .app-store-link {
        display: none;  /* Hidden by default */
    }

    /* Show only the badge that matches the current language */
    [data-i18n-visible].visible {
        display: flex;           /* Show as flex when visible */
        justify-content: center; /* Center the badge */
    }

    .app-store-badge {
        height: 48px;           /* Slightly larger for mobile */
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: var(--bg-primary);
        padding: 5rem 1.5rem 2rem;
        flex-direction: column;
        transition: right 0.3s ease;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1001;
    }

    .nav-right.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .nav-controls {
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 1rem;
    }

    .theme-toggle {
        margin: 0;
        padding: 8px;            /* Consistent padding */
        height: 40px;            /* Match language selector height */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .theme-toggle-container {
        display: flex;
        align-items: center;
        height: 100%;            /* Fill the button height */
    }

    .language-selector {
        margin: 0;
        position: static;
    }

    .language-dropdown {
        position: fixed;
        top: 10vh;
        right: 1.5rem;
        transform: none;
        width: auto;
        background: var(--bg-primary);
        border-radius: 12px;
        padding: 1rem;
        z-index: 1010;
        max-height: 60vh;
        margin-top: 3rem;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    /* Ensure navbar doesn't overlap */
    .navbar {
        z-index: 1000;
        height: 64px;
    }

    /* Add some extra padding to account for fixed navbar */
    .nav-right {
        padding-top: calc(64px + 1rem);
    }

    /* Add backdrop when dropdown is active */
    .language-selector.active::before {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        width: 100vw;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1005;
    }

    [data-theme="dark"] .language-selector.active::before {
        background: rgba(0, 0, 0, 0.7);
    }

    .language-dropdown a {
        padding: 12px 16px;
        display: block;
        color: var(--text-primary);
        text-decoration: none;
        transition: background-color 0.2s;
    }

    .language-dropdown a:hover {
        background-color: var(--bg-secondary);
    }

    /* Dark mode adjustments */
    [data-theme="dark"] .language-dropdown {
        background: var(--bg-primary);
        border-color: var(--border-color);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    /* Burger animation */
    .burger-menu.active .burger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Dark mode adjustments */
    [data-theme="dark"] .nav-right {
        background: var(--bg-primary);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text-secondary);
    transition: color var(--transition-speed);
}

.social-link:hover {
    color: var(--primary-color);
}

.x-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

.tiktok-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Optional: Add a slight bounce effect on hover for social icons */
.social-link:hover svg {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.legal-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: left;
    color: var(--text-primary);
    font-weight: 500;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section.source {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* Blog Post Styles */
.blog-post {
    padding-top: 84px; /* Account for fixed navbar (64px) + extra padding */
    padding-bottom: 4rem;
    min-height: calc(100vh - 200px); /* Ensure content fills viewport minus footer */
}

.post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.post-header h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.post-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.post-content h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    text-align: left;
}

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

.conclusion {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .blog-post {
        padding-top: 74px; /* Slightly less padding on mobile */
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-content {
        padding: 0 1rem;
    }
}

/* Blog Listing Styles */
.blog-listing {
    padding-top: 84px;
    padding-bottom: 4rem;
}

.blog-header {
    margin-bottom: 3rem;
    text-align: center;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

.blog-post-preview {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform var(--transition-speed);
}

.blog-post-preview:hover {
    transform: translateY(-5px);
}

.blog-post-preview h2 {
    margin: 0 0 1rem;
    font-size: 1.8rem;
    text-align: left;
}

.blog-post-preview h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.blog-post-preview h2 a:hover {
    color: var(--primary-color);
}

.blog-post-preview .post-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post-preview p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-post-preview .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.blog-post-preview .read-more:hover {
    text-decoration: underline;
}

.blog-post-preview .external-icon {
    transition: transform var(--transition-speed);
}

.blog-post-preview .read-more:hover .external-icon {
    transform: translate(3px, -3px);
}

@media (max-width: 768px) {
    .blog-listing {
        padding-top: 74px;
    }
    
    .blog-header {
        margin-bottom: 2rem;
    }

    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-post-preview {
        padding: 1.5rem;
    }

    .blog-post-preview h2 {
        font-size: 1.5rem;
    }
}