/* search.css */

:root {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bg-slate-50: #f8fafc;
    --bg-white: #ffffff;
    --text-slate-900: #0f172a;
    --text-slate-600: #475569;
    --text-slate-500: #64748b;
    --text-slate-400: #94a3b8;

    /* Dark Blue Primary Colors */
    --primary-blue-50: #eff6ff;
    --primary-blue-100: #dbeafe;
    --primary-blue-200: #bfdbfe;
    --primary-blue-400: #60a5fa;
    --primary-blue-500: #3b82f6;
    --primary-blue-600: #1e40af;
    --primary-blue-700: #1e3a8a;
    --primary-blue-800: #1e3a8a;
    --primary-blue-900: #172554;

    /* Burnt Orange Accent Colors */
    --accent-orange-50: #fff7ed;
    --accent-orange-100: #ffedd5;
    --accent-orange-200: #fed7aa;
    --accent-orange-400: #fb923c;
    --accent-orange-500: #f97316;
    --accent-orange-600: #ea580c;
    --accent-orange-700: #c2410c;
    --accent-orange-800: #9a3412;

    --slate-200: #e2e8f0;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--bg-slate-50);
    color: var(--text-slate-900);
    overflow-x: hidden;
}

/* Utilities */
.min-h-screen {
    min-height: 100vh;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.selection-indigo::selection {
    background-color: var(--indigo-100);
    color: var(--indigo-900);
}

/* Navigation */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0rem 1.5rem;
    min-height: 73px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Safari support */
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--slate-200);
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-blue-700);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.3);
}

.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: var(--text-slate-900);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-slate-600);
}

@media (max-width: 767px) {
    .nav-link {
        display: none;
    }
}

@media (min-width: 768px) {
    .nav-links {
        gap: 1.5rem;
    }
}

.nav-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-blue-700);
}

.nav-btn {
    color: var(--accent-orange-700);
    background-color: var(--accent-orange-50);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.nav-btn:hover {
    background-color: var(--accent-orange-100);
}


/* Hero Section */
.hero-wrapper {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 968px) {
    .hero-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-text-section {
    text-align: left;
}

@media (max-width: 967px) {
    .hero-text-section {
        text-align: center;
    }
}

.hero-image-section {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(30, 58, 138, 0.2);
}

@media (min-width: 968px) {
    .hero-image-section {
        height: 500px;
    }
}

.hero-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge Link */
.hero-badge-link {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: transform 0.2s;
}

.hero-badge-link:hover {
    transform: translateY(-1px);
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: var(--accent-orange-50);
    color: var(--accent-orange-700);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border: 1px solid var(--accent-orange-200);
    transition: background-color 0.2s, border-color 0.2s;
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge-link:hover .hero-badge {
    background-color: var(--accent-orange-100);
    border-color: var(--accent-orange-300);
}

.ping-wrapper {
    position: relative;
    display: flex;
    height: 0.5rem;
    width: 0.5rem;
}

.ping-dot-animate {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background-color: var(--accent-orange-400);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-dot-static {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    height: 0.5rem;
    width: 0.5rem;
    background-color: var(--accent-orange-600);
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Headers */
.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: var(--text-slate-900);
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
        /* text-6xl */
    }
}

.gradient-text {
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(to right, var(--primary-blue-700), var(--accent-orange-600));
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-slate-500);
    margin-bottom: 2.5rem;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.625;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
        /* text-xl */
    }
}


/* Search Input */
.search-container {
    position: relative;
    max-width: 42rem;
    /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
    z-index: 20;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-icon-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    padding-left: 1rem;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.search-wrapper-icon {
    height: 1.25rem;
    width: 1.25rem;
    color: var(--text-slate-400);
    transition: color 0.2s;
}

.search-input-field {
    display: block;
    width: 100%;
    padding: 1rem 1rem 1rem 2.75rem;
    /* pl-11 */
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    color: var(--text-slate-900);
    font-size: 1.125rem;
    /* text-lg */
    box-sizing: border-box;
}

.search-input-field::placeholder {
    color: var(--text-slate-400);
}

.search-input-field:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.2);
    border-color: var(--primary-blue-600);
}

.search-input-wrapper:focus-within .search-wrapper-icon {
    color: var(--primary-blue-600);
}

.search-btn-absolute {
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    right: 0.5rem;
}

.search-btn {
    background-color: var(--accent-orange-600);
    color: white;
    padding: 0.625rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background-color: var(--accent-orange-700);
}


/* Features Section */
.features-section {
    padding: 4rem 1rem;
    background-color: var(--bg-white);
}

.features-container {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .features-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
}

.feature-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.feature-box:hover .feature-image-wrapper {
    box-shadow: 0 20px 35px -5px rgba(30, 58, 138, 0.25);
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-image {
    transform: scale(1.05);
}

.feature-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-slate-900);
    line-height: 1.5;
    max-width: 300px;
    margin: 0;
}

@media (max-width: 767px) {
    .feature-text {
        font-size: 1rem;
    }

    .feature-image-wrapper {
        height: 240px;
    }
}

/* Kinetic Scroll Area */
.kinetic-scroll-area {
    padding-top: 3rem;
    padding-bottom: 3rem;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-slate-50);
}

.scroll-gradient-left {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 8rem;
    background: linear-gradient(to right, var(--bg-slate-50), transparent);
    z-index: 10;
    pointer-events: none;
}

.scroll-gradient-right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 8rem;
    background: linear-gradient(to left, var(--bg-slate-50), transparent);
    z-index: 10;
    pointer-events: none;
}


/* Marquee animations */
.marquee-container {
    display: flex;
    overflow: hidden;
    margin-bottom: 2rem;
}

.marquee-content {
    display: flex;
    gap: 1rem;
    min-width: 100%;
    animation: marquee 35s linear infinite;
}

.marquee-content-reverse {
    display: flex;
    gap: 1rem;
    min-width: 100%;
    animation: marquee-reverse 40s linear infinite;
}

.marquee-container:hover .marquee-content,
.marquee-container:hover .marquee-content-reverse {
    animation-play-state: paused;
}


@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}


/* Cards */
.card-base {
    flex-shrink: 0;
    background-color: white;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.card-base:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Agent Card specific */
.agent-card {
    width: 18rem;
}

.agent-card:hover {
    border-color: var(--primary-blue-400);
}

.agent-card:hover .card-title {
    color: var(--primary-blue-700);
}

.card-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.icon-box {
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-badge {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-slate-400);
    background-color: var(--bg-slate-50);
    border: 1px solid #f1f5f9;
    /* slate-100 */
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.card-title {
    font-weight: 600;
    color: var(--text-slate-900);
    margin-bottom: 0.25rem;
    transition: color 0.2s;
}

.card-subtitle {
    font-size: 0.75rem;
    color: var(--text-slate-500);
}


/* Expert Card specific */
.expert-card {
    width: 20rem;
    /* w-80 */
}

.expert-card:hover {
    border-color: #d8b4fe;
    /* purple-300 */
}

/* .expert-card:hover .expert-name {
    color: var(--purple-600);
} */

.expert-header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.expert-icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--text-slate-600);
    overflow: hidden;
}

.expert-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-slate-900);
    transition: color 0.2s;
}

.expert-role {
    font-size: 0.75rem;
    color: var(--accent-orange-600);
    font-weight: 500;
}

.expert-badge {
    margin-left: auto;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-slate-400);
    background-color: var(--bg-slate-50);
    border: 1px solid #f1f5f9;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.expert-details-box {
    background-color: var(--bg-slate-50);
    border-radius: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #f1f5f9;
}

.expert-expertise-label {
    font-size: 0.75rem;
    color: var(--text-slate-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.25rem;
}

.expert-specialization {
    font-size: 0.875rem;
    color: var(--text-slate-600);
    /* slate-700 in tailwind usually slightly darker, using 600 match */
}

/* Specialization Bubbles */
.specialization-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.25rem;
}

.specialization-bubble {
    background-color: var(--primary-blue-50);
    color: var(--primary-blue-700);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid var(--primary-blue-200);
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.specialization-bubble:hover {
    background-color: var(--primary-blue-100);
}

/* Colors for agents - hardcoded classes to match the snippet's inline styles */
.bg-blue-100 {
    background-color: #dbeafe;
}

.text-blue-700 {
    color: #1d4ed8;
}

.bg-purple-100 {
    background-color: #f3e8ff;
}

.text-purple-700 {
    color: #7e22ce;
}

.bg-indigo-100 {
    background-color: #e0e7ff;
}

.text-indigo-700 {
    color: #4338ca;
}

.bg-emerald-100 {
    background-color: #d1fae5;
}

.text-emerald-700 {
    color: #047857;
}

.bg-amber-100 {
    background-color: #fef3c7;
}

.text-amber-700 {
    color: #b45309;
}

.bg-pink-100 {
    background-color: #fce7f3;
}

.text-pink-700 {
    color: #be185d;
}

/* Workflow Section */
.workflow-section {
    padding: 5rem 1rem;
    background-color: var(--bg-white);
}

.workflow-hero-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 3rem 0;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .workflow-hero-title {
        font-size: 3.5rem;
    }
}

.workflow-hero-blue {
    color: var(--primary-blue-700);
}

.workflow-cta-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.workflow-cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue-700) 0%, var(--accent-orange-500) 100%);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.workflow-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.hero-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-orange-600);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    background: var(--accent-orange-700);
}

.workflow-container {
    max-width: 80rem;
    margin: 0 auto;
    overflow-x: hidden;
}

@media (max-width: 639px) {
    .workflow-container {
        padding: 0 0.5rem;
    }
}

.workflow-visual {
    position: relative;
    width: 100%;
}

.workflow-image-backdrop {
    position: relative;
    width: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(30, 58, 138, 0.2);
}

.workflow-image-backdrop img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.95;
}

.workflow-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .workflow-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .workflow-steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
        padding: 0 2rem;
    }
}

.workflow-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    border: 2px solid var(--slate-200);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.workflow-card:hover {
    border-color: var(--primary-blue-500);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.12);
    transform: translateY(-4px);
}

.workflow-card-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-blue-700) 0%, var(--primary-blue-600) 100%);
    color: white;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 8px rgba(30, 64, 175, 0.25);
    margin-bottom: 0.5rem;
}

.workflow-card-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-slate-900);
    letter-spacing: -0.025em;
}

.workflow-card-description {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-slate-600);
}

@media (max-width: 639px) {
    .workflow-card {
        padding: 1.5rem 1.25rem;
    }

    .workflow-card-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.125rem;
    }

    .workflow-card-title {
        font-size: 1.125rem;
    }

    .workflow-card-description {
        font-size: 0.875rem;
    }
}
