/* CSS Variables for Modern Theming */
/*:root {
    --primary-color: #7C3AED;
    --primary-hover: #6D28D9;
    --secondary-color: #F43F5E; 
    --bg-color: #ffffff;
    --bg-light: #F3F4F6;
    --text-dark: #111827;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    
    --transition: all 0.3s ease;
}*/

/* In styles.css */
:root {
    --primary-color: #7C3AED; /* Keep Purple */
    --primary-hover: #6D28D9;
    --secondary-color: #F43F5E; 
    
    /* Change background to dark */
    --bg-color: #0F172A; /* Dark background, e.g., slate-900 */
    --bg-light: #1E293B; /* Slightly lighter dark background for contrast sections, e.g., slate-800 */
    
    /* Invert text colors */
    --text-dark: #F9FAFB; /* Light text for main content */
    --text-muted: #9CA3AF; /* Muted light text */
    --border-color: #374151; /* Dark border color */
    
    /* ... keep shadows and other vars same ... */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /*background-color: rgba(255, 255, 255, 0.9);*/
	background-color: var(--bg-color);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}



.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 2.0rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

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

/* Hero Section */
.hero {
    padding-top: 120px; /* Offset for fixed nav */
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    /*align-items: center;*/
}

.hero-content {
    z-index: 2;
}


.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

/* Mockup Window */
.hero-image {
    position: relative;
    z-index: 2;
}

.mockup-window {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.mockup-header {
    background-color: var(--bg-light);
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background-color: #EF4444; }
.dot.yellow { background-color: #F59E0B; }
.dot.green { background-color: #10B981; }

.mockup-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.scanning-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    position: relative;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border: 2px dashed var(--border-color);
}

.document-icon {
    font-size: 4rem;
    color: var(--text-muted);
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    top: 0;
    animation: scan 2s infinite linear alternate;
}

@keyframes scan {
    0% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}

.extracted-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.extracted-items li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.success { color: #10B981; }
.warning { color: #F59E0B; }
.info { color: #3B82F6; }

/* Hero Background Shapes & Rich Graphics */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.05), transparent 40%),
                radial-gradient(circle at bottom left, rgba(244, 63, 94, 0.05), transparent 40%);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1 {
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(139, 92, 246, 0.1)); /* Rich purple gradient */
}

.shape-2 {
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), transparent); /* Rose gradient */
}

.shape-3 {
    top: 30%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.15), transparent);
}

/* Features Section */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

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

.feature-card, .dashboard-card {
    background-color: white;
	background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}


.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* How It Works Section */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 0 10px var(--bg-light);
}

/* CTA Section */
.cta-box {
    background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 50%, #9333EA 100%); /* Richer Purple Gradient */
    color: white;
    padding: 5rem 2rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-box h2 {
    color: white;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-box .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-box .btn-primary:hover {
    background-color: var(--bg-light);
}

/* Footer */
.footer {
    background-color: #0F172A;
    color: white;
    padding: 5rem 0 0 0;
}

.footer p {
    color: #94A3B8;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #94A3B8;
}

.footer-links ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .nav-links { display: none; } /* Simple mobile handled via display none for now */
    .steps-container {
        flex-direction: column;
        gap: 3rem;
    }
    .steps-container::before { display: none; }
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
/* Comparison Section */
.comparison-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-card {
    flex: 1;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.comparison-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.before-badge {
    background-color: #EF4444;
    color: white;
}

.after-badge {
    background-color: #10B981;
    color: white;
}

.comparison-image {
    width: 100%;
    /* Keep the natural aspect ratio */
    display: block;
}

.comparison-image img,video {
    width: 100%;
    height: auto;
    display: block;
}

.comparison-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 10px rgba(79, 70, 229, 0.1);
    z-index: 5;
}

@media (max-width: 992px) {
    .comparison-container {
        flex-direction: column;
    }
    
    .comparison-divider {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

/* New Layout Styles for Updated Content */
.hero-subtext {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.hero-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.hero-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.hero-list li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.solution-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.highlight-item {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
}

.highlight-core {
    background-color: var(--primary-color);
    color: white;
    border-top: none;
}

.highlight-core h4 {
    color: white;
}

.highlight-core p {
    color: rgba(255, 255, 255, 0.9);
}

.four-steps .step {
    flex: 1;
    min-width: 200px;
}

.dual-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.bullet-list {
    padding-left: 1.5rem;
}

.bullet-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.mt-5 {
    margin-top: 5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin: 2rem 0;
    text-align: left;
    width: 100%;
    max-width: 500px;
}

.contact-details p {
    margin-bottom: 0.75rem;
    color: white;
}

.contact-details a {
    color: white;
    text-decoration: underline;
}

.contact-details a:hover {
    color: var(--bg-light);
}

@media (max-width: 768px) {
    .dual-columns {
        grid-template-columns: 1fr;
    }
    .solution-highlights {
        flex-direction: column;
    }
}

.hero-header-container {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
}

.hero-header-container h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-image-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
    margin: 0 auto;
}
