@import url("image-utils.css");

:root {
    --landing-bg-dark: #0a0e1a;
    --landing-bg-dark-lighter: #111827;
    --landing-bg-dark-card: #0d1117;
    --landing-accent-primary: #3b82f6;
    --landing-accent-secondary: #60a5fa;
    --landing-accent-green: #10b981;
    --landing-accent-orange: #f59e0b;
    --landing-accent-pink: #ec4899;
    --landing-accent-purple: #8b5cf6;
    --landing-accent-cyan: #06b6d4;
    --landing-accent-light: #fbbf24;
    --landing-text-light: #f1f5f9;
    --landing-text-muted: #94a3b8;
    --landing-text-very-muted: #64748b;
    --landing-text-dark: #111827;
    --landing-text-dark-muted: #6b7280;
    --landing-border-light: #e5e7eb;
    --landing-border-dark: rgba(255, 255, 255, 0.06);
    --landing-link-on-dark: #93c5fd;
    --landing-carousel-gap: 3rem;
    --landing-section-gap: 3rem;
    --landing-link-on-dark-hover: #bfdbfe;
    --landing-seg-pill-active: #0f162b;
    --landing-font-body: 1.14rem;
    --landing-font-body-sm: 1rem;
    --landing-font-heading-xl: 3rem;
    --landing-font-heading-lg: 2rem;
    --landing-font-heading-md: 1.6rem;
    --landing-font-heading-sm: 1.3rem;
    --landing-font-label: 0.9rem;
    --landing-font-code: 0.93rem;
    --landing-font-small: 0.875rem;
    --landing-font-badge: 0.8rem;
    --landing-font-stat: 1.6rem;
    --landing-font-stat-label: 0.9rem;
    --landing-font-table: 1rem;
    --landing-font-table-header: 0.85rem;
    --landing-font-table-code: 0.93rem;
    --landing-font-breadcrumb: 0.9rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.landing-page {
    font-family: ZatoMainFont, sans-serif;
    color: var(--landing-text-dark);
    overflow-x: hidden;
}

.landing-page a,
.landing-page a:link,
.landing-page a:visited,
.landing-page a:hover,
.landing-page a:active {
    text-decoration: none;
}

/* ============================
   Section 1: Hero
   ============================ */

.landing-hero {
    position: relative;
    min-height: 20vh;
    background: var(--landing-bg-dark);
    overflow: hidden;
}

.landing-hero-grid {
    display: none;
}

.landing-hero-orb-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.landing-hero-orb-2 {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* Hero content */

.landing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 48px 60px;
}

.landing-hero-row {
    display: flex;
    gap: 64px;
    align-items: center;
}

.landing-hero-left {
    flex: 1;
    animation: fadeUp 0.8s ease-out both;
}

.landing-hero-right {
    flex: 1;
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.landing-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    margin-bottom: 32px;
}

.landing-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--landing-accent-green);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.landing-pill-text {
    font-size: 13px;
    color: var(--landing-text-muted);
    font-family: ZatoMainFontMedium, sans-serif;
}

.landing-hero-headline {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--landing-text-light);
    margin: 0 0 24px;
    font-family: ZatoMainFontMedium, sans-serif;
}

.landing-hero-headline .gradient-text {
    background: linear-gradient(135deg, var(--landing-accent-primary), var(--landing-accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-hero-sub {
    font-size: 18px;
    line-height: 1.65;
    color: var(--landing-text-muted);
    max-width: 480px;
    margin: 0 0 40px;
}

.landing-hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
}

a.landing-btn-primary,
a.landing-btn-primary:link,
a.landing-btn-primary:visited,
a.landing-btn-primary:hover,
a.landing-btn-primary:active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--landing-accent-primary);
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.2);
    transition: all 0.2s ease;
}

a.landing-btn-primary:hover {
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.2);
    color: #fff !important;
    background: var(--landing-accent-secondary);
}

a.landing-btn-secondary,
a.landing-btn-secondary:link,
a.landing-btn-secondary:visited,
a.landing-btn-secondary:active {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--landing-text-muted) !important;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

a.landing-btn-secondary:hover {
    color: var(--landing-text-light) !important;
    border-color: rgba(255, 255, 255, 0.3);
}

.landing-hero-stats {
    display: flex;
    gap: 32px;
}

.landing-stat-number {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--landing-text-light);
    font-family: ZatoMainFontMedium, sans-serif;
}

.landing-stat-label {
    font-size: 13px;
    color: var(--landing-text-very-muted);
    font-weight: 500;
    font-family: ZatoMainFontMedium, sans-serif;
    margin-top: 2px;
}

/* Terminal */

.landing-terminal {
    border-radius: 16px;
    background: var(--landing-bg-dark-lighter);
    border: 1px solid rgba(59, 130, 246, 0.08);
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    animation: float 6s ease-in-out infinite;
}

.landing-terminal-body {
    min-height: 340px;
}


.landing-hero + .container {
    max-width: 1280px;
    padding: 0 48px;
}

.landing-hero + .container .logo-carousel-container {
    padding-top: var(--landing-carousel-gap);
    padding-bottom: 8px !important;
}

.landing-hero + .container + .landing-code-showcase {
    padding-top: var(--landing-section-gap);
}

/* Trust bar */

.landing-trust-bar {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 40px 48px;
    max-width: 1280px;
    margin: 0 auto;
}

.landing-trust-label {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-text-very-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.landing-trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.landing-trust-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* ============================
   Section 2: Code showcase
   ============================ */

.landing-code-showcase {
    background: #fff;
    padding: 120px 48px;
}

.landing-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.landing-section-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.landing-section-heading {
    font-size: 40px;
    font-weight: 700;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-text-dark);
    letter-spacing: -1px;
    margin: 0 0 16px;
}

.landing-section-desc {
    font-size: 17px;
    color: var(--landing-text-dark-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.landing-code-block {
    max-width: 840px;
    margin: 0 auto;
    background: var(--landing-bg-dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(10, 14, 26, 0.15), 0 0 0 1px rgba(10, 14, 26, 0.08);
}

.landing-code-tabs {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 8px;
    background: rgba(255, 255, 255, 0.02);
}

.landing-code-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--landing-text-very-muted);
    font-size: 13px;
    font-weight: 500;
    font-family: ZatoMainFontMedium, sans-serif;
    padding: 14px 18px;
    margin-bottom: -1px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.landing-code-tab:hover {
    color: var(--landing-text-muted);
}

.landing-code-tab.active {
    color: var(--landing-text-light);
    border-bottom-color: var(--landing-accent-primary);
}

.landing-copy-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--landing-text-muted);
    padding: 4px 0;
    min-width: 5.5em;
    text-align: center;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    font-family: ZatoMainFontMedium, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.landing-code-tabs > .landing-copy-button {
    margin-left: auto;
}

.landing-copy-button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--landing-text-light);
}

.landing-copy-button.copied {
    color: var(--landing-accent-light);
    border-color: rgba(251, 191, 36, 0.4);
    background: rgba(251, 191, 36, 0.08);
}

.landing-code-content {
    display: none;
}

.landing-code-content.active {
    display: block;
}

.landing-code-content pre {
    margin: 0;
    padding: 24px 24px 24px 12px;
    overflow-x: auto;
    background: transparent;
}

.landing-code-content code {
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--landing-text-light);
}

.landing-code-line {
    display: flex;
}

.landing-line-num {
    display: inline-block;
    width: 36px;
    text-align: right;
    padding-right: 16px;
    color: var(--landing-text-very-muted);
    user-select: none;
    flex-shrink: 0;
    opacity: 0.5;
}

.landing-line-code {
    flex: 1;
    white-space: pre;
}

.landing-syn-comment { color: var(--landing-text-very-muted); font-style: italic; }
.landing-syn-keyword { color: #c084fc; }
.landing-syn-string { color: var(--landing-accent-light); }
.landing-syn-number { color: #f97316; }
.landing-syn-function { color: var(--landing-accent-secondary); }
.landing-syn-default { color: var(--landing-text-light); }
.landing-syn-json-key { color: #60a5fa; }

.landing-code-link {
    text-align: center;
    margin-top: 32px;
}

.landing-code-link a,
.landing-code-link a:link,
.landing-code-link a:visited,
.landing-code-link a:hover {
    color: var(--landing-accent-primary) !important;
    font-size: 14px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    transition: opacity 0.2s ease;
}

.landing-code-link a:hover {
    opacity: 0.7;
}

/* ============================
   Section 3: Feature bento grid
   ============================ */

.landing-features {
    background: #f9fafb;
    padding: 120px 48px;
}

.landing-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

a.landing-bento-card,
a.landing-bento-card:link,
a.landing-bento-card:visited,
a.landing-bento-card:hover,
a.landing-bento-card:active {
    text-decoration: none !important;
    color: var(--landing-text-dark) !important;
    display: block;
}

.landing-bento-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--landing-border-light);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.landing-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--landing-accent-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.landing-bento-card:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.06);
}

.landing-bento-card:hover::before {
    opacity: 1;
}

.landing-bento-card.green-accent::before { background: linear-gradient(90deg, transparent, var(--landing-accent-green), transparent); }
.landing-bento-card.green-accent:hover { border-color: rgba(16, 185, 129, 0.2); box-shadow: 0 8px 24px rgba(16, 185, 129, 0.06); }
.landing-bento-card.pink-accent::before { background: linear-gradient(90deg, transparent, var(--landing-accent-pink), transparent); }
.landing-bento-card.pink-accent:hover { border-color: rgba(236, 72, 153, 0.2); box-shadow: 0 8px 24px rgba(236, 72, 153, 0.06); }
.landing-bento-card.orange-accent::before { background: linear-gradient(90deg, transparent, var(--landing-accent-orange), transparent); }
.landing-bento-card.orange-accent:hover { border-color: rgba(245, 158, 11, 0.2); box-shadow: 0 8px 24px rgba(245, 158, 11, 0.06); }
.landing-bento-card.purple-accent::before { background: linear-gradient(90deg, transparent, var(--landing-accent-purple), transparent); }
.landing-bento-card.purple-accent:hover { border-color: rgba(139, 92, 246, 0.2); box-shadow: 0 8px 24px rgba(139, 92, 246, 0.06); }
.landing-bento-card.cyan-accent::before { background: linear-gradient(90deg, transparent, var(--landing-accent-cyan), transparent); }
.landing-bento-card.cyan-accent:hover { border-color: rgba(6, 182, 212, 0.2); box-shadow: 0 8px 24px rgba(6, 182, 212, 0.06); }

.landing-bento-wide {
    grid-column: span 2;
    display: flex;
    gap: 32px;
    align-items: center;
}

.landing-bento-wide .landing-bento-text {
    flex: 1;
}

.landing-bento-wide .landing-bento-code {
    width: 320px;
    flex-shrink: 0;
    background: var(--landing-bg-dark);
    border-radius: 10px;
    padding: 16px 20px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--landing-text-muted);
    white-space: pre;
    overflow: hidden;
}

.landing-bento-icon {
    margin-bottom: 16px;
    color: var(--landing-accent-primary);
}

.landing-bento-card.green-accent .landing-bento-icon { color: var(--landing-accent-green); }
.landing-bento-card.orange-accent .landing-bento-icon { color: var(--landing-accent-orange); }
.landing-bento-card.purple-accent .landing-bento-icon { color: var(--landing-accent-purple); }
.landing-bento-card.cyan-accent .landing-bento-icon { color: var(--landing-accent-cyan); }

.landing-bento-title {
    font-size: 18px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-text-dark);
    margin-bottom: 8px;
}

.landing-bento-desc {
    font-size: 14px;
    color: var(--landing-text-dark-muted);
    line-height: 1.6;
}

.landing-bento-card:not(.landing-bento-wide) .landing-bento-code {
    background: var(--landing-bg-dark);
    border-radius: 10px;
    padding: 16px 20px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--landing-text-muted);
    white-space: pre;
    overflow: hidden;
    margin-top: 16px;
}

/* ============================
   Section 4: How it works and tutorials
   ============================ */

.landing-how-it-works {
    background: #fff;
    padding: 120px 48px;
}

.landing-steps-row {
    display: flex;
    gap: 8px;
    max-width: 960px;
    margin: 0 auto;
}

.landing-step-card {
    flex: 1;
    padding: 32px;
    position: relative;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.landing-step-card:hover {
    background: #fff;
    border-color: rgba(59, 130, 246, 0.13);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.landing-step-card.green-step:hover {
    border-color: rgba(16, 185, 129, 0.13);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.06);
}

.landing-step-card.orange-step:hover {
    border-color: rgba(245, 158, 11, 0.13);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.06);
}

.landing-step-watermark {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 48px;
    font-weight: 700;
    font-family: ZatoMainFontMedium, sans-serif;
    opacity: 0.15;
}

.landing-step-watermark.primary { color: var(--landing-accent-primary); }
.landing-step-watermark.green { color: var(--landing-accent-green); }
.landing-step-watermark.orange { color: var(--landing-accent-orange); }

.landing-step-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    font-family: ZatoMainFontMedium, sans-serif;
    margin-bottom: 20px;
}

.landing-step-badge.primary {
    background: rgba(59, 130, 246, 0.07);
    color: var(--landing-accent-primary);
}

.landing-step-badge.green {
    background: rgba(16, 185, 129, 0.07);
    color: var(--landing-accent-green);
}

.landing-step-badge.orange {
    background: rgba(245, 158, 11, 0.07);
    color: var(--landing-accent-orange);
}

.landing-step-title {
    font-size: 18px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-text-dark);
    margin-bottom: 10px;
}

.landing-step-desc {
    font-size: 14px;
    color: var(--landing-text-dark-muted);
    line-height: 1.65;
}

.landing-step-arrow {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: #d1d5db;
    z-index: 1;
}

.landing-arrow-svg {
    display: inline-block;
    vertical-align: middle;
}

.landing-arrow-svg.inline {
    margin-left: 4px;
}

/* Tutorials */

.landing-tutorials {
    background: var(--landing-bg-dark);
    padding: 120px 48px;
}

.landing-tutorials .landing-section-label {
    color: var(--landing-accent-green);
}

.landing-tutorials .landing-section-heading {
    color: var(--landing-text-light);
}

.landing-tutorials .landing-section-desc {
    color: var(--landing-text-muted);
}

.landing-tutorials-row {
    display: flex;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

a.landing-tutorial-card,
a.landing-tutorial-card:link,
a.landing-tutorial-card:visited,
a.landing-tutorial-card:hover,
a.landing-tutorial-card:active {
    flex: 1;
    display: block;
    background: var(--landing-bg-dark-lighter);
    border-radius: 14px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--landing-text-light) !important;
}

.landing-tutorial-card:hover {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.landing-tutorial-card.primary-accent:hover {
    border-color: rgba(59, 130, 246, 0.25);
    background: rgba(59, 130, 246, 0.04);
}

.landing-tutorial-card.green-accent:hover {
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.04);
}

.landing-tutorial-card.orange-accent:hover {
    border-color: rgba(245, 158, 11, 0.25);
    background: rgba(245, 158, 11, 0.04);
}

.landing-tutorial-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.landing-tutorial-tag.green {
    color: var(--landing-accent-green);
    background: rgba(16, 185, 129, 0.09);
}

.landing-tutorial-tag.primary {
    color: var(--landing-accent-primary);
    background: rgba(59, 130, 246, 0.09);
}

.landing-tutorial-tag.orange {
    color: var(--landing-accent-orange);
    background: rgba(245, 158, 11, 0.09);
}

.landing-tutorial-title {
    font-size: 17px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-text-light);
    margin-bottom: 10px;
}

.landing-tutorial-desc {
    font-size: 14px;
    color: var(--landing-text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
}

.landing-tutorial-link {
    font-size: 13px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.landing-tutorial-link.green { color: var(--landing-accent-green) !important; }
.landing-tutorial-link.primary { color: var(--landing-accent-primary) !important; }
.landing-tutorial-link.orange { color: var(--landing-accent-orange) !important; }

.landing-tutorial-link .landing-arrow-svg {
    display: inline-block;
}

/* ============================
   Section 5: Detailed examples grids
   ============================ */

.landing-examples {
    background: var(--landing-bg-dark);
    padding: 120px 48px 40px;
}

.landing-examples-section {
    margin-bottom: 96px;
}

.landing-examples-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.landing-examples-badge.primary {
    color: var(--landing-accent-primary);
    background: rgba(59, 130, 246, 0.09);
}

.landing-examples-badge.green {
    color: var(--landing-accent-green);
    background: rgba(16, 185, 129, 0.09);
}

.landing-examples-heading {
    font-size: 28px;
    font-weight: 700;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-text-light);
    letter-spacing: -0.5px;
    margin: 0;
}

.landing-examples-header {
    text-align: center;
    margin-bottom: 40px;
}

.landing-examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

a.landing-example-card,
a.landing-example-card:link,
a.landing-example-card:visited,
a.landing-example-card:hover,
a.landing-example-card:active {
    text-decoration: none !important;
    color: var(--landing-text-light) !important;
    display: block;
}

.landing-example-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.landing-example-card.primary-hover:hover { border-color: rgba(59, 130, 246, 0.2); background: rgba(59, 130, 246, 0.04); }
.landing-example-card.purple-hover:hover { border-color: rgba(139, 92, 246, 0.2); background: rgba(139, 92, 246, 0.04); }
.landing-example-card.green-hover:hover { border-color: rgba(16, 185, 129, 0.2); background: rgba(16, 185, 129, 0.04); }
.landing-example-card.orange-hover:hover { border-color: rgba(245, 158, 11, 0.2); background: rgba(245, 158, 11, 0.04); }
.landing-example-card.cyan-hover:hover { border-color: rgba(6, 182, 212, 0.2); background: rgba(6, 182, 212, 0.04); }

.landing-example-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 16px;
}

.landing-example-icon.primary { background: rgba(59, 130, 246, 0.07); color: var(--landing-accent-primary); }
.landing-example-icon.purple { background: rgba(139, 92, 246, 0.07); color: var(--landing-accent-purple); }
.landing-example-icon.pink { background: rgba(236, 72, 153, 0.07); color: var(--landing-accent-pink); }
.landing-example-icon.green { background: rgba(16, 185, 129, 0.07); color: var(--landing-accent-green); }
.landing-example-icon.orange { background: rgba(245, 158, 11, 0.07); color: var(--landing-accent-orange); }
.landing-example-icon.cyan { background: rgba(6, 182, 212, 0.07); color: var(--landing-accent-cyan); }

.landing-example-title {
    font-size: 15px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-text-light);
    margin-bottom: 8px;
}

.landing-example-desc {
    font-size: 13.5px;
    color: var(--landing-text-muted);
    line-height: 1.55;
}

/* ============================
   Section 6: About, FAQ, CTA, Footer
   ============================ */

.landing-about {
    background: #fff;
    padding: 120px 48px;
}

.landing-about-row {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 960px;
    margin: 0 auto 100px;
}

.landing-about-row:last-child {
    margin-bottom: 0;
}

.landing-about-row-reverse {
    flex-direction: row-reverse;
}

.landing-about-text-side {
    flex: 1;
}

.landing-about-visual-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.landing-about-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--landing-accent-primary);
    margin-bottom: 16px;
}

.landing-about-title {
    font-size: 28px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-text-dark);
    letter-spacing: -0.3px;
    margin: 0 0 16px;
    line-height: 1.25;
}

.landing-about-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.75;
    margin: 0;
}

.landing-about-code-block {
    background: var(--landing-bg-dark);
    color: var(--landing-text-muted);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 14px;
    line-height: 2;
    padding: 32px 36px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 380px;
}

.landing-about-code-kw {
    color: var(--landing-accent-primary);
}

/* Platform statement */

.landing-platform-statement {
    padding: 96px 48px 0;
    max-width: 1280px;
    margin: 0 auto;
}

.landing-platform-statement .landing-section-heading {
    font-size: 38px;
    max-width: 720px;
    margin: 0 auto 20px;
    letter-spacing: -0.5px;
}

.landing-platform-statement .landing-section-desc {
    max-width: 640px;
    font-size: 18px;
    line-height: 1.7;
}

/* Platform value */

.landing-platform-value {
    padding: var(--landing-section-gap) 48px;
    max-width: 1280px;
    margin: 0 auto;
}

.landing-value-card {
    display: flex;
    align-items: center;
    gap: 56px;
    margin-bottom: 80px;
    padding: 48px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 32px 64px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.35s ease;
}

.landing-value-card:hover {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 12px 32px rgba(0, 0, 0, 0.08),
        0 48px 80px rgba(0, 0, 0, 0.05);
}

.landing-value-card:last-child {
    margin-bottom: 0;
}

.landing-value-card-reverse {
    flex-direction: row-reverse;
}

.landing-value-text {
    flex: 1;
}

.landing-value-title {
    font-size: 26px;
    font-weight: 700;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-text-dark);
    margin: 0 0 16px;
    letter-spacing: -0.3px;
}

.landing-value-desc {
    font-size: 16px;
    color: var(--landing-text-dark-muted);
    line-height: 1.7;
    margin: 0;
}

.landing-value-img {
    flex: 1;
}

.landing-value-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Value card code widget */

.landing-value-code-widget {
    background: #0d1117;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 32px 64px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-value-code-body {
    padding: 20px 24px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 13.5px;
    line-height: 1.9;
    color: #c9d1d9;
}

.landing-value-code-body pre {
    margin: 0;
    white-space: pre;
    font: inherit;
    color: inherit;
}

.code-yaml-key { color: #79c0ff; }
.code-yaml-colon { color: #c9d1d9; }
.code-yaml-value { color: #a5d6ff; }
.code-yaml-number { color: #f0c674; }
.code-yaml-bool { color: #ff7b72; }

/* Integration breadth */

.landing-integrations {
    background: linear-gradient(180deg, #f8f9fb 0%, #f1f3f7 100%);
    padding: var(--landing-section-gap) 48px;
}

.landing-connector-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto 40px;
}

.landing-connector-pill {
    display: inline-block;
    padding: 10px 22px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 28px;
    font-size: 14px;
    font-family: ZatoMainFont, sans-serif;
    color: var(--landing-text-dark);
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease;
}

.landing-connector-pill:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.landing-integrations-note {
    text-align: center;
    font-size: 15px;
    color: var(--landing-text-dark-muted);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* The difference */

.landing-difference {
    padding: var(--landing-section-gap) 48px;
    max-width: 1280px;
    margin: 0 auto;
}

.landing-difference-hero {
    text-align: center;
    margin-bottom: 48px;
}

.landing-difference-hero img {
    max-width: 70%;
    height: auto;
    border-radius: 10px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 4px 10px rgba(0, 0, 0, 0.18),
        0 12px 24px rgba(0, 0, 0, 0.12);
}

.landing-difference-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.landing-difference-card {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    border-radius: 16px;
    padding: 40px 48px;
    border: 1px solid rgba(59, 130, 246, 0.08);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.03),
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 12px 32px rgba(59, 130, 246, 0.04);
    transition: box-shadow 0.35s ease;
    overflow: hidden;
}


.landing-difference-card:hover {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.03),
        0 8px 20px rgba(0, 0, 0, 0.05),
        0 16px 40px rgba(59, 130, 246, 0.07);
}

.landing-difference-concern {
    font-size: 20px;
    font-weight: 700;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-text-dark);
    margin: 0 0 24px;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-difference-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow:
        0 1px 3px rgba(59, 130, 246, 0.08),
        0 4px 12px rgba(59, 130, 246, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.landing-difference-icon {
    flex-shrink: 0;
}

.landing-difference-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.landing-difference-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.landing-difference-without {
    background: #f8f8f9;
    border-radius: 12px;
    padding: 20px 24px;
}

.landing-difference-without .landing-difference-label {
    color: var(--landing-text-very-muted);
}

.landing-difference-with {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f7ff 100%);
    border-radius: 12px;
    padding: 20px 24px;
}

.landing-difference-with .landing-difference-label {
    color: var(--landing-accent-primary);
}

.landing-difference-without p,
.landing-difference-with p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.landing-difference-without p {
    color: var(--landing-text-dark-muted);
}

.landing-difference-with p {
    color: #1a1a2e;
    font-weight: 600;
}

.landing-difference-screenshot {
    margin-top: 28px;
}

.landing-difference-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* FAQ */

.landing-faq {
    background: linear-gradient(180deg, #f8f9fb 0%, #f1f3f7 100%);
    padding: 120px 48px;
}

.landing-faq-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 48px;
}

.landing-faq .landing-section-heading {
    font-size: 36px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}


.landing-faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.landing-faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    text-align: left;
    cursor: pointer;
    font-family: ZatoMainFont, sans-serif;
    transition: color 0.2s ease;
}

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

.landing-faq-question-text {
    font-size: 16px;
    font-weight: 500;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-text-dark);
    padding-right: 24px;
    transition: color 0.2s ease;
}

.landing-faq-toggle {
    font-size: 20px;
    color: var(--landing-text-dark-muted);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
}

.landing-faq-item.open .landing-faq-toggle {
    transform: rotate(45deg);
}

.landing-faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.15s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.1s ease;
    cursor: pointer;
}

.landing-faq-item.open .landing-faq-answer {
    max-height: 600px;
    opacity: 1;
}

.landing-faq-answer-text {
    font-size: 15px;
    color: var(--landing-text-dark-muted);
    line-height: 1.7;
    padding-bottom: 24px;
}

/* Final CTA */

.landing-final-cta {
    background: var(--landing-bg-dark);
    padding: 120px 48px;
    position: relative;
    overflow: hidden;
}

.landing-final-cta-orb {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -50%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.landing-final-cta-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 48px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.landing-final-cta-heading {
    font-size: 44px;
    font-weight: 700;
    font-family: ZatoMainFontMedium, sans-serif;
    color: var(--landing-text-light);
    letter-spacing: -1px;
    margin: 0 0 20px;
}

.landing-final-cta-sub {
    font-size: 18px;
    color: var(--landing-text-muted);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 40px;
}

.landing-final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.landing-final-cta-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.landing-trust-bullet {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #cdd3db;
    font-weight: 600;
    font-family: ZatoMainFontMedium, sans-serif;
}

svg.landing-trust-check {
    width: 0.9rem;
    height: 0.9rem;
    vertical-align: -0.1em;
    color: #43a047;
    background-color: rgba(67, 160, 71, 0.18);
    border: 1px solid rgba(67, 160, 71, 0.4);
    border-radius: 50%;
    padding: 2px;
}

svg.landing-icon-check {
    width: 1em;
    height: 1em;
    color: currentColor;
}


.landing-page + .sf-footer {
    margin-top: 0;
}

/* ============================
   Animations
   ============================ */

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

@keyframes gridPulse {
    0%, 100% { opacity: 0.03; }
    50% { opacity: 0.07; }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================
   Responsive
   ============================ */

@media (max-width: 1024px) {
    .landing-hero-row {
        flex-direction: column;
        gap: 48px;
    }

    .landing-hero-headline {
        font-size: 40px;
    }

    .landing-bento-wide {
        flex-direction: column;
    }

    .landing-bento-wide .landing-bento-code {
        width: 100%;
    }

    .landing-steps-row {
        flex-direction: column;
    }

    .landing-step-arrow {
        display: none;
    }

    .landing-tutorials-row {
        flex-direction: column;
    }

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

}

@media (max-width: 768px) {
    .landing-hero-content {
        padding: 48px 24px 80px;
    }

    .landing-hero-headline {
        font-size: 32px;
    }

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

    .landing-hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .landing-code-showcase,
    .landing-features,
    .landing-how-it-works,
    .landing-tutorials,
    .landing-examples,
    .landing-about,
    .landing-faq,
    .landing-final-cta,
    .landing-footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .landing-bento-grid {
        grid-template-columns: 1fr;
    }

    .landing-bento-wide {
        grid-column: span 1;
    }

    .landing-examples-grid {
        grid-template-columns: 1fr;
    }

    .landing-final-cta-heading {
        font-size: 32px;
    }

    .landing-final-cta-trust {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .landing-about-content,
    .landing-faq-content,
    .landing-final-cta-content {
        padding: 0;
    }

    .landing-trust-bar {
        padding: 40px 24px;
    }

    .landing-trust-logos {
        flex-wrap: wrap;
        gap: 24px;
    }

    .landing-code-tabs {
        overflow-x: auto;
    }
}

.landing-hero-screenshot {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.08);
}

.landing-screenshot-img {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================
   Slideshow
   ============================ */

.landing-hero-slideshow {
    border-radius: 6px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 32px 64px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    background: #0a0a12;
}

.landing-slideshow-track {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.42;
}

.landing-slideshow-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.landing-slideshow-slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
    cursor: pointer;
}

.landing-slideshow-slide .landing-screenshot-img {
    display: block;
    width: 100%;
    height: 100%;
}

.landing-slideshow-code {
    width: 100%;
    height: 100%;
    background: #0d1117;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.landing-slideshow-code-body {
    padding: 14px 18px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 11.5px;
    line-height: 1.75;
    color: #c9d1d9;
    overflow: hidden;
    flex: 1;
}

.landing-slideshow-code-body pre {
    margin: 0;
    white-space: pre;
    font: inherit;
    color: inherit;
}

.landing-slideshow-code .code-keyword { color: #ff7b72; }
.landing-slideshow-code .code-class { color: #f0c674; }
.landing-slideshow-code .code-func { color: #d2a8ff; }
.landing-slideshow-code .code-string { color: #a5d6ff; }
.landing-slideshow-code .code-comment { color: #8b949e; }

.landing-slideshow-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 0 8px;
}

.landing-slideshow-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.landing-slideshow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    border: none;
    padding: 0;
}

.landing-slideshow-dot.active {
    background: #c9a96e;
    transform: scale(1.35);
}

.landing-slideshow-timer-bar {
    height: 1px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.landing-slideshow-timer-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #b8945f, #d4b77a);
    transition: width 50ms linear;
}

/* ============================
   Lightbox
   ============================ */

.landing-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: landingLightboxIn 0.25s ease-out;
    cursor: zoom-out;
}

@keyframes landingLightboxIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.landing-lightbox-img {
    max-width: 92vw;
    max-height: 90vh;
    border-radius: 6px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    cursor: default;
}

.landing-lightbox-code {
    max-width: 72vw;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    font-size: 15px;
    line-height: 1.9;
    cursor: default;
}

.landing-lightbox-code .landing-slideshow-code-body {
    font-size: 15px;
    line-height: 1.9;
    padding: 32px 40px;
    overflow: auto;
}

.landing-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 10px;
    transition: color 0.2s;
}

.landing-lightbox-close:hover {
    color: #fff;
}

.landing-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    padding: 0;
}

.landing-lightbox-arrow:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.landing-lightbox-prev { left: 20px; }
.landing-lightbox-next { right: 20px; }
