/* ═══════════════════════════════════════════════════════════════
   AI Agent Showcase - Premium Public Website Design
   Mirrors the Workflow AI platform styling with elevated visuals
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero Section ── */
.agent-page-hero {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a3e 40%, #24243e 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.agent-page-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(118, 75, 162, 0.10) 0%, transparent 50%);
    animation: hero-glow 8s ease-in-out infinite alternate;
}

.agent-page-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.4), transparent);
}

@keyframes hero-glow {
    0% { transform: translate(-5%, -5%) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.05); }
}

/* Hero grid dots */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: orb-float 12s ease-in-out infinite alternate;
}

.hero-orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(102, 126, 234, 0.15);
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(240, 147, 251, 0.10);
    bottom: -80px;
    left: -30px;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 180px;
    height: 180px;
    background: rgba(79, 172, 254, 0.08);
    top: 50%;
    left: 50%;
    animation-delay: -8s;
}

@keyframes orb-float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
    100% { transform: translate(-20px, 20px) scale(0.95); }
}

.agent-page-hero .hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.agent-page-hero h1 {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 25%, #a5b4fc 50%, #c4b5fd 75%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.agent-page-hero .lead {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.2rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Hero stats row */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    position: relative;
}

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

.hero-stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ── Agent Showcase Card ── */
.agent-showcase-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.agent-showcase-card.agent-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.agent-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

/* Gradient border glow on hover */
.agent-showcase-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3), rgba(240, 147, 251, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.agent-showcase-card:hover::before {
    opacity: 1;
}

/* ── Title Box (mirrors workflow .title-box) ── */
.agent-title-box {
    height: 60px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.agent-title-box .title-shimmer {
    position: absolute;
    top: -50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    animation: agent-shimmer 4s ease-in-out infinite;
}

@keyframes agent-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.agent-title-box .prime-icon {
    font-size: 22px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 12px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.agent-showcase-card:hover .prime-icon {
    transform: scale(1.1) rotate(5deg);
}

.agent-title-text {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.agent-info-toggle {
    cursor: pointer;
    padding: 0 8px;
    opacity: 0.7;
    transition: all 0.3s;
    font-size: 18px;
}

.agent-info-toggle:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ── Card Body ── */
.agent-card-body {
    padding: 24px;
    font-size: 14px;
    color: #555;
}

.agent-tagline {
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 44px;
}

/* ── Feature Badges ── */
.agent-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.agent-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
    color: #4c6ef5;
    border: 1px solid rgba(76, 110, 245, 0.1);
    transition: all 0.3s;
}

.agent-badge:hover {
    background: linear-gradient(135deg, #e8ecff 0%, #dce3ff 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 110, 245, 0.15);
}

/* ── Info Banner ── */
.agent-info-banner {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* ── Demo Toggle Button ── */
.agent-demo-toggle {
    border-radius: 50px;
    border: 2px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    color: #475569;
    position: relative;
    overflow: hidden;
}

.agent-demo-toggle::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.agent-demo-toggle:hover {
    border-color: #a5b4fc;
    color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.agent-demo-toggle:hover::after {
    opacity: 1;
}

.agent-demo-toggle i {
    position: relative;
    z-index: 1;
}

/* ── Demo Container ── */
.agent-demo-container {
    margin-top: 16px;
}

.agent-demo-panel {
    padding: 4px 0;
}

/* Disable all form inputs inside demo */
.agent-demo-container select,
.agent-demo-container input[type="text"],
.agent-demo-container input[type="number"],
.agent-demo-container input[type="url"],
.agent-demo-container input[type="file"],
.agent-demo-container input[type="range"],
.agent-demo-container textarea {
    pointer-events: none;
    opacity: 0.85;
}

/* Re-enable collapse triggers */
.agent-demo-container [data-bs-toggle="collapse"] {
    pointer-events: auto !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

/* ── Demo Toggle Switch (CSS-only) ── */
.demo-toggle-switch {
    width: 44px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.demo-toggle-switch::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.demo-toggle-switch.checked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.demo-toggle-switch.checked::after {
    transform: translateX(20px);
}

/* ── Demo Settings Sections ── */
.agent-demo-panel .settings-section {
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.agent-demo-panel .settings-section:hover {
    border-color: #e0e0e0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Demo category containers */
.agent-demo-category-container {
    border-radius: 20px;
}

.agent-demo-category-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    margin-bottom: 8px;
}

/* ── Workflow Card Grid ── */
.agent-demo-panel .workflow-card-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.agent-demo-panel .workflow-card-grid.grid-2-col {
    grid-template-columns: repeat(2, 1fr);
}

.agent-demo-panel .workflow-card-grid.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

.agent-demo-panel .workflow-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 12px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.agent-demo-panel .workflow-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.12);
    transform: translateY(-4px);
}

.agent-demo-panel .workflow-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin: 0 auto 10px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.agent-demo-panel .workflow-card:hover .workflow-card-icon {
    transform: scale(1.15) rotate(5deg);
}

.agent-demo-panel .workflow-card-label {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
}

.agent-demo-panel .workflow-card-description {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}

.agent-demo-panel .workflow-card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.agent-demo-panel .workflow-card:hover .workflow-card-shine {
    opacity: 1;
    animation: card-shine 0.8s ease-out;
}

@keyframes card-shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.agent-demo-panel .workflow-card-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* ── Selector Labels ── */
.selector-label {
    margin-top: 16px;
}

/* ── Form Elements ── */
.agent-demo-panel .workflow-label {
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 6px;
    display: block;
}

.agent-demo-panel .workflow-select-wrapper {
    position: relative;
}

.agent-demo-panel .workflow-select,
.agent-demo-panel .form-select,
.agent-demo-panel select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 13px;
    background: #f9fafb;
    color: #374151;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.3s;
}

.agent-demo-panel .workflow-select:focus,
.agent-demo-panel .form-select:focus,
.agent-demo-panel select:focus {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.agent-demo-panel .select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 12px;
    pointer-events: none;
}

.agent-demo-panel .field-hint {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 6px;
}

.agent-demo-panel .form-section {
    margin-bottom: 16px;
}

.agent-demo-panel .form-range {
    width: 100%;
}

/* ── Alert Gradients ── */
.agent-demo-panel .alert-warning-gradient {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

/* ── Category Header (mirrors workflow) ── */
.agent-demo-panel .category-header {
    text-align: center;
    margin-bottom: 16px;
}

.agent-demo-panel .category-icon-wrapper {
    margin-bottom: 8px;
}

.agent-demo-panel .category-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.agent-demo-panel .category-title {
    font-size: 1.1rem;
    font-weight: 700;
}

/* ── Teaser Section ── */
#ai-agents-teaser {
    background: linear-gradient(180deg, #f8f9ff 0%, #eef2ff 50%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

#ai-agents-teaser::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
}

#ai-agents-teaser .above-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 50px;
    border: 1px solid rgba(102, 126, 234, 0.12);
}

#ai-agents-teaser .h2-heading {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

#ai-agents-teaser .teaser-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Agent Grid Section ── */
.agent-grid-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

/* ── Bottom CTA ── */
.agent-cta-section {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a3e 50%, #24243e 100%);
    position: relative;
    overflow: hidden;
}

.agent-cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.agent-cta-section h3 {
    font-weight: 800;
    color: white;
    font-size: 28px;
    letter-spacing: -0.01em;
}

.agent-cta-section p {
    color: rgba(255, 255, 255, 0.5);
}

.btn-cta-gradient {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-cta-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.5);
    color: white;
}

/* ── "See All" Button ── */
.btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: white;
    color: #4338ca;
    border: 2px solid #e0e7ff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.1);
}

.btn-see-all:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.35);
}

/* ── Gradient Classes ── */

/* Blue */
.gradient-blue { background: linear-gradient(135deg, #1976D2 0%, #0D47A1 100%) !important; color: white !important; }
.gradient-blue.accent-1 { background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%) !important; }
.gradient-blue.accent-2 { background: linear-gradient(135deg, #42A5F5 0%, #1976D2 100%) !important; }

/* Teal */
.gradient-teal { background: linear-gradient(135deg, #00897B 0%, #004D40 100%) !important; color: white !important; }
.gradient-teal.accent-1 { background: linear-gradient(135deg, #009688 0%, #00695C 100%) !important; }

/* Red */
.gradient-red { background: linear-gradient(135deg, #E53935 0%, #B71C1C 100%) !important; color: white !important; }
.gradient-red.accent-2 { background: linear-gradient(135deg, #EF5350 0%, #D32F2F 100%) !important; }

/* Pink */
.gradient-pink { background: linear-gradient(135deg, #D81B60 0%, #880E4F 100%) !important; color: white !important; }
.gradient-pink.accent-2 { background: linear-gradient(135deg, #E91E63 0%, #AD1457 100%) !important; }

/* Green */
.gradient-green { background: linear-gradient(135deg, #43A047 0%, #1B5E20 100%) !important; color: white !important; }
.gradient-green.accent-2 { background: linear-gradient(135deg, #66BB6A 0%, #388E3C 100%) !important; }

/* Orange */
.gradient-orange { background: linear-gradient(135deg, #F57C00 0%, #E65100 100%) !important; color: white !important; }
.gradient-orange.accent-2 { background: linear-gradient(135deg, #FFA726 0%, #F57C00 100%) !important; }

/* Deep Orange */
.gradient-deep-orange { background: linear-gradient(135deg, #E64A19 0%, #BF360C 100%) !important; color: white !important; }
.gradient-deep-orange.accent-2 { background: linear-gradient(135deg, #FF5722 0%, #D84315 100%) !important; }

/* Indigo */
.gradient-indigo { background: linear-gradient(135deg, #303F9F 0%, #1A237E 100%) !important; color: white !important; }
.gradient-indigo.accent-1 { background: linear-gradient(135deg, #3F51B5 0%, #283593 100%) !important; }

/* Yellow */
.gradient-yellow { background: linear-gradient(135deg, #FFA000 0%, #F57F17 100%) !important; color: white !important; }
.gradient-yellow.accent-2 { background: linear-gradient(135deg, #FFCA28 0%, #FFA000 100%) !important; }

/* Amber */
.gradient-amber { background: linear-gradient(135deg, #FF8F00 0%, #FF6F00 100%) !important; color: white !important; }

/* Purple */
.gradient-purple { background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 100%) !important; color: white !important; }

/* Deep Purple */
.gradient-deep-purple { background: linear-gradient(135deg, #512DA8 0%, #311B92 100%) !important; color: white !important; }

/* Disabled */
.gradient-disabled { background: linear-gradient(135deg, #9E9E9E 0%, #757575 100%) !important; color: white !important; }

/* Extraction mode gradients */
.gradient-manual-extract { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important; }
.gradient-auto-extract { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important; }

/* ── Stagger Animation Delays ── */
.agent-showcase-card[data-stagger="1"] { transition-delay: 0.1s; }
.agent-showcase-card[data-stagger="2"] { transition-delay: 0.2s; }
.agent-showcase-card[data-stagger="3"] { transition-delay: 0.3s; }
.agent-showcase-card[data-stagger="4"] { transition-delay: 0.4s; }
.agent-showcase-card[data-stagger="5"] { transition-delay: 0.5s; }
.agent-showcase-card[data-stagger="6"] { transition-delay: 0.6s; }
.agent-showcase-card[data-stagger="7"] { transition-delay: 0.7s; }
.agent-showcase-card[data-stagger="8"] { transition-delay: 0.8s; }

/* ── Responsive ── */
@media (max-width: 992px) {
    .agent-page-hero h1 { font-size: 36px; }
    .hero-stats { gap: 32px; }
    .hero-stat-number { font-size: 28px; }
    #ai-agents-teaser .h2-heading { font-size: 28px; }
}

@media (max-width: 768px) {
    .agent-page-hero { padding: 70px 0 50px; }
    .agent-page-hero h1 { font-size: 28px; }
    .agent-page-hero .lead { font-size: 1rem; }
    .hero-stats { gap: 24px; }
    .hero-stat-number { font-size: 24px; }
    .hero-stat-label { font-size: 11px; }

    .agent-demo-panel .workflow-card-grid.grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .agent-demo-panel .category-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .agent-page-hero h1 { font-size: 24px; }
    .hero-stats { flex-direction: column; gap: 16px; }

    .agent-demo-panel .workflow-card-grid.grid-2-col,
    .agent-demo-panel .workflow-card-grid.grid-3-col {
        grid-template-columns: 1fr;
    }
}
