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

html {
    scroll-behavior: smooth;
}

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

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

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #ffffff;
    color: #000;
    border: 1px solid #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 3px 10px rgba(0, 0, 0, 0.5);
}

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

.btn-secondary:hover {
    background-color: #ffffff;
    color: #000;
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #000;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    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;
    height: 80px;
}

.nav-logo h2 {
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0;
    font-family: 'Times New Roman', serif;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 300;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    position: relative;
}

.nav-link:hover {
    color: #cccccc;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

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

.nav-cta {
    background-color: #ffffff;
    color: #000000;
    padding: 10px 20px;
    border: 1px solid #ffffff;
    border-radius: 6px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.nav-cta:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 3px;
    margin: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
    background-color: transparent;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #cccccc;
    letter-spacing: 0.3px;
}

.lang-btn.active {
    background-color: #ffffff;
    color: #000000;
    font-weight: 400;
}

.lang-btn:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./DSC_5389-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.2) contrast(1.3) saturate(0.6);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 60%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -1px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.gradient-text {
    color: #ffffff;
}

.hero-description {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* Voice AI Tech Section */
.voice-ai-tech {
    padding: 60px 0;
    background-color: #0a0a0a;
    border-top: 1px solid #333333;
    overflow: hidden;
}

.tech-container {
    text-align: center;
}

.tech-text {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.tech-scroll-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.tech-scroll {
    display: flex;
    animation: scroll-left 30s linear infinite;
    gap: 3rem;
    align-items: center;
    white-space: nowrap;
}

.tech-scroll:hover {
    animation-play-state: paused;
}

.tech-item {
    color: #666666;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.05);
}

.tech-item:hover {
    opacity: 1;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* AI Revolution Section */
.ai-revolution {
    padding: 80px 0;
    background-color: #1a1a1a;
    border-top: 1px solid #333333;
}

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

.revolution-text {
    padding-right: 2rem;
}

.revolution-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.revolution-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.revolution-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.revolution-features .feature-icon {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.revolution-features .feature-text h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.revolution-features .feature-text p {
    color: #cccccc;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 300;
}

.revolution-image {
    position: relative;
}

.lab-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lab-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: #ffffff;
}

.overlay-text h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.overlay-text p {
    color: #cccccc;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 300;
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
    background-color: #0a0a0a;
}

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

.section-title {
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

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

.solution-card {
    padding: 2rem;
    border: 1px solid #333333;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #1a1a1a;
}

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

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.solution-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 400;
}

.solution-description {
    color: #cccccc;
    line-height: 1.6;
    font-weight: 300;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-content h4 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
}

.feature-content p {
    color: #cccccc;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 300;
}

.features-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder {
    width: 300px;
    height: 300px;
    position: relative;
}

.visual-element {
    position: absolute;
    background-color: #ffffff;
    border-radius: 8px;
    opacity: 0.8;
}

.visual-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 0;
    left: 0;
    animation: float 3s ease-in-out infinite;
}

.visual-element:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 50px;
    right: 0;
    animation: float 3s ease-in-out infinite 1s;
}

.visual-element:nth-child(3) {
    width: 120px;
    height: 60px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3s ease-in-out infinite 2s;
}

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

/* About Section */
.about {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

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

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
    border-color: #555555;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-text h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.highlight-text p {
    color: #cccccc;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 300;
    line-height: 1.5;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    border-top: 1px solid #333333;
}

.cta-title {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-description {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

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

.cta .btn-primary {
    background-color: #fff;
    color: #000;
}

.cta .btn-primary:hover {
    background-color: #f0f0f0;
}

.cta .btn-outline {
    border-color: #fff;
    color: #fff;
}

.cta .btn-outline:hover {
    background-color: #fff;
    color: #000;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #0a0a0a;
}

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

.contact-description {
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #333333;
}

.contact-label {
    font-weight: 500;
    color: #ffffff;
}

.contact-value {
    color: #cccccc;
}

.contact-form {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
    border: 1px solid #333333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #333333;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background-color: #0a0a0a;
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    color: #fff;
    padding: 60px 0 20px;
    border-top: 1px solid #333333;
}

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

.footer-logo h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #ccc;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.footer-column a:hover {
    color: #fff;
}

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

.footer-bottom p {
    color: #ccc;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .language-switcher {
        margin: 0 0.5rem;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .revolution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .revolution-text {
        padding-right: 0;
    }
    
    .lab-image {
        height: 300px;
    }
    
    .tajikistan-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .highlight-item {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .solutions, .features, .about, .contact, .cta {
        padding: 60px 0;
    }
    
    .solution-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
