/* 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: #ffffff;
    background-color: #0f172a;
    overflow-x: hidden;
}

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

/* Color Variables */
:root {
    --primary-blue: #1e3a8a;
    --primary-purple: #581c87;
    --dark-blue: #1e40af;
    --dark-purple: #6d28d9;
    --dark-gray: #1f2937;
    --light-gray: #374151;
    --text-light: #d1d5db;
    --text-white: #ffffff;
    --success-green: #10b981;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #581c87 100%);
    --gradient-alt: linear-gradient(135deg, #581c87 0%, #1e3a8a 100%);
    --gradient-text: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-text-alt: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-alt {
    background: var(--gradient-text-alt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-contact {
    background: white;
    color: var(--primary-blue);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
}

.btn-contact:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

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

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

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    padding: 120px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: white;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #312e81 0%, #1e3a8a 100%);
    padding: 80px 0;
}

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

.stats-card {
    background: linear-gradient(135deg, #312e81 0%, #1e3a8a 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stats-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Animations */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    padding: 80px 0;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: white;
}

.section-description {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-card-purple {
    background: linear-gradient(135deg, #581c87 0%, #7c3aed 100%);
}

.service-card-purple:hover {
    box-shadow: 0 20px 40px rgba(88, 28, 135, 0.4);
}

.service-card-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
}

.service-card-mixed {
    background: linear-gradient(135deg, #312e81 0%, #1e3a8a 100%);
}

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

.service-header {
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    color: #667eea;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.service-subtitle {
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.service-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-problems h4,
.service-benefits h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.service-benefits h4 {
    color: #667eea;
}

.service-problems ul,
.service-benefits ul {
    list-style: none;
    padding: 0;
}

.service-problems li {
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: white;
}

.check-icon {
    width: 16px;
    height: 16px;
    color: var(--success-green);
}

.service-video h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.video-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-caption {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Chatbot Benefits */
.chatbot-benefits {
    margin-top: 4rem;
}

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

.benefit-card {
    background: linear-gradient(135deg, #581c87 0%, #7c3aed 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(88, 28, 135, 0.4);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    color: #667eea;
    margin: 0 auto 1rem;
}

.benefit-card h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Case Study Section */
.case-study-section {
    background: #f8fafc;
    padding: 80px 0;
    color: #1f2937;
}

.case-study-section .section-title,
.case-study-section h3 {
    color: #1f2937;
}

.case-study-section .section-description {
    color: #6b7280;
}

.case-study-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(55, 65, 81, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    color: white;
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.case-study-text h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.case-study-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.stat-icon {
    width: 24px;
    height: 24px;
    color: #667eea;
}

.stat-item span {
    color: white;
    font-size: 1.1rem;
}

.case-study-badge {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: pulse 3s infinite;
}

.badge-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-text {
    text-align: center;
    color: var(--text-light);
    font-size: 0.8rem;
}

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

/* About Section */
.about-section {
    background: linear-gradient(135deg, #312e81 0%, #1e3a8a 100%);
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--success-green);
}

.feature-item span {
    color: white;
    font-size: 1rem;
}

.about-image {
    text-align: center;
}

.matija-image {
    max-width: 400px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

/* Why AI Section */
.why-ai-section {
    background: linear-gradient(135deg, #1f2937 0%, #312e81 100%);
    padding: 80px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.problems-card {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.benefits-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #581c87 100%);
}

.comparison-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: white;
}

.list-icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--text-light);
}

.list-icon.success {
    color: var(--success-green);
}

/* Contact Section */
.contact-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.contact-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-icon {
    width: 32px;
    height: 32px;
}

.contact-info {
    text-align: left;
}

.contact-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-subtitle {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #581c87 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

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

.footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-content {
        grid-template-columns: 1fr;
    }
    
    .case-study-content {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .service-card,
    .stats-card,
    .benefit-card {
        padding: 1.5rem;
    }
    
    .case-study-card {
        padding: 1.5rem;
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

