/* AutoNode v5.0.0 - Cyber Glassmorphism & High-Converting SaaS Design System */
:root {
    --bg-dark: #070913;
    --bg-surface: rgba(13, 18, 36, 0.75);
    --bg-surface-hover: rgba(20, 28, 54, 0.88);
    --bg-card: rgba(15, 23, 42, 0.65);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dim: #475569;
    
    --brand-primary: #6366f1;
    --brand-primary-glow: rgba(99, 102, 241, 0.4);
    --brand-cyan: #06b6d4;
    --brand-cyan-glow: rgba(6, 182, 212, 0.4);
    --brand-purple: #8b5cf6;
    --brand-emerald: #10b981;
    --brand-emerald-glow: rgba(16, 185, 129, 0.35);
    --brand-amber: #f59e0b;
    --brand-rose: #f43f5e;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.35);
    --border-cyan-glow: rgba(6, 182, 212, 0.35);
    
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 1px 1px rgba(255, 255, 255, 0.08);
    --shadow-glow: 0 0 40px -10px rgba(99, 102, 241, 0.3);
    
    --max-width: 1240px;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    width: 100%;
}

img, canvas, svg, video, pre, table {
    max-width: 100%;
}

/* Background Cyber Grid & Ambient Radial Lighting */
#cyber-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.glow-hero {
    top: 5%;
    left: 30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(6, 182, 212, 0.15) 60%, transparent 80%);
}

.glow-features {
    top: 40%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(99, 102, 241, 0.1) 60%, transparent 80%);
}

.glow-pricing {
    top: 75%;
    left: 10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(16, 185, 129, 0.1) 60%, transparent 80%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    width: 100%;
}

a {
    color: var(--brand-cyan);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #38bdf8;
}

/* Typography & Gradient Utilities */
.text-brand-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-kicker {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-cyan);
    margin-bottom: 12px;
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 56px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Header & Sleek Proportional Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(7, 9, 19, 0.85);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
}

.logo-mark {
    width: 30px;
    height: 30px;
}

.version-tag {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.2));
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--brand-cyan);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.main-nav a:hover {
    color: #ffffff;
}

/* Header Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-nav-secondary {
    display: inline-flex;
    align-items: center;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary) !important;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.btn-nav-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-nav-primary {
    display: inline-flex;
    align-items: center;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    color: #ffffff !important;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border: 1px solid rgba(99, 102, 241, 0.4);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
    transition: all 0.2s ease;
}

.btn-nav-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

/* Mobile Drawer Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 101;
    border-radius: 6px;
}

.menu-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.menu-toggle.active .bar-1 {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .bar-2 {
    opacity: 0;
}

.menu-toggle.active .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 57px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 57px);
    overflow-y: auto;
    background: rgba(7, 9, 19, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    flex-direction: column;
    gap: 20px;
    z-index: 99;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.mobile-nav-drawer.active {
    display: flex;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-links a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 4px 0;
}

.mobile-links a:hover {
    color: #ffffff;
}

.mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

/* Standard Buttons & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #7c3aed 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 50%, #6d28d9 100%);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary) !important;
    border-color: var(--border-subtle);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.btn-lg {
    font-size: 1.02rem;
    padding: 13px 26px;
    border-radius: var(--radius-lg);
}

.btn-sm {
    font-size: 0.82rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

.btn-success { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.btn-warning { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.btn-danger  { background: rgba(244, 63, 94, 0.2); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.4); }

.shadow-glow {
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

/* Hero Section */
.hero {
    padding: 70px 0 50px 0;
    position: relative;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.98fr;
    gap: 44px;
    align-items: center;
}

.hero-content {
    min-width: 0;
}

.badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 9999px;
    margin-bottom: 20px;
    max-width: 100%;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e0e7ff;
    line-height: 1.4;
}

.hero-content h1 {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    word-break: break-word;
}

.hero-lead {
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-social-proof {
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.proof-avatars {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.avatar-pill {
    font-size: 0.78rem;
    font-family: var(--font-mono);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: 9999px;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pill-dot.green { background: #10b981; }
.pill-dot.purple { background: #a855f7; }
.pill-dot.cyan { background: #06b6d4; }

.proof-text {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.proof-text strong {
    color: var(--text-secondary);
}

/* Interactive Hero Code Window */
.hero-visual {
    position: relative;
    min-width: 0;
    width: 100%;
}

.code-window {
    background: #090d16;
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    overflow: hidden;
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid var(--border-subtle);
    gap: 8px;
}

.window-controls {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-tabs {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.4);
    padding: 3px;
    border-radius: 8px;
}

.code-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-tab.active {
    background: rgba(99, 102, 241, 0.25);
    color: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.4);
}

.code-action-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.code-action-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.tab-pane {
    display: none;
    padding: 20px;
    min-height: 285px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.tab-pane.active {
    display: block;
}

pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.55;
    color: #e2e8f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    width: 100%;
}

.token-key { color: #38bdf8; font-weight: 600; }
.token-string { color: #a5f3fc; }
.c-bracket { color: #818cf8; }

/* Visual Magic Approval Card */
.visual-magic-card {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
}

.magic-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-indicator.yellow { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }

.magic-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    padding: 2px 8px;
    border-radius: 4px;
}

.magic-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.magic-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.magic-link-pill {
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    max-width: 100%;
    overflow: hidden;
}

.magic-link-pill code {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: #94a3b8;
    word-break: break-all;
}

/* Visual AI Guardrails Card */
.visual-guardrails-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guard-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 10px 14px;
    border-radius: var(--radius-md);
}

.guard-icon { font-size: 1.1rem; flex-shrink: 0; }

.guard-text strong {
    display: block;
    font-size: 0.86rem;
    color: #ffffff;
    margin-bottom: 2px;
}

.guard-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Floating Execution Status Badge */
.floating-badge {
    position: absolute;
    bottom: -18px;
    right: 20px;
    background: rgba(13, 18, 36, 0.95);
    border: 1px solid var(--border-cyan-glow);
    padding: 10px 18px;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(12px);
    z-index: 10;
}

.pulse-circle {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 1.8s infinite;
    flex-shrink: 0;
}

.floating-badge strong {
    display: block;
    font-size: 0.84rem;
    color: #ffffff;
}

.floating-badge span {
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* Infinite Marquee Integrations Bar */
.integrations-bar {
    padding: 36px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(7, 9, 19, 0.5);
    overflow: hidden;
    width: 100%;
}

.integrations-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.marquee-track-wrap {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.brand-item {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 7px 16px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.brand-item:hover {
    color: #ffffff;
    border-color: var(--border-glow);
    background: rgba(99, 102, 241, 0.12);
}

.brand-emoji { font-size: 1rem; }

/* Problem vs Solution Matrix */
.problem-solution {
    padding: 90px 0;
    width: 100%;
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ps-card {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: 34px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(16px);
    position: relative;
    transition: all 0.3s ease;
}

.problem-card {
    border-color: rgba(244, 63, 94, 0.25);
}

.solution-card {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(13, 18, 36, 0.85) 100%);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.ps-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.ps-icon.red { background: rgba(244, 63, 94, 0.15); color: #f43f5e; }
.ps-icon.green { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.ps-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.ps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ps-list li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ps-list li strong {
    color: #ffffff;
}

/* 6 Flagship Modules */
.features {
    padding: 50px 0 90px 0;
    width: 100%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 30px 26px;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-surface-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.feature-icon-box.cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.feature-icon-box.purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.feature-icon-box.amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.feature-icon-box.green { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.feature-icon-box.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.feature-icon-box.indigo { background: rgba(99, 102, 241, 0.15); color: #6366f1; }

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.feature-badge {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #818cf8;
}

/* Use Cases */
.use-cases {
    padding: 80px 0;
    background: rgba(7, 9, 19, 0.6);
    width: 100%;
}

.use-case-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.uc-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.uc-tab.active {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.2));
    border-color: var(--brand-cyan);
    color: #ffffff;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.use-case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 26px;
    transition: all 0.25s ease;
}

.use-case-card:hover {
    border-color: var(--border-cyan-glow);
    transform: translateY(-2px);
}

.uc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.uc-num {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-cyan);
}

.use-case-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: #ffffff;
}

.use-case-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Interactive ROI Calculator */
.roi-calculator {
    padding: 80px 0;
    width: 100%;
}

.roi-box {
    background: linear-gradient(135deg, rgba(13, 18, 36, 0.95) 0%, rgba(20, 28, 54, 0.9) 100%);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-glow);
}

.roi-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px auto;
}

.roi-header h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.roi-header p {
    color: var(--text-secondary);
}

.roi-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 44px;
    align-items: center;
}

.roi-controls {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.slider-label strong {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--brand-cyan);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--brand-cyan);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
}

.roi-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    background: rgba(0, 0, 0, 0.35);
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.roi-stat {
    text-align: center;
}

.roi-num {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: linear-gradient(135deg, #38bdf8 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 4px;
}

.roi-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Comparison Matrix Table */
.comparison-section {
    padding: 80px 0;
    width: 100%;
}

.comparison-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    width: 100%;
}

.comp-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    text-align: left;
}

.comp-table th, .comp-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.comp-table th {
    background: rgba(15, 23, 42, 0.85);
    font-weight: 700;
    color: var(--text-secondary);
}

.comp-table th.highlight, .comp-table td.highlight {
    background: rgba(99, 102, 241, 0.08);
    color: #ffffff;
}

.comp-table td.yes { color: #34d399; font-weight: 600; }
.comp-table td.no { color: #f43f5e; }
.comp-table td.partial { color: #fbbf24; }

/* Pricing Matrix Section */
.pricing {
    padding: 90px 0;
    width: 100%;
}

.pricing-toggle-wrap {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.85);
    padding: 4px;
    border-radius: 9999px;
    border: 1px solid var(--border-subtle);
    margin-top: 24px;
    gap: 4px;
}

.pricing-toggle-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 9999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.pricing-toggle-btn.active {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
}

.discount-pill {
    background: #10b981;
    color: #064e3b;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 48px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 34px 28px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--brand-primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, rgba(15, 23, 42, 0.95) 100%);
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.25);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.card-popular-pill {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    white-space: nowrap;
}

.plan-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.plan-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    min-height: 40px;
    margin-bottom: 18px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 2px;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.plan-price .amount {
    font-size: 3.2rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #ffffff;
    line-height: 1;
}

.plan-price .period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-alt-note {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--brand-cyan);
    margin-bottom: 22px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.plan-features li::before {
    content: "✓";
    color: #10b981;
    font-weight: 800;
    flex-shrink: 0;
}

.plan-features li strong {
    color: #ffffff;
}

.free-tier-callout {
    margin-top: 48px;
    padding: 24px 32px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(16px);
    text-align: center;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.6), inset 0 0 24px rgba(99, 102, 241, 0.08);
}

.free-tier-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86EFAC;
    border-radius: 9999px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.free-tier-callout p {
    margin: 0;
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.free-tier-callout strong {
    color: #F8FAFC;
}

.free-tier-callout a {
    font-weight: 700;
    color: #A5B4FC;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.free-tier-callout a:hover {
    color: #FFFFFF;
}

.free-tier-callout .free-tier-link {
    display: inline-block;
    margin-left: 6px;
    color: var(--brand-cyan);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.free-tier-callout .free-tier-link:hover {
    color: #67E8F9;
    text-decoration: underline;
}

/* FAQ Accordion */
.faq {
    padding: 60px 0 90px 0;
    width: 100%;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: none;
    border: none;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    gap: 12px;
}

.faq-icon {
    font-size: 1.3rem;
    font-family: var(--font-mono);
    color: var(--brand-cyan);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-answer {
    display: none;
    padding: 0 22px 18px 22px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.faq-item.active {
    border-color: var(--border-glow);
    background: var(--bg-surface-hover);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Final CTA */
.final-cta {
    padding: 30px 0 90px 0;
    width: 100%;
}

.cta-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(13, 18, 36, 0.95) 100%);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    padding: 56px 36px;
    text-align: center;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 30px auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    background: #04060d;
    padding: 50px 0 26px 0;
    width: 100%;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.link-group h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.link-group a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.link-group a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Scroll Reveal States */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Media Queries & Fluid Mobile Architecture
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid { 
        grid-template-columns: 1fr; 
        gap: 36px;
    }
    .hero-visual {
        max-width: 680px;
        margin: 0 auto;
        width: 100%;
    }
    .feature-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .pricing-grid { 
        grid-template-columns: 1fr; 
        max-width: 480px; 
        margin-left: auto; 
        margin-right: auto; 
    }
    .pricing-card.featured { 
        transform: none; 
    }
    .pricing-card.featured:hover { 
        transform: translateY(-4px); 
    }
    .roi-grid { 
        grid-template-columns: 1fr; 
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .main-nav, .header-actions { 
        display: none; 
    }
    
    .menu-toggle { 
        display: flex; 
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2 {
        font-size: 1.95rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .hero {
        padding: 40px 0 36px 0;
    }

    .hero-content h1 { 
        font-size: 2.15rem; 
        line-height: 1.2;
    }

    .hero-lead {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .badge-glow {
        max-width: 100%;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

    .badge-text {
        font-size: 0.78rem;
    }

    /* Code Window Mobile Redesign - Prevents Horizontal Overflow */
    .code-window {
        max-width: 100%;
        width: 100%;
    }

    .code-header {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 12px;
    }

    .window-controls {
        order: 1;
    }

    .code-action-btn {
        order: 2;
        font-size: 0.72rem;
        padding: 3px 8px;
    }

    .code-tabs {
        order: 3;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 2px;
        gap: 3px;
    }

    .code-tabs::-webkit-scrollbar {
        display: none;
    }

    .code-tab {
        font-size: 0.72rem;
        padding: 4px 8px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .tab-pane {
        padding: 16px 12px;
        min-height: auto;
    }

    pre {
        font-size: 0.76rem;
        line-height: 1.5;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .floating-badge { 
        position: static; 
        margin-top: 14px; 
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .magic-actions {
        flex-wrap: wrap;
    }

    .magic-actions .btn {
        flex: 1 1 calc(50% - 6px);
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .magic-link-pill {
        word-break: break-all;
    }

    .magic-link-pill code {
        font-size: 0.7rem;
        word-break: break-all;
        white-space: normal;
    }

    /* Grids & Cards */
    .problem-solution {
        padding: 50px 0;
    }

    .ps-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    .ps-card {
        padding: 24px 20px;
    }

    .features {
        padding: 40px 0 60px 0;
    }

    .feature-grid { 
        grid-template-columns: 1fr; 
        gap: 18px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    /* Use Cases */
    .use-cases {
        padding: 50px 0;
    }

    .use-case-tabs {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 26px;
    }

    .uc-tab {
        font-size: 0.82rem;
        padding: 7px 16px;
    }

    .use-case-grid { 
        grid-template-columns: 1fr; 
        gap: 18px;
    }

    .use-case-card {
        padding: 20px;
    }

    /* ROI Calculator */
    .roi-calculator {
        padding: 50px 0;
    }

    .roi-box {
        padding: 26px 18px;
    }

    .roi-header h2 {
        font-size: 1.7rem;
    }

    .roi-num {
        font-size: 2.2rem;
    }

    .roi-results {
        padding: 20px 16px;
    }

    /* Comparison Table */
    .comparison-section {
        padding: 50px 0;
    }

    .comp-table {
        min-width: 600px;
    }

    .comp-table th, .comp-table td {
        padding: 12px 14px;
        font-size: 0.84rem;
    }

    /* Pricing Section */
    .pricing {
        padding: 50px 0;
    }

    .pricing-toggle-wrap { 
        margin-top: 18px;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .plan-price .amount {
        font-size: 2.7rem;
    }

    /* FAQ Section */
    .faq {
        padding: 40px 0 60px 0;
    }

    .faq-question {
        padding: 15px 18px;
        font-size: 0.94rem;
    }

    .faq-answer {
        padding: 0 18px 15px 18px;
        font-size: 0.88rem;
    }

    /* Final CTA */
    .final-cta {
        padding: 20px 0 60px 0;
    }

    .cta-box {
        padding: 38px 20px;
    }

    .cta-box h2 {
        font-size: 1.85rem;
    }

    .cta-box p {
        font-size: 0.98rem;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 30px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 28px 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-header h2 {
        font-size: 1.65rem;
    }

    .hero-content h1 {
        font-size: 1.85rem;
        letter-spacing: -0.02em;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-cta .btn {
        width: 100%;
        padding: 12px 18px;
        font-size: 0.94rem;
        justify-content: center;
    }

    .proof-avatars {
        gap: 6px;
    }

    .avatar-pill {
        font-size: 0.72rem;
        padding: 3px 8px;
    }

    .pricing-toggle-wrap {
        flex-direction: column;
        width: 100%;
        border-radius: var(--radius-md);
        padding: 6px;
    }

    .pricing-toggle-btn {
        width: 100%;
        justify-content: center;
        padding: 7px 12px;
        font-size: 0.84rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .magic-actions .btn {
        flex: 1 1 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.65rem;
    }

    .plan-price .amount {
        font-size: 2.3rem;
    }

    .roi-num {
        font-size: 1.9rem;
    }
}


/* ==========================================================================
   AGENT & N8N ECOSYSTEM SHOWCASE ENHANCEMENTS
   ========================================================================== */
.agent-ecosystem-section {
    padding: 90px 0 60px;
    position: relative;
    z-index: 2;
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.agent-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px 24px;
    backdrop-filter: blur(14px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.8), rgba(6, 182, 212, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(99, 102, 241, 0.15);
}

.agent-card:hover::before {
    opacity: 1;
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.agent-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    flex-shrink: 0;
}

.agent-icon.n8n-glow {
    background: rgba(255, 109, 90, 0.15);
    border-color: rgba(255, 109, 90, 0.35);
    color: #FF6D5A;
}

.agent-icon.claude-glow {
    background: rgba(217, 119, 87, 0.15);
    border-color: rgba(217, 119, 87, 0.35);
    color: #D97757;
}

.agent-icon.openclaw-glow {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.35);
    color: #06B6D4;
}

.agent-icon.hermes-glow {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.35);
    color: #A855F7;
}

.agent-icon.antigravity-glow {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.35);
    color: #3B82F6;
}

.agent-icon.crew-glow {
    background: rgba(234, 179, 8, 0.15);
    border-color: rgba(234, 179, 8, 0.35);
    color: #EAB308;
}

.agent-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary, #F8FAFC);
    margin: 0;
}

.agent-badge-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-muted, #94A3B8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-left: auto;
}

.agent-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #94A3B8;
    margin: 0 0 16px 0;
}

.agent-code-chip {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.78rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 12px;
    color: #C7D2FE;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.agent-code-chip code {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-n8n-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 109, 90, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(255, 109, 90, 0.35);
    border-radius: 30px;
    padding: 6px 14px;
    margin-bottom: 18px;
}

.hero-n8n-badge span.pill-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFA392;
    letter-spacing: 0.03em;
}

.heading-tight {
    letter-spacing: -0.03em;
    line-height: 1.12;
}

@media (max-width: 768px) {
    .agent-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
