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

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Hide scrollbar */
::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #111111;
    color: #ffffff;
    line-height: 1.6;
}

/* Favicon için oran koruma */
link[rel="icon"] {
    object-fit: contain;
}

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

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 60px;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: -8px;
}

.header-logo {
    height: 64px;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.lang-btn {
    color: #666666;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

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

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

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid #333333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-links a:hover {
    border-color: #ffffff;
    color: #ffffff;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-text h1 .hand-wave {
    display: inline-block;
    animation: wave 2s infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
}

.hero-text p {
    font-size: 16px;
    color: #999999;
    margin-bottom: 16px;
    max-width: 500px;
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-logos {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
}

.logos-slider {
    display: flex;
    animation: slideLogos 30s infinite linear;
    gap: 60px;
    align-items: center;
}

.logo-item {
    min-width: 120px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 0.9;
}

.logo-png {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.6);
    opacity: 0.8;
}

.logo-png.bright-logo {
    filter: grayscale(100%) brightness(1.0) contrast(1.3);
    opacity: 1.0;
}

.logo-png.mixpanel-logo {
    filter: grayscale(100%) brightness(0.8) contrast(1.2) invert(1);
    opacity: 0.7;
}

.logo-png.sensor-logo {
    filter: grayscale(100%) brightness(1.8) contrast(2.5) saturate(0);
    opacity: 1.0;
}

@keyframes slideLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1260px); }
}

.tech-title {
    text-align: center;
    font-size: 12px;
    color: #666666;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Products Section */
.products-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

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

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 48px;
}

.product-card + .product-card {
    margin-top: 40px;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    filter: brightness(0) invert(1);
    margin-bottom: 24px;
}

.product-header-text {
    height: 40px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.product-header-text h3 {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 0;
}

.product-description {
    font-size: 15px;
    color: #999999;
    line-height: 1.5;
    margin: 0 0 18px 0;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.feature-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 12px;
    color: #cccccc;
    font-weight: 500;
}

.product-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
}

.product-link-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

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

.product-screenshot {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
}

.product-screenshot-portrait {
    border-radius: 20px;
    max-width: 280px;
}

/* Projects Section */
.projects {
    margin-top: 80px;
    position: relative;
    margin-bottom: 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* Creative Bottom Section */
.compact-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.compact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.minimal-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 32px;
    text-align: center;
    position: relative;
}

.minimal-title {
    font-size: 17px;
    font-weight: 600;
    color: #dddddd;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.services-line {
    font-size: 14px;
    color: #bbbbbb;
    margin-bottom: 24px;
    line-height: 1.45;
    max-width: 100%;
}

.contact-line {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-text {
    font-size: 14px;
    color: #dddddd;
    margin-bottom: 16px;
    font-weight: 500;
}

.contact-email {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.contact-email:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Copyright */
.copyright {
    position: absolute;
    bottom: -40px;
    right: 0;
    color: #666666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .container {
        padding: 0 12px;
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .header {
        margin-bottom: 30px;
    }
    
    .header-logo {
        height: 48px;
        max-width: none;
        object-fit: contain;
    }
    
    .main-content {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
        box-sizing: border-box;
    }
    
    .products-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .product-card {
        padding: 24px;
    }
    
    .product-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .product-logo {
        height: 32px;
        filter: brightness(0) invert(1);
        margin-bottom: 20px;
    }
    
    .product-description {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .feature-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .product-features {
        margin-bottom: 20px;
    }
    
    .product-link-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .product-screenshot {
        max-width: 100%;
    }
    
    .projects {
        margin-top: 20px;
        margin-bottom: 40px;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100%;
        margin-bottom: 24px;
        padding: 0;
        box-sizing: border-box;
    }
    
    .hero-text h1 {
        font-size: 24px;
        margin-bottom: 14px;
        line-height: 1.2;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-text p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 12px;
        color: #cccccc;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 16px;
        box-sizing: border-box;
    }
    
    .stat-item {
        padding: 12px 8px;
        text-align: center;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    
    .stat-number {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 9px;
        color: #999999;
        font-weight: 500;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.2;
    }
    
    .tech-logos {
        padding: 16px 0;
        margin-top: 16px;
        margin-bottom: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .tech-title {
        font-size: 12px;
        margin-bottom: 16px;
        color: #888888;
        font-weight: 500;
    }
    
    .logos-slider {
        gap: 40px;
        width: 100%;
        max-width: 100%;
    }
    
    .logo-item {
        min-width: 80px;
        max-width: 80px;
        flex-shrink: 0;
    }
    
    .logo-png {
        height: 24px;
        max-width: 80px;
        width: auto;
    }
    
    .minimal-section {
        padding: 20px 12px;
        margin: 24px 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .minimal-title {
        font-size: 15px;
        margin-bottom: 10px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .services-line {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 16px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .contact-text {
        font-size: 12px;
        margin-bottom: 14px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .contact-email {
        font-size: 13px;
        padding: 8px 16px;
        width: auto;
        display: inline-block;
        max-width: calc(100% - 24px);
        box-sizing: border-box;
    }
    
    .contact-line {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .copyright {
        position: static;
        text-align: center;
        margin-top: 20px;
    }
    
    /* Header Responsive */
    .header-actions {
        gap: 16px;
    }
    
    .social-links {
        display: none; /* Mobilde sosyal medya ikonlarını gizle, dil butonu kalsın */
    }
}
