/* Base styles */
:root {
    --primary-color: #0D6EFD;
    --primary-dark: #0A54C3;
    --primary-light: #E6F0FF;
    --secondary-color: #22C55E;
    --accent-color: #F59E0B;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --off-white: #F9FAFB;
    --white: #FFFFFF;
    --light-gray: #E2E8F0;
    --border-radius: 8px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.5;
}

.container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Header styles */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo img {
    height: 48px;
    width: auto;
}

.primary-nav {
    margin-left: auto;
    margin-right: 20px;
}

.nav-list {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
    gap: 30px;
}

.nav-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 8px 4px;
    transition: color 0.2s;
}

.nav-item a:hover, .nav-item a:focus {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.site-header .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

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

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .site-header .container {
        padding: 0 20px;
    }
    
    .site-header .primary-nav {
        position: fixed;
        top: 82px;
        left: 0;
        width: 100%;
        background-color: white;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    }
    
    .site-header .primary-nav.active {
        height: auto;
        padding: 20px 0;
    }
    
    .site-header .primary-nav ul,
    .site-header .primary-nav .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .site-header .mobile-menu-toggle {
        display: flex;
    }
    
    .site-header .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .site-header .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .site-header .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .header-actions {
        display: none;
    }
}

/* Hero section */
.hero-section {
    padding: 180px 0 var(--spacing-xxl);
    background-color: #f0f6ff;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI4MDAiIHZpZXdCb3g9IjAgMCAxNDQwIDgwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPjxwYXRoIGQ9Ik0xMDAgMFYxMDAiIHN0cm9rZT0iIzFFNzVGRiIgc3Ryb2tlLXdpZHRoPSIwLjUiIHN0cm9rZS1kYXNoYXJyYXk9IjQgNCIvPjxwYXRoIGQ9Ik0wIDEwMEgxMDAiIHN0cm9rZT0iIzFFNzVGRiIgc3Ryb2tlLXdpZHRoPSIwLjUiIHN0cm9rZS1kYXNoYXJyYXk9IjQgNCIvPjwvcGF0dGVybj48cmVjdCB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iIG9wYWNpdHk9IjAuNyIvPjxjaXJjbGUgY3g9IjQwMCIgY3k9IjIwMCIgcj0iNSIgZmlsbD0iIzFFNzVGRiIgb3BhY2l0eT0iMC43Ii8+PGNpcmNsZSBjeD0iNjAwIiBjeT0iNDAwIiByPSI1IiBmaWxsPSIjMUU3NUZGIiBvcGFjaXR5PSIwLjciLz48cGF0aCBkPSJNMjAwIDMwMEw0MDAgMjAwTDYwMCA0MDAiIHN0cm9rZT0iIzFFNzVGRiIgc3Ryb2tlLXdpZHRoPSIyIiBvcGFjaXR5PSIwLjQiLz48L3N2Zz4='), linear-gradient(rgba(30, 117, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 117, 255, 0.05) 1px, transparent 1px); 
    background-size: cover, 100px 100px, 100px 100px; 
    background-blend-mode: normal, normal, normal; 
    padding: 180px 0 var(--spacing-xxl); 
    position: relative; 
    overflow: hidden; 
    border-bottom: 1px solid var(--light-gray);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-color: rgba(255,255,255,0.5);
}

.hero-flex {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xxl);
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-xl);
    max-width: 900px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: var(--spacing-xl);
}

.feature-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.feature-list li a:hover {
    color: var(--primary-color);
}

.feature-list li a i {
    transition: transform 0.3s ease;
}

.feature-list li a:hover i {
    transform: translateX(5px);
}

/* Chat Interface */
.demo-chat-interface {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 650px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.demo-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.demo-tag {
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 100px;
    font-weight: 500;
}

.demo-chat-area {
    flex: 1;
    padding: var(--spacing-md);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    min-height: 350px;
    max-height: 350px;
    background-color: var(--off-white);
}

.demo-chat-message {
    max-width: 80%;
    padding: var(--spacing-sm);
    border-radius: 12px;
    margin-bottom: 8px;
}

.system {
    background-color: var(--white);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.user {
    background-color: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.demo-options {
    padding: var(--spacing-md);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.demo-option-btn {
    background-color: var(--off-white);
    border: none;
    border-radius: 20px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.demo-option-btn:hover {
    background-color: var(--light-gray);
}

/* Section styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.section-header p {
    color: var(--text-light);
}

/* Solutions section */
.solutions-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.solution-card {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    background-color: var(--off-white);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.solution-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--white);
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Case study section */
.case-study-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.case-study-text h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.case-study-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.case-study-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

/* How it works section */
.how-it-works-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: var(--spacing-sm);
}

/* Team section */
.team-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-md);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-title {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.team-bio {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Responsive styles */
@media (min-width: 992px) {
    .hero-flex {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .hero-content {
        width: 50%;
        padding-right: 2rem;
    }
    
    .hero-visual {
        width: 50%;
    }
}

/* Media queries */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .case-study-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 90% !important;
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h1 {
        font-size: 2.5rem;
    }
    
    .primary-nav {
        display: none;
    }
    
    .mobile-only {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .primary-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;
        z-index: 1000;
    }
    
    .primary-nav.active .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .primary-nav.active .nav-item {
        width: 100%;
    }
    
    .primary-nav.active .nav-item a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
    }
    
    .primary-nav.active .nav-item a:hover {
        background-color: var(--light-gray);
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
    }
    
    .mobile-menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--text-dark);
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .hero-section {
        padding-top: 140px !important;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: inline-block;
    }
}

/* Footer */
.site-footer {
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    background-color: var(--white);
    border-top: 1px solid var(--light-gray);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.footer-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.footer-nav-group h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.footer-nav-group ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    list-style: none;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    border-top: 1px solid var(--light-gray);
    padding-top: var(--spacing-lg);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.875rem;
}

.copyright {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-outline:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Image hover effect */
img:not(.logo img) {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:not(.logo img):hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Card hover effect */
.card, .feature-box, .team-member, .testimonial, .stat-box, .feature-list li {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .feature-box:hover, .team-member:hover, .testimonial:hover, .stat-box:hover, .feature-list li:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Click effect */
.card:active, .feature-box:active, .team-member:active, .testimonial:active, .stat-box:active, img:active, .feature-list li:active {
    transform: scale(0.98);
}

/* Enhanced hero animation */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 117, 255, 0.1), rgba(34, 197, 94, 0.1));
    z-index: 0;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.4;
        background-position: 0% 50%;
    }
    50% {
        opacity: 0.7;
        background-position: 100% 50%;
    }
    100% {
        opacity: 0.4;
        background-position: 0% 50%;
    }
}

@keyframes gridMove {
    0% {
        background-position: 0px 0px;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Original card layout for index.html */
.equal-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--spacing-xl);
}

/* Key Features grid layout adjustment for tablets and larger */
@media screen and (min-width: 768px) {
    .feature-grid {
        display: grid;
        grid-template-columns: 25% 75% !important;
        gap: var(--spacing-xl);
    }
}

/* Standardized Site Header */ 