/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-light: #ffffff;
    --secondary-light: #f8fafc;
    --accent-blue: #0066cc;
    --accent-purple: #4f46e5;
    --accent-gradient: linear-gradient(135deg, #0066cc 0%, #4f46e5 100%);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-accent: #0066cc;
    --surface-elevated: #ffffff;
    --surface-hover: #f1f5f9;
    --border-subtle: #e2e8f0;
    --shadow-soft: 0 4px 20px rgba(0, 102, 204, 0.08);
    --shadow-strong: 0 8px 40px rgba(0, 102, 204, 0.12);
    --tech-accent-1: #3b82f6;
    --tech-accent-2: #8b5cf6;
    --gradient-tech: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --font-heading: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--primary-light);
    overflow-x: hidden;
}

/* Apply Bricolage Grotesque to all headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

html {
    scroll-behavior: smooth;
}

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

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    word-spacing: 0.1em;
    line-height: 1.1;
}

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

.logo a:hover {
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-accent);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-left: 2rem;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

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

.cta-button {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    min-width: 200px;
}

.cta-button.primary {
    background: var(--accent-gradient);
    color: var(--text-primary);
    box-shadow: var(--shadow-soft);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-accent);
    border: 2px solid var(--accent-blue);
}

.cta-button.secondary:hover {
    background: var(--accent-blue);
    color: var(--primary-dark);
}

.cta-button.tertiary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transform: scale(1.05);
}

.cta-button.tertiary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Universal Button Loading States */
.cta-button .button-text,
.cta-button .button-loader {
    transition: all 0.3s ease;
}

.cta-button .button-loader {
    display: none;
}

.cta-button.loading .button-text {
    display: none;
}

.cta-button.loading .button-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.ai-node {
    position: absolute;
    background: var(--surface-elevated);
    border: 2px solid var(--accent-blue);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-accent);
    box-shadow: var(--shadow-strong);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.ai-node:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.ai-node:nth-child(2) {
    top: 40%;
    right: 20%;
    animation-delay: 1.5s;
}

.ai-node:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.ai-node:nth-child(4) {
    bottom: 15%;
    right: 15%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.about {
    background: var(--secondary-light);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content .lead {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Who We Are Section Styles */
.intro-statement {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-statement .specialization {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.mission-section {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.mission-card {
    background: var(--surface-elevated);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--border-subtle);
    text-align: center;
    max-width: 600px;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    font-size: 1.8rem;
    color: var(--text-accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.mission-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.how-we-do-it {
    margin-bottom: 4rem;
}

.how-we-do-it h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--surface-elevated);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-soft);
    border-color: var(--accent-blue);
}

.step-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.step-item p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.values-section {
    margin-bottom: 4rem;
}

.values-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.value-card {
    background: var(--surface-elevated);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-blue);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
}

.agentic-explanation {
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.agentic-explanation h3 {
    font-size: 1.8rem;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.agentic-answer {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* What We Do Section */
.what-we-do {
    background: var(--primary-light);
}

.what-we-do h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.what-we-do-content {
    max-width: 900px;
    margin: 0 auto;
}

.main-description {
    text-align: center;
    margin-bottom: 4rem;
}

.main-description p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.agentic-explanation {
    background: var(--surface-elevated);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.agentic-explanation h3 {
    font-size: 1.8rem;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.agentic-explanation > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.virtual-teammate h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.teammate-features {
    list-style: none;
    margin-bottom: 2rem;
}

.teammate-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.teammate-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.highlight {
    font-size: 1.2rem;
    color: var(--text-accent);
    font-weight: 600;
    text-align: center;
}

/* What We Do Section New Styles */
.what-it-means {
    margin-bottom: 4rem;
}

.what-it-means h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.teammate-concept {
    max-width: 1000px;
    margin: 0 auto;
}

.teammate-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.teammate-intro p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.capability-card {
    background: var(--surface-elevated);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.capability-card:hover::before {
    transform: scale(1);
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-blue);
}

.capability-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.capability-card h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.capability-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.reality-check {
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.reality-check .highlight {
    font-size: 1.3rem;
    color: var(--text-accent);
    font-weight: 700;
    margin: 0;
}

.tools-usage {
    margin-bottom: 4rem;
}

.tools-usage h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.usage-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.usage-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--surface-elevated);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.usage-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-soft);
    border-color: var(--accent-blue);
}

.usage-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.usage-item span {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.industry-approach {
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.industry-approach h3 {
    font-size: 1.8rem;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.approach-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Tools Section */
.tools {
    background: var(--secondary-light);
}

.tools h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-blue);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.tool-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tool-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Tool Logo Styles */
.tool-logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto;
}

.n8n-logo {
    background: linear-gradient(135deg, #ea4b71, #ff6b9d);
    color: white;
}

.lovable-logo {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.ai-logo {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    color: #d2691e;
    font-size: 1.5rem;
}

.integration-logo {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #2d3748;
    font-size: 2rem;
}

.analytics-logo {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: #2d3748;
    font-size: 1.8rem;
}

.security-logo {
    background: linear-gradient(135deg, #a8caba, #5d4e75);
    color: white;
    font-size: 1.8rem;
}

/* Feature Tags */
.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--text-accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Section Subtitles */
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Project Section */
.featured-project {
    background: var(--primary-light);
}

.project-header {
    text-align: center;
    margin-bottom: 4rem;
}

.project-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-header h3 {
    font-size: 1.8rem;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.project-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.problem, .solution {
    background: var(--surface-elevated);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-subtle);
}

.problem h4, .solution h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.problem h4 {
    color: #ff6b6b;
}

.solution h4 {
    color: #51cf66;
}

.problem p, .solution p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.feature {
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.feature h5 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Impact Section */
.impact {
    background: var(--secondary-light);
}

.impact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.impact-item {
    text-align: center;
    padding: 2rem;
    background: var(--surface-elevated);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.impact-item h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.impact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Enhanced Featured Project Styles */
.project-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.project-content {
    max-width: 1100px;
    margin: 0 auto;
}

.project-overview {
    background: var(--surface-elevated);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
}

.problem h3, .solution h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.problem h3::before {
    content: '⚠️';
    font-size: 1.5rem;
}

.solution h3::before {
    content: '✅';
    font-size: 1.5rem;
}

.problem ul, .solution ul {
    list-style: none;
    padding: 0;
}

.problem li, .solution li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.problem li::before {
    content: '❌';
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

.solution li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #51cf66;
}

/* Project Results Grid */
.project-results {
    margin: 3rem 0;
}

.project-results h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.result-item {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Impact Grid for Projects */
.impact-section {
    margin: 3rem 0;
}

.impact-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.impact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Tech Stack */
.tech-stack {
    margin: 3rem 0;
    background: var(--secondary-light);
    border-radius: 16px;
    padding: 2.5rem;
}

.tech-stack h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background: var(--surface-elevated);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    line-height: 1.6;
    color: var(--text-secondary);
}

.tech-item strong {
    color: var(--text-accent);
}

/* Project CTA */
.project-cta {
    text-align: center;
    margin: 3rem 0 0 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.project-cta h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* AI Assessment Section - Styled like Equipment Maintenance */
.ai-assessment {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.ai-assessment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.assessment-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.assessment-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.assessment-demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.assessment-input-section,
.assessment-output-section {
    background: var(--surface-elevated);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--border-subtle);
}

.assessment-input-section h3,
.assessment-output-section h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.assessment-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.assessment-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.assessment-form label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.assessment-form textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--surface-elevated);
    color: var(--text-primary);
    transition: all 0.3s ease;
    width: 100%;
    min-height: 200px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.assessment-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.assessment-form textarea:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.input-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: none;
}

.error-message.show {
    display: block;
    animation: slideInDown 0.3s ease-out;
}

/* Analysis Results Styles - Same as Equipment Maintenance */
.analysis-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(139, 92, 246, 0.03));
    border-radius: 16px;
    border: 2px dashed rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.analysis-placeholder:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
}

.analysis-placeholder .placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

.analysis-placeholder p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

.loading-state {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(139, 92, 246, 0.03));
    border-radius: 16px;
    border: 2px dashed rgba(59, 130, 246, 0.2);
}

.loading-state .placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.loading-state p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

.result-content {
    width: 100%;
}

.assessment-output {
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    animation: slideInUp 0.5s ease-out;
}

.assessment-output p {
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Loading States */
.cta-button.loading .button-text {
    display: none;
}

.cta-button.loading .button-loader {
    display: inline-block;
}

.cta-button .button-loader {
    display: none;
}

/* Contact Form Styles */
.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: #f8f9fa;
    border-left: 4px solid #3b82f6;
    font-weight: 500;
    text-align: center;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.assessment-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.assessment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.assessment-form-section {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.assessment-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.assessment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 16px;
    flex-shrink: 0;
}

.bot-icon {
    font-size: 2rem;
}

.assessment-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.assessment-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.assessment-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
}

.assessment-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.assessment-form label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.assessment-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--surface-elevated);
    color: var(--text-primary);
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
    line-height: 1.5;
}

.assessment-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Form Header Styles */
.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Input Group Styles */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.input-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Error Message Styles */
.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: none;
}

.error-message.show {
    display: block;
    animation: slideInDown 0.3s ease-out;
}

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

.assessment-form textarea::placeholder {
    color: var(--text-secondary);
    font-style: italic;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.875rem;
    display: none;
}

.error-message.show {
    display: block;
}

.assessment-button {
    background: var(--accent-gradient);
    color: var(--text-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.assessment-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.assessment-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-text,
.button-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.button-loading {
    display: none;
}

.assessment-button.loading .button-text {
    display: none;
}

.assessment-button.loading .button-loading {
    display: flex;
}

.assessment-result-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.assessment-result-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.assessment-result {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.loading-state {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-secondary);
    padding: 3rem 2rem;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-subtle);
    border-top: 4px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.loading-steps .step {
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    opacity: 0.5;
}

.loading-steps .step.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    color: var(--text-accent);
    opacity: 1;
    transform: scale(1.05);
}

.loading-state.show {
    display: flex;
}

.result-content {
    color: var(--text-secondary);
    font-style: italic;
}

.result-content.hide {
    display: none;
}

.assessment-output {
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.assessment-output.show {
    display: block;
}

.assessment-output p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-subtle);
    border-top: 2px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success animation */
.assessment-output.show {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for AI Assessment */
@media (max-width: 1024px) {
    .assessment-demo-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .assessment-header h2 {
        font-size: 2rem;
    }
    
    .assessment-input-section,
    .assessment-output-section {
        padding: 1.5rem;
    }
    
    .assessment-form textarea {
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .assessment-header h2 {
        font-size: 1.75rem;
    }
    
    .assessment-input-section,
    .assessment-output-section {
        padding: 1rem;
    }
    
    .assessment-form textarea {
        min-height: 120px;
        font-size: 0.95rem;
    }
    
    .analysis-placeholder {
        padding: 2rem 1rem;
    }
    
    .loading-state {
        padding: 2rem 1rem;
    }
}

/* Pilot Tool Section */
.pilot-tool {
    background: var(--secondary-light);
    position: relative;
}

.pilot-tool::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.pilot-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.pilot-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.pilot-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pilot-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.demo-input-section,
.demo-output-section {
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.demo-input-section h3,
.demo-output-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-input-section h3::before {
    content: '⚙️';
    font-size: 1.2rem;
}

.demo-output-section h3::before {
    content: '🤖';
    font-size: 1.2rem;
}


.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.input-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--surface-elevated);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.input-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--border-subtle);
    border-radius: 3px;
    outline: none;
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-soft);
}

.slider-value {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-gradient);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

.analyze-button {
    background: var(--accent-gradient);
    color: var(--text-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-top: 1rem;
}

.analyze-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.analyze-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.analyze-button .button-text,
.analyze-button .button-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.analyze-button .button-loading {
    display: none;
}

.analyze-button.loading .button-text {
    display: none;
}

.analyze-button.loading .button-loading {
    display: flex;
}

.analysis-results {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-message {
    text-align: center;
    color: var(--text-secondary);
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(139, 92, 246, 0.03));
    border-radius: 16px;
    border: 2px dashed rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.placeholder-message:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

.placeholder-message .ai-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.placeholder-message p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

.result-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: var(--shadow-soft);
}

.result-card.show {
    opacity: 1;
    transform: translateY(0);
}

.result-card.full-width {
    grid-column: 1 / -1;
    text-align: left;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.result-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.result-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.result-card.low-risk .result-value {
    color: #22c55e;
}

.result-card.medium-risk .result-value {
    color: #f59e0b;
}

.result-card.high-risk .result-value {
    color: #ef4444;
}

.action-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
}

.action-impact {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

.demo-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.action-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.action-button.primary {
    background: var(--accent-gradient);
    color: var(--text-primary);
    box-shadow: var(--shadow-soft);
}

.action-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.action-button.secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-subtle);
}

.action-button.secondary:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.pilot-footer {
    text-align: center;
    position: relative;
    z-index: 1;
}

.demo-note {
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
}

.demo-note h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.demo-note p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design for Pilot Tool */
@media (max-width: 1024px) {
    .pilot-demo {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .input-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pilot-header h2 {
        font-size: 2rem;
    }
    
    .demo-input-section,
    .demo-output-section {
        padding: 1.5rem;
    }
    
    .demo-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pilot-header h2 {
        font-size: 1.75rem;
    }
    
    .demo-input-section,
    .demo-output-section {
        padding: 1rem;
    }
}


/* Contact Section */
.contact {
    background: var(--primary-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-form {
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--surface-elevated);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: var(--surface-elevated);
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.footer-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.footer-logo a:hover {
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo .logo-img {
    height: 40px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--surface-elevated);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

.footer-bottom p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding-left: 1.5rem;
    }
    
    .hero-text h2 {
        font-size: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .problem-solution {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Medium screen adjustments for 2x2 grids */
    .values-grid {
        max-width: 700px;
        gap: 1.5rem;
    }
    
    .capabilities-grid {
        max-width: 700px;
        gap: 1.5rem;
    }
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    padding: 0;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        padding: 100px 0 0 0;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        gap: 1rem;
        align-items: center;
        justify-content: flex-start;
        overflow-y: auto;
        max-height: 100vh;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        text-align: center;
        width: 100%;
        max-width: 280px;
        border-radius: 12px;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }
    
    .nav-links a:hover {
        background: var(--surface-hover);
        color: var(--text-accent);
        border-color: var(--accent-blue);
        transform: translateY(-1px);
    }
    
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    nav {
        padding: 1rem 20px;
        position: relative;
    }
    
    body {
        padding-top: 80px;
    }
    
    .hero {
        padding: 4rem 0;
        margin-top: -250px;
        padding-top: 250px;
    }
    
    .hero-content {
        padding-left: 1rem;
    }
    
    /* Technology Stack Mobile Fixes */
    .tech-stack {
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .tech-stack h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .tech-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tech-item {
        padding: 1rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Who We Are Mobile Styles */
    .values-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .mission-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .process-steps {
        gap: 1.5rem;
    }
    
    .step-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-item:hover {
        transform: translateY(-5px);
    }
    
    /* What We Do Mobile Styles */
    .capabilities-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .capability-card {
        padding: 1.5rem;
    }
    
    .usage-list {
        gap: 1rem;
    }
    
    .usage-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .usage-item:hover {
        transform: translateY(-3px);
    }
    
    .industry-approach {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .reality-check {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .cta-button {
        width: 100%;
        max-width: 350px;
        justify-content: center;
        min-width: unset;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        max-width: 100%;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .footer-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .mobile-menu-toggle {
        right: 15px;
        width: 28px;
        height: 20px;
    }
    
    .nav-links {
        padding: 80px 0 0 0;
        gap: 0.75rem;
        max-height: 100vh;
    }
    
    .nav-links a {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        max-width: 250px;
    }
    
    nav {
        padding: 1rem 15px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .hero {
        margin-top: -50px;
        padding-top: 150px;
    }
    
    /* Technology Stack Mobile Fixes for Small Screens */
    .tech-stack {
        margin: 1.5rem 0;
        padding: 1rem;
    }
    
    .tech-stack h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .tech-items {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .tech-item {
        padding: 0.75rem;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Who We Are Mobile Styles - Small Screens */
    .values-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .value-card {
        padding: 1.25rem;
    }
    
    .mission-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .mission-card h3 {
        font-size: 1.5rem;
    }
    
    .process-steps {
        gap: 1rem;
    }
    
    .step-item {
        padding: 1.25rem;
        gap: 0.75rem;
    }
    
    .agentic-explanation {
        padding: 2rem;
        margin: 0 0.5rem;
    }
    
    /* What We Do Mobile Styles - Small Screens */
    .capabilities-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .capability-card {
        padding: 1.25rem;
    }
    
    .usage-list {
        gap: 0.75rem;
    }
    
    .usage-item {
        padding: 1rem;
        gap: 0.75rem;
        flex-direction: column;
        text-align: center;
    }
    
    .usage-item:hover {
        transform: translateY(-2px);
    }
    
    .industry-approach {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .reality-check {
        padding: 1.25rem;
        margin: 0 0.5rem;
    }
    
    .teammate-intro p {
        font-size: 1.1rem;
    }
    
    /* Mobile Footer Optimizations for 9:16 Aspect Ratio */
    footer {
        padding: 1.5rem 0 0.5rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-logo h3 {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }
    
    .footer-logo p {
        font-size: 0.8rem;
    }
    
    .footer-links {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        white-space: nowrap;
        min-width: auto;
    }
    
    .footer-bottom {
        padding-top: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    /* Ensure footer doesn't overflow 9:16 aspect ratio */
    @media (max-height: 640px) and (max-width: 360px) {
        footer {
            padding: 1rem 0 0.5rem;
        }
        
        .footer-content {
            gap: 0.75rem;
        }
        
        .footer-links {
            gap: 0.5rem;
        }
        
        .footer-bottom {
            padding-top: 0.5rem;
            margin-top: 0.5rem;
        }
    }
}

/* Equipment Maintenance Prediction Tool Styles */
.equipment-maintenance {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.equipment-maintenance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.maintenance-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.maintenance-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.maintenance-demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.maintenance-input-section,
.maintenance-output-section {
    background: var(--surface-elevated);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--border-subtle);
}

.maintenance-input-section h3,
.maintenance-output-section h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.maintenance-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.sensor-parameters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.number-input {
    padding: 0.75rem;
    border: 2px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--surface-elevated);
    color: var(--text-primary);
    transition: all 0.3s ease;
    width: 100%;
}

.number-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.number-input:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.input-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.input-group select,
.input-group input[type="number"] {
    padding: 0.75rem;
    border: 2px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--surface-elevated);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.input-group select:focus,
.input-group input[type="number"]:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Number Input Validation Styles */
.number-input:invalid {
    border-color: #ef4444;
}

.number-input:invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Analysis Results Styles */
.analysis-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(139, 92, 246, 0.03));
    border-radius: 16px;
    border: 2px dashed rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.analysis-placeholder:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
}

.analysis-placeholder .placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.analysis-placeholder p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

.analysis-results {
    width: 100%;
    animation: slideInUp 0.5s ease-out;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analysis-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.analysis-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.analysis-card.full-width {
    grid-column: 1 / -1;
}

.analysis-card .card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.analysis-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.result-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Confidence Bar */
.confidence-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
    border-radius: 4px;
    transition: width 0.6s ease;
    width: 0%;
}

/* Risk Badge Styles */
.risk-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-badge.low {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.risk-badge.medium {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}

.risk-badge.high {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
}

/* Issues List */
.issues-list {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.issues-list .issue-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.issues-list .issue-item:last-child {
    border-bottom: none;
}

.issues-list .issue-item::before {
    content: '⚠️';
    font-size: 0.9rem;
    margin-top: 0.1rem;
}

/* Recommendation Text */
.recommendation-text {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
}

/* Loading States */
.analyze-button.loading .button-text {
    display: none;
}

.analyze-button.loading .button-loader {
    display: inline-block;
}

.analyze-button .button-loader {
    display: none;
}

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

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

.loading-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Responsive Design for Equipment Maintenance */
@media (max-width: 1024px) {
    .maintenance-demo-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sensor-parameters {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .maintenance-header h2 {
        font-size: 2rem;
    }
    
    .maintenance-input-section,
    .maintenance-output-section {
        padding: 1.5rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sensor-parameters {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Customer Support Agent Styles */
.customer-support-agent {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.agent-header {
    text-align: center;
    margin-bottom: 4rem;
}

.agent-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agent-demo-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Chat Section */
.chat-section {
    background: var(--surface-elevated);
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.chat-container {
    height: 600px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.agent-avatar {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
}

.agent-details h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.agent-status {
    font-size: 0.9rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agent-status::before {
    content: '●';
    color: #10b981;
    font-size: 0.8rem;
}

.reset-chat {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.reset-chat:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    gap: 0.75rem;
    animation: messageSlideIn 0.3s ease-out;
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message.ai .message-avatar {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
}

.message.user .message-avatar {
    background: var(--surface-hover);
    border: 2px solid var(--border-subtle);
}

.message-content {
    max-width: 70%;
    word-wrap: break-word;
}

.message-text {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    line-height: 1.5;
    border: 1px solid var(--border-subtle);
}

.message.user .message-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
}

.message.ai .message-text {
    border-left: 4px solid var(--accent-blue);
}

/* Chat Options */
.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.option-button {
    background: white;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.option-button:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Chat Input */
.chat-input-container {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid var(--border-subtle);
}

.chat-input-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

#chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

#chat-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

#send-button {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#send-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

#send-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Benefits Section */
.benefits-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.benefits-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--surface-hover);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.benefit-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

/* Demo Instructions */
.demo-instructions {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
}

.demo-instructions h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-align: center;
}

.example-queries {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.example-btn {
    background: var(--surface-elevated);
    border: 2px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: left;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.example-btn:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 102, 204, 0.05);
    transform: translateX(4px);
}

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

@keyframes typingDots {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.typing-indicator .message-avatar {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-dots {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--accent-blue);
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-blue);
    animation: typingDots 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .agent-demo-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits-section {
        position: static;
    }
    
    .chat-container {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .customer-support-agent {
        padding: 4rem 0;
    }
    
    .agent-header h2 {
        font-size: 2rem;
    }
    
    .chat-container {
        height: 450px;
    }
    
    .chat-header {
        padding: 1rem;
    }
    
    .chat-messages {
        padding: 1rem;
    }
    
    .chat-input-container {
        padding: 1rem;
    }
    
    .benefits-grid {
        gap: 1rem;
    }
    
    .benefit-card {
        padding: 0.75rem;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .chat-input-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #chat-input {
        width: 100%;
    }
    
    #send-button {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .chat-options {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .option-button {
        width: 100%;
        text-align: center;
    }
    
    .example-queries {
        gap: 0.5rem;
    }
    
    .example-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}