:root {
    --bg-color: #111111;
    --text-color: #e8e8e8;
    --text-light: #999;
    --accent-color: #e17120;
    --accent-hover: #c75c13;
    --accent-gradient: linear-gradient(135deg, #ffb56a, #f59e3a, #e17120, #c75812);
    --secondary-bg: #1a1a1a;
    --border-color: rgba(255, 255, 255, 0.08);
    --code-bg: #0a0a0a;
    --code-text: #f8d9bd;
    --success: #ffb25a;

    --font-heading: 'Inter', 'Noto Sans JP', sans-serif;
    --font-body: 'Inter', 'Noto Sans JP', sans-serif;
    --font-mono: 'Fira Code', monospace;

    --container-width: 1200px;
    --header-height: 56px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    margin-left: 16px;
}

.btn-secondary:hover {
    background-color: rgba(245, 158, 11, 0.12);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-header {
    padding: 6px 16px;
    font-size: 0.85rem;
    border-radius: 50px;
}

/* Header */
.header {
    height: var(--header-height);
    position: sticky;
    top: 0;
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
}

.header-container {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-left {
    justify-self: start;
}

.nav-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background-color 0.2s;
}

.lang-switch:hover {
    color: var(--accent-color);
    background-color: rgba(245, 158, 11, 0.12);
}

.lang-icon {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-color);
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
}

.nav-link:hover {
    color: var(--accent-color);
}

.github-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    position: relative;
    overflow: hidden;
}

.hero-background {
    --slide-width: 132px;
    --slide-height: 74px;
    --slide-gap-x: 28px;
    --slide-gap-y: 22px;
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, var(--slide-width));
    grid-auto-rows: var(--slide-height);
    justify-content: center;
    align-content: center;
    column-gap: var(--slide-gap-x);
    row-gap: var(--slide-gap-y);
    padding: 24px 32px;
    opacity: 0.35;
    transform: rotate(-4deg);
}

.slide-thumbnail {
    --slide-tilt: 0deg;
    position: relative;
    width: var(--slide-width);
    height: var(--slide-height);
    border-radius: 4px;
    background-color: #2a1a10;
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    transform: rotate(var(--slide-tilt, 0deg));
    will-change: transform, filter;
}

.slide-thumbnail:hover {
    transform: rotate(var(--slide-tilt, 0deg)) scale(1.35);
    z-index: 1;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.7), 0 0 48px rgba(225, 113, 32, 0.4), 0 0 80px rgba(251, 146, 60, 0.2);
    filter: brightness(1.6) saturate(1.3);
}

/* Slide Content Layouts (White/Glassmorphism style) */
.slide-thumbnail::before,
.slide-thumbnail::after {
    content: '';
    display: block;
    position: absolute;
    background-color: rgba(255,255,255,0.3);
    border-radius: 2px;
}

/* Default Title Bar (Common to most) */
.slide-thumbnail::before {
    top: 10%;
    left: 10%;
    width: 60%;
    height: 12%;
}

/* Specific Layout Variations */

/* Title Slide: Centered big text */
.slide-thumbnail.type-title::before {
    top: 35%;
    left: 15%;
    width: 70%;
    height: 15%;
    background-color: rgba(255,255,255,0.5); /* Stronger title */
}
.slide-thumbnail.type-title::after {
    top: 55%;
    left: 25%;
    width: 50%;
    height: 8%;
    background-color: rgba(255,255,255,0.3);
}

/* List Slide: Title + Bullets */
.slide-thumbnail.type-list::after {
    top: 30%;
    left: 10%;
    right: 10%;
    bottom: 15%;
    background: repeating-linear-gradient(
        transparent,
        transparent 8px,
        rgba(255,255,255,0.25) 8px,
        rgba(255,255,255,0.25) 12px
    );
    background-color: transparent; /* Override default */
}

/* Chart Slide: Title + Bar Chart simulation */
.slide-thumbnail.type-chart::after {
    bottom: 15%;
    left: 10%;
    width: 80%;
    height: 50%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.4) 15%,
        transparent 15%, transparent 20%,
        rgba(255,255,255,0.6) 20%, rgba(255,255,255,0.6) 35%,
        transparent 35%, transparent 40%,
        rgba(255,255,255,0.3) 40%, rgba(255,255,255,0.3) 55%,
        transparent 55%, transparent 60%,
        rgba(255,255,255,0.5) 60%, rgba(255,255,255,0.5) 75%
    );
    /* Clip path to make bars uneven height */
    clip-path: polygon(0% 100%, 0% 20%, 15% 20%, 15% 100%, 20% 100%, 20% 5%, 35% 5%, 35% 100%, 40% 100%, 40% 40%, 55% 40%, 55% 100%, 60% 100%, 60% 15%, 75% 15%, 75% 100%);
    background-color: transparent;
}

/* Split Slide: Left text, Right image/content */
.slide-thumbnail.type-split::before {
    width: 40%; /* Shorter title */
}
.slide-thumbnail.type-split::after {
    top: 10%;
    right: 10%;
    width: 35%;
    height: 80%;
    background-color: rgba(255,255,255,0.2);
    border-radius: 4px;
}
/* Simulate text lines on the left using multiple box-shadows */
.slide-thumbnail.type-split {
    box-shadow:
        inset 10px -40px 0 -38px rgba(255,255,255,0.3), /* Line 1 */
        inset 10px -55px 0 -38px rgba(255,255,255,0.3), /* Line 2 */
        inset 10px -70px 0 -38px rgba(255,255,255,0.3),  /* Line 3 */
        0 2px 4px rgba(0,0,0,0.3); /* Original shadow */
}

/* Code Slide: Title + Code Block (Glass style) */
.slide-thumbnail.type-code::after {
    top: 30%;
    left: 10%;
    width: 80%;
    height: 55%;
    background-color: rgba(255,255,255,0.15); /* Glassy white */
    border: 1px solid rgba(255,255,255,0.2);
    /* Simulate code lines inside */
    background-image: repeating-linear-gradient(
        transparent,
        transparent 6px,
        rgba(255,255,255,0.2) 6px,
        rgba(255,255,255,0.2) 8px
    );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(225, 113, 32, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(251, 146, 60, 0.06) 0%, transparent 50%),
        radial-gradient(circle at center, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.8) 40%, rgba(17,17,17,0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2; /* Ensure content is above background */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #ffffff;
    background: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: var(--accent-gradient);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-oss-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    background-color: rgba(225, 113, 32, 0.08);
    border: 1.5px solid rgba(245, 158, 11, 0.2);
    border-radius: 50px;
}

.oss-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: inline-block;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 6px rgba(245, 158, 11, 0.5); }
    50% { box-shadow: 0 0 14px rgba(251, 146, 60, 0.9); }
}

/* Hero Visual (Code Window) */
.code-window {
    background-color: var(--code-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    font-family: var(--font-mono);
    color: var(--code-text);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-terminal {
    background-color: var(--code-bg);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: var(--radius-lg);
}

.window-header {
    background-color: var(--secondary-bg);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.red { background-color: #ffb26a; }
.yellow { background-color: #f59e3a; }
.green { background-color: #e17120; }

.window-title {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: #bfa892;
    font-weight: 500;
}

.window-tabs {
    display: flex;
    gap: 2px;
}

.window-tab {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 4px;
    color: #8f725a;
    cursor: default;
}

.window-tab.active {
    background-color: rgba(245, 158, 11, 0.15);
    color: #ffd4a9;
}

.code-content {
    padding: 20px 24px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 3px 0;
}

.code-line.dimmed {
    opacity: 0.5;
}

.line-num {
    color: #5d4638;
    font-size: 0.75rem;
    min-width: 18px;
    text-align: right;
    user-select: none;
}

.code-line-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.04);
    margin: 8px 0;
}

.prompt { color: #ffb155; font-weight: bold; margin-right: 4px; }
.cmd { color: #ffc88b; }
.string { color: #ffe1be; }
.output-text { color: #b08966; }
.ai-response { color: #888; display: block; margin-top: 8px; font-style: italic; }
.success { color: #ff9b45; }

.ai-label {
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.03em;
}

.ai-typing {
    color: #ffd9ac;
    font-style: italic;
}

.cursor {
    color: #ffb155;
    animation: blink 1s step-end infinite;
}

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

.terminal-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 16px;
    background-color: var(--secondary-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.7rem;
    color: #8f725a;
}

.statusbar-center {
    color: #c4a185;
}

/* Slide Showcase Marquee */
.slide-showcase {
    padding: 100px 0 60px;
    overflow: hidden;
}

.slide-showcase-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 24px;
}

.slide-showcase-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 16px;
    padding-right: 16px;
}

.marquee-content img {
    width: 280px;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    display: block;
}

.marquee-left {
    animation: marquee-scroll-left 60s linear infinite;
}

.marquee-right {
    animation: marquee-scroll-right 60s linear infinite;
}

@keyframes marquee-scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@media (max-width: 600px) {
    .slide-showcase {
        padding: 60px 0 40px;
    }
    .marquee-content img {
        width: 200px;
    }
    .marquee-left {
        animation-duration: 40s;
    }
    .marquee-right {
        animation-duration: 40s;
    }
}

/* Usage Flow Section */
.usage-flow {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.usage-header-decorated {
    position: relative;
    overflow: visible;
}

.usage-deco {
    position: absolute;
    border-radius: 4px;
    opacity: 0.5;
    pointer-events: none;
}

/* Slide content lines */
.usage-deco::before,
.usage-deco::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.35);
    border-radius: 2px;
}

.usage-deco::before {
    top: 18%;
    left: 12%;
    width: 55%;
    height: 14%;
}

.usage-deco::after {
    top: 42%;
    left: 12%;
    width: 75%;
    height: 8%;
}

/* Left side slides */
.usage-deco-l1 {
    width: 80px;
    height: 50px;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    top: 0;
    left: -60px;
    transform: rotate(-8deg);
}

.usage-deco-l2 {
    width: 64px;
    height: 40px;
    background: linear-gradient(135deg, #ffbf7a, #e17120);
    top: 60px;
    left: -20px;
    transform: rotate(4deg);
}

.usage-deco-l3 {
    width: 56px;
    height: 35px;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    top: 115px;
    left: -50px;
    transform: rotate(-3deg);
}

/* Right side slides */
.usage-deco-r1 {
    width: 72px;
    height: 45px;
    background: linear-gradient(135deg, #f59e3a, #c85f17);
    top: 5px;
    right: -50px;
    transform: rotate(6deg);
}

.usage-deco-r2 {
    width: 60px;
    height: 38px;
    background: linear-gradient(135deg, #fde047, #f59e0b);
    top: 70px;
    right: -25px;
    transform: rotate(-5deg);
}

.usage-deco-r3 {
    width: 68px;
    height: 42px;
    background: linear-gradient(135deg, #ffab5c, #b24d11);
    top: 120px;
    right: -55px;
    transform: rotate(3deg);
}

/* Bottom decorative slides (outline style) */
.usage-flow-decorated {
    position: relative;
    overflow: hidden;
}

.usage-bottom-deco {
    position: absolute;
    border-radius: 6px;
    border: 2px solid rgba(225, 113, 32, 0.25);
    background: transparent;
    opacity: 0.45;
    pointer-events: none;
}

.usage-bottom-deco::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 14%;
    width: 45%;
    height: 12%;
    background: rgba(225, 113, 32, 0.2);
    border-radius: 2px;
}

.usage-bottom-deco::after {
    content: '';
    position: absolute;
    top: 42%;
    left: 14%;
    width: 65%;
    height: 7%;
    background: rgba(225, 113, 32, 0.15);
    border-radius: 2px;
}

/* Left bottom slides */
.usage-bottom-l1 {
    width: 96px;
    height: 54px;
    bottom: 80px;
    left: -30px;
    transform: rotate(7deg);
    border-color: rgba(251, 191, 36, 0.3);
}

.usage-bottom-l2 {
    width: 72px;
    height: 41px;
    bottom: 150px;
    left: -55px;
    transform: rotate(-10deg);
    border-color: rgba(249, 115, 22, 0.3);
}

.usage-bottom-l3 {
    width: 60px;
    height: 34px;
    bottom: 30px;
    left: -10px;
    transform: rotate(3deg);
    border-color: rgba(245, 158, 58, 0.25);
}

/* Right bottom slides */
.usage-bottom-r1 {
    width: 88px;
    height: 50px;
    bottom: 90px;
    right: -40px;
    transform: rotate(-6deg);
    border-color: rgba(225, 113, 32, 0.3);
}

.usage-bottom-r2 {
    width: 68px;
    height: 38px;
    bottom: 160px;
    right: -15px;
    transform: rotate(9deg);
    border-color: rgba(253, 224, 71, 0.3);
}

.usage-bottom-r3 {
    width: 52px;
    height: 30px;
    bottom: 40px;
    right: -50px;
    transform: rotate(-4deg);
    border-color: rgba(200, 95, 23, 0.3);
}

@media (max-width: 960px) {
    .usage-deco, .usage-bottom-deco, .cta-deco { display: none; }
}

.usage-flow-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: transparent;
    background-image: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    display: inline-block;
    margin-bottom: 16px;
}

.usage-timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.usage-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 19px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--border-color), rgba(245, 158, 11, 0.3), rgba(251, 146, 60, 0.3), var(--border-color));
}

.usage-step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 28px;
    padding-bottom: 48px;
    position: relative;
}

.usage-step:last-child {
    padding-bottom: 0;
}

.usage-step-marker {
    display: flex;
    justify-content: center;
    z-index: 1;
}

.usage-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.usage-step-body {
    padding-top: 6px;
}

.usage-step-body h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.usage-step-body > p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.usage-code-snippet {
    background-color: var(--code-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-family: var(--font-mono);
}

.usage-code-header {
    padding: 10px 14px;
    display: flex;
    gap: 6px;
    background-color: var(--secondary-bg);
}

.usage-code-snippet pre {
    padding: 16px;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--code-text);
    overflow-x: auto;
}

.usage-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.usage-preview-badge svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.usage-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gradient);
    animation: pulse-glow 2s ease-in-out infinite;
    margin-left: 4px;
    flex-shrink: 0;
}

.usage-live-text {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.85rem;
}

.usage-share-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.usage-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* Concept Section */
.concept {
    padding: 100px 0;
    background-color: var(--secondary-bg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 64px;
}

.grid {
    display: grid;
    gap: 32px;
}

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

.card {
    background-color: var(--bg-color);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
}

.concept-card {
    text-align: left;
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 146, 60, 0.15));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.feature-item {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.feature-item:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Keep separator on the second-last item when total cards are odd in 2-column grid */
.feature-item:nth-last-child(2):nth-child(even) {
    border-bottom: 1px solid var(--border-color);
}

.feature-content h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.feature-content p {
    color: var(--text-light);
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a, #1e1510, #1a1a1a);
    color: #ffffff;
}

.how-it-works .section-title { color: #ffb56a; }
.how-it-works .section-subtitle { color: rgba(255,255,255,0.7); }

.steps {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 32px;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    line-height: 1;
}

.step-content h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.step-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
}

.code-block {
    background-color: rgba(225, 113, 32, 0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    overflow-x: auto;
}

.code-block pre {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #ffffff;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--secondary-bg) 0%, rgba(245, 158, 11, 0.03) 100%);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-deco {
    position: absolute;
    border-radius: 6px;
    opacity: 0.12;
    pointer-events: none;
}

.cta-deco::before,
.cta-deco::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
}

.cta-deco::before {
    top: 20%;
    left: 12%;
    width: 50%;
    height: 14%;
}

.cta-deco::after {
    top: 44%;
    left: 12%;
    width: 70%;
    height: 8%;
}

/* Left scattered slides */
.cta-deco-1 {
    width: 120px;
    height: 68px;
    background: linear-gradient(160deg, #ffb56a, #e17120);
    top: 15%;
    left: 3%;
    transform: rotate(-12deg);
}

.cta-deco-2 {
    width: 90px;
    height: 51px;
    background: linear-gradient(140deg, #fbbf24, #f97316);
    top: 55%;
    left: 8%;
    transform: rotate(6deg);
}

.cta-deco-3 {
    width: 70px;
    height: 40px;
    background: linear-gradient(170deg, #fde047, #fb923c);
    bottom: 10%;
    left: 2%;
    transform: rotate(-4deg);
}

.cta-deco-4 {
    width: 56px;
    height: 32px;
    background: linear-gradient(135deg, #f59e3a, #c75812);
    top: 8%;
    left: 18%;
    transform: rotate(15deg);
}

/* Right scattered slides */
.cta-deco-5 {
    width: 110px;
    height: 62px;
    background: linear-gradient(150deg, #f97316, #ef4444);
    top: 12%;
    right: 4%;
    transform: rotate(10deg);
}

.cta-deco-6 {
    width: 80px;
    height: 45px;
    background: linear-gradient(165deg, #ffb56a, #c85f17);
    top: 58%;
    right: 6%;
    transform: rotate(-8deg);
}

.cta-deco-7 {
    width: 64px;
    height: 36px;
    background: linear-gradient(130deg, #fbbf24, #ef4444);
    bottom: 12%;
    right: 2%;
    transform: rotate(5deg);
}

.cta-deco-8 {
    width: 100px;
    height: 56px;
    background: linear-gradient(145deg, #fcd34d, #e17120);
    top: 5%;
    right: 20%;
    transform: rotate(-14deg);
}


.cta-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: transparent;
    background-image: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    display: inline-block;
    margin-bottom: 16px;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    padding: 64px 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.logo-img-sm {
    height: 24px;
    width: auto;
}

.copyright {
    color: var(--text-light);
    font-size: 0.85rem;
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-link {
    font-weight: 600;
    color: var(--accent-color);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
    .hero-background {
        --slide-width: 108px;
        --slide-height: 61px;
        --slide-gap-x: 20px;
        --slide-gap-y: 16px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

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

    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

    .feature-item {
        border-bottom: 1px solid var(--border-color);
    }
    .feature-item:last-child {
        border-bottom: none;
    }

    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        align-items: center;
    }

    .footer-left {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .hero-background {
        --slide-width: 92px;
        --slide-height: 52px;
        --slide-gap-x: 14px;
        --slide-gap-y: 12px;
        opacity: 0.38;
    }

    .header-container {
        padding: 0 16px;
        display: flex;
        justify-content: space-between;
    }

    .nav-left {
        display: none;
    }

    .logo {
        justify-self: start;
    }

    .nav-right {
        gap: 12px;
    }

    .nav-right .btn-header {
        display: none;
    }

    .hero {
        padding: 48px 0;
    }

    .hero-eyebrow {
        font-size: 0.7rem;
        padding: 0;
        white-space: nowrap;
    }

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

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-visual {
        max-width: 100%;
        overflow: hidden;
    }

    .code-content {
        padding: 16px;
        font-size: 0.75rem;
        overflow-x: auto;
        white-space: nowrap;
    }

    .hero-terminal {
        max-width: 100%;
    }

    .btn {
        width: 100%;
        margin: 0 0 12px 0;
    }

    .btn-secondary {
        margin-left: 0;
    }

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

    .usage-flow {
        padding: 64px 0;
    }

    .usage-step {
        grid-template-columns: 32px 1fr;
        gap: 16px;
        padding-bottom: 36px;
    }

    .usage-timeline::before {
        left: 15px;
    }

    .usage-step-num {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .usage-step-body h3 {
        font-size: 1.15rem;
    }

    .usage-code-snippet pre {
        font-size: 0.75rem;
        white-space: pre-wrap;
        word-break: break-all;
    }

    .usage-preview-badge {
        font-size: 0.8rem;
        padding: 10px 14px;
    }

    .usage-share-options {
        gap: 8px;
    }

    .usage-option {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .concept,
    .features {
        padding: 64px 0;
    }

    .how-it-works {
        padding: 64px 0;
    }

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

    .section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 40px;
    }

    .card {
        padding: 24px;
    }

    .step {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .step-number {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .code-block {
        overflow-x: auto;
    }

    .code-block pre {
        font-size: 0.8rem;
        white-space: pre;
    }

    .cta-section {
        padding: 64px 0;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .footer {
        padding: 40px 0;
    }
}
