/* --- ROOT VARIABLES --- */
:root {
    --bg-body: #020617; 
    --bg-card: rgba(15, 23, 42, 0.6);
    --accent-cyan: #06b6d4;
    --accent-blue: #3b82f6;
    --accent-glow: rgba(6, 182, 212, 0.4);
    --cta-green: #10b981;
    --cta-green-dark: #059669;
    --text-main: #f1f5f9;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
}

/* --- BASE STYLES --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.nav-logo {
    width: 32px;
    height: 32px;
    background-image: url("../images/favicon3.ico");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    /* İstersen border-radius vs. de ekleyebilirsin */
}

/* --- DYNAMIC AMBIENT BACKGROUND --- */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-blue), transparent);
    top: -200px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-cyan), transparent);
    bottom: -150px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* --- UI ELEMENTS --- */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
}

.main-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 1rem 4rem;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(40px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.05) inset,
        0 20px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 640px;
    padding: 2.5rem 2rem;
    transition: box-shadow 0.5s ease;
}

.input-wrapper {
    position: relative;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.input-wrapper:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.url-input {
    background: transparent;
    border: none;
    width: 100%;
    padding: 1.25rem 1rem 1.25rem 3rem;
    font-size: 1rem;
    color: white;
    outline: none;
}
.url-input::placeholder { color: var(--text-muted); }

.btn-action {
    background: linear-gradient(135deg, var(--cta-green), var(--cta-green-dark));
    color: white;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    position: relative;
    overflow: hidden;
    animation: pulse-glow 3s infinite;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}
.btn-action:active { transform: translateY(0); }

@keyframes pulse-glow {
    0% { box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(16, 185, 129, 0.6); }
    100% { box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4); }
}

.platform-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll 20s linear infinite;
}
@keyframes scroll { to { transform: translateX(-50%); } }

.platform-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}
.platform-icon:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* --- DROPDOWNS --- */
.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}
.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hover-dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}
.group:hover .hover-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- ANIMATIONS --- */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- ACCESSIBILITY --- */
@media (prefers-reduced-motion: reduce) {
    .orb, .platform-track, .btn-action, .fade-up { animation: none; }
    .fade-up { opacity: 1; transform: none; }
}