/* ============================================
   KYIVPRYLAD - Technical Elegance Design
   Navy Blue (#0F172A), Teal (#14B8A6), Pure White
   ============================================ */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary: #0F172A;
    --accent: #14B8A6;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --gray: #E2E8F0;
    --dark-gray: #64748B;
    --text: #1E293B;
    --text-light: #64748B;
    --border: #E2E8F0;
    
    --font-display: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

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

.nav-link {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text);
}

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

.language-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    width: 48px;
    height: 36px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.lang-btn:hover:not(.active) {
    border-color: var(--accent);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0F172A 0%, #1e3a5f 50%, #14B8A6 100%);
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.5));
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 500;
    margin-bottom: 16px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-description {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.85;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: var(--white);
    animation: bounce 2s infinite;
    cursor: pointer;
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.btn-primary:hover {
    background: #1a2a4a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
}

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

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.section-text.mission {
    font-weight: 600;
    color: var(--text);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about .section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

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

.stat-card {
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.product-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.product-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.product-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.featured-product {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.featured-image {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.05), rgba(20, 184, 166, 0.05));
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image img {
    max-width: 100%;
    height: auto;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
}

.featured-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 16px;
}

.featured-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.client-card {
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.client-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.client-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.client-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.client-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.service-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   CASES SECTION
   ============================================ */

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.case-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.05), rgba(20, 184, 166, 0.05));
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    transition: var(--transition);
}

.case-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.case-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
}

.case-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.case-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.contact-text {
    font-size: 14px;
    color: var(--text-light);
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input,
.form-textarea {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-text {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-subtitle {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
}

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

.footer-copyright {
    font-size: 12px;
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .header-content {
        height: 60px;
    }

    .nav {
        display: none;
    }

    .hero {
        margin-top: 60px;
    }

    .about .section-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .featured-product {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 36px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .services-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }
}
