/* Base styles */
:root {
    --bg-dark: #08090a;
    --text-primary: #FFFFFF;
    --text-secondary: #8A8A8D;
    --blue-400: #60A5FA;
    --green-400: #4ADE80;
    --yellow-400: #FACC15;
    --purple-400: #A78BFA;
    --red-400: #F87171;
    --gray-400: #9CA3AF;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    min-height: 100vh;
}

/* Layout utilities */
.fixed { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }

/* Flex utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }


/* Spacing utilities */
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pt-32 { padding-top: 8rem; }
.pb-20 { padding-bottom: 5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

/* Width utilities */
.w-full { width: 100%; }
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }
.w-32 { width: 8rem; }
.h-32 { height: 8rem; }

/* Typography */
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.text-3xl { font-size: 1.875rem; }
.text-5xl { font-size: 3rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }

/* Alignment utilities */
.align-middle {
    vertical-align: middle;
}

/* Visual effects */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.overflow-hidden { overflow: hidden; }

/* Header styles */
header {
    background-color: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

/* Hammer icon video hover effect */
.hammer-icon-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 0.25rem;
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
}

.hammer-icon-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 4rem;
    height: 4rem;
    min-width: 4rem;
    min-height: 4rem;
    transform: scale(1.3);
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: inherit;
    z-index: 1;
    will-change: opacity;
}

.hammer-icon-image {
    width: 4rem;
    height: 4rem;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
    z-index: 0;
    transform-origin: center center;
    will-change: transform, opacity;
}

/* Override group-hover scale during video transition */
.hammer-icon-container.video-active .hammer-icon-image {
    transform: scale(0.75) !important;
    opacity: 0;
}

.hammer-icon-container.video-active .hammer-icon-video {
    opacity: 1;
}

/* Prevent group hover scale when video is active */
.hammer-icon-container.video-active .group-hover\:scale-105 {
    transform: scale(0.75) !important;
}

/* Button styles */
.btn {
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: white;
    color: black;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Link styles */
a {
    color: inherit;
    text-decoration: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.nav-link:hover {
    color: white;
}

/* Gradient effects */
.gradient-blur {
    background: radial-gradient(circle at center, rgba(125, 125, 125, 0.1) 0%, transparent 70%);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Typography colors */
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/30 { color: rgba(255, 255, 255, 0.3); }
.text-blue-400 { color: var(--blue-400); }
.text-green-400 { color: var(--green-400); }
.text-yellow-400 { color: var(--yellow-400); }
.text-purple-400 { color: var(--purple-400); }
.text-red-400 { color: var(--red-400); }
.text-gray-400 { color: var(--gray-400); }
.text-secondary { color: var(--text-secondary); }

/* Max width utilities */
.max-w-xs { max-width: 20rem; }

/* Hero section */
.hero-section {
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.handwritten {
    font-family: 'Caveat', cursive;
    color: #64B5F6;
    transform: rotate(-5deg);
    font-size: 1.1em;
}

.logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* How It Works section */
.icon-container {
    transition: transform 0.3s ease;
}

.icon-container:hover {
    transform: translateY(-5px);
}

.how-it-works {
    background-color: var(--bg-dark);
}

.workflow-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.workflow-item {
    text-align: center;
    padding: 0rem;
    transition: transform 0.3s ease;
}

.workflow-item:hover {
    transform: translateY(-5px);
}

.workflow-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.separator-icon {
    width: 8rem;
    height: 8rem;
    opacity: 0.6;
}

.dots {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.hammer-tag {
    font-family: monospace;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.hammer-tag:nth-child(1) { color: var(--blue-400); }
.hammer-tag:nth-child(3) { color: #F472B6; } /* Pink for @todo */
.hammer-tag:nth-child(4) { color: var(--green-400); }

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem !important;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .space-x-6 > * + * {
        margin-left: 1rem;
    }

    /* Hide waitlist button on mobile, but only in navigation */
    header [data-modal="waitlist"] {
        display: none;
    }

    /* How It Works responsive */
    .flex.justify-between {
        flex-direction: column;
    }

    .max-w-xs {
        max-width: 100%;
    }

    /* Hero text mobile adjustments */
    .hero-content p {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        line-height: 1.5;
    }

    .hero-content p span.relative {
        display: inline-block;
        margin-top: 0.5rem;
    }

    /* Adjust spacing for handwritten overlays */
    .handwritten {
        font-size: 1em;
        top: -2rem;  /* Adjust this value as needed */
    }

    /* Adjust hero text spacing */
    .hero-content br.mb-4 {
        display: block;
        content: "";
        margin-bottom: 2rem;
    }

    /* Adjust handwritten text positioning */
    .handwritten {
        font-size: 0.9em;
        white-space: nowrap;
    }

    /* Adjust spacing for crossed-out text blocks */
    .relative.inline-block {
        margin: 0.25rem 0.25rem;
        display: inline-flex;
        align-items: center;
    }

    /* Ensure proper line height for better readability */
    .text-xl {
        line-height: 1.6;
    }

    /* Add space between text blocks */
    .mt-8 {
        margin-top: 2rem;
    }

    .pt-4 {
        padding-top: 1rem;
    }

    /* App preview section mobile padding */
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Hero section mobile padding */
    .pt-32 {
        padding-top: 6rem;
    }
}

@media (max-width: 1024px) {
    .workflow-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .workflow-separator {
        flex-direction: row;
        justify-content: center;
        padding: 1rem 0;
    }

    .workflow-item {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Features section */
.features {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(18, 18, 18, 1) 100%);
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    opacity: 0.8;
}

.code-example {
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
}

.hammer-code {
    font-family: 'SF Mono', Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 0.875rem;
    color: #E5E7EB;
}

/* Responsive adjustments for features */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-item {
        padding: 1.5rem;
    }
}

/* ============================================
   Features Section (New)
   ============================================ */

.features-section {
    position: relative;
}

.features-main-title {
    text-align: left;
    color: var(--text-primary);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-link {
    color: rgba(255, 107, 53, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.feature-link:hover {
    color: rgba(255, 107, 53, 1);
    gap: 0.75rem;
}

.feature-thumbnail {
    width: 100%;
    height: 240px;
    border-radius: 0.5rem;
    overflow: visible;
    margin-top: auto;
    position: relative;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(0, 180, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(0, 180, 255, 0.1) 0%, 
            transparent 50%,
            rgba(255, 107, 53, 0.1) 100%
        );
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Code Editor Component */
.code-editor {
    width: calc(100% - 1.5rem);
    height: calc(100% - 1.5rem);
    background: #1e1e1e;
    border-radius: 0.375rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.code-editor-header {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-editor-header .window-dots {
    display: flex;
    gap: 0.375rem;
}

.code-editor-header .window-dots span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.code-editor-header .window-dots span:nth-child(1) {
    background: #FF5F57;
}

.code-editor-header .window-dots span:nth-child(2) {
    background: #FEBC2E;
}

.code-editor-header .window-dots span:nth-child(3) {
    background: #28C840;
}

.code-editor-tab {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.375rem 0.5rem;
}

.code-editor-filename {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.625rem;
    font-family: 'SF Mono', Consolas, Monaco, 'Andale Mono', monospace;
}

.code-editor-content {
    flex: 1;
    overflow: hidden;
    padding: 0.5rem;
    background: #1e1e1e;
}

.code-editor-content pre {
    margin: 0;
    padding: 0;
    font-family: 'SF Mono', Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 0.625rem;
    line-height: 1.5;
    color: #d4d4d4;
    overflow: visible;
}

.code-editor-content code {
    display: block;
    color: #d4d4d4;
    font-size: inherit;
}

/* Override highlight.js theme for dark code editor */
.code-editor-content .hljs {
    background: #1e1e1e;
    color: #d4d4d4;
}

.code-editor-content .hljs-comment,
.code-editor-content .hljs-quote {
    color: #6A9955;
}

.code-editor-content .hljs-string,
.code-editor-content .hljs-attr {
    color: #CE9178;
}

.code-editor-content .hljs-tag,
.code-editor-content .hljs-name {
    color: #569CD6;
}

.code-editor-content .hljs-meta,
.code-editor-content .hljs-keyword {
    color: #C586C0;
}


.feature-thumbnail-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 180, 255, 0.2) 0%, 
        rgba(0, 180, 255, 0.1) 25%,
        transparent 50%,
        rgba(255, 107, 53, 0.1) 75%,
        rgba(255, 107, 53, 0.2) 100%
    );
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(0, 180, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 107, 53, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(0, 180, 255, 0.2) 0%, 
            transparent 50%,
            rgba(255, 107, 53, 0.2) 100%
        );
}

.features-cta {
    margin-top: 3rem;
}

.features-cta .btn {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* ============================================
   Content Collections Section
   ============================================ */

.content-section {
    position: relative;
}

.content-section-title {
    text-align: left;
    color: var(--text-primary);
}

.content-section-subtitle {
    text-align: left;
    max-width: 40rem;
    line-height: 1.6;
}

/* Split layout: content file | arrow | template */
.content-split-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 3rem;
}

.content-split-panel {
    display: flex;
}

.content-split-panel .code-editor {
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.content-split-panel .code-editor-content pre {
    font-size: 0.6875rem;
    line-height: 1.6;
}

.content-split-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
}

/* Highlight cards */
.content-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.content-highlight-item {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    transition: border-color 0.3s ease;
}

.content-highlight-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.content-highlight-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.content-highlight-item p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .content-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-section-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .content-section-subtitle {
        text-align: center;
    }

    .content-split-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .content-split-connector {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }

    .content-highlights {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   AI Stage Section
   ============================================ */

.ai-stage-section {
    position: relative;
}

.ai-stage-title {
    color: var(--text-primary);
    margin-bottom: 4rem;
}

.ai-stage-description {
    margin-bottom: 0;
}

/* Split Layout: 1/3 + 2/3 */
.ai-stage-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

/* Left Column: IDE Logos (1/3) */
.ai-ide-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
}

.ai-ide-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0.7;
}

.ai-ide-item:hover {
    transform: translateY(-6px);
    opacity: 1;
}

.ai-ide-logo {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.ai-ide-logo-large {
    width: 80px;
    height: 80px;
}

.ai-ide-item:hover .ai-ide-logo {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.ai-ide-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ai-ide-logo svg {
    width: 100%;
    height: 100%;
}

.ai-ide-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.ai-ide-tag {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Right Column: Content Card (2/3) */
.ai-content-column {
    display: flex;
    align-items: stretch;
}

.ai-content-card {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    padding: 2rem;
}

.ai-content-card p {
    line-height: 1.7;
}

.ai-stage-description {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
}

.ai-integration-content {
    text-align: left;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-integration-content p {
    line-height: 1.75;
}

.ai-integration-content p:first-child {
    margin-bottom: 1rem;
}

.code-inline {
    font-family: 'SF Mono', Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    color: var(--blue-400);
    border: 1px solid rgba(0, 180, 255, 0.2);
    font-weight: 500;
}

/* Responsive adjustments for AI stage section */
@media (max-width: 1024px) {
    .ai-stage-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .ai-ide-column {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
    
    .ai-ide-item {
        flex: 0 0 auto;
    }
    
    .ai-ide-logo {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 768px) {
    .ai-stage-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .ai-stage-layout {
        gap: 2.5rem;
    }
    
    .ai-ide-column {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .ai-ide-logo {
        width: 56px;
        height: 56px;
    }
    
    .ai-content-card {
        padding: 2rem 1.5rem;
    }
    
    .ai-stage-description {
        font-size: 1.125rem;
    }
    
    .ai-integration-content {
        padding-top: 1.25rem;
    }
}

/* ============================================
   Footer Section
   ============================================ */

.footer-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 2rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

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

/* Footer Links Grid */
.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    letter-spacing: -0.01em;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--text-primary);
}

/* Footer Ask AI */
.footer-ask-ai {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0 1.5rem;
}

.footer-ask-ai-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    white-space: nowrap;
}

.footer-ask-ai-icons {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.footer-ask-ai-link {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.45;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-ask-ai-link:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer-ask-ai-link img {
    display: block;
    border-radius: 6px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-made-by {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-built-with {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-heart-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
    color: #ef4444;
    fill: #ef4444;
}

.footer-beach-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-beach-link:hover {
    color: var(--text-primary);
}

/* Responsive adjustments for footer */
@media (max-width: 1024px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-top: 1.5rem;
    }
    
    .footer-column-title {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-link {
        font-size: 0.8125rem;
    }

    .footer-ask-ai {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Responsive adjustments for features section */

@media (max-width: 1024px) {
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .features-section .features-grid .feature-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .features-main-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .features-section .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-section .features-grid .feature-card:last-child {
        grid-column: 1;
        max-width: 100%;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-thumbnail {
        height: 180px;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .feature-description {
        font-size: 0.9375rem;
    }
}

/* Text decoration utilities */
.line-through {
    text-decoration: line-through;
}

/* Additional positioning utilities */
.-top-2 { top: -0.5rem; }
.top-2 { top: 0.5rem; }
.-top-4 { top: -1rem; }
.top-4 { top: 1rem; }
.-top-6 { top: -1.5rem; }
.top-6 { top: 1.5rem; }
.-top-8 { top: -2rem; }
.top-8 { top: 2rem; }
.-top-12 { top: -3rem; }
.top-12 { top: 3rem; }
.-top-16 { top: -4rem; }
.top-16 { top: 4rem; }

.left-0 { left: 0; }
.-left-2 { left: -0.5rem; }
.left-2 { left: 0.5rem; }
.-left-4 { left: -1rem; }
.left-4 { left: 1rem; }
.-left-6 { left: -1.5rem; }
.left-6 { left: 1.5rem; }
.-left-8 { left: -2rem; }
.left-8 { left: 2rem; }
.-left-12 { left: -3rem; }
.left-12 { left: 3rem; }
.-left-16 { left: -4rem; }
.left-16 { left: 4rem; }

.right-0 { right: 0; }
.-right-2 { right: -0.5rem; }
.right-2 { right: 0.5rem; }
.-right-4 { right: -1rem; }
.right-4 { right: 1rem; }
.-right-6 { right: -1.5rem; }
.right-6 { right: 1.5rem; }
.-right-8 { right: -2rem; }
.right-8 { right: 2rem; }
.-right-12 { right: -3rem; }
.right-12 { right: 3rem; }
.-right-16 { right: -4rem; }
.right-16 { right: 4rem; }

.bottom-0 { bottom: 0; }
.-bottom-2 { bottom: -0.5rem; }
.bottom-2 { bottom: 0.5rem; }
.-bottom-4 { bottom: -1rem; }
.bottom-4 { bottom: 1rem; }
.-bottom-6 { bottom: -1.5rem; }
.bottom-6 { bottom: 1.5rem; }
.-bottom-8 { bottom: -2rem; }
.bottom-8 { bottom: 2rem; }
.-bottom-12 { bottom: -3rem; }
.bottom-12 { bottom: 3rem; }
.-bottom-16 { bottom: -4rem; }
.bottom-16 { bottom: 4rem; }

/* Swift Powered Section styles */
.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.backdrop-blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.group.inline-flex,
.inline-flex.group {
    flex-direction: row;
    text-align: left;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

/* Group hover utilities */
.group:hover .group-hover\:opacity-75 {
    opacity: 0.75;
}

.group:hover .group-hover\:ring-white\/20 {
    --tw-ring-color: rgba(255, 255, 255, 0.2);
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Ring utilities */
.ring-1 {
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 0 1px var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow);
}

.ring-white\/10 {
    --tw-ring-color: rgba(255, 255, 255, 0.1);
}

/* Transition utilities */
.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
    transition-duration: 300ms;
}

/* Blur effect */
.blur {
    filter: blur(12px);
}

/* Text wrapping utilities */
.whitespace-nowrap {
    white-space: nowrap;
}

/* Modal styles */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.modal.hidden {
    display: none;
    opacity: 0;
}

.modal-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.modal-container {
    position: relative;
    z-index: 101;
    max-width: 500px;
    width: 90%;
    margin: 1.5rem;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: modalFadeIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-content {
    height: 100%;
    width: 100%;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.3);
}

#waitlistForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
}

#waitlistForm input,
#waitlistForm textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

#waitlistForm textarea {
    min-height: 100px;
    resize: vertical;
}

#waitlistForm button[type="submit"] {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: black;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#waitlistForm button[type="submit"]:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Form input focus styles */
input:focus, textarea:focus {
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.1);
}

/* Text gradient utility */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.text-transparent {
    color: transparent;
}

.icon-button {
    background: transparent;
    border: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.icon-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.icon-button svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 1.5;
}

.modal-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

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

.modal-header h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Background gradient */
.bg-gradient {
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-dark);
    /* Subtle gradient: electric blue top-left to warm orange bottom-right */
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 180, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(0, 180, 255, 0.04) 0%, 
            rgba(0, 180, 255, 0.02) 25%,
            transparent 50%,
            rgba(255, 107, 53, 0.02) 75%,
            rgba(255, 107, 53, 0.04) 100%
        );
}

.pointer-events-none {
    pointer-events: none;
}

/* Accent gradient styles */
.accent-gradient {
    width: 100%;
    max-width: 1200px;
    transform: rotate(-15deg) scale(2);
    mix-blend-mode: plus-lighter;
    opacity: 0.8;
}

.-left-1/4 {
    left: -35%;
}

.top-1/4 {
    top: 15%;
}

/* Swift section styles */
.swift-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 65rem;
    margin: 0 auto;
}

.swift-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swift-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.swift-feature-thumbnail {
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-dark);
}

.swift-thumbnail-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 180, 255, 0.2) 0%, 
        rgba(0, 180, 255, 0.1) 25%,
        transparent 50%,
        rgba(255, 107, 53, 0.1) 75%,
        rgba(255, 107, 53, 0.2) 100%
    );
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(0, 180, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 107, 53, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(0, 180, 255, 0.2) 0%, 
            transparent 50%,
            rgba(255, 107, 53, 0.2) 100%
        );
}

.swift-feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.swift-feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .swift-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .swift-feature-card {
        padding: 1.25rem;
    }
    
    .swift-feature-thumbnail {
        height: 160px;
    }
    
    .swift-feature-title {
        font-size: 1.25rem;
    }
    
    .swift-feature-description {
        font-size: 0.9375rem;
    }
} 

/* ============================================
   Forge Deploy Section
   ============================================ */

.forge-deploy-section {
    position: relative;
}

/* Split Layout: 1/3 + 2/3 */
.forge-deploy-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

/* Left Column: Content (1/3) */
.forge-content-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.forge-badge {
    display: inline-block;
}

.forge-badge-img {
    width: 40px;
    height: 40px;
    display: block;
}

.forge-logo {
    display: inline-block;
}

.forge-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.forge-heading {
    color: var(--text-primary);
    line-height: 1.1;
}

.forge-subtext {
    line-height: 1.4;
}

.forge-description {
    line-height: 1.75;
}

/* CTA Buttons */
.forge-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.forge-cta-buttons .btn {
    white-space: nowrap;
}

/* Right Column: Image (2/3) */
.forge-image-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.forge-image-wrapper {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
}

.forge-ui-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Responsive adjustments for Forge deploy section */
@media (max-width: 1024px) {
    .forge-deploy-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .forge-content-column {
        text-align: center;
    }
    
    .forge-badge,
    .forge-logo {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .forge-cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .forge-heading {
        font-size: 2.5rem;
    }
    
    .forge-subtext {
        font-size: 1.125rem;
    }
    
    .forge-description {
        font-size: 1rem;
    }
    
    .forge-deploy-layout {
        gap: 2.5rem;
    }
    
    .forge-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .forge-cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Window chrome styles */
.window-chrome {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.75rem;
    padding: 0.75rem;
    width: fit-content;
    margin-bottom: 2rem;
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

.window-dots span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.window-dots span:nth-child(1) {
    background: #FF5F57;
}

.window-dots span:nth-child(2) {
    background: #FEBC2E;
}

.window-dots span:nth-child(3) {
    background: #28C840;
}

/* ============================================
   App Preview Scroll Effect
   ============================================ */

/* Step 1: Section container - provides scroll space */
.app-scroll-section {
    min-height: 200vh;
    padding: 4rem 1rem;
    position: relative;
}

/* Step 2: Sticky container - pins to viewport during scroll */
.app-scroll-container {
    position: sticky;
    top: 0;
    height: 100vh;
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
    padding-top: 0;
}

/* Step 3: Desktop wallpaper - fades in during scroll */
.app-desktop-wallpaper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease-out;
    /* Clipped to container bounds to prevent overflow */
    clip-path: inset(0);
}

.app-desktop-wallpaper.visible {
    opacity: 1;
}

.app-desktop-bg {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(0, 180, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(0, 180, 255, 0.05) 0%, 
            transparent 30%,
            transparent 70%,
            rgba(255, 107, 53, 0.05) 100%
        );
}

/* App preview captions — contextual text that fades in/out during scroll */
.app-caption {
    position: absolute;
    z-index: 4;
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: -0.01em;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.app-caption-top {
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.app-caption-settings {
    bottom: 3rem;
    right: 3rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 768px) {
    .app-caption-settings {
        right: 1.5rem;
        bottom: 2rem;
    }
}

/* Step 4: App window container - transforms during scroll */
.app-window-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    will-change: transform;
    cursor: grab;
}

.app-window-container.dragging {
    cursor: grabbing;
}

.app-window-container.draggable {
    cursor: grab;
}

/* Step 5: App window box - the actual window */
.app-window-box {
    position: relative;
    background: var(--bg-dark);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.8);
    will-change: transform;
}

/* Step 6: Window content/image */
.app-window-content {
    position: relative;
    overflow: hidden;
}

.app-window-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Build Settings window container */
.build-settings-container {
    position: absolute;
    z-index: 3;
    width: auto;
    max-width: 600px;
    will-change: transform, opacity;
    cursor: grab;
    opacity: 0;
    pointer-events: none;
    /* No CSS transitions - GSAP handles all animations */
}

.build-settings-container.visible {
    pointer-events: all;
}

.build-settings-container.dragging {
    cursor: grabbing;
}

.build-settings-container.draggable {
    cursor: grab;
}

/* Build Settings window box */
.build-settings-box {
    position: relative;
    background: var(--bg-dark);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.8);
    will-change: transform;
}

/* Build Settings window content/image */
.build-settings-content {
    position: relative;
    overflow: hidden;
}

.build-settings-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-scroll-section {
        min-height: 150vh;
        padding: 6rem 1rem;
    }
    
    .build-settings-container {
        max-width: 400px;
    }
}

/* Swift compact statement */
.swift-statement {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.swift-statement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    display: inline-flex;
}

.swift-statement-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    opacity: 0.8;
}

.swift-statement-text {
    font-size: 1.0625rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    letter-spacing: -0.01em;
}

/* Form validation styles */
.error-message {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(248, 113, 113, 0.9);
    transition: all 0.2s ease;
}

input.border-red-400\/50 {
    border-color: rgba(248, 113, 113, 0.5);
}

input.focus\:border-red-400\/50:focus {
    border-color: rgba(248, 113, 113, 0.5);
}

input.focus\:ring-red-400\/20:focus {
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.2);
}

/* Button disabled state */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

button:disabled:hover {
    background-color: white;
    transform: none;
}

/* Display utilities */
.hidden {
    display: none;
}

.block {
    display: block;
}

/* Prose content styles for legal pages */
.prose-content {
    color: var(--text-primary);
    line-height: 1.7;
}

.prose-content a {
    color: var(--blue-400);
    text-decoration: underline;
    transition: color 0.2s ease;
}

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

.prose-content ul {
    margin-bottom: 1rem;
}

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

.prose-content section {
    margin-bottom: 2rem;
}

.prose-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 200px;
}

.cookie-banner-message {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-banner-link {
    color: var(--blue-400);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-banner-link:hover {
    color: var(--green-400);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-banner-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-banner-btn-primary {
    background-color: white;
    color: black;
}

.cookie-banner-btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cookie-banner-btn-secondary {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-banner-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-banner-text {
        min-width: auto;
    }
    
    .cookie-banner-actions {
        justify-content: stretch;
    }
    
    .cookie-banner-btn {
        flex: 1;
    }
}

/* Download Page Styles */
.download-hero {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.download-hero-video-container {
    width: 8rem;
    height: 8rem;
    border-radius: 0.9rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.35);
    border-radius: inherit;
}

.download-form-container {
    animation: fadeIn 0.6s ease-out;
    margin-top: 2rem;
}

.download-versions {
    margin-top: 2rem;
}

/* Border color utilities */
.border {
    border-width: 1px;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.border-white\/30 {
    border-color: rgba(255, 255, 255, 0.3);
}

.border-white\/50 {
    border-color: rgba(255, 255, 255, 0.5);
}

.version-card {
    background-color: rgba(255, 255, 255, 0.03);
    transition: border-color 0.3s ease;
    height: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.version-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.coming-soon-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.coming-soon-section .grid {
    margin-bottom: 3rem;
}

.info-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Download Form Styles */
#downloadForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#downloadForm input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

#downloadForm input:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

#downloadForm input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#downloadForm button[type="submit"] {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: black;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#downloadForm button[type="submit"]:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.9);
}

#downloadForm button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Grid utilities */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:block {
        display: block;
    }
    
    .md\:p-8 {
        padding: 2rem;
    }
    
    .md\:max-w-2xl {
        max-width: 42rem;
    }
    
    .md\:max-w-6xl {
        max-width: 72rem;
    }
}

/* Changelog page styles */
.changelog-entry {
    transition: opacity 0.3s ease;
}

.type-badge,
.change-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid;
}

.type-badge {
    padding: 0.375rem 0.875rem;
    font-size: 0.875rem;
}

.change-type-badge {
    padding: 0.125rem 0.5rem;
    font-size: 0.6875rem;
}

.changes-list {
    margin-top: 1rem;
}

.change-item {
    transition: border-color 0.2s ease;
}

.change-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--blue-400);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility classes for changelog */
.border-gray-800 {
    border-color: rgba(255, 255, 255, 0.1);
}

.last\:border-b-0:last-child {
    border-bottom: none;
}

.pl-4 {
    padding-left: 1rem;
}

.border-l-2 {
    border-left-width: 2px;
}

.ml-20 {
    margin-left: 5rem;
}

/* Background color utilities for badges */
.bg-blue-500\/20 { background-color: rgba(96, 165, 250, 0.2); }
.bg-green-500\/20 { background-color: rgba(74, 222, 128, 0.2); }
.bg-yellow-500\/20 { background-color: rgba(250, 204, 21, 0.2); }
.bg-purple-500\/20 { background-color: rgba(167, 139, 250, 0.2); }
.bg-gray-500\/20 { background-color: rgba(156, 163, 175, 0.2); }

.border-blue-500\/30 { border-color: rgba(96, 165, 250, 0.3); }
.border-green-500\/30 { border-color: rgba(74, 222, 128, 0.3); }
.border-yellow-500\/30 { border-color: rgba(250, 204, 21, 0.3); }
.border-purple-500\/30 { border-color: rgba(167, 139, 250, 0.3); }
.border-gray-500\/30 { border-color: rgba(156, 163, 175, 0.3); }

@media (max-width: 768px) {
    .ml-20 {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .change-item {
        padding-left: 0.75rem;
    }
}

/* ============================================
   DUAL MODE SYSTEM
   ============================================ */

/* Container holds both panels — no overflow:hidden to preserve sticky positioning in app-preview */
.dual-mode-container {
    position: relative;
    min-height: 100vh;
}

/* Both panels fill the container width */
.mode-panel {
    width: 100%;
}

/* Agent panel sits underneath */
.agent-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 100%;
    z-index: 1;
}

/* Human panel on top, clipped by slider */
.human-panel {
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, var(--slider-x, 100%) 0, var(--slider-x, 100%) 100%, 0 100%);
    will-change: clip-path;
    background-color: var(--bg-dark);
}

/* Move the gradient inside the human panel */
.human-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}


/* ============================================
   AGENT MODE BACKGROUND
   ============================================ */

.agent-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #050505;
    background-image:
        linear-gradient(rgba(0, 255, 65, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.agent-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.04) 2px,
        rgba(0, 0, 0, 0.04) 4px
    );
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.agent-scanlines.visible {
    opacity: 1;
}


/* ============================================
   MODE SLIDER
   ============================================ */

.mode-slider {
    position: fixed;
    top: 0;
    bottom: 0;
    left: var(--slider-x, 96%);
    width: 0;
    z-index: 90;
    pointer-events: none;
    transform: translateX(-50%);
}

.slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 10%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 90%,
        transparent 100%
    );
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0;
    pointer-events: all;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    z-index: 2;
}

.slider-label {
    padding: 6px 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0.9;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.slider-label-human {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 4px 0 0 4px;
    backdrop-filter: blur(8px);
}

.slider-label-agent {
    font-family: 'JetBrains Mono', monospace;
    background: rgba(0, 255, 65, 0.12);
    color: rgba(0, 255, 65, 0.8);
    border-radius: 0 4px 4px 0;
    backdrop-filter: blur(8px);
}

.slider-grip {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: ew-resize;
}

.slider-grip span {
    display: block;
    width: 14px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1px;
}

.slider-glow {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 255, 65, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: sliderPulse 3s ease-in-out infinite;
}

@keyframes sliderPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}

.slider-handle:hover .slider-grip {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.slider-handle:active .slider-grip {
    background: rgba(255, 255, 255, 0.3);
}

/* Hide slider on mobile */
@media (max-width: 768px) {
    .mode-slider {
        display: none;
    }

    .agent-panel {
        display: none;
    }

    .human-panel {
        clip-path: none !important;
    }

    .agent-scanlines {
        display: none;
    }
}


/* ============================================
   AGENT MODE TYPOGRAPHY & COMMON
   ============================================ */

.agent-panel {
    font-family: 'JetBrains Mono', monospace;
    color: #d4d4d4;
    background: #050505;
}

.agent-prompt {
    color: #00FF41;
    font-weight: 700;
    margin-right: 0.25em;
}

.agent-section-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.25rem;
    font-weight: 700;
    color: #e0e0e0;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.agent-section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3.5rem;
    line-height: 1.6;
}


/* ============================================
   AGENT HERO
   ============================================ */

.agent-hero-section {
    padding: 10rem 2rem 5rem;
    position: relative;
    z-index: 1;
}

.agent-hero-container {
    max-width: 56rem;
    margin: 0 auto;
}

.agent-binary-strip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    color: rgba(0, 255, 65, 0.15);
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    overflow: hidden;
    white-space: nowrap;
}

.agent-hero-title-block {
    margin-bottom: 2rem;
}

.agent-hero-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 4.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 0.75rem 0;
}

.agent-cli-tag {
    color: #00FF41;
    margin-left: 0.2em;
    font-weight: 400;
    font-size: 0.55em;
    vertical-align: super;
    letter-spacing: 0.1em;
}

.agent-cursor {
    color: #00FF41;
    animation: cursorBlink 1s step-end infinite;
}

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

.agent-hero-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin: 0;
    letter-spacing: -0.01em;
}

.agent-hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 40rem;
}

/* Hero Terminal */
.agent-terminal-hero {
    margin-bottom: 3rem;
}

/* Agent CTA block */
.agent-hero-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.agent-install-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.agent-install-cmd {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 255, 65, 0.06);
    border: 1px solid rgba(0, 255, 65, 0.15);
    border-radius: 6px;
    padding: 0.75rem 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9375rem;
    color: #e0e0e0;
}

.agent-install-or {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    padding-left: 1.75rem;
}

.agent-install-cmd .t-prompt {
    color: #00FF41;
}

.agent-install-cmd code {
    color: #ffffff;
}

.agent-copy-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
}

.agent-copy-btn:hover {
    color: #00FF41;
    background: rgba(0, 255, 65, 0.1);
}

.agent-docs-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9375rem;
    color: rgba(0, 212, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.agent-docs-link:hover {
    color: #00D4FF;
}

.agent-arrow {
    display: inline-block;
    transition: transform 0.2s;
}

.agent-docs-link:hover .agent-arrow {
    transform: translateX(4px);
}


/* ============================================
   AGENT TERMINAL COMPONENT
   ============================================ */

.agent-terminal {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 255, 65, 0.04);
}

.agent-terminal-chrome {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.dot-close { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.dot-minimize { width: 10px; height: 10px; border-radius: 50%; background: #FEBC2E; }
.dot-expand { width: 10px; height: 10px; border-radius: 50%; background: #28C840; }

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.02em;
}

.agent-terminal-body {
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
}

.agent-terminal-body pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: #b0b0b0;
    white-space: pre;
    tab-size: 2;
}

/* Terminal syntax tokens */
.t-prompt { color: #00FF41; font-weight: 600; }
.t-cmd { color: #ffffff; font-weight: 500; }
.t-green { color: #00FF41; }
.t-dim { color: rgba(255, 255, 255, 0.3); }
.t-success { color: #00FF41; font-weight: 600; }
.t-section { color: #00D4FF; font-weight: 600; text-transform: uppercase; font-size: 0.6875rem; letter-spacing: 0.08em; }
.t-key { color: #00D4FF; }
.t-str { color: #CE9178; }
.t-num { color: #B5CEA8; }
.t-keyword { color: #C586C0; }
.t-comment { color: #6A9955; }
.t-cursor-blink { color: #00FF41; animation: cursorBlink 1s step-end infinite; }


/* ============================================
   AGENT FEATURES
   ============================================ */

.agent-features-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.agent-features-container {
    max-width: 72rem;
    margin: 0 auto;
}

.agent-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.agent-feature-card {
    display: flex;
    flex-direction: column;
}

.agent-feature-card .agent-terminal {
    flex: 1;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.agent-feature-card:hover .agent-terminal {
    border-color: rgba(0, 255, 65, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 65, 0.04);
}

.agent-feature-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.375rem;
}

.agent-feature-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

/* CLI flags strip */
.agent-flags-strip {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.agent-flag {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.agent-flag code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    color: #00D4FF;
    font-weight: 500;
}

.agent-flag span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}


/* ============================================
   AGENT WORKFLOW
   ============================================ */

.agent-workflow-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.agent-workflow-container {
    max-width: 72rem;
    margin: 0 auto;
}

/* Pipeline visualization */
.agent-pipeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.agent-pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
    max-width: 180px;
    padding: 1rem;
}

.agent-pipeline-icon {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    background: rgba(0, 255, 65, 0.04);
}

.agent-pipeline-glyph {
    font-size: 1.5rem;
    color: #00FF41;
    opacity: 0.8;
}

.agent-pipeline-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.375rem;
}

.agent-pipeline-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
}

.agent-pipeline-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    color: rgba(0, 255, 65, 0.3);
    min-width: 40px;
}

/* Wide terminal */
.agent-terminal-wide {
    margin-bottom: 4rem;
}

/* Differentiator cards */
.agent-diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.agent-diff-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.3s ease;
}

.agent-diff-card:hover {
    border-color: rgba(0, 255, 65, 0.15);
}

.agent-diff-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    color: #00FF41;
    background: rgba(0, 255, 65, 0.06);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 65, 0.1);
}

.agent-diff-card h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.agent-diff-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin: 0;
}


/* ============================================
   AGENT CTA
   ============================================ */

.agent-cta-section {
    padding: 6rem 2rem 8rem;
    position: relative;
    z-index: 1;
}

.agent-cta-container {
    max-width: 56rem;
    margin: 0 auto;
}

.agent-cta-bottom {
    text-align: center;
    padding-top: 2rem;
}

.agent-cta-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 2rem;
}

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

.agent-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #050505;
    background: #00FF41;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.agent-btn-primary:hover {
    background: #33ff66;
    transform: translateY(-1px);
}

.agent-btn-primary .t-prompt {
    color: #050505;
    opacity: 0.6;
}

.agent-btn-secondary {
    display: inline-flex;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.agent-btn-secondary:hover {
    border-color: rgba(0, 255, 65, 0.3);
    color: #ffffff;
}


/* ============================================
   AGENT MODE — RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .agent-features-grid {
        grid-template-columns: 1fr;
    }

    .agent-diff-grid {
        grid-template-columns: 1fr;
    }

    .agent-pipeline {
        flex-direction: column;
        align-items: center;
    }

    .agent-pipeline-connector {
        transform: rotate(90deg);
        padding: 0;
    }
}

@media (max-width: 768px) {
    .agent-hero-title {
        font-size: 2.5rem;
    }

    .agent-section-title {
        font-size: 1.5rem;
    }

    .agent-hero-section {
        padding: 8rem 1.5rem 3rem;
    }

    .agent-features-section,
    .agent-workflow-section,
    .agent-cta-section {
        padding: 3rem 1.5rem;
    }

    .agent-terminal-body pre {
        font-size: 0.6875rem;
    }

    .agent-flags-strip {
        flex-direction: column;
        gap: 1rem;
    }
}


/* ============================================
   HEADER — AGENT MODE TRANSITION
   ============================================ */

header {
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

header.agent-active {
    background-color: rgba(5, 5, 5, 0.92);
    border-bottom-color: rgba(0, 255, 65, 0.12);
}

header.agent-active .font-semibold {
    font-family: 'JetBrains Mono', monospace;
    color: #00FF41;
    transition: color 0.4s ease;
}

header.agent-active .btn-primary {
    background-color: #00FF41;
    color: #050505;
    transition: background-color 0.4s ease, color 0.4s ease;
}

header.agent-active .nav-link {
    color: rgba(0, 255, 65, 0.6);
    transition: color 0.4s ease;
}

header.agent-active .nav-link:hover {
    color: #00FF41;
}