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

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    background: #000;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.6s ease, color 0.6s ease;
}

body.inverted {
    background: #fff;
    color: #000;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    z-index: 10;
    background: transparent;
}

.wordmark {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: color 0.2s;
}

.link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.link:hover {
    color: #fff;
}

body.inverted .link {
    color: rgba(0, 0, 0, 0.6);
}

body.inverted .link:hover {
    color: #000;
}

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

/* Language Selector - Modern Dropdown */
.language-selector {
    position: relative;
}

.lang-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lang-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lang-button:active {
    transform: translateY(0);
}

.lang-flag {
    font-size: 18px;
    line-height: 1;
}

.lang-name {
    font-weight: 600;
}

.lang-arrow {
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.lang-button[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 8px;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: left;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(4px);
}

.lang-option:active {
    transform: translateX(4px) scale(0.98);
}

.lang-option[data-active="true"] {
    background: rgba(139, 92, 246, 0.2);
    border-left: 3px solid #8b5cf6;
    padding-left: 13px;
}

.lang-text {
    font-weight: 600;
}

/* Inverted (Light Mode) Styles */
body.inverted .lang-button {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.8);
}

body.inverted .lang-button:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
}

body.inverted .lang-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body.inverted .lang-option {
    color: rgba(0, 0, 0, 0.85);
}

body.inverted .lang-option:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

body.inverted .lang-option[data-active="true"] {
    background: rgba(139, 92, 246, 0.1);
}

/* Scrollbar for dropdown */
.lang-dropdown::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

body.inverted .lang-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}

body.inverted .lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Main */
.main {
    min-height: 200vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 24px 100px;
}

.content {
    max-width: 640px;
    text-align: center;
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.logo {
    width: 400px;
    height: 400px;
    border-radius: 90px;
    display: block;
    box-shadow: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.8);
    z-index: 1;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Zoom efekti için animasyon */
@keyframes zoomPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.3; }
}

.zoom-effect {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.zoom-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: zoomPulse 0.6s ease-in-out infinite;
}

.title {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
    transition: color 0.6s ease;
}

.title abbr {
    text-decoration: none;
    border: none;
    cursor: help;
}

body.inverted .title {
    color: #000;
}

.subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 48px;
    font-weight: 400;
    transition: color 0.6s ease;
}

body.inverted .subtitle {
    color: rgba(0, 0, 0, 0.7);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.2);
}

.btn:active {
    transform: translateY(0);
}

body.inverted .btn {
    background: #000;
    color: #fff;
}

body.inverted .btn:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.note {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    transition: color 0.6s ease;
}

body.inverted .note {
    color: rgba(0, 0, 0, 0.5);
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    padding: 18px 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.6s ease;
    animation: pulse 2s ease-in-out infinite;
}

body.inverted .coming-soon-badge {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.8);
}

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

/* Final Coming Soon - FPV drone target lock animation */
.final-coming-soon {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.3);
    z-index: 100;
    font-size: clamp(64px, 12vw, 120px);
    font-weight: 800;
    letter-spacing: 30px;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    color: #000;
    filter: blur(20px);
    will-change: transform, opacity, filter, letter-spacing;
    /* JavaScript animates: blur 20→0, scale 0.3→1, letterSpacing 30→0, opacity 0→1 */
}

.final-coming-soon.visible {
    /* Visible class only used as flag, animation handled by JS */
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    z-index: 10;
    background: transparent;
}

.footer a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.7);
}

body.inverted .footer {
    color: rgba(0, 0, 0, 0.4);
}

body.inverted .footer a {
    color: rgba(0, 0, 0, 0.4);
}

body.inverted .footer a:hover {
    color: rgba(0, 0, 0, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 20px 24px;
    }

    .wordmark {
        font-size: 15px;
    }

    .logo {
        width: 320px;
        height: 320px;
        border-radius: 72px;
    }

    .title {
        margin-bottom: 20px;
    }

    .subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .btn {
        width: 100%;
        max-width: 360px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 16px 20px;
    }

    .main {
        padding: 60px 20px;
    }

    .logo {
        width: 240px;
        height: 240px;
        border-radius: 54px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 36px;
    }

    .btn {
        font-size: 15px;
        padding: 14px 28px;
    }

    .footer {
        padding: 20px;
        font-size: 12px;
    }
}
