/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Slate Colors */
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;

    /* Brand Colors */
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --cyan-400: #22d3ee;
    --emerald-400: #34d399;
    --purple-500: #a855f7;
    --red-400: #f87171;
    --yellow-400: #fbbf24;

    /* Semantic Colors */
    --bg-primary: var(--slate-900);
    --bg-secondary: var(--slate-800);
    --text-primary: white;
    --text-secondary: var(--slate-300);
    --text-muted: var(--slate-400);

    /* Glass */
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(59, 130, 246, 0.2);
    --glass-border-light: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    top: -200px;
    right: -100px;
    background: var(--blue-500);
    animation: float 20s ease-in-out infinite;
}

.bg-glow-2 {
    bottom: -200px;
    left: -100px;
    background: var(--purple-500);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 30px); }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: var(--blue-400);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--cyan-400);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.4);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--slate-300);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
}

.nav-cta:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    color: white !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: none;
    border: none;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    z-index: 1;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--blue-400);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--emerald-400);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--slate-400);
    margin-bottom: 2rem;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border-light);
}

.dashboard-title {
    font-weight: 600;
    color: white;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--emerald-400);
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--emerald-400);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.portfolio-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border-light);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s;
}

.portfolio-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.portfolio-card h4 {
    font-size: 0.85rem;
    color: white;
    margin-bottom: 0.5rem;
}

.risk-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.risk-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease;
}

.risk-fill.low { background: var(--emerald-400); }
.risk-fill.medium { background: var(--yellow-400); }
.risk-fill.high { background: var(--red-400); }

.portfolio-card span {
    font-size: 0.75rem;
    color: var(--slate-400);
}

/* Hero Background (legacy - keeping for compatibility) */
.hero-bg {
    display: none;
}

/* Stats Section */
.stats {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    border-top: 1px solid var(--glass-border-light);
    border-bottom: 1px solid var(--glass-border-light);
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    color: var(--slate-400);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Section Label */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue-400);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* Problem Section */
.problem {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.problem-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.problem h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.problem-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--glass-border-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s;
}

.problem-card:hover {
    border-color: rgba(248, 113, 113, 0.3);
    background: rgba(248, 113, 113, 0.05);
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: rgba(248, 113, 113, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.problem-card h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: var(--slate-400);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Process Section */
.process {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    background: rgba(30, 41, 59, 0.3);
}

.process-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.process-header {
    text-align: center;
    margin-bottom: 4rem;
}

.process h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-card {
    position: relative;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2rem;
    padding-top: 2.5rem;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 24px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
}

.step-card h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--slate-400);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Stages Section */
.stages {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.stages-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.stages-header {
    text-align: center;
    margin-bottom: 4rem;
}

.stages h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stage-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--glass-border-light);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.stage-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.stage-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* Stage-specific colors */
.stage-seed .stage-label {
    background: rgba(52, 211, 153, 0.1);
    color: var(--emerald-400);
}

.stage-a .stage-label {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-400);
}

.stage-b .stage-label {
    background: rgba(168, 85, 247, 0.1);
    color: var(--purple-500);
}

.stage-exit .stage-label {
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan-400);
}

.stage-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.stage-list {
    list-style: none;
}

.stage-list li {
    color: var(--slate-400);
    font-size: 0.9rem;
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.stage-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--slate-600);
}

/* Blog Preview Section */
.blog-preview {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    background: rgba(30, 41, 59, 0.3);
}

.blog-preview-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.blog-preview-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: white;
    margin-bottom: 0;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Blog Card */
.blog-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--glass-border-light);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blog-card-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--slate-400);
}

.blog-card-category {
    background: var(--blue-500);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card h2,
.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.blog-card h2 a,
.blog-card h3 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

.blog-card p {
    color: var(--slate-400);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-card-link {
    color: var(--blue-400);
    font-weight: 500;
    font-size: 0.9rem;
}

.blog-card-link:hover {
    color: var(--cyan-400);
}

/* CTA Section */
.cta {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
}

.cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--slate-400);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border-light);
}

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

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

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

.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--blue-400);
}

.footer-copy {
    color: var(--slate-600);
    font-size: 0.85rem;
}

/* Blog Page Styles */
.blog-page {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem 4rem;
}

.blog-page-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.blog-page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 1rem;
}

.blog-page-header h1 span {
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-page-header p {
    color: var(--slate-400);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.blog-empty {
    text-align: center;
    padding: 4rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--glass-border-light);
    border-radius: 16px;
}

.blog-empty p {
    color: var(--slate-400);
    margin: 0;
}

/* Post Styles */
.post-hero {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem 3rem;
    background: rgba(30, 41, 59, 0.3);
}

.post-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--slate-400);
}

.post-category {
    background: var(--blue-500);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.post-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.post-excerpt {
    font-size: 1.2rem;
    color: var(--slate-400);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.post-author {
    font-size: 0.9rem;
    color: var(--slate-400);
}

.post-content {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
}

.prose {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 3rem;
}

.prose h2 {
    font-size: 1.75rem;
    color: white;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.prose h3 {
    font-size: 1.35rem;
    color: white;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose h4 {
    font-size: 1.1rem;
    color: white;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.prose p {
    color: var(--slate-300);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.prose ul,
.prose ol {
    color: var(--slate-300);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.prose strong {
    color: white;
    font-weight: 600;
}

.prose a {
    color: var(--blue-400);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose a:hover {
    color: var(--cyan-400);
}

.prose code {
    background: var(--slate-800);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--cyan-400);
}

.prose pre {
    background: var(--slate-800);
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border-light);
}

.prose pre code {
    background: none;
    padding: 0;
    color: var(--slate-300);
}

.prose blockquote {
    border-left: 3px solid var(--blue-500);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--slate-400);
}

.post-tags {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.post-tags h4 {
    color: white;
    margin-bottom: 0.75rem;
}

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

.tag {
    background: var(--slate-700);
    color: var(--slate-300);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.post-navigation .nav-link {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--glass-border-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.post-navigation .nav-link:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

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

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

.nav-label {
    display: block;
    font-size: 0.85rem;
    color: var(--slate-400);
    margin-bottom: 0.25rem;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-cards {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .stages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-preview-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        border-bottom: 1px solid var(--glass-border-light);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-cta {
        width: 100%;
        display: block;
        text-align: center;
        padding: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

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

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

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

@media (max-width: 640px) {
    .stats-inner {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

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

    .cta-inner {
        padding: 2rem;
    }

    .post-title {
        font-size: 1.75rem;
    }
}
