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

:root {
    /* Colors */
    --primary: #6366F1;
    --primary-hover: #818CF8;
    --primary-dark: #4F46E5;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-lighter: #9CA3AF;
    --bg-light: #F9FAFF;
    --bg-white: #FFFFFF;
    --bg-hover: #FAFBFC;
    --border-light: #E5E7EB;
    --border-lighter: #F3F4F6;

    /* Status Colors */
    --success-bg: #D1FAE5;
    --success-text: #065F46;
    --danger-bg: #FEE2E2;
    --danger-text: #991B1B;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), #A855F7);
    --gradient-text: linear-gradient(135deg, #6366F1 0%, #A855F7 25%, #EC4899 50%, #3B82F6 75%, #6366F1 100%);
    --gradient-bg: linear-gradient(180deg, var(--bg-light) 0%, #F3F4F6 50%, var(--bg-light) 100%);
    --gradient-table-row: linear-gradient(90deg, #FFEEF5 0%, #E5F9F6 100%);
    --gradient-table-hover: linear-gradient(90deg, #FFE0EC 0%, #D0F5F0 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 4px 14px rgba(99, 102, 241, 0.25);
    --shadow-primary-hover: 0 8px 20px rgba(99, 102, 241, 0.35);
    --shadow-button-hover: 0 6px 16px rgba(99, 102, 241, 0.4);

    --lavender: #E9D5FF;
    --purple: #A855F7;
    --pink: #EC4899;
    --blue: #3B82F6;
    --teal: #14B8A6;

    /* Spacing Scale (8px base) */
    --space-1: 0.5rem;
    /* 8px */
    --space-2: 1rem;
    /* 16px */
    --space-3: 1.5rem;
    /* 24px */
    --space-4: 2rem;
    /* 32px */
    --space-5: 2.5rem;
    /* 40px */
    --space-6: 3rem;
    /* 48px */
    --space-8: 4rem;
    /* 64px */
    --space-10: 5rem;
    /* 80px */
    --space-12: 6rem;
    /* 96px */

    /* Typography Scale */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 2rem;
    /* 32px */
    --text-4xl: 2.5rem;
    /* 40px */
    --text-5xl: 3rem;
    /* 48px */

    /* Border Radius */
    --radius-sm: 0.375rem;
    /* 6px */
    --radius-base: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */

    /* Transitions */
    --transition-base: all 0.2s ease;
    --transition-slow: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--gradient-bg);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    font-size: var(--text-base);
    padding-bottom: var(--space-12);
    position: relative;
}

.page-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Reset default margins for semantic elements */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd,
dt,
address {
    margin: 0;
}

/* Consistent spacing system */
p+p,
p+ul,
p+ol,
ul+p,
ol+p,
aside+*,
*+aside {
    margin-top: var(--space-3);
}

nav {
    margin-top: var(--space-4);
}

address {
    font-style: normal;
}

/* Ensure sections render their full margins */
main {
    display: block;
    padding: var(--space-10) 0;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.container {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 var(--space-3);
    position: relative;
    z-index: 1;
}

/* Header Section */
header {
    text-align: center;
    padding: var(--space-6) 0 var(--space-8);
    position: relative;
}

.logo {
    height: 160px;
    margin-bottom: var(--space-4);
}

.hero-title {
    font-size: clamp(var(--text-4xl), 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
    display: inline-block;
    font-weight: 800;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.2);
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Accessible fallback when user prefers high contrast */
@media (prefers-contrast: more) {
    .gradient-text {
        background: none;
        -webkit-text-fill-color: currentColor;
    }
}

.subtitle {
    font-size: var(--text-lg);
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto var(--space-4);
    line-height: 1.75;
}

.subtitle:last-of-type {
    margin-bottom: var(--space-6);
}

.subtitle strong {
    color: var(--text-dark);
    font-weight: 600;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
    border: none;
    cursor: pointer;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
}

.cta-button::after {
    content: "→";
    font-size: var(--text-xl);
    transition: transform 0.3s ease;
}

.cta-button:hover::after {
    transform: translateX(3px);
}

.cta-section {
    margin-top: 0;
}

.free-badge {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-lighter);
    margin-top: var(--space-2);
}

/* Sections */
section {
    position: relative;
    display: block;
    margin-bottom: var(--space-12);
}

section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--purple), transparent);
    opacity: 0.2;
    border-radius: 3px;
    filter: blur(1px);
}

section:first-of-type::before {
    display: none;
}

section:last-of-type {
    margin-bottom: 0;
}

/* Main content spacing */
main {
    display: block;
    padding: var(--space-6) 0;
}

h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-4);
    text-align: center;
    letter-spacing: -0.02em;
    position: relative;
    scroll-margin-top: var(--space-6);
}

/* How It Works Steps */
.how-it-works-steps {
    display: grid;
    gap: var(--space-4);
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.step-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--border-lighter);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.step-number {
    flex-shrink: 0;
    width: var(--space-8);
    height: var(--space-8);
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-xl);
    font-family: 'Poppins', sans-serif;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-2);
    font-family: 'Poppins', sans-serif;
}

.step-description {
    color: var(--text-dark);
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: var(--space-2);
}

.step-benefit {
    color: var(--text-light);
    font-size: var(--text-sm);
    font-weight: 500;
    font-style: italic;
}

/* Comparison Table (still used for CLI vs Stacklane) */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-base);
    font-size: var(--text-base);
}

.comparison-table th {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-size: var(--text-base);
    background: var(--bg-light);
    color: var(--text-dark);
}

.comparison-table th.danger-header {
    background: #FEF2F2;
    color: var(--text-dark);
    font-weight: 600;
}

.comparison-table th.success-header {
    background: #F0FDF4;
    color: var(--text-dark);
    font-weight: 600;
}

.comparison-table td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-lighter);
    vertical-align: top;
    line-height: 1.6;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background: rgba(99, 102, 241, 0.02);
}

.comparison-table tr:hover td {
    /* background: rgba(99, 102, 241, 0.05); */
    transition: var(--transition-base);
}

.comparison-table td:last-child {
    font-weight: 500;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .step-card {
        flex-direction: column;
        gap: var(--space-3);
        padding: var(--space-4);
        text-align: center;
        overflow: hidden;
        word-wrap: break-word;
    }

    .step-number {
        align-self: center;
        width: var(--space-6);
        height: var(--space-6);
        font-size: var(--text-lg);
    }

    .step-content {
        overflow: hidden;
        word-wrap: break-word;
    }

    .step-content h3 {
        font-size: var(--text-lg);
        margin-bottom: var(--space-1);
    }

    .step-description {
        font-size: var(--text-sm);
        margin-bottom: var(--space-1);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .step-benefit {
        font-size: var(--text-xs);
    }

    /* Ensure code snippets don't overflow on mobile */
    .step-description .code-snippet {
        font-size: 0.7rem;
        padding: 0.1rem 0.25rem;
        word-break: break-all;
        white-space: normal;
        line-height: 1.3;
        display: inline-block;
        max-width: 100%;
    }

    .comparison-table {
        font-size: var(--text-sm);
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--space-2);
        font-size: var(--text-sm);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Stack comparison table on smaller screens */
    @media (max-width: 640px) {

        .comparison-table,
        .comparison-table thead,
        .comparison-table tbody,
        .comparison-table th,
        .comparison-table td,
        .comparison-table tr {
            display: block;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        .comparison-table {
            border-radius: 0;
            box-shadow: none;
            background: transparent;
        }

        .comparison-table thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

        .comparison-table tr {
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            margin-bottom: var(--space-3);
            padding: var(--space-4);
            background: var(--bg-white);
            box-shadow: var(--shadow-sm);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow: hidden;
        }

        .comparison-table td {
            border: none;
            border-bottom: 1px solid var(--border-lighter);
            position: relative;
            padding: var(--space-2) 0;
            margin-bottom: var(--space-2);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            word-wrap: break-word;
            overflow-wrap: break-word;
            overflow: hidden;
        }

        .comparison-table td:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .comparison-table td:before {
            content: attr(data-label) ": ";
            display: block;
            font-weight: 600;
            color: var(--primary);
            font-size: var(--text-sm);
            margin-bottom: var(--space-1);
            word-wrap: break-word;
        }

        .comparison-table td:first-child:before {
            color: #DC2626;
        }

        .comparison-table td:last-child:before {
            color: #059669;
        }
    }
}

.table-note {
    text-align: center;
    color: var(--text-lighter);
    font-style: italic;
    margin-top: var(--space-3);
    font-size: var(--text-sm);
}

.code-snippet {
    display: inline;
    background: var(--text-dark);
    color: var(--bg-light);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: 'Menlo', 'Monaco', monospace;
    font-size: 0.8125rem;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile code snippet fixes */
@media (max-width: 768px) {
    .code-snippet {
        font-size: 0.7rem;
        padding: 0.1rem 0.25rem;
        white-space: normal;
        word-break: break-all;
        line-height: 1.3;
        display: inline-block;
        max-width: 100%;
        overflow-wrap: break-word;
    }
}

/* Screenshot Section */
.screenshot-container {
    text-align: center;
    margin: var(--space-6) 0 var(--space-8);
    position: relative;
}

.screenshot-frame {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    padding: var(--space-1);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.screenshot-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
}

.screenshot-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.25s ease;
    will-change: opacity;
}

.screenshot-frame:hover::before {
    opacity: 0.4;
}

.screenshot-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: calc(var(--radius-xl) - var(--space-1));
    display: block;
}

.screenshot-caption {
    margin-top: var(--space-4);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.screenshot-frame:hover+.screenshot-caption {
    opacity: 1;
}

.screenshot-caption p {
    font-size: var(--text-lg);
    color: var(--text-light);
    font-weight: 500;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Floating elements around screenshot */
.screenshot-container::before {
    content: '✨';
    position: absolute;
    top: 10%;
    left: 10%;
    font-size: var(--text-2xl);
    animation: float 3s ease-in-out infinite;
    opacity: 0.6;
}

.screenshot-container::after {
    content: '🚀';
    position: absolute;
    top: 20%;
    right: 15%;
    font-size: var(--text-2xl);
    animation: float 4s ease-in-out infinite reverse;
    opacity: 0.6;
}

/* Benefits */
.benefits {
    display: grid;
    gap: var(--space-4);
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
}

.benefit {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.benefit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    flex-shrink: 0;
    width: var(--space-6);
    height: var(--space-6);
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    transition: transform 0.3s ease;
}

.benefit:hover .benefit-icon {
    transform: rotate(5deg) scale(1.05);
}

.benefit-content h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-1);
}

.benefit-content p {
    color: var(--text-light);
    font-size: var(--text-base);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Footer */
footer {
    text-align: center;
    padding: var(--space-10) 0 var(--space-12);
    margin-top: var(--space-12);
    position: relative;
    clear: both;
}

footer nav {
    margin-top: var(--space-4);
}

.footer-cta {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
}

.footer-email {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-top: var(--space-4);
    font-style: normal;
}

.footer-email a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

.footer-email a:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

.footer-links {
    margin-top: var(--space-3);
    font-size: var(--text-sm);
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Privacy Page Styles */
.privacy-nav {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--gray-200);
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-sm);
    transition: var(--transition-base);
}

.back-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.privacy-header {
    padding: var(--space-8) 0 var(--space-6);
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.privacy-header h1 {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-2);
    font-family: 'Poppins', sans-serif;
}

.privacy-subtitle {
    font-size: var(--text-lg);
    color: var(--text-light);
    margin-bottom: var(--space-2);
}

.last-updated {
    font-size: var(--text-sm);
    color: var(--text-light);
}

.privacy-footer {
    padding: var(--space-8) 0;
    text-align: center;
    border-top: 1px solid var(--gray-200);
    margin-top: var(--space-8);
}

.privacy-footer p {
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-light);
}

.privacy-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.privacy-footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Privacy page content styling */
.privacy-header + main h3 {
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-dark);
}

.privacy-header + main h3:first-of-type {
    margin-top: var(--space-4);
}

/* Decorative Elements */
.decoration {
    position: absolute;
    pointer-events: none;
    opacity: 0.25;
    filter: blur(40px);
}

.decoration-1 {
    top: 10%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--purple) 0%, transparent 60%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.decoration-2 {
    top: 50%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--pink) 0%, transparent 60%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    :root {
        --text-base: 0.9375rem;
        /* 15px */
    }

    header {
        padding: var(--space-4) 0 var(--space-6);
    }

    header nav {
        margin-top: 0;
    }

    .logo {
        height: 120px;
        margin: 0;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, var(--text-3xl));
        margin-bottom: var(--space-2);
    }

    .subtitle {
        font-size: var(--text-base);
    }

    .subtitle+.subtitle {
        margin-top: var(--space-2);
    }

    main {
        padding: var(--space-8) 0;
    }

    section {
        margin-bottom: var(--space-8);
    }

    section:last-of-type {
        margin-bottom: 0;
    }

    h2 {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-3);
    }

    .comparison-table {
        font-size: var(--text-sm);
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--space-2) var(--space-2);
    }

    .benefit {
        padding: var(--space-3);
        gap: var(--space-2);
    }

    .benefit-icon {
        width: var(--space-5);
        height: var(--space-5);
        font-size: var(--text-xl);
    }

    .benefit-content h3 {
        font-size: var(--text-lg);
    }

    .benefit-content p {
        font-size: var(--text-sm);
    }

    .benefit {
        padding: var(--space-3);
        gap: var(--space-2);
        overflow: hidden;
        word-wrap: break-word;
        max-width: 100%;
        box-sizing: border-box;
    }

    .benefit-content {
        overflow: hidden;
        word-wrap: break-word;
        max-width: 100%;
    }

    /* Screenshot mobile styles */
    .screenshot-container {
        margin: var(--space-6) 0;
    }

    .screenshot-frame {
        padding: 0.5rem;
        border-radius: var(--radius-lg);
    }

    .screenshot-frame:hover {
        transform: translateY(-4px);
    }

    .screenshot-image {
        max-width: 100%;
        border-radius: calc(var(--radius-lg) - 0.5rem);
    }

    .screenshot-caption p {
        font-size: var(--text-base);
        padding: 0 var(--space-2);
    }

    .screenshot-container::before,
    .screenshot-container::after {
        display: none;
    }

    .cta-button {
        padding: var(--space-2) var(--space-3);
    }

    footer {
        padding: var(--space-8) 0 var(--space-4);
    }

    footer nav {
        margin-top: var(--space-3);
    }

    .footer-cta {
        font-size: var(--text-xl);
    }

    .footer-email {
        margin-top: var(--space-3);
    }

    .container {
        padding: 0 var(--space-2);
    }

    section::before {
        width: 200px;
    }

    .decoration {
        display: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Ensure consistent focus states */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Accessibility helper - visually hidden but screen reader accessible */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Make skip link visible on focus */
.visually-hidden:focus {
    position: absolute;
    width: auto;
    height: auto;
    padding: var(--space-2) var(--space-3);
    margin: var(--space-2);
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-base);
    text-decoration: none;
    font-weight: 600;
    z-index: 1000;
    top: 0;
    left: 0;
}

.container+.container {
    margin-top: var(--space-12);
}

/* FAQ Section Styles */
.faq-container {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-3);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: var(--space-4);
    font-weight: 600;
    font-size: var(--text-lg);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-base);
    outline: none !important;
}

.faq-question::-webkit-details-marker {
    display: none;
}

/* Force remove summary focus outline */
.faq-question:focus,
.faq-question:focus-visible,
.faq-question:active {
    outline: 0 !important;
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    background: var(--bg-hover) !important;
}

.faq-question:hover {
    background: var(--bg-hover);
}

.faq-question::after {
    content: '+';
    font-size: var(--text-2xl);
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: var(--space-4) var(--space-4);
    color: var(--text-light);
    line-height: 1.6;
}

.faq-answer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Additional non-critical styles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Reset default margins for semantic elements */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd,
dt,
address {
    margin: 0;
}

/* Consistent spacing system */
p+p,
p+ul,
p+ol,
ul+p,
ol+p,
aside+*,
*+aside {
    margin-top: var(--space-3);
}

address {
    font-style: normal;
}

/* Ensure sections render their full margins */
main {
    display: block;
    padding: var(--space-10) 0;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

body {
    padding-bottom: var(--space-12);
}

/* Sections */
section {
    position: relative;
    display: block;
    margin-bottom: var(--space-10);
}

section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--purple), transparent);
    opacity: 0.2;
    border-radius: 3px;
    filter: blur(1px);
}

section:first-of-type::before {
    display: none;
}

section:last-of-type {
    margin-bottom: 0;
}

h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-4);
    text-align: center;
    letter-spacing: -0.02em;
    position: relative;
    scroll-margin-top: var(--space-6);
}

/* Focus states */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Completely remove all focus outlines from FAQ elements */
.faq-item,
.faq-item *,
.faq-question,
details,
summary {
    outline: none !important;
    -webkit-focus-ring-color: transparent !important;
}

/* Custom focus state for FAQ items - handled above */

.faq-item:focus,
.faq-item:focus-visible,
details:focus,
details:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Quick Navigation */
.quick-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-lighter);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--space-2) 0;
    margin-top: 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: var(--text-sm);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-base);
    transition: var(--transition-base);
}

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

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: var(--space-1) var(--space-3) !important;
    border-radius: var(--radius-lg) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .nav-links {
        gap: var(--space-1);
    }

    .nav-links a {
        font-size: var(--text-sm);
    }
}

/* Prose Styles for Blog Content */
.blog-header {
    text-align: center;
    padding: var(--space-8) 0 var(--space-6);
}

.blog-header h1 {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: var(--space-3);
    color: var(--text-dark);
}

.blog-subtitle {
    font-size: var(--text-xl);
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: var(--space-2);
}

.publish-date {
    font-size: var(--text-sm);
    color: var(--text-lighter);
}

/* Blog Content Typography */
main section h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
    text-align: left;
    letter-spacing: -0.02em;
    scroll-margin-top: var(--space-6);
}

main section:first-child h2 {
    margin-top: 0;
}

main section h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

main section p {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

main section strong {
    font-weight: 600;
    color: var(--text-dark);
}

main section em {
    font-style: italic;
}

/* Lists */
main section ul,
main section ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-5);
}

main section li {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}

main section li:last-child {
    margin-bottom: 0;
}

/* Code Blocks */
main section pre {
    background: var(--text-dark);
    color: #f8f8f2;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: var(--space-4) 0;
    font-size: var(--text-base);
    line-height: 1.6;
    box-shadow: var(--shadow-md);
}

main section code {
    font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    white-space: pre;
}

main section p code {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-dark);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
    font-size: 0.875em;
    white-space: nowrap;
}

/* Links in blog content */
main section a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(99, 102, 241, 0.3);
    text-underline-offset: 0.2em;
    transition: var(--transition-base);
}

main section a:hover {
    color: var(--primary-dark);
    text-decoration-color: var(--primary);
}

/* Blockquotes */
main section blockquote {
    border-left: 4px solid var(--primary);
    padding-left: var(--space-4);
    margin: var(--space-4) 0;
    font-style: italic;
    color: var(--text-light);
}

/* HR */
main section hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: var(--space-8) 0;
}

/* Blog Footer */
.blog-footer {
    margin-top: var(--space-10);
    text-align: center;
}

.blog-footer p {
    font-size: var(--text-base);
    color: var(--text-light);
    margin-bottom: var(--space-3);
}

.blog-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

.blog-footer a:hover {
    text-decoration: underline;
}

/* Special styling for the first paragraph (lead) */
main section:first-child p:first-of-type {
    font-size: var(--text-xl);
    color: var(--text-light);
    line-height: 1.8;
}

/* Numbered sections in blog posts */
main section h3:before {
    content: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: var(--text-3xl);
    }

    .blog-subtitle {
        font-size: var(--text-lg);
    }

    main section h2 {
        font-size: var(--text-2xl);
        margin-top: var(--space-6);
    }

    main section h3 {
        font-size: var(--text-xl);
        margin-top: var(--space-4);
    }

    main section p,
    main section li {
        font-size: var(--text-base);
    }

    main section pre {
        padding: var(--space-3);
        font-size: var(--text-sm);
    }

    main section ul,
    main section ol {
        padding-left: var(--space-4);
    }
}

/* Dark code syntax highlighting */
main section pre code {
    color: #f8f8f2;
}

/* Comments in code */
main section pre .comment {
    color: #75715e;
    font-style: italic;
}

/* Strings */
main section pre .string {
    color: #e6db74;
}

/* Keywords */
main section pre .keyword {
    color: #66d9ef;
}

/* Functions */
main section pre .function {
    color: #a6e22e;
}