/* Berkeley Mono Font Declaration - Add your font files to a fonts/ directory */
@font-face {
    font-family: 'Berkeley Mono';
    src: url('/fonts/BerkeleyMono-Regular.woff2') format('woff2'),
         url('/fonts/BerkeleyMono-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Berkeley Mono';
    src: url('/fonts/BerkeleyMono-Bold.woff2') format('woff2'),
         url('/fonts/BerkeleyMono-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #60a5fa;
    --secondary-blue: #dbeafe;
    --accent-blue: #93c5fd;
    --accent-cyan: #06b6d4;
    --glass-white: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
}

body {
    font-family: 'Berkeley Mono', 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Menlo, Consolas, 'Courier New', monospace;
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.011em;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 1rem 0;
    min-height: 72px;
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.logo svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo span {
    color: #1e293b;
}

.nav-links {
    display: flex !important;
    align-items: center;
    gap: 2rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links a {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-links a:not(.btn-primary) {
    color: #475569 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover,
.nav-links a:not(.btn-primary).active {
    color: #2563eb;
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a:not(.btn-primary).active::after {
    width: 100%;
}

.nav-links .btn-primary {
    margin-left: 1rem;
    padding: 0.625rem 1.5rem !important;
    font-size: 0.925rem !important;
    display: inline-block !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    padding: 0.9rem 2.25rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    position: relative;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25), 0 2px 6px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35), 0 4px 10px rgba(37, 99, 235, 0.25);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.85rem 2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Berkeley Mono', 'JetBrains Mono', 'SF Mono', Monaco, monospace;
    position: relative;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    padding: 0.85rem 2rem;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Berkeley Mono', 'JetBrains Mono', 'SF Mono', Monaco, monospace;
    position: relative;
}

.btn-outline:hover {
    transform: translateY(-2px);
    border-color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-outline:active {
    transform: translateY(0);
}

.btn-outline > * {
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 1.1rem 2.75rem;
    font-size: 1.125rem;
    border-radius: 14px;
}

.hero {
    margin-top: 80px;
    padding: 120px 0;
    background: linear-gradient(180deg, #f8faff 0%, #eef2ff 50%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

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

.mascot-container {
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.mascot-image {
    width: 320px;
    height: 400px;
    border: none;
    background: transparent;
    filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.2));
    pointer-events: none;
}

@keyframes floatMascot {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-8px) rotate(1deg);
    }
}

/* Stacky Floating Mascots */
.stacky-floating {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 10px 30px rgba(37, 99, 235, 0.2));
    animation: stackyFloat 6s ease-in-out infinite;
}

@keyframes stackyFloat {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.stacky-code {
    width: 140px;
    height: auto;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 0s;
}

.stacky-coffee {
    width: 120px;
    height: auto;
    left: 30px;
    bottom: 60px;
    animation-delay: 1s;
}

.stacky-sleep {
    width: 130px;
    height: auto;
    right: 50px;
    bottom: 30px;
    animation-delay: 2s;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.liquid-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: 2;
}

.liquid-glass-overlay::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50%;
    top: -300px;
    left: -300px;
    animation: liquidFloat 20s ease-in-out infinite;
}

.liquid-glass-overlay::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(96, 165, 250, 0.06);
    border-radius: 50%;
    bottom: -200px;
    right: -200px;
    animation: liquidFloat 25s ease-in-out infinite reverse;
}

@keyframes liquidFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 250, 252, 0.5);
    z-index: 3;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.25);
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.glass-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Berkeley Mono', 'JetBrains Mono', 'SF Mono', Monaco, monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 auto 1.5rem auto;
    color: var(--text-primary);
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    letter-spacing: -0.04em;
    text-align: center;
    width: 100%;
    display: block;
}

.gradient-text {
    color: #2563eb;
}

.hero-tagline {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.terminal-section {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
}

.terminal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.glass-terminal {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.25),
        0 16px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-header {
    background: rgba(51, 65, 85, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.dot.red { 
    background: #ef4444;
}
.dot.yellow { 
    background: #eab308;
}
.dot.green { 
    background: #22c55e;
}

.terminal-title {
    color: #94a3b8;
    font-size: 0.875rem;
    font-family: 'Berkeley Mono', 'JetBrains Mono', 'SF Mono', Monaco, monospace;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Berkeley Mono', 'JetBrains Mono', 'SF Mono', Monaco, monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-x: auto;
}

.terminal-body pre {
    margin: 0;
    margin-bottom: 1rem;
}

.terminal-body pre:last-child {
    margin-bottom: 0;
}

.terminal-body code {
    display: block;
}

.comment { color: #64748b; }
.prompt { color: #22c55e; }
.keyword { color: #a78bfa; }
.string { color: #34d399; }
.var { color: #60a5fa; }
.method { color: #fbbf24; }
.property { color: #fb923c; }
.number { color: #f87171; }

.features {
    padding: 80px 0;
    background: var(--bg-white);
    position: relative;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 3.5rem;
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    font-weight: 400;
    letter-spacing: -0.01em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
    position: relative;
}

.features-grid .glass-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.features-grid .glass-card:nth-child(1) { animation-delay: 0.1s; }
.features-grid .glass-card:nth-child(2) { animation-delay: 0.2s; }
.features-grid .glass-card:nth-child(3) { animation-delay: 0.3s; }
.features-grid .glass-card:nth-child(4) { animation-delay: 0.4s; }
.features-grid .glass-card:nth-child(5) { animation-delay: 0.5s; }
.features-grid .glass-card:nth-child(6) { animation-delay: 0.6s; }

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

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(59, 130, 246, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.glass-card:hover::after {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 24px 48px rgba(37, 99, 235, 0.15),
        0 12px 24px rgba(37, 99, 235, 0.1),
        0 0 0 1px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-radius: 14px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.glass-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(59, 130, 246, 0.12) 100%);
    transform: scale(1.05);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
    font-size: 0.875rem;
}

.how-it-works {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 40%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.how-it-works-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin-top: 5rem;
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.glass-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 3rem 2.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.glass-step:first-child {
    border-radius: 20px 0 0 20px;
    border-right: none;
}

.glass-step:last-child {
    border-radius: 0 20px 20px 0;
    border-left: none;
}

.glass-step:not(:first-child):not(:last-child) {
    border-left: none;
    border-right: none;
    position: relative;
}

/* Arrow indicators between steps */
.glass-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 300;
    z-index: 11;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.glass-step:hover:not(:last-child)::after {
    opacity: 1;
}

.glass-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-step:hover::before {
    transform: scaleX(1);
}

.glass-step:hover {
    transform: translateY(-8px);
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.2);
    background: white;
    z-index: 10;
}

.glass-step::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.glass-step:hover::after {
    opacity: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.step-content p {
    color: #475569;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue-light), var(--primary-blue), var(--primary-blue-light), transparent);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.step-connector::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.8), transparent);
    animation: flowAnimation 3s ease-in-out infinite;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 10px solid var(--primary-blue);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    opacity: 0.5;
}

@keyframes flowAnimation {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Demo Apps Section */
.demo-apps {
    padding: 120px 0;
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
}

.demo-apps h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.demo-apps .section-description {
    font-size: 1rem;
    line-height: 1.6;
}

.demo-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.demo-apps-grid .demo-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.demo-apps-grid .demo-card:nth-child(1) { animation-delay: 0.15s; }
.demo-apps-grid .demo-card:nth-child(2) { animation-delay: 0.3s; }
.demo-apps-grid .demo-card:nth-child(3) { animation-delay: 0.45s; }

.demo-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.demo-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 24px 48px rgba(37, 99, 235, 0.15),
        0 12px 24px rgba(37, 99, 235, 0.1),
        0 0 0 1px rgba(37, 99, 235, 0.1);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(37, 99, 235, 0.2);
}

.demo-card:hover .demo-icon svg {
    transform: scale(1.1);
}

.demo-card:hover .demo-link {
    color: var(--primary-blue);
}

.demo-card:hover .demo-link svg {
    transform: translateX(4px);
}

.demo-icon {
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.demo-card:hover .demo-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(59, 130, 246, 0.12) 100%);
    transform: scale(1.05);
}

.demo-icon svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.demo-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.demo-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.demo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.demo-link svg {
    transition: transform 0.3s ease;
}

.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -400px;
    right: -400px;
    animation: liquidFloat 30s ease-in-out infinite;
}

.cta::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    bottom: -300px;
    left: -300px;
    animation: liquidFloat 35s ease-in-out infinite reverse;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    font-family: 'Berkeley Mono', 'JetBrains Mono', 'SF Mono', Monaco, monospace;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary,
.cta-btn-primary {
    background: #ffffff;
    color: #2563eb !important;
    border: 2px solid #ffffff;
    font-weight: 600;
}

.cta .btn-primary:hover,
.cta-btn-primary:hover {
    background: transparent;
    color: #ffffff !important;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta .btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff !important;
    font-weight: 600;
}

.cta .btn-outline:hover {
    background: #ffffff;
    color: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.footer {
    background: #0a0e1a;
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2563eb, transparent);
    opacity: 0.5;
}

.footer-top {
    background: linear-gradient(135deg, #0f172a 0%, #1a1f2e 100%);
    padding: 40px 0;
    position: relative;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .logo svg {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.3));
}

.footer-brand .logo span {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    letter-spacing: -0.025em;
    color: white;
}

.footer-tagline {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 400;
    margin: 0;
    padding-left: 1rem;
    border-left: 1px solid #334155;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #64748b;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    color: white;
    transform: translateY(-2px);
}

/* Remove old footer-links styles */
.footer-links,
.footer-section {
    display: none;
}

.footer-bottom {
    background: #050711;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-content p {
    color: #475569;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 400;
}

.footer-legal {
    display: flex;
    gap: 2.5rem;
}

.footer-legal a {
    color: #475569;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    color: #94a3b8;
}

.footer-legal a:hover::after {
    width: 100%;
}

/* Legal Pages */
.legal-page {
    padding: 140px 20px 80px;
    min-height: 100vh;
    background: var(--bg-light);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-blue);
}

.legal-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .legal-container {
        padding: 2rem 1.5rem;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.25rem;
    }
}

@media (min-width: 1200px) {
    .steps {
        gap: 0;
    }
    
    .glass-step {
        padding: 3.5rem;
        min-width: 366px;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .mascot-container {
        order: -1;
    }
    
    .mascot-image {
        width: 240px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        white-space: normal;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .mascot-image {
        width: 200px;
    }

    /* Hide floating Stacky mascots on mobile */
    .stacky-floating {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .demo-apps-grid {
        grid-template-columns: 1fr;
    }

    .demo-apps h2 {
        font-size: 2rem;
    }

    /* Mobile Navigation */
    .hamburger {
        display: block !important;
    }
    
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 100px 30px 30px !important;
        gap: 1.5rem !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease !important;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.active {
        display: flex !important;
        right: 0 !important;
    }
    
    .nav-links a {
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        padding-left: 10px;
        color: var(--primary-blue);
    }
    
    .nav-links .btn-primary {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        border-radius: 12px !important;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 1;
        transition: opacity 0.3s ease;
    }
    
    .steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .glass-step {
        border-radius: 20px !important;
        border: 2px solid #e2e8f0 !important;
        max-width: 100%;
    }
    
    .glass-step:not(:first-child):not(:last-child) {
        border: 2px solid #e2e8f0 !important;
    }
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer-tagline {
        border-left: none;
        padding-left: 0;
        padding-top: 0.5rem;
        border-top: 1px solid #334155;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        text-align: center;
    }

}

/* ==========================================
   BLOG STYLES
   ========================================== */

/* Blog Hero */
.blog-hero {
    margin-top: 80px;
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Blog List */
.blog-list {
    padding: 60px 0 100px;
    background: var(--bg-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.blog-card.glass-card {
    padding: 1.25rem;
}

.blog-card:hover {
    transform: translateY(-3px) !important;
    box-shadow:
        0 12px 24px rgba(37, 99, 235, 0.12),
        0 4px 8px rgba(37, 99, 235, 0.08);
}

.blog-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin: -1.25rem -1.25rem 1rem -1.25rem;
    width: calc(100% + 2.5rem);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.02);
}

.blog-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.blog-card-meta time {
    color: var(--primary-blue);
    font-weight: 500;
}

.blog-card h2 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    text-align: left;
}

.blog-card h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card h2 a:hover {
    color: var(--primary-blue);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.blog-read-more:hover {
    gap: 0.75rem;
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-secondary);
    padding: 4rem 2rem;
    font-size: 1.125rem;
}

/* Blog Post Single */
.blog-post {
    margin-top: 80px;
}

.blog-post-header {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.blog-back-link:hover {
    color: var(--primary-blue);
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.blog-post-meta time {
    color: var(--primary-blue);
    font-weight: 500;
}

.blog-post-header h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: left;
}

.blog-post-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-post-image {
    margin-bottom: 3rem;
}

.blog-post-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Blog Post Content */
.blog-post-content {
    padding: 0 0 4rem;
}

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-post-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    text-align: left;
}

.blog-post-content h3 {
    font-size: 1.375rem;
    margin: 2rem 0 0.75rem;
}

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

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--primary-blue);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-post-content pre {
    background: #1e293b;
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-post-content code {
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.blog-post-content p code {
    background: rgba(37, 99, 235, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--primary-blue);
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.blog-post-content a {
    color: var(--primary-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-post-content a:hover {
    text-decoration: none;
}

.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.blog-post-content thead {
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    color: white;
}

.blog-post-content th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post-content td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.blog-post-content tbody tr:last-child td {
    border-bottom: none;
}

.blog-post-content tbody tr:hover {
    background: rgba(37, 99, 235, 0.04);
}

.blog-post-content td code {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Blog Post Footer */
.blog-post-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.blog-post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.blog-post-share span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.blog-post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    color: var(--primary-blue);
    transition: all 0.2s ease;
}

.blog-post-share a:hover {
    background: var(--primary-blue);
    color: white;
}

.blog-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.blog-post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.blog-post-nav-link:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.blog-post-nav-prev {
    text-align: left;
}

.blog-post-nav-next {
    text-align: right;
}

.blog-post-nav-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-post-nav-title {
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.25rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .blog-post-nav {
        grid-template-columns: 1fr;
    }

    .blog-post-nav-next {
        text-align: left;
    }
}