:root {
    /* Theme Tokens - Deep Ocean & Mystical Fire */
    --bg-color: #070a13;
    --bg-gradient: linear-gradient(145deg, #05070f 0%, #0c1020 50%, #04050a 100%);
    --surface-color: rgba(13, 18, 36, 0.6);
    --surface-hover: rgba(20, 27, 51, 0.8);
    --surface-card: rgba(18, 25, 47, 0.55);
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(59, 130, 246, 0.35);
    --border-active: rgba(99, 102, 241, 0.5);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary-color: #3b82f6;      /* siranui Deep Blue */
    --primary-glow: rgba(59, 130, 246, 0.25);
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    
    --accent-fire: #f97316;        /* siranui Mystic Orange */
    --accent-fire-rgb: 249, 115, 22;
    --accent-fire-gradient: linear-gradient(135deg, #ef4444 0%, #f97316 50%, #eab308 100%);
    --accent-purple: #8b5cf6;
    
    --success-color: #10b981;
    --success-glow: rgba(16, 185, 129, 0.15);
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 40px -10px rgba(59, 130, 246, 0.3);
}

/* Base resets & layouts */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: 6rem;
}

/* Selection background */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: #ffffff;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #05070f;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Container */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

/* Header design with Glassmorphism */
header {
    background: rgba(7, 10, 19, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}
header.scrolled {
    background: rgba(4, 6, 12, 0.85);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-fire-gradient);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
    position: relative;
    overflow: hidden;
}
.logo-icon::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #070a13;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    white-space: nowrap;
}
nav a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5), var(--shadow-glow);
}

.btn-primary.is-disabled,
.btn-primary.is-disabled:hover {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

.demo-dashboard-closed-note {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.9;
}

.demo-pre-cta-section {
    padding-bottom: 2rem;
}

.demo-pre-cta-section .cta-section {
    padding: 2rem 0 4rem;
}

.note-articles-section {
    padding: 5rem 0 2rem;
}

.note-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.note-article-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--surface-card);
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
    min-height: 100%;
}

.note-article-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-soft);
}

.note-article-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.8);
}

.note-article-thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.note-article-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.note-article-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.note-article-title {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--text-primary);
}

.note-article-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.note-articles-status {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.note-articles-footer {
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .note-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .note-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    text-align: center;
}

/* Background glowing orbs representing siranui lights */
.siranui-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.12;
    pointer-events: none;
    animation: pulse-glow 12s infinite alternate ease-in-out;
}
.orb-1 {
    width: 400px;
    height: 400px;
    background: #3b82f6;
    top: 10%;
    left: -100px;
}
.orb-2 {
    width: 450px;
    height: 450px;
    background: #ef4444;
    bottom: -50px;
    right: -150px;
    animation-delay: -4s;
}
.orb-3 {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -8s;
}

@keyframes pulse-glow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.08; }
    100% { transform: scale(1.3) translate(50px, 30px); opacity: 0.18; }
}

.hero-subtitle {
    color: var(--accent-fire);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-subtitle::before, .hero-subtitle::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--accent-fire);
}

.hero h1 {
    font-size: clamp(2rem, 3.8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.hero p.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 100%;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.65rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-secondary.is-disabled,
.btn-secondary.is-disabled:hover,
.agent-trial-cta.is-disabled,
.agent-trial-cta.is-disabled:hover {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
    box-shadow: none;
}

.btn-trial-live {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
}
.btn-trial-live:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(249, 115, 22, 0.5);
    color: #ffffff;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.agent-trial-cta-wrap {
    margin-top: 1.1rem;
}

.agent-trial-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    box-sizing: border-box;
}

.updates-section {
    padding: 5rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.updates-timeline-scroll {
    position: relative;
    max-width: 920px;
    margin-inline: auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.35rem;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.updates-timeline-scroll::after {
    content: '';
    position: sticky;
    bottom: 0;
    display: block;
    height: 2.25rem;
    margin-top: -2.25rem;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.75));
}

.updates-timeline-scroll.is-at-end::after {
    opacity: 0;
}

.updates-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.updates-item {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1.25rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.35);
}

.updates-item--new {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12);
}

.updates-date {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #93c5fd;
}

.updates-body h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.updates-body p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.updates-body a {
    color: #93c5fd;
}

@media (max-width: 720px) {
    .updates-item {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }
}

/* Hagakure Story Section */
.story-section {
    padding: 6rem 0;
    position: relative;
}
.story-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}
.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-fire-gradient);
}
.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 968px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
.story-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.story-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.story-text p strong {
    color: var(--text-primary);
}

.story-visual {
    background: rgba(5, 7, 15, 0.5);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
}
.quote-box {
    position: relative;
}
.quote-box p {
    font-style: italic;
    color: #e2e8f0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.quote-author {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-fire);
    letter-spacing: 1px;
}
.quote-author span {
    font-weight: 400;
    color: var(--text-muted);
}

/* Feature/Agent Cards Section */
.inhouse-challenges-section {
    padding: 6rem 0;
    background: rgba(5, 7, 15, 0.35);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.inhouse-phase {
    margin-bottom: 2.75rem;
}

.inhouse-phase:last-of-type {
    margin-bottom: 0;
}

.inhouse-phase-header {
    margin-bottom: 1.5rem;
    max-width: 920px;
}

.inhouse-phase-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #a7f3d0;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    margin-bottom: 0.75rem;
}

.inhouse-phase-title {
    margin: 0 0 0.55rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.inhouse-phase-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.inhouse-challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.inhouse-challenge-card {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem 1.5rem;
    transition: var(--transition-smooth);
    height: 100%;
}

.inhouse-challenge-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.75);
}

.inhouse-challenge-card--people:hover {
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.75), 0 0 24px rgba(59, 130, 246, 0.08);
}

.inhouse-challenge-card--ops:hover {
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.75), 0 0 24px rgba(16, 185, 129, 0.08);
}

.inhouse-challenge-card--money:hover {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.75), 0 0 24px rgba(245, 158, 11, 0.08);
}

.inhouse-challenge-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.9rem;
}

.inhouse-challenge-card--people .inhouse-challenge-kicker {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.28);
}

.inhouse-challenge-card--ops .inhouse-challenge-kicker {
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.inhouse-challenge-card--money .inhouse-challenge-kicker {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.inhouse-challenge-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.4;
}

.inhouse-challenge-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.inhouse-challenge-list li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.inhouse-challenge-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.55;
}

.inhouse-challenge-card--people .inhouse-challenge-list li::before {
    background: #60a5fa;
    opacity: 0.9;
}

.inhouse-challenge-card--ops .inhouse-challenge-list li::before {
    background: #34d399;
    opacity: 0.9;
}

.inhouse-challenge-card--money .inhouse-challenge-list li::before {
    background: #fbbf24;
    opacity: 0.9;
}

.inhouse-challenges-bridge {
    margin-top: 2.75rem;
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.inhouse-challenges-bridge p {
    margin: 0;
    flex: 1;
    min-width: 240px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.inhouse-challenges-bridge strong {
    color: var(--text-primary);
}

.agents-section {
    padding: 6rem 0;
}
.section-title-wrapper {
    text-align: center;
    margin-bottom: 4.5rem;
}
.section-tag {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 40%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 100%;
    margin: 0 auto;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 1024px) {
    .agents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .agents-grid {
        grid-template-columns: 1fr;
    }
}

.agent-card {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(120px circle at var(--x, 50%) var(--y, 50%), rgba(99, 102, 241, 0.12), transparent 80%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}
.agent-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(59, 130, 246, 0.05);
}
.agent-card:hover::before {
    opacity: 1;
}

/* Agent specific highlight for Bidding Agent (Core competence) */
.agent-card.featured-card {
    border: 1px solid rgba(249, 115, 22, 0.25);
    background: linear-gradient(135deg, rgba(18, 25, 47, 0.7) 0%, rgba(30, 20, 15, 0.4) 100%);
}

.agent-card.featured-card:hover {
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(249, 115, 22, 0.12);
}

.agent-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}
.agent-card:hover .agent-icon {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 15px var(--primary-glow);
    transform: scale(1.05);
}
.agent-card.featured-card:hover .agent-icon {
    background: var(--accent-fire);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
}

.agent-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}
.agent-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.agent-meta {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.agent-meta span {
    font-weight: 600;
}
.agent-meta .highlight-val {
    color: var(--primary-color);
}
.featured-card .agent-meta .highlight-val {
    color: var(--accent-fire);
}

/* Guardrails section */
.guardrails-section {
    padding: 6rem 0;
    background: rgba(5, 7, 15, 0.4);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.guard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
@media (max-width: 968px) {
    .guard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .guard-grid {
        grid-template-columns: 1fr;
    }
}
.guard-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    transition: var(--transition-smooth);
}
.guard-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(13, 24, 20, 0.4);
    transform: translateY(-2px);
}
.guard-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}
.guard-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.guard-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Interactive Demo Hub Section */
.demo-section {
    padding: 8rem 0;
}

.demo-wrapper {
    background: rgba(10, 15, 33, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), var(--shadow-glow);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Demo Nav Tabs */
.demo-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 7, 15, 0.4);
}
.demo-tab-btn {
    flex: 1;
    padding: 1.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-bottom: 2px solid transparent;
}
@media (max-width: 768px) {
    .demo-tabs {
        flex-direction: column;
    }
    .demo-tab-btn {
        padding: 1rem;
        border-bottom: none;
        border-left: 2px solid transparent;
    }
}
.demo-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}
.demo-tab-btn.active {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.04);
    border-bottom-color: var(--primary-color);
}
@media (max-width: 768px) {
    .demo-tab-btn.active {
        border-left-color: var(--primary-color);
    }
}
.demo-tab-btn.active .demo-btn-icon {
    transform: scale(1.1);
}
.demo-btn-icon {
    font-size: 1.25rem;
    transition: var(--transition-smooth);
}

/* Demo Content Window */
.demo-content-panes {
    padding: 3rem;
    min-height: 520px;
    position: relative;
}
@media (max-width: 768px) {
    .demo-content-panes {
        padding: 1.5rem;
    }
}
.demo-pane {
    display: none;
    animation: fade-in 0.5s ease-out forwards;
}
.demo-pane.active {
    display: block;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Common Demo Elements */
.demo-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
@media (max-width: 968px) {
    .demo-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.demo-input-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-preview-panel {
    background: rgba(4, 6, 12, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.demo-preview-header {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.demo-input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.demo-input-field {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition-smooth);
}
.demo-input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

/* Sliders */
.slider-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.slider-val {
    font-weight: 700;
    color: var(--primary-color);
}
.slider-val.fire-val {
    color: var(--accent-fire);
}
.slider-input {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #1e293b;
    outline: none;
    transition: var(--transition-smooth);
}
.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59,130,246,0.5);
    transition: var(--transition-smooth);
}
.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.slider-input.fire-slider::-webkit-slider-thumb {
    background: var(--accent-fire);
    box-shadow: 0 0 10px rgba(249,115,22,0.5);
}

/* Terminal Console style log output */
.terminal-output {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #38bdf8;
    background: #04060c;
    border-radius: var(--radius-sm);
    padding: 1rem;
    height: 140px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.05);
}
.terminal-line {
    margin-bottom: 0.25rem;
    opacity: 0;
    transform: translateY(3px);
    animation: fade-in-line 0.3s forwards ease-out;
}
@keyframes fade-in-line {
    to { opacity: 1; transform: translateY(0); }
}

/* Demo Specifics - Creative Preview */
.google-preview {
    border: 1px solid rgba(255,255,255,0.08);
    background: #101524;
    border-radius: 8px;
    padding: 1.25rem;
    max-width: 100%;
}
.google-domain {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.google-sponsor-tag {
    background: #334155;
    color: #cbd5e1;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.05rem 0.35rem;
    border-radius: 3px;
}
.google-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.google-desc {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.4;
}

/* Demo Specifics - Bidding Engine */
.bidding-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.bidding-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.25rem;
}
.bidding-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.bidding-stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 0.25rem;
}
.bidding-stat-change {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Guardrail Indicator Badge inside preview */
.guardrail-trigger-alert {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #f59e0b;
}
.guardrail-trigger-alert.active-guard {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

/* Demo Specifics - Structure Tree */
.tree-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    height: 100%;
}
.tree-node-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}
.tree-node-group::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 1px;
    height: calc(100% + 10px);
    background: var(--border-color);
}
.tree-node-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}
.node-alert {
    border-color: rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.04);
}
.node-alert-badge {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}
.node-resolved {
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.04);
}
.node-resolved-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

/* Call to Action Banner */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.cta-actions .demo-dashboard-closed-note {
    flex-basis: 100%;
    margin-top: 0.25rem;
}
.cta-actions .btn-primary,
.cta-actions .btn-trial-live {
    padding: 1.05rem 2.4rem;
    font-size: 1.05rem;
    border-radius: 8px;
}
.cta-box {
    background: radial-gradient(100% 200% at 50% 0%, rgba(59, 130, 246, 0.12) 0%, rgba(7, 10, 19, 0) 100%), var(--surface-color);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-glow);
}
.cta-box h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.cta-box p {
    color: var(--text-secondary);
    max-width: 100%;
    margin: 0 auto 2.5rem;
    font-size: 1.15rem;
}

/* Footer style */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    background: #04060c;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-inner--legal {
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0.85;
}
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.footer-legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
}
.footer-legal-links a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}
@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-legal-links {
        justify-content: center;
    }
}

/* Legal pages on marketing site */
.legal-page .legal-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 4.5rem 1.25rem 4rem;
    position: relative;
    z-index: 1;
}
.legal-page .legal-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0 0 0.75rem;
}
.legal-page .legal-main h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}
.legal-page .legal-meta {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0 0 2rem;
    line-height: 1.6;
}
.legal-page .legal-main section {
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 0 0.25rem;
    margin-top: 1.25rem;
}
.legal-page .legal-main h2 {
    font-size: 1.05rem;
    margin: 0 0 0.65rem;
    color: var(--primary-color);
}
.legal-page .legal-main p,
.legal-page .legal-main li {
    color: var(--text-secondary);
    line-height: 1.75;
}
.legal-page .legal-main ul {
    margin: 0;
    padding-left: 1.2rem;
}
.legal-page .legal-main a {
    color: #60a5fa;
}

/* --- Interactive Human Approval System styles --- */
.btn-approve {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    width: 100%;
}
.btn-approve:not([disabled]) {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: none;
}
.btn-approve:not([disabled]):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}
.btn-approve:not([disabled]):active {
    transform: translateY(0);
}

.bidding-badge-ready {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}
.bidding-badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    animation: pulse-badge 1.5s infinite alternate ease-in-out;
}
.bidding-badge-applied {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

@keyframes pulse-badge {
    0% { box-shadow: 0 0 5px rgba(245, 158, 11, 0.2); }
    100% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.5); }
}

/* Pricing Section Styles */
.pricing-section {
    padding: 8rem 0;
    position: relative;
    background: rgba(5, 7, 15, 0.4);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.pricing-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
}

.pricing-card {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-soft);
}

.featured-pricing-card {
    background: rgba(18, 30, 60, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 15px 35px -10px rgba(59, 130, 246, 0.15);
}

.featured-pricing-card:hover {
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 20px 45px -10px rgba(59, 130, 246, 0.25), var(--shadow-soft);
}

.early-access-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.agency-pricing-notice {
    background: rgba(59, 130, 246, 0.07);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.agency-pricing-notice-title {
    font-weight: 800;
    color: #60a5fa;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.agency-pricing-notice p {
    margin: 0.35rem 0 0;
}

.agency-pricing-notice strong {
    color: var(--text-primary);
}

.agency-pricing-notice-contact {
    margin-top: 0.75rem !important;
    font-weight: 600;
}

.agency-pricing-notice-contact a {
    color: #60a5fa;
    text-decoration: none;
    border-bottom: 1px solid rgba(96, 165, 250, 0.5);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.agency-pricing-notice-contact a:hover {
    color: #93c5fd;
    border-color: rgba(147, 197, 253, 0.8);
}

.early-access-program-terms {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.early-access-program-terms-title {
    font-weight: 800;
    color: #10b981;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.early-access-program-terms p {
    margin: 0.35rem 0 0;
}

.early-access-program-terms strong {
    color: var(--text-primary);
}

.early-access-apply-section {
    padding: 5rem 0 4rem;
}

.early-access-apply-card {
    max-width: 920px;
    margin: 0 auto;
    background: rgba(13, 18, 36, 0.72);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 20px 50px -20px rgba(16, 185, 129, 0.18);
}

.early-access-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.early-access-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.early-access-fieldset {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem 1.1rem;
    margin: 0;
}

.early-access-fieldset legend {
    padding: 0 0.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

.early-access-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.early-access-checkbox {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.early-access-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.early-access-textarea {
    min-height: 120px;
    resize: vertical;
}

.early-access-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.early-access-terms a {
    color: #60a5fa;
    text-decoration: underline;
}

.early-access-terms input {
    margin-top: 0.2rem;
    accent-color: #10b981;
}

.early-access-terms strong {
    color: var(--text-primary);
}

.early-access-disclaimer {
    margin: -0.35rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.early-access-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.early-access-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 0.25rem;
}

.early-access-form-actions .btn-primary {
    min-width: 220px;
    justify-content: center;
}

.early-access-form-status {
    min-height: 1.4rem;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.early-access-form-status.is-error {
    color: #f87171;
}

.early-access-form-status.is-success {
    color: #34d399;
}

.required-mark {
    color: #34d399;
    font-size: 0.78rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

@media (max-width: 768px) {
    .early-access-apply-card {
        padding: 1.25rem;
    }

    .early-access-form-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.pricing-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-features-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pricing-features-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.discount-val {
    color: #10b981;
}

.price-detail {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.old-price {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 8px;
    font-weight: 500;
}

.old-price-small {
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 500;
    margin-right: 4px;
}

.pricing-hr {
    border: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.price-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.price-list li strong {
    color: var(--text-primary);
    font-family: monospace;
    font-size: 0.95rem;
}

.discount-price-list li strong {
    color: #10b981;
}

.price-change-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.price-agent-detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 10px;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
}

.price-agent-detail-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.price-agent-detail-list li strong {
    color: var(--text-secondary);
    font-family: monospace;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 1rem;
    }
}

/* ==========================================
   Diagnostic Wizard & Simulator Styles
   ========================================== */
.wizard-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wizard-step {
    display: none;
    background: rgba(30, 41, 59, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-step.active {
    display: block;
    animation: wizard-slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.05);
}

.wizard-step.completed {
    display: block;
    background: rgba(15, 23, 42, 0.15);
    border-color: rgba(16, 185, 129, 0.15);
    opacity: 0.7;
}

.wizard-step.completed .wizard-step-header .step-num {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.wizard-step.completed .wizard-step-header .step-num::after {
    content: " ✓";
}

.wizard-step.completed .step-card-grid {
    display: none;
}

/* Show a summary label for completed steps instead of full choices */
.wizard-step-selected-summary {
    font-size: 0.88rem;
    font-weight: 700;
    color: #10b981;
    margin-top: 0.5rem;
    padding-left: 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wizard-step.completed .slider-container,
.wizard-step.completed .step-next-btn,
.wizard-step.completed .sub-step-container {
    display: none !important;
}

@keyframes wizard-slide-up {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.step-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

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

.step-card-grid.list-format {
    grid-template-columns: 1fr;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.step-card.multi-select {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    padding: 0.75rem 1rem;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.step-card.selected {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

.step-card.selected .card-checkbox {
    color: var(--primary-color);
}

.card-icon {
    font-size: 1.3rem;
}

.card-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.step-card.selected .card-name {
    color: var(--text-primary);
}

.card-desc {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.step-card.selected .card-desc {
    color: var(--text-primary);
}

.card-checkbox {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--text-muted);
}

.sub-step-container {
    background: rgba(255, 255, 255, 0.01);
    border-left: 2px solid var(--primary-color);
    padding: 0.5rem 0.85rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    animation: wizard-slide-up 0.3s ease-out forwards;
}

/* Diagnostic Result Panel & UI Styles */
.diagnostic-placeholder-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    color: var(--text-muted);
    gap: 1rem;
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.25;
}

.placeholder-text {
    font-size: 0.9rem;
    max-width: 280px;
    line-height: 1.6;
}

.diagnostic-results-view {
    animation: fade-in 0.5s ease-out forwards;
}

.diagnostic-score-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
}

.score-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.score-val-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.score-val {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(to right, #3b82f6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.score-arrow {
    font-size: 1.5rem;
}

.score-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.result-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    border-left: 3px solid var(--primary-color);
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
}

.budget-allocation-table-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.budget-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.budget-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    text-align: left;
    padding: 0.6rem 0.8rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.budget-table td {
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
}

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

.budget-table .val-before {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.budget-table .val-after {
    color: #10b981;
    font-weight: 700;
}

.diagnostic-action-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
}

.action-header {
    margin-bottom: 0.4rem;
}

.action-agent-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-sm);
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-color);
}

.action-text {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

/* Status badging */
.bidding-badge-ready {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.bidding-badge-analyzing {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
    animation: pulse 1.5s infinite;
}
.bidding-badge-completed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* ==========================================
   Agent Selection Cards Grid (pricing tab)
   ========================================== */
.pricing-agent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2rem;
}

@media (max-width: 968px) {
    .pricing-agent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-agent-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pricing-agent-grid .agent-select-card {
        min-width: 0;
        width: 100%;
    }
}

.agent-select-card {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.agent-select-card.selected {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.25) !important;
    background: rgba(59, 130, 246, 0.04) !important;
}

.agent-select-card.selected .checkbox-indicator {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

.agent-select-card.selected .checkbox-indicator span {
    display: block !important;
}

.agent-select-card.selected .agent-select-card-glow {
    opacity: 1 !important;
}

.agent-select-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.checkbox-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
