/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #10B981;
    --primary-dark: #059669;
    --secondary-color: #34D399;
    --accent-green: #6EE7B7;
    --text-primary: #FFFFFF;
    --text-secondary: #D1D5DB;
    --text-light: #9CA3AF;
    --bg-white: #000000;
    --bg-gray: #0A0A0A;
    --bg-gray-light: #1A1A1A;
    --bg-dark: #000000;
    --border-color: #1F2937;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --shadow-sm: 0 1px 2px 0 rgba(16, 185, 129, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(16, 185, 129, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.95);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.nav {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-login:hover {
    color: var(--primary-color);
}

.btn-signup {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-signup:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-logout-header {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-logout-header:hover {
    border-color: var(--error-color);
    color: var(--error-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 968px) {
    .nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        gap: 1rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(6, 78, 59, 0.75) 50%, rgba(0, 0, 0, 0.85) 100%);
    background: #000000;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.2;
    filter: blur(4px);
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(16,185,129,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 0;
}

/* 3D Code Editor Container */
.code-editor-3d-container {
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
    transition: transform 0.1s ease-out;
    position: relative;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
}

.code-window {
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.window-header {
    background: rgba(16, 185, 129, 0.15);
    padding: 0.5rem 0.75rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.code-content {
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    color: var(--text-primary);
}

.code-line.indent {
    padding-left: 1.5rem;
}

.code-line.indent.indent {
    padding-left: 3rem;
}

.window-title {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.keyword { color: var(--primary-color); }
.function { color: var(--secondary-color); }
.string { color: var(--accent-green); }
.comment { color: var(--text-secondary); }

/* Information Section */
.information {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.information h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.information-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.info-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 4rem;
    align-items: center;
    text-align: center;
}

.info-point {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-primary);
}

.info-point svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.metrics-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.metric-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-gray);
}

.features h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-gray-light);
    padding: 1rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: var(--bg-gray);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.benefits h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-gray);
}

.how-it-works h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    position: relative;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.step-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.step-icon {
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--bg-gray);
}

.step-connector {
    flex: 0 0 60px;
    height: 2px;
    background: var(--primary-color);
    margin-top: 60px;
    position: relative;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Languages Section */
.languages {
    padding: 4rem 0;
    background: var(--bg-white);
    overflow: hidden;
}

.languages h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.languages-scroll {
    overflow: hidden;
    position: relative;
}

.languages-scroll::before,
.languages-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.languages-scroll::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.languages-scroll::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.languages-track {
    display: flex;
    gap: 1rem;
    animation: scroll-left 30s linear infinite;
    width: fit-content;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.language-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

/* Demo Section */
.demo {
    padding: 6rem 0;
    background: var(--bg-gray);
}

.demo-content {
    text-align: center;
}

.demo h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.demo-screenshot {
    margin-bottom: 2rem;
}

.screenshot-placeholder {
    background: var(--bg-gray-light);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.dashboard-preview {
    background: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.dashboard-header {
    background: var(--bg-gray-light);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-title {
    font-weight: 600;
    color: var(--text-primary);
}

.dashboard-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
}

.dashboard-panel {
    background: var(--bg-gray-light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.panel-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.file-tree {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tree-item {
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.tree-item.indent {
    padding-left: 1rem;
}

.issue-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.issue-item {
    padding: 0.75rem;
    background: var(--bg-gray-light);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.demo-description {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.faq h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    background: var(--bg-gray-light);
    border-radius: 8px;
    padding: 0 1rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    transition: transform 0.3s;
    color: var(--text-secondary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-answer p {
    padding: 0 0 1.5rem 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-gray-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.25rem;
    }

    .metrics-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        width: 2px;
        height: 60px;
        flex: 0 0 60px;
        margin-top: 0;
        margin-left: 0;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero::after {
        background-attachment: scroll;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .information h2,
    .features h2,
    .benefits h2,
    .how-it-works h2,
    .languages h2,
    .demo h2,
    .faq h2 {
        font-size: 2rem;
    }

    .metrics-bar {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        max-width: 100%;
    }

    .footer-legal {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.benefit-item,
.step {
    animation: fadeInUp 0.6s ease-out;
}

/* Contact Page Styles */
.contact-section {
    min-height: 80vh;
    padding: 6rem 0;
    background: var(--bg-dark);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-gray-light);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 0.625rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    padding-top: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.875rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Auth Pages Styles */
.auth-section {
    min-height: calc(100vh - 200px);
    padding: 1rem 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.auth-split-container {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 200px);
    max-width: 1400px;
    margin: 0 auto;
}

.auth-visual-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.auth-visual-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(16,185,129,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.code-visual-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
}

.code-visual-header {
    margin-bottom: 1rem;
    text-align: center;
}

.code-visual-header .logo {
    justify-content: center;
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}

.code-visual-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--bg-dark);
}

.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 0 20px;
}

.auth-card {
    background: var(--bg-gray-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-xl);
    box-sizing: border-box;
}

.auth-header {
    text-align: center;
    margin-bottom: 0.5rem;
    padding-top: 0;
}

.auth-header .logo {
    justify-content: center;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0;
    padding-bottom: 0;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: var(--secondary-color);
}

.link {
    color: var(--primary-color);
    text-decoration: none;
}

.link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.auth-divider {
    text-align: center;
    margin: 0.5rem 0;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

/* Signup Page Specific Styles */
.auth-split-container:has(.signup-header) {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    max-width: 900px;
}

.signup-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 2rem;
    width: 100%;
}

.signup-header .logo {
    justify-content: center;
    font-size: 1.5rem;
}

.signup-form-split {
    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.signup-form-left {
    flex: 1;
    padding-right: 1rem;
}

.signup-form-right {
    flex: 1;
    padding-left: 1rem;
}

.signup-form-actions {
    text-align: center;
    max-width: 500px;
    margin: 2rem auto 0;
    width: 100%;
    padding-top: 1rem;
}

.signup-form-actions .form-options {
    justify-content: center;
    margin-bottom: 1rem;
}

.signup-form-actions .error-message {
    margin-bottom: 1rem;
}

.signup-form-actions .btn-primary {
    margin-bottom: 1rem;
}

.signup-form-actions .auth-divider {
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .auth-split-container {
        flex-direction: column;
    }
    
    .auth-visual-side {
        padding: 1rem;
        min-height: 300px;
    }
    
    .code-visual-header h2 {
        font-size: 2rem;
    }
    
    .code-visual-header p {
        font-size: 1rem;
    }
    
    .auth-form-side {
        padding: 1rem;
        width: 100%;
    }
    
    /* Signup responsive */
    .signup-form-split {
        flex-direction: column;
        gap: 0;
    }
    
    .signup-form-left {
        padding-right: 0;
        padding-bottom: 0;
    }
    
    .signup-form-right {
        padding-left: 0;
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .auth-section {
        min-height: calc(100vh - 150px);
        padding: 0.75rem 0;
    }
    
    .auth-split-container {
        min-height: auto;
    }
    
    .auth-visual-side {
        padding: 1rem 0.75rem;
        min-height: 250px;
    }
    
    .code-visual-header h2 {
        font-size: 1.75rem;
    }
    
    .code-visual-header p {
        font-size: 0.9rem;
    }
    
    .code-window {
        max-width: 100%;
    }
    
    .code-content {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .auth-form-side {
        padding: 1rem 0.75rem;
    }
    
    .auth-card {
        padding: 0.875rem 1rem;
    }
    
    .auth-header {
        margin-bottom: 0.5rem;
        padding-top: 0;
    }
    
    .auth-form {
        gap: 0.625rem;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    /* Signup responsive */
    .signup-header {
        padding-top: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .signup-form-split {
        flex-direction: column;
        gap: 0;
    }
    
    .signup-form-left {
        padding-right: 0;
        padding-bottom: 0;
    }
    
    .signup-form-right {
        padding-left: 0;
        padding-top: 0;
    }
    
    .signup-form-actions {
        margin-top: 1.5rem;
        padding-top: 0.5rem;
    }
}

/* Features Page Styles */
.features-hero {
    padding: 6rem 0 4rem;
    background: var(--bg-dark);
    text-align: center;
}

.features-hero h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subheading {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-visual {
    margin-top: 3rem;
}

.code-analysis-visual {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.visual-item {
    padding: 1rem 2rem;
    background: var(--bg-gray-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
}

.visual-item.checkmark {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.visual-item.warning {
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.visual-item.performance {
    border-color: #3B82F6;
    color: #3B82F6;
}

.features-content {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.feature-section {
    margin-bottom: 3rem;
    padding: 1.5rem 3rem;
    background: var(--bg-gray-light);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.feature-section:last-child {
    margin-bottom: 0;
}

.feature-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.feature-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.feature-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.feature-content p {
    margin-bottom: 1.5rem;
}

.key-benefits {
    margin: 2.5rem 0;
    padding: 1rem 2rem;
    background: var(--bg-dark);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.key-benefits h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.key-benefits ul {
    list-style: none;
    padding-left: 0;
}

.key-benefits li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.key-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.practice-example {
    margin: 2.5rem 0;
    padding: 1rem 2rem;
    background: var(--bg-dark);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.practice-example h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.practice-example p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.example-output {
    margin: 2.5rem 0;
    padding: 1rem 2rem;
    background: var(--bg-dark);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.example-output h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.example-output p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-style: italic;
}

@media (max-width: 968px) {
    .features-hero h2 {
        font-size: 2.5rem;
    }
    
    .feature-section {
        padding: 1rem 1.5rem;
    }
    
    .code-analysis-visual {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .features-hero {
        padding: 4rem 0 3rem;
    }
    
    .features-hero h2 {
        font-size: 2rem;
    }
    
    .hero-subheading {
        font-size: 1.125rem;
    }
    
    .feature-header h3 {
        font-size: 1.5rem;
    }
    
    .feature-header h4 {
        font-size: 1.125rem;
    }
    
    .key-benefits,
    .practice-example,
    .example-output {
        padding: 0.75rem 1.5rem;
    }
}

/* How It Works Page Styles */
.how-it-works-hero {
    padding: 6rem 0 4rem;
    background: var(--bg-dark);
    text-align: center;
}

.how-it-works-hero h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.how-it-works-content {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.how-it-works-step {
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--bg-gray-light);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.how-it-works-step:last-of-type {
    margin-bottom: 2rem;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.step-number-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.step-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.step-content p {
    margin-bottom: 1.5rem;
}

.step-details,
.key-checks,
.report-categories,
.report-features,
.prompt-benefits,
.fix-options,
.verify-section,
.optimize-section,
.security-verify,
.best-practice,
.verify-benefits,
.deployment-benefits,
.why-it-works {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-dark);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.step-details h4,
.key-checks h4,
.report-categories h4,
.report-features h4,
.prompt-benefits h4,
.fix-options h4,
.verify-section h4,
.optimize-section h4,
.security-verify h4,
.best-practice h4,
.verify-benefits h4,
.deployment-benefits h4,
.why-it-works h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-details ul,
.key-checks ul,
.report-categories ul,
.report-features ul,
.prompt-benefits ul,
.fix-options ul,
.verify-section ul,
.optimize-section ul,
.security-verify ul,
.best-practice ul,
.verify-benefits ul,
.deployment-benefits ul,
.why-it-works ul {
    list-style: none;
    padding-left: 0;
}

.step-details li,
.key-checks li,
.report-categories li,
.report-features li,
.prompt-benefits li,
.fix-options li,
.verify-section li,
.optimize-section li,
.security-verify li,
.best-practice li,
.verify-benefits li,
.deployment-benefits li,
.why-it-works li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.step-details li::before,
.key-checks li::before,
.report-categories li::before,
.report-features li::before,
.prompt-benefits li::before,
.fix-options li::before,
.verify-section li::before,
.optimize-section li::before,
.security-verify li::before,
.best-practice li::before,
.verify-benefits li::before,
.deployment-benefits li::before,
.why-it-works li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.why-it-matters {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-dark);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.why-it-matters h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.why-it-matters ul {
    list-style: none;
    padding-left: 0;
}

.why-it-matters li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.why-it-matters li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.how-it-works-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: transparent;
    border-radius: 16px;
    margin-top: 4rem;
}

.how-it-works-cta h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.how-it-works-cta p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 968px) {
    .how-it-works-hero h2 {
        font-size: 2.5rem;
    }
    
    .how-it-works-step {
        padding: 2rem 1.5rem;
    }
    
    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .how-it-works-hero {
        padding: 4rem 0 3rem;
    }
    
    .how-it-works-hero h2 {
        font-size: 2rem;
    }
    
    .step-header h3 {
        font-size: 1.5rem;
    }
    
    .step-number-badge {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-details,
    .key-checks,
    .report-categories,
    .report-features,
    .prompt-benefits,
    .fix-options,
    .verify-section,
    .optimize-section,
    .security-verify,
    .best-practice,
    .verify-benefits,
    .deployment-benefits,
    .why-it-works,
    .why-it-matters {
        padding: 1.5rem;
    }
    
    .how-it-works-cta {
        padding: 3rem 1.5rem;
    }
    
    .how-it-works-cta h3 {
        font-size: 2rem;
    }
    
    .how-it-works-cta p {
        font-size: 1.125rem;
    }
}

/* Blog Styles */
.blog-hero {
    padding: 6rem 0 4rem;
    background: var(--bg-dark);
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-section {
    padding: 4rem 0;
    background: var(--bg-gray);
    min-height: 60vh;
}

.blog-header-actions {
    margin-bottom: 3rem;
    display: flex;
    justify-content: flex-end;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post-card {
    background: var(--bg-gray-light);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    min-height: 100%;
    position: relative;
}

.blog-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
    background: var(--bg-gray);
}

.blog-post-card:hover::before {
    opacity: 1;
}

.blog-post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-dark);
}

.blog-post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-post-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post-title a:hover {
    color: var(--primary-color);
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-post-author,
.blog-post-date {
    display: flex;
    align-items: center;
}

.blog-post-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-post-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    margin-top: auto;
}

.blog-post-link:hover {
    color: var(--secondary-color);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-gray-light);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    font-weight: 500;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    padding: 0.75rem 1rem;
    background: var(--bg-gray-light);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    min-width: 44px;
    text-align: center;
}

.pagination-number:hover {
    background: var(--bg-gray);
    border-color: var(--primary-color);
}

.pagination-number.active {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

/* Individual Blog Post Page */
.blog-post-section {
    padding: 4rem 0;
    background: var(--bg-dark);
    min-height: 60vh;
}

.blog-post-full {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-gray-light);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.blog-post-featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background: var(--bg-dark);
}

.blog-post-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-post-title-full {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.blog-post-meta-full {
    display: flex;
    gap: 1.5rem;
    font-size: 1rem;
    color: var(--text-light);
}

.blog-post-body {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 1.125rem;
}

.blog-post-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
    line-height: 1.3;
}

.blog-post-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.25rem 0 0.5rem;
    line-height: 1.4;
}

.blog-post-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1rem 0 0.5rem;
    line-height: 1.4;
}

.blog-post-body h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0.75rem 0 0.5rem;
    line-height: 1.4;
}

.blog-post-body h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0.75rem 0 0.5rem;
    line-height: 1.4;
}

.blog-post-body h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
    line-height: 1.2;
}

.blog-post-body p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 0.75rem 0;
    padding-left: 2rem;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.blog-post-body blockquote {
    margin: 0.75rem 0;
    padding: 0.75rem 1rem;
    border-left: 4px solid var(--primary-color);
    background: var(--bg-dark);
    border-radius: 4px;
    line-height: 1.5;
}

.blog-post-body code {
    padding: 0.2rem 0.4rem;
    background: var(--bg-dark);
    border-radius: 4px;
    font-size: 0.9em;
    line-height: 1.5;
}

.blog-post-body pre {
    margin: 0.75rem 0;
    padding: 1rem;
    background: var(--bg-dark);
    border-radius: 8px;
    overflow-x: auto;
    line-height: 1.5;
}

.blog-post-body pre code {
    padding: 0;
    background: transparent;
}

.blog-post-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.back-to-blog-btn {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-to-blog-btn:hover {
    color: var(--secondary-color);
}

/* Add Post Form */
.add-post-section {
    padding: 4rem 0;
    background: var(--bg-dark);
    min-height: 80vh;
}

.add-post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.add-post-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.add-post-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.add-post-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-gray-light);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--bg-gray);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    text-align: center;
}

.btn-secondary:hover {
    background: var(--bg-gray-light);
    border-color: var(--primary-color);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--bg-gray-light);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-google:hover {
    background: var(--bg-gray);
    border-color: var(--border-color);
    transform: translateY(-1px);
}

.btn-google svg {
    flex-shrink: 0;
}

.success-message {
    text-align: center;
    padding: 3rem;
}

.success-message h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.no-posts,
.error-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Blog Responsive Design */
@media (max-width: 968px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .blog-post-full {
        padding: 2rem 1.5rem;
    }
    
    .blog-post-title-full {
        font-size: 2rem;
    }
    
    .add-post-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .blog-hero {
        padding: 4rem 0 3rem;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-title-full {
        font-size: 1.75rem;
    }
    
    .blog-post-body {
        font-size: 1rem;
    }
    
    .add-post-header h1 {
        font-size: 2rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-secondary,
    .submit-btn {
        width: 100%;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn-primary,
    .success-actions .btn-secondary {
        width: 100%;
    }
}
