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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background: #ffffff;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    z-index: 1000;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: fit-content;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.nav-logo h2 {
    color: #0f172a;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.025em;
    margin: 0;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #0f172a;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 24px;
    height: 2px;
    background: #0f172a;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 1px;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
}

.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.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #64748b;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #0f172a;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(15, 23, 42, 0.1);
}

.btn-primary:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(15, 23, 42, 0.15);
}

.btn-secondary {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    justify-content: center;
}

/* Hero Animation */
.ai-visualization {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 50px;
    margin-top: -140px;
}

.molecule-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.molecule {
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    animation: orbit 8s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.molecule:nth-child(1) {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.molecule:nth-child(2) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2.7s;
}

.molecule:nth-child(3) {
    bottom: 30%;
    right: 20%;
    animation-delay: 5.4s;
}

.logo-container {
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 400px;
    height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.3));
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(59, 130, 246, 0.4));
}

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

@keyframes orbit {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.2); }
    50% { transform: translate(0, -40px) scale(1); }
    75% { transform: translate(-30px, -30px) scale(1.2); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

/* Demo Arrow Link */
.demo-arrow-link {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-decoration: none;
    z-index: 10000 !important;
    transition: all 0.3s ease, opacity 0.3s ease;
    opacity: 1;
    visibility: visible;
    display: flex !important;
    pointer-events: auto;
}

.demo-arrow-link.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.demo-arrow-link:hover {
    transform: translateX(-50%) translateY(-5px);
}

.demo-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.demo-arrow-text {
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-arrow-icon {
    font-size: 28px;
    color: white;
    animation: arrowBounce 2s ease-in-out infinite;
}

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

@media (max-width: 768px) {
    .demo-arrow-link {
        bottom: 20px;
    }
    
    .demo-arrow-container {
        padding: 12px 24px;
    }
    
    .demo-arrow-text {
        font-size: 16px;
    }
    
    .demo-arrow-icon {
        font-size: 24px;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.section-header p {
    font-size: 20px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: #ffffff;
}

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

.service-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #3b82f6;
    font-size: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 16px;
}

/* Industries Section */
.industries {
    padding: 120px 0;
    background: #f8fafc;
}

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

.industry-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.industry-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 20px;
}

.industry-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

.industry-card ul {
    list-style: none;
}

.industry-card li {
    color: #64748b;
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
    font-size: 16px;
}

.industry-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

/* About Section */
.about {
    padding: 120px 0;
    background: #ffffff;
}

.about-team {
    margin-top: 60px;
}

.about-team > h3 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.025em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-card-link:hover .team-card {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.team-image {
    width: 200px;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    flex-shrink: 0;
    border-radius: 50%;
    margin: 32px auto 0;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-image::after {
    display: none;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-info {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-info h4 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

.team-role {
    font-size: 16px;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 20px;
}

.team-bio {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    font-weight: 400;
}

/* Responsive Design for About Section */
@media (max-width: 968px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .team-image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 80px 0;
    }
    
    .about-team > h3 {
        font-size: 24px;
        margin-bottom: 32px;
    }
    
    .team-grid {
        gap: 32px;
    }
    
    .team-image {
        width: 150px;
        height: 150px;
        margin-top: 24px;
    }
    
    .team-info {
        padding: 24px;
    }
    
    .team-info h4 {
        font-size: 22px;
    }
    
    .team-role {
        font-size: 14px;
    }
    
    .team-bio {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: #ffffff;
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.contact-info-simple {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 400px;
    width: 100%;
}


.contact-card {
    background: #f8fafc;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.contact-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.contact-item p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.response-time {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
}

.response-time i {
    font-size: 24px;
    margin-bottom: 12px;
}

.response-time p {
    font-size: 14px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 16px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.footer-section h3 {
    font-size: 24px;
}

.footer-section h4 {
    font-size: 16px;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
}

.footer-section a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #1e293b;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 16px;
}

.social-links a:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 32px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .nav-logo h2 {
        font-size: 18px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 32px 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .hero-title {
        font-size: 40px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .ai-visualization {
        margin-top: 0;
        padding-right: 0;
        height: auto;
        display: flex;
        justify-content: center;
    }
    
    .hero-logo {
        width: 280px;
        height: 280px;
    }
    
    .logo-container {
        width: 280px;
        height: 280px;
    }
    
    .molecule {
        width: 18px;
        height: 18px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form {
        padding: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .container {
        padding: 0 16px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .nav-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .nav-logo h2 {
        font-size: 16px;
    }
    
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .ai-visualization {
        margin-top: 0;
        padding-right: 0;
        height: auto;
        display: flex;
        justify-content: center;
    }
    
    .hero-logo {
        width: 220px;
        height: 220px;
    }
    
    .logo-container {
        width: 220px;
        height: 220px;
    }
    
    .molecule {
        width: 14px;
        height: 14px;
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .services-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .industry-card {
        padding: 24px;
    }

    .contact-form {
        padding: 24px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Form Validation */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #ef4444;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #10b981;
}

/* Success Message */
.success-message {
    background: #10b981;
    color: white;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: none;
    font-size: 14px;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

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

/* Subtle animations */
.service-card,
.industry-card,
.contact-card {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Email Modal Styles */
.email-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.email-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.email-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e2e8f0;
}

.email-modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.email-modal-body {
    padding: 32px;
}

.email-modal-body p {
    margin-bottom: 16px;
    color: #374151;
}

.email-body-section {
    margin: 24px 0;
}

.email-body-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.email-body-text {
    width: 100%;
    height: 150px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 16px;
}

.copy-email-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-email-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.email-instructions {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.email-instructions p {
    margin-bottom: 12px;
    font-weight: 600;
    color: #374151;
}

.email-instructions ol {
    margin: 0;
    padding-left: 20px;
}

.email-instructions li {
    margin-bottom: 8px;
    color: #64748b;
    line-height: 1.5;
}

.email-instructions strong {
    color: #0f172a;
}

@media (max-width: 768px) {
    .email-modal {
        padding: 16px;
    }
    
    .email-modal-content {
        max-height: 90vh;
    }
    
    .email-modal-header,
    .email-modal-body {
        padding: 20px;
    }
    
    .email-modal-header h3 {
        font-size: 18px;
    }
}

/* Platform Preview Section */
.platform-preview {
    padding: 100px 0;
    background: #f8fafc;
}

.platform-mockup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.mockup-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card.active {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.project-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.project-time {
    font-size: 12px;
    color: #94a3b8;
}

.ingredient-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.ingredient-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.ingredient-item i {
    color: #22c55e;
    font-size: 20px;
}

.ingredient-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ingredient-info strong {
    font-size: 13px;
    color: #0f172a;
}

.ingredient-info span {
    font-size: 11px;
    color: #64748b;
}

.ingredient-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
}

.ingredient-preview i {
    color: #22c55e;
}

.btn-simulate {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-simulate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.mockup-results h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 600;
}

.result-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.result-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.result-value {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.result-detail {
    font-size: 12px;
    color: #94a3b8;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

/* Capabilities Section */
.capabilities {
    padding: 100px 0;
    background: #ffffff;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

/* Product Sections */
.product-section {
    margin-bottom: 60px;
}

.product-section:last-child {
    margin-bottom: 0;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
}

.product-section .capabilities-grid {
    margin-top: 24px;
}

.capability-card {
    background: #f8fafc;
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.capability-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.capability-icon i {
    font-size: 28px;
    color: white;
}

.capability-card h3 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.capability-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.capability-features {
    list-style: none;
    padding: 0;
}

.capability-features li {
    color: #475569;
    font-size: 13px;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.capability-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

/* Market Opportunity Section */
.market-opportunity {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.market-content {
    margin-top: 60px;
}

.market-hero-stat {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    padding: 40px 48px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
    position: relative;
    overflow: hidden;
}

.market-hero-stat::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.market-hero-number {
    font-size: 64px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.market-hero-label {
    font-size: 22px;
    color: white;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.market-hero-subtext {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 12px;
    position: relative;
    z-index: 1;
}

.market-source {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.market-source:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.market-drivers {
    background: white;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 60px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.market-drivers h4 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 600;
}

.driver-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.driver-tag {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f0f9ff, #dbeafe);
    color: #1e40af;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #3b82f6;
    transition: all 0.3s ease;
}

.driver-tag:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.stat-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-growth {
    font-size: 13px;
    color: #64748b;
}

.market-challenge {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
}

.market-challenge h3 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 16px;
    font-weight: 600;
}

.market-challenge p {
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.market-challenge p:last-child {
    margin-bottom: 0;
}

.target-applications {
    text-align: center;
}

.target-applications h3 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 40px;
    font-weight: 600;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.application-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.application-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.application-card i {
    font-size: 40px;
    color: #3b82f6;
    margin-bottom: 20px;
}

.application-card h4 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 600;
}

.application-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.contact-description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Demo Instructions */
.demo-instructions {
    text-align: center;
    margin: 32px 0 24px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 12px;
    border: 2px solid #f59e0b;
}

.demo-instructions p {
    margin: 0;
    color: #92400e;
    font-weight: 600;
    font-size: 15px;
}

.demo-instructions i {
    margin-right: 8px;
    animation: bounce 2s ease-in-out infinite;
}

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

@keyframes buttonPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    }
    50% { 
        transform: scale(1.03);
        box-shadow: 0 8px 24px rgba(34, 197, 94, 0.5);
    }
}

/* Arrow Pointer */
.arrow-pointer {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    margin-top: 16px;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

.arrow-pointer i {
    font-size: 70px;
    color: #22c55e;
    font-weight: 900;
    filter: drop-shadow(0 3px 6px rgba(34, 197, 94, 0.4));
    text-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
    margin-left: calc(25% - 35px);
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(12px);
    }
}

@media (max-width: 768px) {
    .arrow-pointer {
        justify-content: center;
    }
    
    .arrow-pointer i {
        margin-left: 0;
    }
}

/* New Formulation Button */
.btn-new-formulation {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: buttonPulse 2s ease-in-out infinite;
}

.btn-new-formulation:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.btn-new-formulation i {
    font-size: 16px;
}

/* Formulation Modal */
.formulation-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.formulation-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content-formulation {
    background: white;
    border-radius: 20px;
    width: calc(100% - 32px);
    max-width: 600px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

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

.modal-header {
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 22px;
    color: #0f172a;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.modal-close:hover {
    color: #0f172a;
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.modal-step h4 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 600;
}

.step-hint {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 20px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.step-hint i {
    color: #3b82f6;
    margin-right: 6px;
}

/* Delivery Options */
.delivery-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.delivery-option {
    padding: 24px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delivery-option:hover {
    background: #f0f9ff;
    border-color: #3b82f6;
    transform: translateY(-4px);
}

.delivery-option.selected {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.delivery-option i {
    font-size: 32px;
    color: #3b82f6;
    margin-bottom: 12px;
    display: block;
}

.delivery-option span {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

/* Ingredient Search */
.ingredient-search {
    position: relative;
    margin-bottom: 24px;
}

.search-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ingredient-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.ingredient-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.suggestion-item:hover {
    background: #f8fafc;
}

.suggestion-item strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
}

.suggestion-item span {
    color: #64748b;
    font-size: 12px;
}

.selected-ingredients {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.selected-ingredient {
    padding: 16px;
    background: #f8fafc;
    border: 2px solid #3b82f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.selected-ingredient i {
    color: #22c55e;
    font-size: 24px;
}

.selected-ingredient-info {
    flex: 1;
}

.selected-ingredient-info strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 4px;
}

.selected-ingredient-info span {
    color: #64748b;
    font-size: 12px;
}

.selected-ingredient-compound {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.selected-ingredient-compound.active-compound {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 2px solid #f59e0b;
    animation: pulseCompound 2s ease-in-out infinite;
}

@keyframes pulseCompound {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

/* Simulation Options */
.simulation-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.simulation-option {
    padding: 16px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.simulation-option:hover {
    background: #f0f9ff;
    border-color: #3b82f6;
    transform: translateX(4px);
}

.simulation-option.selected {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.simulation-option i {
    font-size: 28px;
    color: #3b82f6;
}

.simulation-option div {
    flex: 1;
}

.simulation-option strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 4px;
}

.simulation-option span {
    color: #64748b;
    font-size: 13px;
}

.btn-run-simulation {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-run-simulation:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-run-simulation:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Demographics Form */
.demographics-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-input-group label {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}

.demo-select {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-select:hover {
    border-color: #cbd5e1;
}

.demo-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-group-demo {
    display: flex;
    gap: 20px;
}

.checkbox-label-demo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.checkbox-label-demo:hover {
    background: #f8fafc;
}

.checkbox-label-demo input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.checkbox-label-demo span {
    font-size: 14px;
    color: #334155;
}

.age-range-display,
.population-size-display {
    padding: 12px 16px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

/* Simulation Loading */
.simulation-loading {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.simulation-loading h4 {
    color: #0f172a;
    margin-bottom: 12px;
}

.loading-status {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    width: 0%;
    transition: width 0.3s ease;
}

/* Simulation Results */
.simulation-results {
    text-align: center;
    padding: 20px;
}

.result-success {
    margin-bottom: 32px;
}

.result-success i {
    font-size: 56px;
    color: #22c55e;
    margin-bottom: 16px;
}

.result-success h4 {
    color: #0f172a;
    font-size: 22px;
    font-weight: 600;
}

.result-main {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.result-label-large {
    font-size: 16px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-value-large {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.result-range {
    font-size: 18px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 16px;
}

.result-explanation {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    padding: 16px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
}

.btn-add-to-projects {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-to-projects:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

/* Responsive Design for New Sections */
@media (max-width: 968px) {
    .platform-mockup {
        grid-template-columns: 1fr;
    }
    
    .capabilities-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .market-stats {
        grid-template-columns: 1fr;
    }
    
    .market-challenge {
        padding: 32px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .market-hero-stat {
        padding: 32px 24px;
    }
    
    .market-hero-number {
        font-size: 48px;
    }
    
    .market-hero-label {
        font-size: 18px;
    }
    
    .market-hero-subtext {
        font-size: 14px;
    }
    
    /* Modal adjustments for mobile */
    .formulation-modal {
        padding: 10px;
    }
    
    .modal-content-formulation {
        width: 95%;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .delivery-options {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .delivery-option {
        padding: 16px;
    }
    
    .delivery-option i {
        font-size: 24px;
    }
    
    .result-value-large {
        font-size: 56px;
    }
}

/* Bioavailability Pipeline Animation Styles */
.bioavailability-pipeline {
    width: 100%;
    padding: 40px 20px 30px 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pipeline-svg {
    width: 100%;
    height: auto;
    max-height: 220px;
    display: block;
    margin-bottom: 20px;
}

.pipeline-stage {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stage-node {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pipeline-connector {
    transition: stroke 0.3s ease;
}

.pipeline-particle {
    transition: opacity 0.3s ease, fill 0.3s ease;
}

/* Stage hover effects */
.pipeline-stage:hover .stage-node {
    filter: drop-shadow(0 4px 12px rgba(34, 197, 94, 0.3));
}

/* Shimmer effect for idle state */
@keyframes shimmer {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.5;
    }
}

.pipeline-stage .stage-node {
    animation: shimmer 2s ease-in-out infinite;
}

.pipeline-stage.active .stage-node {
    animation: none;
}

/* Status text styles */
.pipeline-status-text {
    text-align: center;
    padding: 20px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.status-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-description {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    line-height: 1.6;
}

/* Completion state styles */
.completion-heading {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #22c55e, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.completion-band {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 16px;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uncertainty-bar {
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, 
        rgba(34, 197, 94, 0.1) 0%, 
        rgba(34, 197, 94, 0.3) 25%, 
        rgba(34, 197, 94, 0.5) 50%, 
        rgba(34, 197, 94, 0.3) 75%, 
        rgba(34, 197, 94, 0.1) 100%
    );
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.uncertainty-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(34, 197, 94, 0.4) 50%, 
        transparent 100%
    );
    animation: uncertaintyPulse 3s ease-in-out infinite;
}

@keyframes uncertaintyPulse {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.uncertainty-range {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 30px;
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid rgba(34, 197, 94, 0.4);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uncertainty-range::before,
.uncertainty-range::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 20px;
    background: #22c55e;
    border-radius: 2px;
}

.uncertainty-range::before {
    left: 10%;
}

.uncertainty-range::after {
    right: 10%;
}

.completion-note {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .pipeline-stage,
    .stage-node,
    .pipeline-particle,
    .uncertainty-bar::after {
        animation: none !important;
        transition: none !important;
    }
    
    .pipeline-particle {
        display: none;
    }
}

/* Responsive design for pipeline */
@media (max-width: 768px) {
    .bioavailability-pipeline {
        padding: 30px 15px;
    }
    
    .pipeline-svg {
        margin-bottom: 20px;
    }
    
    .status-title {
        font-size: 18px;
    }
    
    .status-description {
        font-size: 13px;
    }
    
    .completion-heading {
        font-size: 28px;
    }
    
    .completion-band {
        max-width: 300px;
        height: 50px;
    }
    
    .uncertainty-range {
        width: 150px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .pipeline-svg {
        height: 200px;
    }
    
    .status-title {
        font-size: 16px;
    }
    
    .status-description {
        font-size: 12px;
    }
    
    .completion-heading {
        font-size: 24px;
    }
}