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

:root {
    --primary-color: #2563eb;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-color: #1e293b;
    --text-dark: #1a1a1a;
    --text-light: #4b5563;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --transition-standard: all 0.3s ease;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

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

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition-standard);
}

header.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--primary-gradient);
    border-radius: 6px;
    position: relative;
}

.logo-icon::before,
.logo-icon::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 1px;
}

.logo-icon::before {
    width: 14px;
    height: 2px;
    top: 14px;
    left: 8px;
}

.logo-icon::after {
    width: 2px;
    height: 14px;
    top: 8px;
    left: 14px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: var(--primary-gradient);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -50px;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 100px;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 100px;
    right: -50px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.cta-button-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cta-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
}

/* Partners Section */
.partners {
    padding: 40px 0;
    background: var(--bg-light);
    text-align: center;
}

.partners h2 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.partner-logo {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* Platform Overview */
.platform-overview {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.overview-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-standard);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.overview-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.overview-icon svg {
    width: 30px;
    height: 30px;
}

.overview-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.overview-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.card-features li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Workflow Visualization */
.workflow-visualization {
    margin-bottom: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.workflow-visualization h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.workflow-visualization .grid-cols-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.workflow-visualization .grid-cols-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.workflow-visualization .relative {
    position: relative;
}

.workflow-visualization .p-4 {
    padding: 1rem;
}

.workflow-visualization .rounded-lg {
    border-radius: 0.5rem;
}

.workflow-visualization .border {
    border: 1px solid;
}

.workflow-visualization .z-10 {
    z-index: 10;
}

.workflow-visualization .bg-blue-50 {
    background-color: #eff6ff;
}

.workflow-visualization .border-blue-200 {
    border-color: #bfdbfe;
}

.workflow-visualization .bg-gray-50 {
    background-color: #f9fafb;
}

.workflow-visualization .border-gray-200 {
    border-color: #e5e7eb;
}

.workflow-visualization .flex-col {
    display: flex;
    flex-direction: column;
}

.workflow-visualization .items-center {
    align-items: center;
}

.workflow-visualization .items-start {
    align-items: flex-start;
}

.workflow-visualization .w-10 {
    width: 2.5rem;
}

.workflow-visualization .h-10 {
    height: 2.5rem;
}

.workflow-visualization .rounded-full {
    border-radius: 9999px;
}

.workflow-visualization .bg-white {
    background-color: white;
}

.workflow-visualization .border-blue-300 {
    border-color: #93c5fd;
}

.workflow-visualization .mb-2 {
    margin-bottom: 0.5rem;
}

.workflow-visualization .flex {
    display: flex;
}

.workflow-visualization .justify-center {
    justify-content: center;
}

.workflow-visualization .w-6 {
    width: 1.5rem;
}

.workflow-visualization .h-6 {
    height: 1.5rem;
}

.workflow-visualization .text-blue-600 {
    color: #2563eb;
}

.workflow-visualization .text-gray-600 {
    color: #4b5563;
}

.workflow-visualization .font-medium {
    font-weight: 500;
}

.workflow-visualization .text-sm {
    font-size: 0.875rem;
}

.workflow-visualization .text-base {
    font-size: 1rem;
}

.workflow-visualization .text-center {
    text-align: center;
}

.workflow-visualization .text-left {
    text-align: left;
}

.workflow-visualization .text-xs {
    font-size: 0.75rem;
}

.workflow-visualization .mt-1 {
    margin-top: 0.25rem;
}

.workflow-visualization .mt-6 {
    margin-top: 1.5rem;
}

.workflow-visualization .text-gray-600 {
    color: #4b5563;
}

.workflow-visualization .w-3 {
    width: 0.75rem;
}

.workflow-visualization .h-3 {
    height: 0.75rem;
}

.workflow-visualization .bg-green-500 {
    background-color: #10b981;
}

.workflow-visualization .gap-2 {
    gap: 0.5rem;
}

.workflow-visualization .gap-4 {
    gap: 1rem;
}

.workflow-visualization .border-gray-300 {
    border-color: #d1d5db;
}

/* Fix for mobile view */
@media (max-width: 768px) {
    .workflow-visualization .grid-cols-6 {
        grid-template-columns: 1fr;
    }
    
    .workflow-visualization .hidden {
        display: none;
    }
    
    .workflow-visualization .md\:block {
        display: none;
    }
    
    .workflow-visualization .md\:items-start {
        align-items: center;
    }
    
    .workflow-visualization .md\:text-left {
        text-align: center;
    }
}

/* Site Navigation */
.site-nav {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.nav-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition-standard);
    box-shadow: var(--shadow-sm);
}

.nav-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.nav-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

.nav-card a {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.nav-card a:hover {
    background: #1d4ed8;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 250px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #f1f5f9;
    font-size: 1.2rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-standard);
}

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

.social-link svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: var(--transition-standard);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: #1d4ed8;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        z-index: 1001;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    
    .mobile-menu.active {
        right: 0;
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-light);
    }
    
    .mobile-menu-links {
        list-style: none;
        margin-top: 2rem;
    }
    
    .mobile-menu-links li {
        margin-bottom: 1rem;
    }
    
    .mobile-menu-links a {
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    .partner-logos {
        gap: 1.5rem;
    }
    
    .partner-logo {
        height: 30px;
    }
    
    .testimonial-slider {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonial-slider {
        height: 350px;
    }
    
    .testimonial-author {
        flex-direction: column;
    }
}
